- bugfix linearSystems with array equations
9 lines of code changed in 2 files:
- updated OMCMonitor to work on Windows Vista and 7.
- updated the project to VS2010
- you can find a binary version here:
http://www.ida.liu.se/~adrpo/omc/OMCMonitor/
200 lines of code changed in 4 files:
- fix SimCodeC.tpl for records(containing arrays) pushed to functions
377 lines of code changed in 4 files:
- Fix testcase expected output
4 lines of code changed in 2 files:
- Added an error for components having bindings of variabilty higher than their own (see http://openmodelica.ida.liu.se:8080/cb/issue/1040);
- Fixed a bug in lookupVarF returning wrong properties;
- Improved error messages for non-processed modifications of built-in types;
- Modified testsuite accordingly.
206 lines of code changed in 14 files:
- delete unneeded code
1 lines of code changed in 1 file:
- bugfix expStripLastIdent
2 lines of code changed in 1 file:
- Derive.mo
- div ADD_ARR, SUB_ARR
- DAELow.mo
- simpleEquation for Arrays
- do inlining of Array equations in lowerArrEqn
- bugfix calculation Jacobian for arrays
- bugfix equationToResidualForm for arrays
- bugfix extendExp for CREF Exptype
- Inst.mo
- bugfix ExpType for expand record equations
- SimCode.mo
- bugfix dlowEqs for arrays
- Exp.mo
- bugfix for arrays, to not use typeBuiltin to detect arrays use DAEUtil.expTypeArray
- simplifyUnary also for arrays
354 lines of code changed in 5 files:
IOStreamExt.c
- fail and print a message in IOStreamExt__printReversedList if we cannot allocate the string.
SimulationResults.c
- minor formatting for improved readability
systemimpl.c
- same implementation of System__hash for all platforms
- inline the System__hash function (should become part of MMC/RML)
- better hash implementation.
RollingWheel.mos
- updates due to new string hash function (System__hash).
_LoopsTotal.mo
- added a big engine model (BigEngineModel) of about 4 400 000
vars/equations to be used for performance testing
testsuite/libraries/multibody/loops/Makefile
- minor text change
67 lines of code changed in 6 files:
- make the boundaries of functions more visible
7 lines of code changed in 1 file:
- replace equality(x = y) with stringEqual/intEq/realEq
- added more comments and updated some of the formatting
83 lines of code changed in 1 file:
- Removed the global variable numpoints from the simulation runtime, as it was used before set.
- Instead we use the number of output steps as an initial guess for the size plt needs to allocate for result variables
10 lines of code changed in 5 files:
- faster Exp.crefPrefixOf
- replace equality(x = y) with stringEqual/intEq/realEq
- added more comments and updated some of the formatting
914 lines of code changed in 1 file:
- replace equality(x = y) with stringEqual/intEq/realEq
- added Absyn.pathEqual
- added more comments and updated some of the formatting
168 lines of code changed in 1 file:
- get rid of the warning.
1 lines of code changed in 1 file:
- Updated SimCode Makefile: Always set OPENMODELICAHOME to the build directory
1 lines of code changed in 1 file:
- Update for code generation of abs()
- Is fabs() for non-Integer
- Is std::abs() for Integer because on OSX __gnu_cxx::abs() is a candidate
21 lines of code changed in 2 files:
- Added function printTypeOfAny function to c_runtime for GDB debugging of MetaModelica code
- Simply use the command "out printTypeOfAny(exp)" (or printAny()) in GDB to print the data structure's type or value
- Fixed a problem with mmc_mk_rcon on 64-bit architectures
90 lines of code changed in 2 files:
- Ran Valgrind on some simulation executables:
- Updated simulation runtime/code generation to free more of the allocated structures
- Didn't update c_runtime/interactive/, which has the majority of memory leaks now
99 lines of code changed in 7 files:
- Changed code generation for when external object constructors are called
- It is now done after the input file has been read
- Ext.objs can now depend on (fixed) parameters, including strings
- Added code to support string parameters
- Added testcase ExtObjStringParam.mos based on bug https://openmodelica.org:8443/cb/issue/1163
1593 lines of code changed in 11 files:
- Updated code generation for min/max/abs builtin functions
- Previously, they would always return a double
- Now, integers are produced if both arguments are integers
- This fixes ExternalFunction4 (will allocate 2 elements instead of 66187348)
76 lines of code changed in 3 files:
- update the Visual Studio projects to VS2010
- it seems vcproj has a vcxproj counterpart and there are some other new files too
- renamed ext.exe and ext.pdb to OMPlotWindow.exe and OMPlotWindow.pdb
- rebuild all Qt clients: OMShell, OMNotebook, OMPlotWindow
2566 lines of code changed in 23 files:
- DAELow.mo
- extend multidimeqn after inlining if it is possible
- Exp.mo, SimCode.mo
- fix some bugs relatet to arrays
132 lines of code changed in 3 files:
release 1.5 ,fixing minor spelling error
0 lines of code changed in 1 file:
- Added arument to simulate: outputFormat=<string>
- Default is "plt", which is the old format. It's the only format currently capable of using simulation results within OMC. Other formats need external tools.
- "csv" is another textual format. It's roughly twice as fast and uses no additional memory (plt uses several GB for large simulations).
- "empty" does the same thing as interactive simulations - it disables result file generation. Useful for benchmarking.
- "bin" is experimental and should not be used. It basically measures the overhead of converting doubles to strings (speed is 50x times faster than CSV)
- Model_init.txt has a new field for the output format
- The c_runtime contains the interface used for result file generation.
- Added testcases for "csv", "plt" and "empty" simulation results.
- Added these options to OMNotebook/OMShell commands.xml.
1036 lines of code changed in 31 files:
- Updated testsuite/libraries/multibody: More equations are now trivial
38 lines of code changed in 23 files:
- Fix for rtest script - return an error if the setup_command fails
15 lines of code changed in 1 file:
- CevalScript.mo, Main.mo, SimCode.mo
- do late inlining earlier to avoid generade code for unused functions
- Exp.mo
- bugfix expStriplastSubs
- isZero for UNARY_ARR
- getTermsContainingX also for arrays
83 lines of code changed in 4 files:
- Install OMNotebookHelp.onb when building OMNotebook
3 lines of code changed in 1 file:
- Install DrModelica files when building OMNotebook
9 lines of code changed in 2 files:
- Update makefiles for qtclients.
- Added Makefile.unix.in in each client's directory
- Should be easier to customize behaviour now
- Now copies the binary from OSX .app's into the build dir when doing a Unix build
114 lines of code changed in 6 files:
- make install needs to use -r flag on OSX (*.app are directories)
1 lines of code changed in 1 file:
- Spelling ifdef
1 lines of code changed in 1 file:
- Fix testsuite if OPENMODELICAHOME is not set
4 lines of code changed in 1 file:
- ifdef APPLE_CC on r5726
4 lines of code changed in 1 file:
- Fix OMNotebook crashing on OSX
- Some text boxes are now a bit too large, but it's still usable
9 lines of code changed in 5 files:
- bugfix simplify
2 lines of code changed in 1 file:
- SimCode.mo
- do lateInline
- Inline.mo
- also inline start expressions
- SimCodeC
- implement more cases for daeExpBinary
1143 lines of code changed in 8 files:
- Fix spelling of OMNotebook
5 lines of code changed in 2 files:
- make clean removes omc-diff.exe
1 lines of code changed in 1 file:
- Makefile update for OSX .app extension
25 lines of code changed in 3 files:
- DAELow.mo
- replace dummy der also in multidim equations
- extend array equations for crefs
108 lines of code changed in 1 file:
- VarTransform.mo
- implement addMultiDimReplacements to replace arrays and records
- Inline.mo
- bugfix for records
- Exp.mo
- implement expStripLastIdent, is used from Vartransfrom.addMultiDimReplacements
- extend isZero for arrays
- simplify array_add and array_sub
- Derive.mo
- do simplify after derive equations
- run inline functionality after derive functions
- bugfix derive functions
- DAELow.mo
- use VarTransform.addMultiDimReplacements
- remember derived arrays and multidimequations to avoid duplicate arrays and multidimeqations
- bugfix incidenceRowExp for array variables
- bugfix extendRecordEqns
345 lines of code changed in 5 files:
Fixed constant evaluation of all functions used in the multibody loops models,
which gives large speedups (Engine1a.mos went from ~21 sec to ~9 sec, while
EngineV6.mos went from ~10 min to ~8.5 min). The axesRotations function is
currently not evaluated in Cevalfunc though, because for some reason it's much
slower to constant evaluate it with cevalFunc than with dynamic loading.
- Fixed correct dimensions in ValuesUtil.matrixStripFirstColumn so that
ValuesUtil.multScalarProduct works correctly.
- Added support for record variables in Cevalfunc.extendEnvWithInputArgs so that
they are correctly added to the environment.
- Added support for imports in Cevalfunc.extendEnvWithInputArgs (only SI-import
at the moment, because other imports cause large slowdowns when evaluating
the axesRotations function from MSL).
- Added handling of DAE.WHOLEDIM in Ceval.cevalSubscriptValue.
86 lines of code changed in 3 files:
- Fix testsuite after commit r5715
30 lines of code changed in 3 files:
- removeSimpleEquations also for simple array equations
208 lines of code changed in 4 files:
- VarTransform spelling
- Derive bugfix dimension of zero derivative
- DAELow start to implement removeSimpleEquations also for arrays and records
58 lines of code changed in 3 files:
Updated for the release 1.5 //Mohsen
0 lines of code changed in 2 files:
Updated the OSMC public license from Berkley for the Release 1.5 //Mohsen
29 lines of code changed in 1 file:
Updated the UG for 1.5 Release //Mohsen
0 lines of code changed in 2 files:
Updated the system Guide for the 1.5 release //Mohsen
0 lines of code changed in 1 file:
Updated System Guide for the 1.5 Release. Updated the table of content //Mohsen
0 lines of code changed in 1 file:
Updated UG for the release 1.5 afteer comments from Per, Martin and Kristian. New section about failtrace and debuging.
//Mohsen
0 lines of code changed in 1 file:
The System Guide after comments from Kristian, Martin, Per.
Removed SimCodeGen and inserted SimCode. Wrote about the new template Susan. The table of contents needs to be updated /Mohsen
0 lines of code changed in 1 file:
- fix bug in statesAndVarsExp for records
25 lines of code changed in 2 files:
-Fixed bug with stateSelect set to parameter not picked up due to limitation in type system (enumeration(:) not implemented. This is mostly used in new MultiBody library.
13293 lines of code changed in 25 files:
- fix the compilation of absyn_builder lib
1 lines of code changed in 1 file:
- odp for OpenOffice users
1570 lines of code changed in 1 file:
- Updated elementary multibody models after inline changes
18 lines of code changed in 18 files:
- add derivative for ARR_ADD, ARR_SUB, CREF array
- lower MultiDimEquations to normal equations after inlining if it is possible
45 lines of code changed in 2 files:
- Added LDFLAGS to LIBSENDDATA_LDFLAGS also for sendDataHumbug
2 lines of code changed in 2 files:
- Added flag -noemit to the simulation executable
- Up to 10x faster than a simulation that stores results
- Only useful to get performance of a simulation without taking file IO into account
7 lines of code changed in 3 files:
- Added missing space in configure script
2 lines of code changed in 2 files:
- Added some new examples to ModelQueryAPIexamples.onb
195 lines of code changed in 1 file:
- Added compilation check of the sendData dependencies to the configure scripts
- Added support for LDFLAGS="-L/my/path/to/lib/" for LIBSENDDATA_LDFLAGS
34 lines of code changed in 2 files:
- first draft of performance enhancement analysis and proposals
0 lines of code changed in 1 file:
- start to add code for array equations to simcode
40 lines of code changed in 1 file:
- OMShell-terminal: Changed history file to ~/.mosh_history instead of ./mosh_history on Unix
44 lines of code changed in 3 files:
- bugfix inlining records
7 lines of code changed in 1 file:
- Bugfix extend Complex Equations
15 lines of code changed in 1 file:
- uncomment Static.cevalIfConstant as is was commented by mistake
- replaced equality(x = y) with true = intEq/realEq/stringEqual(x, y)
- replaced equality(x, y) with Exp.expEqual(x, y) in Static.eqSubscript
120 lines of code changed in 1 file:
- Activate function inlining after move it into lowering process. Now inlining should work and generate better results because remove simple equations is done after inlining.
102 lines of code changed in 4 files:
- Removed commented case from elabCallReduction (see commit 4787).
3 lines of code changed in 1 file:
- Fixed memory copy in solver_main.cpp (copying pointers does not copy data!).
3 lines of code changed in 1 file:
- Moved Codegen.getMatchingExpsList and Codegen.getMatchingExps to Exp.
- Moved Codegen.getUniontypePaths to DAEUtil.
- Removed Codegen.
311 lines of code changed in 9 files:
- Fixed compilation of OMShell.app on OSX
1 lines of code changed in 1 file:
- Fixed compilation of OMShell-terminal on OSX
75 lines of code changed in 4 files:
- Updated configure/Makefile to work using MacPorts on x86_64
- qmake-mac can be found, and used to generate sendData makefiles
- omniORB can be found, and used to generate the CORBA communication
- The qtclients were not updated
- The following configure command needs to be provided in MacPorts:
./configure '--with-sendData-Qt' '--with-omniORB' 'LDFLAGS=-L/opt/local/lib/' 'CFLAGS=-I/opt/local/include/'
- The following packages should be installed:
antlr qt4-mac lp_solve omniorb autoconf and probably some more
49 lines of code changed in 6 files:
- Rewrote templates for for-loops and reductions to share more code.
- Implemented code generation for reductions where the range is not a RANGE.
- Renamed the previously named member boolean in record DAE.STMT_FOR to the
more descriptive name iterIsArray, and added a comment on what it does.
1476 lines of code changed in 10 files:
- System.os now returns "OSX" on OSX.
36 lines of code changed in 4 files:
Built-in function fill is now simplified in Exp.simplifyBuiltinCalls() (used by MathCore).
37 lines of code changed in 2 files:
- Updated configure/Makefile to handle qmake on OSX differently
- Updated makefiles to check if qmake and idl exists before trying to compile qtclients
- Don't try to clean qtclients if qmake does not exist (systems without qmake can now make clean again!)
44 lines of code changed in 5 files:
- Added min of array to code generator.
34 lines of code changed in 2 files:
- fixes for list stream printing.
8 lines of code changed in 1 file:
The OpenModelicaTemplateProgramming document is a users guide on the new OpenModelica text template language Susan. This version is from April 21 2010.
3540 lines of code changed in 2 files:
- Added an alternate, more parallel way of running the testsuite. See comments
in testsuite/partest/runtests.pl for instructions on how to use it.
336 lines of code changed in 2 files:
- Fixed usage of sed on OSX (GNU sed handles -i differently)
5 lines of code changed in 3 files:
- Add missing file config.unix.h.in
2 lines of code changed in 1 file:
- Fix configure for OSX
21 lines of code changed in 4 files:
Inst.mo
- first draft of the expandable connectors
- return the environments in Inst.instClassdef2 and pass them along
- return the new environments where needed and pass them along
- changes due to Lookup.lookupVar*
Lookup.mo
- return also the component environment in Lookup.lookupVar*
Static.mo
- use the component environment in Static.canonCref
- added api: setCommandLineOptions
CevalScript.mo
- added api: setCommandLineOptions
Env.mo
- added Env.getVariablesFrom* to retrieve all variables from an environment, frame, etc.
VarTransform.mo
- minor edit
Changes to all other files due to changes to Lookup.lookupVar*
1030 lines of code changed in 19 files:
- updated Workplan-status-estimates.xls (since 2010-04-15 for Adrian Pop)
0 lines of code changed in 1 file:
- fixed compilation on Windows MSVC/OMDev
6 lines of code changed in 1 file:
- fixed problems on Windows MSVC/OMDev
2 lines of code changed in 1 file:
- Added new function call for interactive sessions:
- checkSettings() : record OpenModelica.Diagnostics.ImportantValues
- Add any information you constantly need to ask users for when debugging their problems
- A single command that you can get a lot of useful information from that OMC doesn't always check
- Updated System.regularFileExists, System.directoryExists to return Boolean instead of Integer
- Updated System.systemCall to return the exit code rather than the exit status (which is platform-dependent)
- For example, an application that returned 127 would show up as 32512 in Linux
185 lines of code changed in 12 files:
-Added crefPrependIdent that prepends and identifier to a cref (also given type and subscript list)
23 lines of code changed in 1 file:
- Updated c_runtime/Makefile.in for building sendData on OSX (which won't link on x86_64 anyway)
4 lines of code changed in 1 file:
- Added ringbuffer implementation for delay()
- It is faster for large simulations, although not much so (the original impl.
is O(log(n))).
Note: The template code does not have access to delayMax for the store function,
which is where the buffer should be cleared. Now it's done after binary search,
but only if delayMax == delayTime. The SimCode really should have this
information added.
2394 lines of code changed in 9 files:
Reverted most changes of error messages due to a huge number of tests failing.
132 lines of code changed in 1 file:
Improved/corrected even more error messages (this should be the last commit).
1 lines of code changed in 1 file:
Improved/corrected even more error messages.
9 lines of code changed in 1 file:
Improved/corrected more error messages.
23 lines of code changed in 1 file:
Improved/corrected error messages.
108 lines of code changed in 1 file:
- Fixed wrong path to typeview in SimCodeC.tpl.
1 lines of code changed in 1 file:
- Reverted removal of functions in Exp.mo and Util.mo from commit 5649 and 5650.
348 lines of code changed in 2 files:
- Updated meta/PartialFn1.mos
1 lines of code changed in 1 file:
- Fixed meta/*.mos testcases using wrong loadFile() commands.
- Fixed MetaModelicaDev/08_pam/Input.mo
6 lines of code changed in 6 files:
- Changed the exit() function in c_runtime to an EXIT macro
- This is aliased to _exit() on Unix because exit() always returned 0
- Fixed better handling of assertions in Euler and Dassl runtime
- Updated StringTest.mos as it now prints that simulation failed
85 lines of code changed in 14 files:
- Removed more unneeded checks in Exp.crefEqual.
2 lines of code changed in 1 file:
- Removed name mangling from DAELow, and implemented it in the template-based
code generator instead.
- Removed origVarName from DAELow.VAR, since varName is now the same.
- Removed unused functions Util.modelicaStringToCStr and Util.cStrToModelicaString.
- Removed unused stringify functions from Exp (Exp.stringifyComponentRef etc.).
- Fixed remaining issues with the template-based code generator, such as
external fortran calls, function pointers and returning records from functions.
- Added unboxing of arrays to meta_modelica.h
- Removed the old SimCodegen module and replaced it with the new SimCode module.
- Removed printing <asub> before ASUB expressions in Exp.printExp.
- Updated lots of testcases to comply with the changes made.
- Fixed some spelling errors (Descrete => Discrete, Resudials => Residuals)
14382 lines of code changed in 69 files:
- ANTLR parsers updated
47 lines of code changed in 6 files:
- Fix bug in absyn_builder make target
7 lines of code changed in 2 files:
- Updated dummy_model.cpp
23 lines of code changed in 1 file:
- Don't compile main() into libf2c.a
2 lines of code changed in 1 file:
- Added automatic regeneration of TplCodegen.mo if the template changes
90 lines of code changed in 4 files:
- Updated workplan
0 lines of code changed in 1 file:
A little more to derivatives of constant expressions:
Fixed the rule der(constant) = 0.0 in simplification: if the expression is an array, the result must also be an array.
Moved makeZeroExpression from DAEUtil to Exp.
51 lines of code changed in 3 files:
small bug fixes for solver_main
4 lines of code changed in 2 files:
- Fix for Makefile ANTLR dependencies with parallel makefiles
- Now says "Nothing to be done for `all'." instead of running ANTLR regardless
141 lines of code changed in 6 files:
- Compiler/Makefile .depend target depends on a mo-file being changed.
8 lines of code changed in 2 files:
- Fixed testsuite/mofiles/DerConstant{1,2,3}.mo. rtest expects endResult lines
82 lines of code changed in 3 files:
add a brute-force approach for DASSL with synchronous event handling
+ usage with method=dassl2
+ rename solver_euler* to solver_main
+ add s-stage runge-kutta method
568 lines of code changed in 6 files:
If expr is a constant or parametric expression, der(expr) is replaced during elaboration:
by 0.0 if expr is Real or Integer;
by an array of corresponding size filled by 0.0 if expr is an array of Real or Integer.
See http://openmodelica.ida.liu.se:8080/cb/issue/1233
163 lines of code changed in 7 files:
-Fixed bug in instantiation of external objects. Even thought they do not generate equations, the connection set must be propagated through it. Before it returned emtpy set.
3 lines of code changed in 1 file:
- Remove tab characters from Absyn.mo
220 lines of code changed in 1 file:
- updates to v6 engines due to removal of some parentheses
40637 lines of code changed in 2 files:
- first draft of testsuite/libraries/multibody/systems/RobotR3.mos containing tests for:
+ MultiBody.Examples.Systems.RobotR3.oneAxis
+ MultiBody.Examples.Systems.RobotR3.fullRobot
- still left to do:
+ check why the balance is off and get rid of the error messages.
12743 lines of code changed in 1 file:
-Added simplification in Exp.simplify: der(c) => 0 for constant expression c.
6 lines of code changed in 1 file:
- total model of MultiBody.Examples.Elementary with correct annotations.
- changes to tests due to inline annotations.
49813 lines of code changed in 19 files:
- Fix for delay() when the time step taken was larger than the max delay
- This is a problem because the next value from the buffer will be used even though it has not been initialized
- Should possibly be fixed in the future by changing the assert to i+1, and changing the solver to never take a too large time step
4 lines of code changed in 1 file:
- updates to testsuite/libraries/multibody/*/*.mos files.
- parentheses around multiplication are not displayed now.
33320 lines of code changed in 11 files:
- Update makefiles to fail if we failed to generate simcode (and only try if omc is already compiled)
13 lines of code changed in 2 files:
- Fixed line endings for the new .mo-files
- Reverted accidental change to SimCodeC.tpl
16 lines of code changed in 7 files:
- change in the message for an outer variable that has no inner
4 lines of code changed in 1 file:
Fixed a bug in simplifyAsub for binary operations with operator type DAE.DIV_ARRAY_SCALAR.
29 lines of code changed in 1 file:
Added /LTCG switch to the makefiles for visual studio.
2 lines of code changed in 3 files:
- Fix MetaModelicaDev/08_pam expected output
3 lines of code changed in 2 files:
- Updates due to printing mosfile output to stdout directly
- dynload.c - flush output buffers function call for deterministic behaviour
- Testsuite updated - testcases that used stdout now prints lines in different positions than earlier
7 lines of code changed in 4 files:
- comment out extendAllRecordEqns until testsuite library uses inline annotation
20 lines of code changed in 4 files:
- continue with extendRecords and function inlining
224 lines of code changed in 5 files:
May 2010 »