Added comments to templates.
39736 lines of code changed in 3 files:
- Fixed whitespace in Friction.mos
8 lines of code changed in 1 file:
- Fix MetaModelicaDev testcases.
- Better error message from omc-diff when a real differs > eps.
6 lines of code changed in 3 files:
- Fix makefile target
1 lines of code changed in 1 file:
- Added new tool omc-diff for rtest to use while doing diff's.
- This one catches some errors previosuly not detected, e.g.:
* Empty line was the same as a line with empty quotes ("").
* However, it does nag more about whitespace, so make sure those are correct.
- omc-diff should be faster than what we did before (diff, and if that fails,
parse everything in Perl).
- omc-diff is written in a single flex file, no external C sources.
272 lines of code changed in 43 files:
Updated workplan
0 lines of code changed in 1 file:
Updated workplan status
0 lines of code changed in 1 file:
- Fixed bug #1210: http://openmodelica.ida.liu.se:8080/cb/issue/1210
+ Changed Static.elabBuiltinTranspose so that it sets the correct constness on the elaborated expression.
+ Added testcase mofiles/Transpose2
- Added missing RTOpts failtrace guard in Inst.instElement.
34 lines of code changed in 4 files:
- continue with derivatives of functions: remove debug print
7 lines of code changed in 2 files:
- continue with derivative annotation for functions: functions with multiple outputs now works
- implement replaceDummyDer for algorithms
748 lines of code changed in 3 files:
- continue with derivatives of functions: outputs
146 lines of code changed in 2 files:
An unfinished attempt to fix the multiple class definition bug (http://openmodelica.ida.liu.se:8080/cb/issue/1182). I tried to improve the function Inst.checkMultiplyDeclared so that it could be used for class definitions, not only for component declarations. Unfortunately, trying to call this function from instElement (when a class definition is processed) makes some files from the testsuite to fail. So I have left the extended checkMultiplyDeclared and comparison functions it calls, but commented out the call in instElement. I.e., the functions are not called, so nothing gets broken, but they are there in case somebody wants to continue the work. It seems to me, though, that the problem is not in comparison functions but in the place they are called from (instElement). But I do not know what the correct place is.
216 lines of code changed in 6 files:
- Fixed writePtolemyplotDataset/etc functions to use Print.mo instead of string concatenation.
- We can now plot files with more than 200000 datapoints per variable without stack overflow.
191 lines of code changed in 2 files:
Fixed bug #1212: http://openmodelica.ida.liu.se:8080/cb/issue/1212
- Disabled error message from Ceval when constant evaluating parameters in Mod.elabModValue.
- Changed some tests that no longer gets these error messages.
12 lines of code changed in 3 files:
- Most of the partial function tests now work again
17 lines of code changed in 2 files:
Fix for bug #1208: http://openmodelica.ida.liu.se:8080/cb/issue/1208
- Disabled constant evaluation of parameters with fixed=false in Mod.elabModValue.
8 lines of code changed in 1 file:
- Removed plot call in PreAndAliasedVar testcase.
0 lines of code changed in 1 file:
- Fixed wrong Makefile name in c_runtime/Makefile.omdev.mingw for interactive.
1 lines of code changed in 1 file:
- Merged the interactive_simulation branch into trunk.
- Removed check for QTHOME in systemimpl.c, since the QT libraries should be
found anyway.
4142 lines of code changed in 35 files:
- Bugfix: https://openmodelica.org:8443/cb/issue/1209?navigation=true
- Backend will now replace pre(a) with alias "a = -b" correctly:
- Correct way is -pre(b); previously pre(-b) was used.
64 lines of code changed in 4 files:
- continue with derivative annotation for functions: check of inputs from derivative function works now
56 lines of code changed in 2 files:
- forgot some debug prints. now they are no more!
8 lines of code changed in 2 files:
- updates to READMEs
18 lines of code changed in 3 files:
- copy the OMShell.exe to build/bin after compilation
1 lines of code changed in 3 files:
- update of dummy_model.cpp
11 lines of code changed in 1 file:
- copy .xml files to build/share/omnotebook/ instead of build/bin/
1 lines of code changed in 1 file:
- Enabled the previously disabled testcase Enum7, since it now works.
2 lines of code changed in 2 files:
- add Modelica.Mechanics.MultiBody.Examples.Loops models to the testsuite.
- split testsuite/libraries/multibody into elementary and loops directory.
131584 lines of code changed in 35 files:
- add the equalityConstraint function to the DAE.
21 lines of code changed in 1 file:
- Fixed bug #1191: http://openmodelica.ida.liu.se:8080/cb/issue/1191
+ Added function Inst.addEnumerationLiteralsToEnv that is used in Inst.getUsertypeDimensions to add enumeration literals to the environment when needed.
+ Added functions SCode.makeEnumType and SCode.isValidEnumLiteral, which are used by Inst.makeEnumComponent. Enumeration literals are now checked so that they are valid (i.e. you can no longer use reserved attribute names such as start as a enumeration literal).
+ Added an error message INVALID_ENUM_LITERAL to Error.
+ Replaced the unused function Error.infoStr with a more usable function.
+ Added testcases Enum10 and EnumInvalidLiteral.
168 lines of code changed in 7 files:
- Fixed configure so that USE_CORBA is set correctly.
4 lines of code changed in 2 files:
- renamed ext to OMPlotWindow
- renamed trunk.sln to OMNotebook.sln
- renamed OMS.sln to OMShell.sln
- got rid of some .suo as they are user specific.
2365 lines of code changed in 13 files:
- Added new configure option --with-Coin (Coin disabled by default).
183 lines of code changed in 18 files:
- Adding -source flag to java_interface makefiles since eclipse javac default to version 4.
4 lines of code changed in 2 files:
- Added a configure option to (force) statically linked lpsolve55 even if dynamic libraries are present.
338 lines of code changed in 2 files:
- Remove OMPlotWindow on clean
1 lines of code changed in 1 file:
- lib/libsendData.a should be lib/omc/libsendData.a
38 lines of code changed in 5 files:
- Renamed ext OMPlotWindow
68 lines of code changed in 5 files:
- added profiler target
7 lines of code changed in 2 files:
- Don't rm -rf build/ on clean; only distclean
2 lines of code changed in 1 file:
- fixed broken Makefile.omdev.mingw (install_doc target does not exist).
1 lines of code changed in 1 file:
- Fix broken OMShell build.
1 lines of code changed in 1 file:
- Install scripts in share/omc/scripts instead of bin
15 lines of code changed in 4 files:
- Fix so the qtclients idl files aren't re-run every time they are built.
2 lines of code changed in 1 file:
- Fixed https://openmodelica.org:8443/cb/issue/1200
- Search /lib/ instead of /lib in case lib is a symlink.
4 lines of code changed in 2 files:
- Use qtclean target to Makefile.common, so we actually clean up after the qtclients.
1 lines of code changed in 1 file:
- Fix MetaModelicaDev testsuite.
2 lines of code changed in 1 file:
- Move libQt*-mingw.a from build/ to c_runtime/omdev_qtdeps.
- Delete build/ from svn.
4 lines of code changed in 18 files:
- Added antlr_license.txt. Missing from last commit.
0 lines of code changed in 1 file:
- Added trunk/Makefile.common, and restructured Makefile and Makefile.omdev.mingw
- Fixed lots of weird install targets for files
- Moved commands.xml, etc files from bin to share/omnotebook, share/omshell.
- Moved ptplot.jar from bin to share/omc/java.
- Moved ptplot_license.txt from bin to share/
- Moved omc_helptext.txt from bin to share/doc/omc
- Added antlr_license.txt
- Moved OPENMODELICA/include to OPENMODELICAHOME/omc/include
- This way we won't override system libs/includes if we install to /usr
- Did the same for /lib
- Left to do: Move scripts from bin to usr/share/omc/scripts
- Updated OMNotebook and OMShell to reflect new paths of xml files.
- Updated doPlot commands to reflect the new location of ptplot.jar
378 lines of code changed in 31 files:
- Fix syntax error in OMShell.pro
- Use ANTLRHOME paths properly in OMNotebook.pro if it is set
3 lines of code changed in 2 files:
- Added some more installation instructions, including an Ubuntu cheat sheet for dependencies.
23 lines of code changed in 1 file:
- Updated c_runtime/Makefile.common for OSX (needs to run ranlib on .a-files).
4 lines of code changed in 1 file:
- continue with derivatives of functions: start noDerivative, outputs
59 lines of code changed in 1 file:
- Fix docdir for install script
2 lines of code changed in 2 files:
- New fix for --with-CORBA=DIR
4 lines of code changed in 1 file:
- Fix for mico-config --with-CORBA=XXX
2 lines of code changed in 2 files:
- continue with derivatives of functions: zeroDerivative now works
77 lines of code changed in 1 file:
- Changed systemimpl.c to not use OPENMODELICAHOME during the init call.
- Instead, we use Main.main to check for OPENMODELICAHOME (and set mingw paths).
- Updated System.setEnv to take a boolean as third argument instad of int.
38 lines of code changed in 4 files:
- Make omc exit if OPENMODELICAHOME is not set.
13 lines of code changed in 1 file:
- Don't copy .svn-files when doing make install.
17 lines of code changed in 2 files:
- continue with derivative annotation for functions: order > 1 works now
93 lines of code changed in 1 file:
- continue with derivatives of functions
not Working: - output arguments
- check derived function inputs and outputs (frontend)
- order > 1
- zeroDerivative, noDerivative,
171 lines of code changed in 1 file:
- updates to visual studio projects, makefiles, qt clients and pdbs
388 lines of code changed in 9 files:
- derivative annotation for functions: convey functions to differentiateExpTime
158 lines of code changed in 7 files:
- Adding OMC_API-HowTo to install target for omc (only did omcd last commit).
3 lines of code changed in 2 files:
- Adding OMC_API-HowTo to install target.
- Updating java_interface makefiles (better clean-up and works without setting JAVA_HOME).
- Removing temporary antlr grammar files when configure script fails.
- Fixed doc install path for UNIX systems.
- Remove generated code when doing make clean in Compiler/runtime, Compiler/absyn_builder.
- Remove generated makefile in c_runtime/sendData.
47 lines of code changed in 11 files:
- Bugfix, derivative annotation for functions, functions with annotation(derivative=foo1) wasn't found
2 lines of code changed in 1 file:
- Added support for unset RMLHOME when doing ./configure
- More removal of files when doing make clean or make distclean
41 lines of code changed in 7 files:
- Updating linux makefiles (and rmldep-new.sh) to work without RMLHOME set (it is set by ./configure!)
22 lines of code changed in 6 files:
- Added support for omniORB in qtclients.
+ We can now remove the dependency on mico for Linux systems.
247 lines of code changed in 16 files:
Added Juhas fixes from 100421 and added items function returning records and function derivative annotation in the backend sheet.
0 lines of code changed in 1 file:
- update Workplan
0 lines of code changed in 1 file:
- Updated README.Cygwin.or.Linux.txt with more information on how to handle lpsolve55.
10 lines of code changed in 1 file:
- Updated configure script to configure lpsolve55 properly (some systems require -ldl -lcolamd, others don't).
269 lines of code changed in 6 files:
- We now handle redeclare modifications in extends in InstExtends instead of passing back the modification and handling it later.
+ This added support for the record constructor function when redeclaring records.
59 lines of code changed in 3 files:
- elabCallArgs now guards the general case from accepting record constructors.
58 lines of code changed in 2 files:
- Fixed detection of nested when-statements
[bug 1189: http://openmodelica.ida.liu.se:8080/cb/issue/1189]
104 lines of code changed in 5 files:
Updated entry text for refactoring - added 80% and 100% explanations and 100% entry
0 lines of code changed in 1 file:
- updated.
0 lines of code changed in 1 file:
Updated workplan
0 lines of code changed in 1 file:
Updated status for finished bugs and fixed some rows that had not been correctly added.
0 lines of code changed in 1 file:
update status for cpp code generation
0 lines of code changed in 1 file:
Fixed summation errors and conditional errors in excel sheet
0 lines of code changed in 1 file:
Inserted some development items for Jens Frenkel, Lennart Ochel, Willi Braun, Peter Fritzson. However, time estimates and measured time still needs to be intered.
0 lines of code changed in 1 file:
Updated workplan
0 lines of code changed in 1 file:
- Fixed code generation for min and max (bug #1196: http://openmodelica.ida.liu.se:8080/cb/issue/1196).
8 lines of code changed in 1 file:
- Fixed bug #1194: http://openmodelica.ida.liu.se:8080/cb/issue/1194 by adding a
case for arrays in Types.getFixedVarAttribute.
- Added testcase mofiles/FixedFinalParameter.mo to test the fix.
36 lines of code changed in 3 files:
- Added support for "record ABC = DEF;", and calling the record constructor ABC.
- Added testcase records/Derived1.
78 lines of code changed in 6 files:
Updated workplan
0 lines of code changed in 1 file:
- added test for getNthComponent from a model that contains extends.
34 lines of code changed in 3 files:
- Fix for getNthComponent (partialInstClass wouldn't work on certain scopes that extend with modifications).
10 lines of code changed in 1 file:
- update of the work-status
0 lines of code changed in 1 file:
- update of the work-status
0 lines of code changed in 1 file:
- Updated layout of Workplan-status-estimates
0 lines of code changed in 1 file:
- Remove failtrace for lookupVarInPackages.
2 lines of code changed in 1 file:
- Fixed lookupVarInPackages to store previous environment frames when doing lookup in the parent scope.
+ This prevents infinite recursion if you want to lookup A.B.C.myConst in scope A.B.C.MyFunction.
52 lines of code changed in 2 files:
- Implemented the possibility of specifying multiple .mo(f)-files on the command
line, and which class to instantiate.
+ Combined the cases for single .mo-file and for .mo-file with libraries in
Main.translateFile.
+ Added a case in Main.loadLibs for loading .mo(f)-files.
+ Added flag +i in RTOpts, which is used to specify the class to instantiate.
+ Moved the instantiation to it's own function Main.instantiate, which checks
the flag +i to determine which instantiation function to call.
+ Added the function Absyn.stringPath, that converts a String to a qualified
Absyn.Path.
+ Rewrote parts of Inst.instClassInProgram to report an error if the class
specified with the +i flag was not found.
+ Updated the help message to reflect these changes.
- Fixed spelling in SimCodeC.tpl.
160 lines of code changed in 6 files:
- fixed bug [1185] https://openmodelica.org:8443/cb/issue/1185
Error: Variable stateGraphRoot in package Modelica.StateGraph.Examples.Utilities.CompositeStep2 is not constant
Error: Variable stateGraphRoot in package Modelica.StateGraph.Examples.Utilities.MakeProduct is not constant
The problem was the that the lookup in in InnerOuter.lookupVarInnerOuterAttr can fail so I added error checkpoint/rollback.
- Lookup.lookupVarLocal now uses Lookup.lookupVarInternal.
- Inst.instClassdef2 is now sorting of ALL elements (extends element included) to push inner and inner outer
elements in the front to be instantiated first (disabled for now, check if is faster and test a bit more).
126 lines of code changed in 6 files:
- Removed "Lookup of enumeration variables" from lookupVarInPackages, since the general case also handles enumerations (less code to maintain).
0 lines of code changed in 1 file:
- Simplified the code for lookupUnqualifiedImportedVarInFrame so it's easier to maintain.
21 lines of code changed in 3 files:
- Simplified the code for lookupQualifiedImportedVarInFrame so it's easier to maintain.
15 lines of code changed in 1 file:
- Fixed bug #1193: http://openmodelica.ida.liu.se:8080/cb/issue/1193
+ Changed Mod.lookupIdxModification so that it can merge a final variables EqMod with it's other modifications.
+ Added testcase mofiles/FinalParameterModification.mo.
27 lines of code changed in 3 files:
Update to having 2 separate sheets for frontand and backend + other things. Tried to delete irrelevant issues for front resp backend.
0 lines of code changed in 1 file:
- Fixed bug #1190: http://openmodelica.ida.liu.se:8080/cb/issue/1190?navigation=true
+ Added the function Inst.isFunctionInput that checks if a component is a
function input argument or not.
+ Ignore modifiers on function input arguments in elabArraydim, since the size
of input arguments should not be determined there.
+ Added testcase mofiles/FunctionDefaultArgs.mo to test the fix.
89 lines of code changed in 3 files:
- Adding testcase Extends8.mo
- This tests that all inherited class definitions are actually put in the environment (this sometimes wouldn't work if you extended and extended class).
87 lines of code changed in 3 files:
- added operator record to the grammar / walker / Absyn.mo (from Modelica 3.2).
8 lines of code changed in 3 files:
- overconstrained connection graph improvements and fixes.
+ the graph changes generated by disabled components ( Type comp if false )
should be discarded (created problems for ForceAndTorque.mos)
+ delete the branch edges, roots and connects from the connection graph
when they lead to a disabled component.
773 lines of code changed in 4 files:
- small numerical difference due to rounding
1 lines of code changed in 1 file:
- moved Enum7.mo to failing tests due wrong error message.
- added a bug [#1191] report about this: https://openmodelica.org:8443/cb/issue/1191?navigation=true
4 lines of code changed in 2 files:
- this warning is correct as other Modelica tools ignore the modification on outer.
we do the same but issue a warning instead of an error to still allow flattening
of the model.
2 lines of code changed in 1 file:
- readable DivisionbyZero ErrorMsg
- test only divisor part of parameter Equation if zero
39905 lines of code changed in 5 files:
- Do updateCompeltsMods also when doing a partial instantiation (this solves some issues in Modelica.Media; some others remain though).
14 lines of code changed in 2 files:
- Removed lookupVar failed failtrace (I re-added it by accident after debugging).
- Added printing of scope used when instantiateDaeFunction fails.
2 lines of code changed in 2 files:
- updating due to function sorting difference
14 lines of code changed in 1 file:
- finish relaxation algorithm works also for template codegen,
- use "+d=relaxation" to solve linear systems with relaxation algorithm (gaus ellemination without pivoting)
631 lines of code changed in 2 files:
- continue with relaxation algorithm
283 lines of code changed in 2 files:
- start implementation relaxation algorithm
270 lines of code changed in 2 files:
- Changed the absolute path used by loadFile in OneWayRectifier.mos to a relative path (so it works for everyone).
1 lines of code changed in 1 file:
- implement pow operator for matrix
188 lines of code changed in 4 files:
- display the OK after 82 chars instead of 31 to have a bit more nicer display.
1 lines of code changed in 1 file:
- Fix order of cases in updateComponentInEnv in order to fix libraries testcases.
- Also updated Multibody testcases due to Adrian's previous changes.
- Fix testsuite/rtest to print time spent when it gets equation mismatch.
- Refactoring Lookup.mo (Derived classes are no more).
48 lines of code changed in 5 files:
- Fix for bug #1186: http://openmodelica.ida.liu.se:8080/cb/issue/1186?navigation=true
+ Added function Exp.arrayContainWholeDimension that checks if a list of dimensions contain a wholedim.
+ Added a check in Static.cevalIfConstant so that only functions with return types of unknown dimensions are constant evaluated to determine the dimensions.
+ Modified some testcases to reflect the changes made.
73 lines of code changed in 9 files:
- Added testcase ArraySizeFromFunc.mo to test determination of array size with a
function call with parameter arguments.
38 lines of code changed in 2 files:
- updates due to fixes of Connections.isRoot evaluation.
19 lines of code changed in 5 files:
- fixes for bug [#1188] https://openmodelica.org:8443/cb/issue/1188
Connections.isRoot evaluates to wrong value in Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody
- the problem was a typo in ConnectionGraph.addBranchesToTable generated a wrong hash table.
- moved public functions in the beginning of ConnectionGraph.mo
- make all functions not accessed from outside be protected in ConnectionGraph.mo
- more testsuite/libraries/multibody/ need updating (will do that with a later commit).
211 lines of code changed in 3 files:
- CMakeFiles now work on win32 and linux to generate omc executable.
- Linux define RLMHOME, point to your rml install path
- win: define OMDEV environment variable, point to your OMDev installation
- Attention: because function rml_user_gc is defined at rml.lib you can
- at force flag to TARGET_LINK_LIBRARIES(omc rml) (for win32 -> TARGET_LINK_LIBRARIES(omc -FORCE:MULTIPLE rml))
or - rebuild rml lib without function rml_user_gc
83 lines of code changed in 10 files:
- Updated configure script to be a lot faster when searching for ANTLR headers (look in ANTLRHOME/include and ANTLRHOME/lib instead of searching all of /usr).
- Fixed an issue where ANTLRHOME can be set to /home/user/src/ but the script finds the headers in /usr/local and Makefiles then fail.
- You may now have ANTLRHOME unset when doing ./configure.
- The default ANTLRHOME is /usr.
- Readme file updated to reflect these changes.
1366 lines of code changed in 3 files:
- add Testcase for elsewhen part of whenequations
78 lines of code changed in 3 files:
- implement elsewhen part of whenequations for tplmode
34 lines of code changed in 1 file:
Fixed incorrect generation of makefiles.
1408 lines of code changed in 3 files:
- implement elsewhen part of whenequations
87 lines of code changed in 2 files:
Updated some comments.
3 lines of code changed in 1 file:
Added more documentation to SimCode and did some refactoring.
249 lines of code changed in 5 files:
- Fixed some gcc warnings in Compiler/runtime on Unix.
13 lines of code changed in 5 files:
- division by zero problem, test parameter expressions only once
104 lines of code changed in 2 files:
- continue with division by zero problem, attend mode (ALL,ONLY_VARIABLES), removed unused functions
54 lines of code changed in 2 files:
- moved getTotalProgram from Interactive.mo to a new package Dependency.mo
so that it can be shared between OpenModelica and other tools (MathModelica).
1399 lines of code changed in 11 files:
- Updated configure script for better performance and stability when installing rml and setting RMLHOME to a too common directory (sources in /usr/local/src and binaries in /usr/local - the old script would find both include directories)
2225 lines of code changed in 2 files:
- Updated testsuite/README to explain the seldom-used features of rtest
9 lines of code changed in 1 file:
- Updated the rtest script to support the cflags directive (as the old mofiles script did).
- Added two more directives to the rtest scrips, setup_command and teardown_command
- This enables us to test flattening of external functions using standard Modelica annotations (Library = "myLib.o")
- Updated ExternalFunctionX and AddReal1 testcases
106 lines of code changed in 15 files:
- Fix for testsuite/mosfiles-nosim/refactorGraphAnn2.mos (I had a local copy of Modelica.mo in this directory; subversion did not).
2 lines of code changed in 1 file:
- Fixed testsuite/mofiles/ConstructParameters1.mo (printing parser error is the expected result).
- Added a guard to instBasictypeBaseclass - if a primary type is extended with a new component, we should not try the next case, but rather print an error.
- Updated testsuite/mofiles/SimpleTypeExtend.mo (it is supposed to fail according to the line above).
89 lines of code changed in 3 files:
- Removed mathcore-mofiles/msl since it is identical to mofiles/msl.
4 lines of code changed in 1 file:
- Split testsuite/mosfiles into mosfiles and mosfiles-msl22 (the testcase that were using a Modelica.mo file containing the full MSL 2.2).
20412 lines of code changed in 29 files:
- Split testsuite/mosfiles into mosfiles and mosfiles-nosim for the scripts that don't use simulate().
8061 lines of code changed in 87 files:
- Fix for mofiles/Array13.mo
- Handle instModEquation when the dimension of the MOD is 0 as a special case (there is no equation).
- Added testcases Array14,Array15 that are the same as Array13, but test it for constants and variables instead of parameters.
57 lines of code changed in 4 files:
Make it possible to setup a different default compiler through environment variables.
15 lines of code changed in 1 file:
- Adding testcase Extends7.mo, based on bug #1184.
- Adding builtin function classDirectory()->String to the initial environment.
- It is a non-standardized function does not have an implementation in OpenModelica.
51 lines of code changed in 3 files:
- Updated mofile tests that have expected output errors (parser errors, etc).
42 lines of code changed in 20 files:
- Updated the generation of Makefile header so you don't have to specify SENDDATALIBS if you run it manually.
7 lines of code changed in 1 file: