June 2011 Commit Log

Number of Commits:
84
Number of Active Developers:
16
niklwors 2011-06-30 17:05 Rev.: 9388

small fix for typo in event iteration of cpp simulation runtime

1 lines of code changed in 1 file:

nutaro 2011-06-30 12:28 Rev.: 9387

Added support to the adevs code generator for mixed nonlinear systems.

48 lines of code changed in 2 files:

perost 2011-06-30 01:10 Rev.: 9386

- Implemented constant evaluation of Lapack external functions.
- Fixed dimension count in cat_alloc_real_array for less division by zero.
- Added test case Modelica.Math.Matrices.LAPACK to test Lapack functions.
- Updated test suite.

46335 lines of code changed in 15 files:

niklwors 2011-06-28 15:10 Rev.: 9379

Added new Euler methods to cpp simulation runtime

1161 lines of code changed in 14 files:

adrpo 2011-06-27 02:40 Rev.: 9374

- C comments not C++ comments in a C file
- set some vars to 0.

5 lines of code changed in 2 files:

adrpo 2011-06-25 22:39 Rev.: 9366

Fixes for BUG: #1370
- Compiler/susan_codegen/SimCode/SimCodeC.tpl
+ fixed iterators for functions not returning anything (added empty)
+ added more comments to the C code to understand where are things coming from (we can remove them later)
+ changed the order in which we evaluate function arguments and function variable declarations
+ changed the order in which we evaluate external function: vardecl->bivar->extArgs.
+ removed duplicates in the list map of extFunCallVarcopyF77
+ changed handling of default value in extFunCallBiVarF77
+ fixed handling of modelica_string send to Fortran (should not be prefixed by &)
+ changed algStmtTupleAssign to have a preExp and afterExp (before the preExp in
writeLhsCref was never unparsed anywhere as <%preExp%> was before it??!!)
+ scalarLhsCref used daeExpCrefRhs??!! which was rather totally wrong
for anything besides scalar component references; now it uses a new daeExpCrefLhs
which has the causality reversed (for some parts as I haven't implemented all cases).
+ all *Lhs* templates now take an afterExp buffer instead of preExp to do more things
after the actual statement (such as array slicing, etc); used in heavily in
Modelica.Math.Matrices.mos, i.e.
(eigenvalues[:, 1],eigenvalues[:, 2],eigenvectors, info) := LAPACK.dgeev(A);
first we bind the call outputs to temps, then update the arrays slices using
indexed_assign_<%type%> as an afterExp.
- more error messages in the array handling inside c_runtime
- added test to test Lapack and BUG #1370 in testsuite/mosfiles/TestLapack.mos
- added test to test Modelica.Math.Matrices in testsuite/libraries/msl31/Modelica.Math.Matrices.mos
- moved main from functions to the actual generated code for the model.
- add SimCodeAdevs.mo to testsuite/bootstrapping/LoadCompilerSources.mos
- all tests go.

3065 lines of code changed in 12 files:

adrpo 2011-06-24 19:41 Rev.: 9363

- meaningful error message.

1 lines of code changed in 1 file:

adrpo 2011-06-24 19:02 Rev.: 9362

- add the template also so people that do not have an OMC already compiled can actually compile OMC.

43715 lines of code changed in 1 file:

nutaro 2011-06-24 15:52 Rev.: 9361

First working version of the backend for adevs

6879 lines of code changed in 4 files:

adrpo 2011-06-24 06:20 Rev.: 9359

c_runtime
- merged libsim and libc_runtime into libSimulationRuntimeC
- renamed some of the functions in c_runtime fortran generated files to
avoid name collision. this also helps to avoid multiple definitions when
we link with blas and lapack. We should really get rid of the fortran
generated files and link directly with blas and lapack.
- removed main.o from libf2c/makefile.mingw (to avoid multiple main definitions)
- now libSimulationRuntimeC does not have a main anymore, the main function is
generated with the model and calls _main_SimulationRuntime.
- libSimulationRuntimeQss is now generated instead of libsim_ompd

config.h
- remove -lc_runtime from LD flags and added it to SimCodeC.tpl instead
because in the Qss case we need different lib (libSimulationRuntimeQss)

SimCode.mo
- toupper from external function language specification as it
appears as Fortran 77 in Modelica.Math.Matrices.LAPACK, but
we only compared it with FORTRAN 77 in SimCodeC.tpl

SimCodeC.tpl
- do not use const in SIMEXTARGSIZE as they can appear both as sizeof(A, 1) and as a variable
which was bound to size, and we get different external definition in for example:
Modelica.Math.Matrices.LAPACK.dgeev and Modelica.Math.Matrices.LAPACK.dgeev_eigenValues
- make union of external function arguments when we generate temporary declarations as
some of the arguments may be twice and we have then two temporary definitions, i.e.
external "Fortran 77" dgeev("N", "V", n, Awork, n, eigenReal, eigenImag,
eigenVectors, n, eigenVectors, n, work, size(work, 1), info)
here we had eigenVectors defined twice!

SimCodeFMU.tpl
- fixed the hardcoded windows paths

SimCodeQss.tpl
- linking now with -lSimulationRuntimeQss

SimCodeTV.mo
- added Util.listUnion to the type view.

System_omc.cpp
- added System.toupper

System_rml.c
- fixed the '\0' at the end of the string in System.toupper

- updated the Makefiles everywhere.


5869 lines of code changed in 29 files:

perost 2011-06-23 22:07 Rev.: 9358

- Fixed type mismatch errors for checkModel in Modelica.Media.
- Updated Modelica.Media test case.

535 lines of code changed in 2 files:

adrpo 2011-06-23 18:54 Rev.: 9353

- more complains :)

17 lines of code changed in 1 file:

sjoelund.se 2011-06-23 17:59 Rev.: 9352

- Fix last commit

2 lines of code changed in 2 files:

sjoelund.se 2011-06-23 17:45 Rev.: 9350

- omniORB configuration

2 lines of code changed in 2 files:

adrpo 2011-06-23 17:25 Rev.: 9349

- update SVN props.

1 lines of code changed in 1 file:

adrpo 2011-06-23 17:23 Rev.: 9348

- some updates to some readmes.

60 lines of code changed in 2 files:

edgarlopez 2011-06-23 17:21 Rev.: 9347

improved the testsuit up to 8 failures
added custom error messages in the lexer
fixed problem with the parser related with memory segmentation fault

2440 lines of code changed in 12 files:

fbergero 2011-06-23 17:02 Rev.: 9346

Renaming Simulator class to SimulatorQSS

8 lines of code changed in 6 files:

mohsen 2011-06-23 14:18 Rev.: 9344

tested the Linux/unix FMI export

22 lines of code changed in 1 file:

wbraun 2011-06-22 19:43 Rev.: 9343

- added workaround for algorithms from modelicaML models
- added also a testcase for that issue

649 lines of code changed in 11 files:

edgarlopez 2011-06-22 17:41 Rev.: 9339

more rules added, redesign of part of the grammar

46 lines of code changed in 1 file:

edgarlopez 2011-06-22 16:52 Rev.: 9338

version of lexer with warning for real

410 lines of code changed in 1 file:

azazi 2011-06-22 14:20 Rev.: 9337

Added linux compilation commands to FMU makefile.

52 lines of code changed in 1 file:

azazi 2011-06-22 11:11 Rev.: 9334

Updated FMI Modules. Simple models without events are working now. Removed try catch from fmu_model_interface.c as its not standard C.

45 lines of code changed in 4 files:

edgarlopez 2011-06-21 13:59 Rev.: 9326

back to the older version since the error handling doesnt work well with the optimization of last commit

4 lines of code changed in 1 file:

edgarlopez 2011-06-21 07:49 Rev.: 9325

discussion for starting OMCCp Java

0 lines of code changed in 1 file:

perost 2011-06-20 16:21 Rev.: 9324

- Added boxing of arrays to Types.typeConvert to fix the 'setState_pTX not
found' errors.
- Added ten more working or partially working models to the Modelica.Media test
case.

1692 lines of code changed in 2 files:

perost 2011-06-20 15:30 Rev.: 9323

- Moved the meta/MatchCaseInteractive2 test to failing tests, so that the
testsuite is 100% working.

2 lines of code changed in 2 files:

perost 2011-06-20 14:49 Rev.: 9322

- Fixed invalid type in BackendDAETransform.
- Updated testsuite.

543 lines of code changed in 4 files:

edgarlopez 2011-06-20 14:00 Rev.: 9320

more rules fixed, now 10 errors on the test suite

33 lines of code changed in 1 file:

edgarlopez 2011-06-20 13:59 Rev.: 9319

added real with dot in the beginning and fixed strings with escape \

4 lines of code changed in 1 file:

perost 2011-06-20 12:12 Rev.: 9318

- Updated Modelica.Media test.

301 lines of code changed in 1 file:

perost 2011-06-18 16:24 Rev.: 9317

- Fixed stack overflow for Modelica.Media.IdealGases.Common.SingleGasNasa, see
added comments in SCodeFlattenRedeclare for explanation of the fix.
- Added test case redeclare/RedeclareBaseClass1 and removed duplicate test
redeclare/RedeclareFunctionBug1432.

243 lines of code changed in 7 files:

edgarlopez 2011-06-18 12:45 Rev.: 9316

changed recursion on the function printTokens

6 lines of code changed in 1 file:

edgarlopez 2011-06-18 12:44 Rev.: 9315

fixed more rules

7 lines of code changed in 1 file:

edgarlopez 2011-06-18 12:42

lexer optimized

31 lines of code changed in 4 files:

edgarlopez 2011-06-18 12:41 Rev.: 9312

fixed problem with escape double quote in strings

2 lines of code changed in 1 file:

adrpo 2011-06-18 03:04 Rev.: 9311

- small improvements to Relation.mo

145 lines of code changed in 1 file:

edgarlopez 2011-06-17 17:52 Rev.: 9310

fixed more grammar failures in the test suite, now it fails only in 21 cases

24 lines of code changed in 1 file:

Frenkel TUD 2011-06-17 15:46 Rev.: 9309

- update new index reduction method

405 lines of code changed in 6 files:

perost 2011-06-16 11:48 Rev.: 9304

- Get rid of annoying types.

5414 lines of code changed in 11 files:

ppriv 2011-06-15 22:49 Rev.: 9303

- updated C# template
- fix C template: use Util.escapeModelicaStringToCString() (instead System.escapeString()) to escape also \n in comments of SIMVARs in globalDataVarInfoArray() template

1074 lines of code changed in 4 files:

adrpo 2011-06-15 18:28 Rev.: 9302

- found another bug in the RML compiler, it doesn't check for duplicate names, just takes the last one.

3 lines of code changed in 1 file:

adrpo 2011-06-15 17:39 Rev.: 9301

- a generic relation Relation.mo between two objects.

178 lines of code changed in 1 file:

adrpo 2011-06-15 17:24 Rev.: 9300

A NEW OMDEV and RML (2.5.0 revison 209) is needed for this (svn up or wait for your update)
- generic AvlTree.mo (not tested yet, but it compiles fine)
- small additions to Pool.mo
- some more stuff in Util.mo
- note that these generic files are not yet added to the Makefile.common, will come soon more.

1170 lines of code changed in 3 files:

perost 2011-06-14 12:37 Rev.: 9294

- Print attributes for derived classes in SCodeDump.

1 lines of code changed in 1 file:

edgarlopez 2011-06-14 11:59 Rev.: 9292

added fix for FINAL before elementspec

21 lines of code changed in 1 file:

edgarlopez 2011-06-14 11:05 Rev.: 9291

fixed shift reduce conflict in class variable with FINAL terminal

18 lines of code changed in 1 file:

adrpo 2011-06-14 08:53 Rev.: 9290

- YOU WILL NEED A NEW OMDev (svn up) or a new RML (svn up or wait for update) for this!
- Added Pool.mo as a generic Pool of objects.
- I've not added Pool.mo to the Makefiles yet, will come in a next commits.

502 lines of code changed in 2 files:

sjoelund.se 2011-06-14 07:00 Rev.: 9288

- Use the tmp-path returned by OMC instead of making up your own...

13 lines of code changed in 5 files:

fbergero 2011-06-13 21:07 Rev.: 9287

Adding simulation_input_xml to the object list of the QSS runtime

1 lines of code changed in 1 file:

tmtuomas 2011-06-13 14:31 Rev.: 9279

OPC interfaces documentation improvements and pdf's.

0 lines of code changed in 4 files:

edgarlopez 2011-06-13 14:24 Rev.: 9278

added more rules

22 lines of code changed in 1 file:

edgarlopez 2011-06-13 12:16 Rev.: 9277

added missing files for loading

4 lines of code changed in 1 file:

sjoelund.se 2011-06-13 03:34 Rev.: 9274

- Don't create OMNotebook_tempfiles directory anymore (unused)

0 lines of code changed in 1 file:

Frenkel TUD 2011-06-12 17:44 Rev.: 9272

- bugfix getIndexReductionMethod

3 lines of code changed in 3 files:

Frenkel TUD 2011-06-11 19:18 Rev.: 9271

- minor changes to reduceIndexDummyDerX

7 lines of code changed in 1 file:

sjoelund.se 2011-06-11 00:33 Rev.: 9270

- Use configured flags

2 lines of code changed in 1 file:

tmtuomas 2011-06-10 16:52 Rev.: 9269

OPC interfaces documentation.

4779 lines of code changed in 4 files:

edgarlopez 2011-06-10 16:11 Rev.: 9267

more annotations added to comments
fixed cref with arraySubscripts

3 lines of code changed in 1 file:

perost 2011-06-10 15:55 Rev.: 9266

- Updated ParseFullModelica3.1 test case.

115 lines of code changed in 1 file:

perost 2011-06-10 15:50 Rev.: 9265

- Some SCodeDependency fixes for modifiers and derived classes.

37 lines of code changed in 4 files:

perost 2011-06-10 14:14 Rev.: 9262

- Added fixes from MSL 3.1-MediaFix to MSL 3.1.

116 lines of code changed in 13 files:

perost 2011-06-09 14:09 Rev.: 9260

- Added more error checking for size.

235 lines of code changed in 7 files:

adrpo 2011-06-08 18:32 Rev.: 9259

- make parameter standardOrderComponents in BaseProperties replaceable!

39 lines of code changed in 3 files:

Frenkel TUD 2011-06-08 17:03 Rev.: 9258

- bugfix fmi, set and get real variables
- ling FMU not with interactive

4 lines of code changed in 3 files:

Dongliang Li 2011-06-07 14:08 Rev.: 9253

Add list of string in SimVar, for the number of element in array

2457 lines of code changed in 4 files:

niklwors 2011-06-06 16:20 Rev.: 9251

Fix for calculate zero crossing index in collectZC and collectZCAlgs

84 lines of code changed in 1 file:

Frenkel TUD 2011-06-06 01:21 Rev.: 9249

- change MIXEDEQUATIONSYSTEM, now it is easier to handle algorithm and arrayequations in compination with discrete equaitons

138 lines of code changed in 9 files:

Frenkel TUD 2011-06-05 01:23 Rev.: 9248

- add type for MIXEDEQUATIONSYSTEM to StrongComponent

468 lines of code changed in 10 files:

sjoelund.se 2011-06-04 20:15 Rev.: 9247

- Check for expat.h

14 lines of code changed in 2 files:

Frenkel TUD 2011-06-04 14:36 Rev.: 9246

- use flag for debug print in reduceIndexDummyDerX to run testsuite

57 lines of code changed in 2 files:

Frenkel TUD 2011-06-04 14:34 Rev.: 9245

- add error msg for expressions "der(der(DAE.CREF(_))", see Bug [#1551]

8 lines of code changed in 1 file:

sjoelund.se 2011-06-04 05:21 Rev.: 9244

- Fix list() command

1 lines of code changed in 1 file:

Frenkel TUD 2011-06-03 20:29 Rev.: 9242

- enable optimisation module constantLinearSystem by default, passed testsuite without errors

1 lines of code changed in 1 file:

Frenkel TUD 2011-06-03 14:57 Rev.: 9240

- bugfix constantLinearSystem, works now for model from bugtracker

11 lines of code changed in 1 file:

adeas31 2011-06-02 23:21 Rev.: 9238

- Some changes in the toolTip functionality.
- Changed the size of mainwindow to 800*600.
- Changed the solver runge-kutta to rungekutta.
- Added the variable filter option in simulation process.

42 lines of code changed in 9 files:

sjoelund.se 2011-06-02 04:27 Rev.: 9236

- configure: Added flag with-static-sqlite

37 lines of code changed in 5 files:

Frenkel TUD 2011-06-01 20:14 Rev.: 9235

- add fmi feature dynamic external function, for more information have a look at https://www.modelica.org/events/modelica2011/Proceedings/pages/papers/14_3_ID_162_a_fv.pdf

2840 lines of code changed in 9 files:

AlexeyLebedev 2011-06-01 16:16 Rev.: 9233

New tests for non-expanded arrays

73 lines of code changed in 5 files:

adrpo 2011-06-01 15:23 Rev.: 9232

- .pro.user files should not be in Subversion as they are different for each user.
- add OMPlotLib.pro to OMTools.pro

2 lines of code changed in 6 files:

perost 2011-06-01 15:17 Rev.: 9230

- Don't link with -lregex on Linux.

1 lines of code changed in 1 file:

adrpo 2011-06-01 15:12 Rev.: 9229

- link with -lregex and -lexpat on Linux too.

1 lines of code changed in 1 file:

adrpo 2011-06-01 00:42 Rev.: 9222

- BIG CHANGE!
- generate Model_init.xml instead of Model_init.txt
- clean objects in Model.makefile before compiling (Make doesn't seem to get that
Model.c is newer than Model.o if we issue two simulate commands for the same model,
even if the model changed via loadFile.)
- check the result of fflush in systemimpl.c and printimpl.c
- fflush in c_runtime/linearize.cpp
- added c_runtime/simulation_input_xml.h and cpp to read the Model_init.xml file.
- link the generated code with the XML parser library -lexpat as libc_runtime needs it now
- Model.c and Model_init.xml will now contain a GUID which is used in c_runtime/simulation_input_xml.cpp
to check if the Model_init.xml is matched with Model.c (Model.exe)
- The Model_init.xml is based on FMI but with much more information that we need for OMC.
- The Model_init.xml file it has no schema yet as it may change in the near future to include
more things that are now static in the generated code (Model.c). This will make compilation
of generated code faster.
- disabled testsuite/interactive-simulation/runInteractiveSimulation.mos and added only a
compilation test (more work is needed to make the run test more robust).
- updated tests and compiler files with the name change from _init.txt to _init.xml.

9288 lines of code changed in 50 files:

May 2011 »

Generated by StatSVN 0.7.0