Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- OMC will now use the start value for a parameter during instantiation if the parameter does not have a default value and report a warning about it. This is widely used in Modelica 3.1. - DAE.mo + added BindingSource to DAE.Binding records DAE.EQBOUND and DAE.VALBOUND to know weather this binding came from a start value or default value. - DAEUtil.mo + added functions to set the DAE.BindingSource in DAE.Binding and to print DAE.Binding - Static.mo + Static.elabBuiltinDelay delay(x, variable, variable) generates only a warning now as is used inside Modelica.Electrical.Analog.Lines.TLine* (where a variable that is an expression of parameters is used) + Static.elabCref2 if the parameter binding came from a start value, issue a warning. - Inst.mo + send prefix and component name to Inst.makeBinding and Inst.elabArraydimType for better error messages + Inst.makeBinding will use the start value to generate a DAE.Binding as DAE.EQBOUND if the parameter does not have a default value. - Main.mo + added commented out debug statements using System Timer - Types.mo + improved the display of variables (now it displays where the binding came from start/default) - All other .mo files + fixes due to changes in DAE.mo - testsuite/* + fixes to the test models due to changes in the error/warning messages. + now run testsuite/libraries/msl31/* tests by default. git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@6119 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
- Loading branch information
Showing
15 changed files
with
275 additions
and
110 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.