Timeline


and

2012-11-19:

22:49 Changeset [13975] by jfrenkel
  • 1 edit in trunk/Compiler/BackEnd/SimCodeUtil.mo
  • ignore toplevel inputs for parameter bound equations
22:49 Changeset in OpenModelica [789617ef]Added-citation-metadatamaintenance/v1.14maintenance/v1.15maintenance/v1.16maintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Jens Frenkel <jens.frenkel@…>
  • 1 edit in Compiler/BackEnd/SimCodeUtil.mo
  • ignore toplevel inputs for parameter bound equations

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@13975 f25d12d1-65f4-0310-ae8a-bbce733d8d8e

22:04 Changeset [13974] by jfrenkel
  • 5 edits in trunk/testsuite
  • expected output (now some more models are balanced)
21:15 Changeset [13973] by jfrenkel
  • 4 edits in trunk/Compiler
  • size of enumeration type is 1
21:15 Changeset in OpenModelica [84b2c97]Added-citation-metadatamaintenance/v1.14maintenance/v1.15maintenance/v1.16maintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Jens Frenkel <jens.frenkel@…>
  • 3 edits in Compiler
  • size of enumeration type is 1

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@13973 f25d12d1-65f4-0310-ae8a-bbce733d8d8e

17:29 Changeset [13972] by perost
  • 1 edit in trunk/testsuite/flattening/modelica/extends/InvalidComponentExtends1.mo
  • Fixed test.
17:19 Changeset [13971] by jfrenkel
  • 1 edit in trunk/Compiler/BackEnd/SimCodeUtil.mo
  • fix for last commit, ignore constants
17:19 Changeset in OpenModelica [d646053]Added-citation-metadatamaintenance/v1.14maintenance/v1.15maintenance/v1.16maintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Jens Frenkel <jens.frenkel@…>
  • 1 edit in Compiler/BackEnd/SimCodeUtil.mo
  • fix for last commit, ignore constants

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@13971 f25d12d1-65f4-0310-ae8a-bbce733d8d8e

17:16 Changeset [13970] by jfrenkel
  • 1 edit in trunk/Compiler/BackEnd/SimCodeUtil.mo
  • fix for last commit, ignore constants
17:16 Changeset in OpenModelica [dc25bc53]Added-citation-metadatamaintenance/v1.14maintenance/v1.15maintenance/v1.16maintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Jens Frenkel <jens.frenkel@…>
  • 1 edit in Compiler/BackEnd/SimCodeUtil.mo
  • fix for last commit, ignore constants

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@13970 f25d12d1-65f4-0310-ae8a-bbce733d8d8e

17:08 Ticket #1908 (Handle redeclares with multiple inheritance) closed by perost
fixed: I think this has mostly been fixed, so I'm closing this ticket. If …
17:06 Changeset [13969] by alash325
  • 2 edits in trunk/Compiler/Template
  • Added XML code generation for Optimica Extension
17:06 Changeset in OpenModelica [a998770c]Added-citation-metadatamaintenance/v1.14maintenance/v1.15maintenance/v1.16maintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Alachew Mengist <alash325@…>
  • 1 edit in Compiler/Template/CodegenXML.tpl
  • Added XML code generation for Optimica Extension

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@13969 f25d12d1-65f4-0310-ae8a-bbce733d8d8e

17:06 Ticket #1918 (Implement better checking of extends in new instantiation) closed by perost
fixed
17:06 Changeset [13968] by jfrenkel
  • 1 edit in trunk/Compiler/BackEnd/SimCodeUtil.mo
  • add in case of constant variables every time a parameter bound equation to the simulation code and in case of parameters only if it is not constant
17:06 Changeset in OpenModelica [b3fb8f57]Added-citation-metadatamaintenance/v1.14maintenance/v1.15maintenance/v1.16maintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Jens Frenkel <jens.frenkel@…>
  • 1 edit in Compiler/BackEnd/SimCodeUtil.mo
  • add in case of constant variables every time a parameter bound equation to the simulation code and in case of parameters only if it is not constant

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@13968 f25d12d1-65f4-0310-ae8a-bbce733d8d8e

17:05 Ticket #1945 (unbalanced models by duplicate inheritance) created by cschubert
The attached model F uses duplicate inheritance and generates …
17:01 Changeset [13967] by perost
  • 3 edits in trunk
  • Removed some dead code from SCodeDependency.
  • Updated fluid tests.
17:01 Changeset in OpenModelica [e0f41a7]Added-citation-metadatamaintenance/v1.14maintenance/v1.15maintenance/v1.16maintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Per Östlund <per.ostlund@…>
  • 1 edit in Compiler/FrontEnd/SCodeDependency.mo
  • Removed some dead code from SCodeDependency.
  • Updated fluid tests.

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@13967 f25d12d1-65f4-0310-ae8a-bbce733d8d8e

16:21 Changeset [13966] by sjoelund.se
  • 409 edits in trunk/testsuite
  • svn eol-style
16:21 Ticket #1944 (unbalanced models: empty array of unused connector yields equations) closed by perost
fixed: Fixed in r13965.
16:21 Changeset [13965] by perost
  • 4 edits
    2 adds in trunk
  • Don't add inside flows for empty arrays.
16:21 Changeset in OpenModelica [9a2547ac]Added-citation-metadatamaintenance/v1.14maintenance/v1.15maintenance/v1.16maintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Per Östlund <per.ostlund@…>
  • 3 edits in Compiler/FrontEnd
  • Don't add inside flows for empty arrays.

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@13965 f25d12d1-65f4-0310-ae8a-bbce733d8d8e

15:31 Changeset [13964] by jfrenkel
  • 5 edits in trunk/Compiler
  • add size of equation when dump equations
  • fix for sizeof(typeof(ENUM_LITERAL))
  • add code to add the pre vars of alias vars (not aktivated)
15:31 Changeset in OpenModelica [be531da]Added-citation-metadatamaintenance/v1.14maintenance/v1.15maintenance/v1.16maintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Jens Frenkel <jens.frenkel@…>
  • 5 edits in Compiler
  • add size of equation when dump equations
  • fix for sizeof(typeof(ENUM_LITERAL))
  • add code to add the pre vars of alias vars (not aktivated)

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@13964 f25d12d1-65f4-0310-ae8a-bbce733d8d8e

15:01 Changeset [13963] by perost
  • 24 edits
    2 moves
    12 adds in trunk
  • Rewrote extends qualifying phase to handle more cases and do more checking. Now checks for inherited extends and checks all parts of the base class name for replaceability.
  • Added new package EnvExtends and put most of the extends stuff in it.
  • Added check for missing redeclare keywords when redeclaring classes (see MissingRedeclare1.mo test case).
  • Implemented better propagation of modifiers to multiple extends.
  • Renamed test folder flattening/modelica/inheritances to extends.
15:01 Changeset in OpenModelica [d8d7974]Added-citation-metadatamaintenance/v1.14maintenance/v1.15maintenance/v1.16maintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Per Östlund <per.ostlund@…>
  • 14 edits
    1 add in Compiler
  • Rewrote extends qualifying phase to handle more cases and do more checking. Now checks for inherited extends and checks all parts of the base class name for replaceability.
  • Added new package EnvExtends and put most of the extends stuff in it.
  • Added check for missing redeclare keywords when redeclaring classes (see MissingRedeclare1.mo test case).
  • Implemented better propagation of modifiers to multiple extends.
  • Renamed test folder flattening/modelica/inheritances to extends.

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@13963 f25d12d1-65f4-0310-ae8a-bbce733d8d8e

14:46 Changeset [13962] by adrpo
  • 1 edit in trunk/Compiler/BackEnd/OpenTURNS.mo
  • small fixes in OpenTURNS connection: write the input/output variables in the correct form (x.y not x_y) and order in the wrapper xml file
14:46 Changeset in OpenModelica [8e25f42]Added-citation-metadatamaintenance/v1.14maintenance/v1.15maintenance/v1.16maintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Adrian Pop <adrian.pop@…>
  • 1 edit in Compiler/BackEnd/OpenTURNS.mo
  • small fixes in OpenTURNS connection: write the input/output variables in the correct form (x.y not x_y) and order in the wrapper xml file

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@13962 f25d12d1-65f4-0310-ae8a-bbce733d8d8e

14:38 Changeset [13961] by sjoelund.se
  • 8 edits in trunk/Compiler

#1941

  • Handle inlining of outerProduct() instead of treating it as a builtin call
14:38 Changeset in OpenModelica [a0c994d]Added-citation-metadatamaintenance/v1.14maintenance/v1.15maintenance/v1.16maintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Martin Sjölund <martin.sjolund@…>
  • 7 edits in Compiler

#1941

  • Handle inlining of outerProduct() instead of treating it as a builtin call

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@13961 f25d12d1-65f4-0310-ae8a-bbce733d8d8e

14:08 Ticket #1944 (unbalanced models: empty array of unused connector yields equations) created by cschubert
I found another source for unbalanced fluid models. We have an empty …
13:22 Changeset [13960] by perost
  • 1 edit in trunk/testsuite/openmodelica/bootstrapping/SusanTest.mos
  • Trying to fix SusanTest again.
12:59 Changeset [13959] by mahge930
  • 1 edit in trunk/Compiler/FrontEnd/Inst.mo

Fix output.

12:59 Changeset in OpenModelica [27063fc7]Added-citation-metadatamaintenance/v1.14maintenance/v1.15maintenance/v1.16maintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Mahder Alemseged Gebremedhin <mahge930@…>
  • 1 edit in Compiler/FrontEnd/Inst.mo

Fix output.

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@13959 f25d12d1-65f4-0310-ae8a-bbce733d8d8e

12:42 Ticket #1943 (Wrong equation count for enum in when equations) created by cschubert
if an enum is set using an if equation inside a when equation, the …
11:55 Changeset [13958] by perost
  • 1 edit in trunk/testsuite/openmodelica/bootstrapping/SusanTest.mos
  • Fix SusanTest.
11:42 Changeset [13957] by mahge930
  • 5 edits in trunk/Compiler

ParModelica: Check declaration of global vars in kernel functions. And add omc prefix to parallel/kernel functions.

11:42 Changeset in OpenModelica [0606b02]Added-citation-metadatamaintenance/v1.14maintenance/v1.15maintenance/v1.16maintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Mahder Alemseged Gebremedhin <mahge930@…>
  • 2 edits in Compiler

ParModelica: Check declaration of global vars in kernel functions. And add omc prefix to parallel/kernel functions.

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@13957 f25d12d1-65f4-0310-ae8a-bbce733d8d8e

11:30 Ticket #1942 (msl32 / Modelica.Mechanics.MultiBody.Examples.Loops.EngineV6_analytic) created by lochel
There are some differences between our rersults and that from dymola. …
11:27 Changeset [13956] by lochel
  • 4 edits in trunk/testsuite/simulation/libraries/msl32
  • update tests
10:02 Changeset [13955] by sjoelund.se
  • 8 edits in trunk

#1941

  • Added code generation for outerProduct
10:02 Changeset in OpenModelica [e8c210e9]Added-citation-metadatamaintenance/v1.14maintenance/v1.15maintenance/v1.16maintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Martin Sjölund <martin.sjolund@…>
  • 5 edits in /

#1941

  • Added code generation for outerProduct

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@13955 f25d12d1-65f4-0310-ae8a-bbce733d8d8e

02:05 Changeset [13954] by hubert.thieriot
  • 2 edits in trunk/OMOptim
  • small omc function call improvment

2012-11-18:

22:42 Changeset [13953] by jfrenkel
  • 1 edit in trunk/Compiler/BackEnd/BackendDAEOptimize.mo
  • test new remove simple equation implementation, switch off
22:42 Changeset in OpenModelica [6c5ab51]Added-citation-metadatamaintenance/v1.14maintenance/v1.15maintenance/v1.16maintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Jens Frenkel <jens.frenkel@…>
  • 1 edit in Compiler/BackEnd/BackendDAEOptimize.mo
  • test new remove simple equation implementation, switch off

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@13953 f25d12d1-65f4-0310-ae8a-bbce733d8d8e

22:40 Changeset [13952] by jfrenkel
  • 1 edit in trunk/Compiler/BackEnd/BackendDAEOptimize.mo
  • test new remove simple equation implementation
22:40 Changeset in OpenModelica [76a03a4]Added-citation-metadatamaintenance/v1.14maintenance/v1.15maintenance/v1.16maintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Jens Frenkel <jens.frenkel@…>
  • 1 edit in Compiler/BackEnd/BackendDAEOptimize.mo
  • test new remove simple equation implementation

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@13952 f25d12d1-65f4-0310-ae8a-bbce733d8d8e

21:37 Changeset [13951] by jfrenkel
  • 3 edits in trunk
  • bugfix msvc compile
  • bugfix for last commit for result .mat
21:37 Changeset in OpenModelica [29ff8d9f]Added-citation-metadatamaintenance/v1.14maintenance/v1.15maintenance/v1.16maintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Jens Frenkel <jens.frenkel@…>
  • 2 edits in /
  • bugfix msvc compile
  • bugfix for last commit for result .mat

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@13951 f25d12d1-65f4-0310-ae8a-bbce733d8d8e

20:19 Changeset [13950] by jfrenkel
  • 7 edits in trunk
  • bugfix for alias a = time
  • bugfix for msvc compile
20:19 Changeset in OpenModelica [c866ca5]Added-citation-metadatamaintenance/v1.14maintenance/v1.15maintenance/v1.16maintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Jens Frenkel <jens.frenkel@…>
  • 6 edits in /
  • bugfix for alias a = time
  • bugfix for msvc compile

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@13950 f25d12d1-65f4-0310-ae8a-bbce733d8d8e

10:58 Changeset [13949] by adrpo
  • 3 edits in trunk/Compiler
  • set the type of T_UNKNOWN to "complex" (void*) when +g=MetaModelica and to "real" (modelica_real) when not.
  • have the type of the inStream operator to be T_REAL_DEFAULT as T_UNKONW reaches the code somehow.
10:58 Changeset in OpenModelica [bfcaaaa4]Added-citation-metadatamaintenance/v1.14maintenance/v1.15maintenance/v1.16maintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Adrian Pop <adrian.pop@…>
  • 2 edits in Compiler
  • set the type of T_UNKNOWN to "complex" (void*) when +g=MetaModelica and to "real" (modelica_real) when not.
  • have the type of the inStream operator to be T_REAL_DEFAULT as T_UNKONW reaches the code somehow.

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@13949 f25d12d1-65f4-0310-ae8a-bbce733d8d8e

10:15 Changeset [13948] by adrpo
  • 2 edits in trunk/Compiler/Template
  • assume real for T_UNKNOWN + a comment in the C code. wonder how many tests this will break :)
10:15 Changeset in OpenModelica [0794b97]Added-citation-metadatamaintenance/v1.14maintenance/v1.15maintenance/v1.16maintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Adrian Pop <adrian.pop@…>
  • 1 edit in Compiler/Template/CodegenC.tpl
  • assume real for T_UNKNOWN + a comment in the C code. wonder how many tests this will break :)

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@13948 f25d12d1-65f4-0310-ae8a-bbce733d8d8e

09:39 Changeset [13947] by adrpo
  • 2 edits in trunk/Compiler
  • don't do the second dependency analysis in CevalScript.mo and the third in Inst.instantiateClass when +d=scodeInstShortcut is active (it doesn't work yet in all cases)
09:39 Changeset in OpenModelica [f56eff9]Added-citation-metadatamaintenance/v1.14maintenance/v1.15maintenance/v1.16maintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Adrian Pop <adrian.pop@…>
  • 2 edits in Compiler
  • don't do the second dependency analysis in CevalScript.mo and the third in Inst.instantiateClass when +d=scodeInstShortcut is active (it doesn't work yet in all cases)

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@13947 f25d12d1-65f4-0310-ae8a-bbce733d8d8e

05:39 Changeset [13946] by adrpo
  • 1 edit in trunk/Compiler/FrontEnd/Absyn.mo
  • make models dumped with +d=scodeInstShortcut able to instantiate when loaded again in OMC. Check differently the last ident if OMC is present otherwise you get: first element is: .Modelica.Fluid.Interfaces.FluidPort_aOMC70 port_a; second element is: .Modelica.Fluid.Interfaces.FluidPort_aOMC88 port_a;
05:39 Changeset in OpenModelica [ac2680ac]Added-citation-metadatamaintenance/v1.14maintenance/v1.15maintenance/v1.16maintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Adrian Pop <adrian.pop@…>
  • 1 edit in Compiler/FrontEnd/Absyn.mo
  • make models dumped with +d=scodeInstShortcut able to instantiate when loaded again in OMC. Check differently the last ident if OMC is present otherwise you get: first element is: .Modelica.Fluid.Interfaces.FluidPort_aOMC70 port_a; second element is: .Modelica.Fluid.Interfaces.FluidPort_aOMC88 port_a;

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@13946 f25d12d1-65f4-0310-ae8a-bbce733d8d8e

03:32 Changeset [13945] by adrpo
  • 2 edits in trunk/Compiler/Template
  • mind your tabs please!
03:32 Changeset in OpenModelica [b7a71957]Added-citation-metadatamaintenance/v1.14maintenance/v1.15maintenance/v1.16maintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Adrian Pop <adrian.pop@…>
  • 1 edit in Compiler/Template/CodegenAdevs.tpl
  • mind your tabs please!

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@13945 f25d12d1-65f4-0310-ae8a-bbce733d8d8e

02:16 Changeset [13944] by nutaro
  • 2 edits in trunk/Compiler/Template

Code cleanup in the adevs backend

02:16 Changeset in OpenModelica [d6f21deb]Added-citation-metadatamaintenance/v1.14maintenance/v1.15maintenance/v1.16maintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Jim Nutaro <nutaro@…>
  • 1 edit in Compiler/Template/CodegenAdevs.tpl

Code cleanup in the adevs backend

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@13944 f25d12d1-65f4-0310-ae8a-bbce733d8d8e

01:12 Changeset [13943] by nutaro
  • 3 edits in trunk/Compiler/Template

Updated adevs backend

01:12 Changeset in OpenModelica [2027acf]Added-citation-metadatamaintenance/v1.14maintenance/v1.15maintenance/v1.16maintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Jim Nutaro <nutaro@…>
  • 1 edit in Compiler/Template/CodegenAdevs.tpl

Updated adevs backend

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@13943 f25d12d1-65f4-0310-ae8a-bbce733d8d8e

2012-11-17:

21:01 Changeset [13942] by jfrenkel
  • 2 edits in trunk/Compiler
  • switch replaceEdgeChange on
21:01 Changeset in OpenModelica [fbc30a8d]Added-citation-metadatamaintenance/v1.14maintenance/v1.15maintenance/v1.16maintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Jens Frenkel <jens.frenkel@…>
  • 2 edits in Compiler
  • switch replaceEdgeChange on

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@13942 f25d12d1-65f4-0310-ae8a-bbce733d8d8e

20:58 Changeset [13941] by perost
  • 1 edit in trunk/Compiler/FrontEnd/ConnectUtil.mo
  • Evaluate generated inStream calls too.
20:58 Changeset in OpenModelica [18145ecf]Added-citation-metadatamaintenance/v1.14maintenance/v1.15maintenance/v1.16maintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Per Östlund <per.ostlund@…>
  • 1 edit in Compiler/FrontEnd/ConnectUtil.mo
  • Evaluate generated inStream calls too.

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@13941 f25d12d1-65f4-0310-ae8a-bbce733d8d8e

20:58 Changeset [13940] by jfrenkel
  • 3 edits in trunk/Compiler
  • add module replaceEdgeChange
20:58 Changeset in OpenModelica [0a0f1938]Added-citation-metadatamaintenance/v1.14maintenance/v1.15maintenance/v1.16maintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Jens Frenkel <jens.frenkel@…>
  • 3 edits in Compiler
  • add module replaceEdgeChange

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@13940 f25d12d1-65f4-0310-ae8a-bbce733d8d8e

18:57 Changeset [13939] by adrpo
  • 1 edit in trunk/Compiler/FrontEnd/Inst.mo
  • sort inners again to put inner Modelica.* component; first.
  • some tests might need changes, I'll do that next
18:57 Changeset in OpenModelica [1fde101b]Added-citation-metadatamaintenance/v1.14maintenance/v1.15maintenance/v1.16maintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Adrian Pop <adrian.pop@…>
  • 1 edit in Compiler/FrontEnd/Inst.mo
  • sort inners again to put inner Modelica.* component; first.
  • some tests might need changes, I'll do that next

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@13939 f25d12d1-65f4-0310-ae8a-bbce733d8d8e

17:50 Changeset [13938] by adrpo
  • 3 edits in trunk/testsuite/flattening/libraries/msl31/fluid
  • fix tests
17:23 Changeset [13937] by adrpo
  • 11 edits in trunk/Compiler

Flags.mo

  • +d=showEquationSource to display where an equation comes from. easier for debugging of where the equations come from.

InstSection.mo

  • fix a bug with the prefixing of outer components when they were inside a for loop [InnerOuter.InstanceHierarchy was not sent to InstSection.unroll, DUH! who did that? probably me :)]
  • this fixes compilation of some Fluid models also some AVM models.

DAEUtil.mo

  • use List.union in merging of DAE.ElementSource(s)

ConnectUtil.mo

  • add information where an equation comes from

DAEDump.mo

  • add some source information to all the dumped equation in the DAE.
  • note that this should be used with +d=showEquationSource
  • we should really, really sort the equations via ElementSource.typeLst same as some other software does. Write typeLst: numberOfEquations then the equations that come from that model! Any takers?

InnerOuter.mo

  • a bit faster prefixing of inner outer.
17:23 Changeset in OpenModelica [7ecfb70f]Added-citation-metadatamaintenance/v1.14maintenance/v1.15maintenance/v1.16maintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Adrian Pop <adrian.pop@…>
  • 9 edits in Compiler

Flags.mo

  • +d=showEquationSource to display where an equation comes from. easier for debugging of where the equations come from.

InstSection.mo

  • fix a bug with the prefixing of outer components when they were inside a for loop [InnerOuter.InstanceHierarchy was not sent to InstSection.unroll, DUH! who did that? probably me :)]
  • this fixes compilation of some Fluid models also some AVM models.

DAEUtil.mo

  • use List.union in merging of DAE.ElementSource(s)

ConnectUtil.mo

  • add information where an equation comes from

DAEDump.mo

  • add some source information to all the dumped equation in the DAE.
  • note that this should be used with +d=showEquationSource
  • we should really, really sort the equations via ElementSource.typeLst same as some other software does. Write typeLst: numberOfEquations then the equations that come from that model! Any takers?

InnerOuter.mo

  • a bit faster prefixing of inner outer.

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@13937 f25d12d1-65f4-0310-ae8a-bbce733d8d8e

15:55 Changeset [13936] by alash325
  • 2 edits in trunk/Compiler/Template
  • Added XML code generation for Scalar variable type- min and max attributes
15:55 Changeset in OpenModelica [e528f23]Added-citation-metadatamaintenance/v1.14maintenance/v1.15maintenance/v1.16maintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Alachew Mengist <alash325@…>
  • 1 edit in Compiler/Template/CodegenXML.tpl
  • Added XML code generation for Scalar variable type- min and max attributes

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@13936 f25d12d1-65f4-0310-ae8a-bbce733d8d8e

11:53 Ticket #1941 (outerProduct not implemented) reopened by cschubert
Now the model survives the frontend, but compilation fails. …
03:16 Changeset [13935] by nutaro
  • 3 edits in trunk/Compiler/Template

Mixed generates usable code for Adevs backend. Need better test cases.

03:16 Changeset in OpenModelica [e1a595ae]Added-citation-metadatamaintenance/v1.14maintenance/v1.15maintenance/v1.16maintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Jim Nutaro <nutaro@…>
  • 1 edit in Compiler/Template/CodegenAdevs.tpl

Mixed generates usable code for Adevs backend. Need better test cases.

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@13935 f25d12d1-65f4-0310-ae8a-bbce733d8d8e

01:36 Changeset [13934] by wbraun
  • 9 edits
    1 add in trunk

prevent throw for division by zero in non-linear system solver, since the solver can manage that.


01:36 Changeset in OpenModelica [d6c1fa4a]Added-citation-metadatamaintenance/v1.14maintenance/v1.15maintenance/v1.16maintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Willi Braun <wbraun@…>
  • 4 edits in SimulationRuntime/c

prevent throw for division by zero in non-linear system solver, since the solver can manage that.


git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@13934 f25d12d1-65f4-0310-ae8a-bbce733d8d8e

2012-11-16:

23:04 Changeset [13933] by adrpo
  • 2 edits in trunk/Compiler/Template
  • no more tabs please.
23:04 Changeset in OpenModelica [234451a]Added-citation-metadatamaintenance/v1.14maintenance/v1.15maintenance/v1.16maintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Adrian Pop <adrian.pop@…>
  • 1 edit in Compiler/Template/CodegenAdevs.tpl
  • no more tabs please.

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@13933 f25d12d1-65f4-0310-ae8a-bbce733d8d8e

22:54 Ticket #1941 (outerProduct not implemented) closed by sjoelund.se
fixed: Fixed in r13932
22:53 Changeset [13932] by sjoelund.se
  • 2 edits in trunk/Compiler

#1941

  • Allow all sorts of weird stuff if external language is "builtin"
22:53 Changeset in OpenModelica [6b899c3]Added-citation-metadatamaintenance/v1.14maintenance/v1.15maintenance/v1.16maintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Martin Sjölund <martin.sjolund@…>
  • 1 edit in Compiler/FrontEnd/Inst.mo

#1941

  • Allow all sorts of weird stuff if external language is "builtin"

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@13932 f25d12d1-65f4-0310-ae8a-bbce733d8d8e

22:43 Ticket #1941 (outerProduct not implemented) created by cschubert
I wrote a simple model using the outerProduct function […] …
22:34 Changeset [13931] by nutaro
  • 1 edit in trunk/Compiler/Template/CodegenAdevs.tpl

Fixed initialization of matrix in the linear solver routine

22:34 Changeset in OpenModelica [9913f672]Added-citation-metadatamaintenance/v1.14maintenance/v1.15maintenance/v1.16maintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Jim Nutaro <nutaro@…>
  • 1 edit in Compiler/Template/CodegenAdevs.tpl

Fixed initialization of matrix in the linear solver routine

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@13931 f25d12d1-65f4-0310-ae8a-bbce733d8d8e

22:11 Changeset [13930] by adrpo
  • 139 edits
    2 adds in trunk
  • 5th version of the SCodeInstShortcut.mo (+d=scodeInstShortcut)

Absyn.mo

  • Absyn.pathSetLastIdent
  • when +d=scodeInstShortcut the last id of the path might be different don't check for it in Absyn.typeSpecEqual

Ceval.mo

  • remove the no constant binding error messages

InstUtil.mo

  • InstUtil.prefixToStr/prefixToStrNoEmpty/prefixFirstName

SCode.mo

  • plenty of new functions to set/get stuff

SCodeAnalyseRedeclare.mo

  • new package to do a dryrun of scode inst and analyse redeclares

SCodeApplyRedeclare.mo

  • apply the stuff from the redeclare analysis to the SCode AST.

SCodeDependency.mo

  • changes due to interface changes in other packages.

SCodeDump.mo

  • better display in SCodeDump.shortElementStr

SCodeEnv.mo

  • changes to item printing
  • return the applied redeclares in some functions
  • SCodeEnv.getDerivedClassRedeclares to get redeclares to be applied for SCode.DERIVED
  • SCodeEnv.mergeTypeSpecWithEnvPath same as for SCodeEnv.mergePathWithEnvPath but for TypeSpec

SCodeFlattenRedeclare.mo

  • union Replacement for storing the redeclares
  • replaceRedeclaredElementInEnv now always pushes redeclares to baseclasses

SCodeInst.mo

  • apply redeclares for SCode.DERIVED too
  • small changes due to interface changes in other packages

SCodeInstShortcut.mo

  • call SCodeAnalyseRedeclare then SCodeApplyRedeclare

SCodeLookup.mo

  • return Absyn.TypeSpec when doing SCodeLookup.lookupTypeSpec

SCodeMod.mo

  • changes to how applyModifications and updateModElement handle multiple base classes

Static.mo

  • remove the no constant binding error messages

CevalScript.mo

  • better errors for buildOpenTURNSInterface
  • a bit different handling for +d=scodeInstShortcut in runFrontEndWork

Flags.mo

  • new flags +d=showRedeclareAnalysis,showProgramChanges to be used for debugging of +d=SCodeInstShortcut
  • test updates (i guess more will fail, I'll update them next after Hudson tells)
22:11 Changeset in OpenModelica [68b26b76]Added-citation-metadatamaintenance/v1.14maintenance/v1.15maintenance/v1.16maintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Adrian Pop <adrian.pop@…>
  • 17 edits
    2 adds in Compiler
  • 5th version of the SCodeInstShortcut.mo (+d=scodeInstShortcut)

Absyn.mo

  • Absyn.pathSetLastIdent
  • when +d=scodeInstShortcut the last id of the path might be different don't check for it in Absyn.typeSpecEqual

Ceval.mo

  • remove the no constant binding error messages

InstUtil.mo

  • InstUtil.prefixToStr/prefixToStrNoEmpty/prefixFirstName

SCode.mo

  • plenty of new functions to set/get stuff

SCodeAnalyseRedeclare.mo

  • new package to do a dryrun of scode inst and analyse redeclares

SCodeApplyRedeclare.mo

  • apply the stuff from the redeclare analysis to the SCode AST.

SCodeDependency.mo

  • changes due to interface changes in other packages.

SCodeDump.mo

  • better display in SCodeDump.shortElementStr

SCodeEnv.mo

  • changes to item printing
  • return the applied redeclares in some functions
  • SCodeEnv.getDerivedClassRedeclares to get redeclares to be applied for SCode.DERIVED
  • SCodeEnv.mergeTypeSpecWithEnvPath same as for SCodeEnv.mergePathWithEnvPath but for TypeSpec

SCodeFlattenRedeclare.mo

  • union Replacement for storing the redeclares
  • replaceRedeclaredElementInEnv now always pushes redeclares to baseclasses

SCodeInst.mo

  • apply redeclares for SCode.DERIVED too
  • small changes due to interface changes in other packages

SCodeInstShortcut.mo

  • call SCodeAnalyseRedeclare then SCodeApplyRedeclare

SCodeLookup.mo

  • return Absyn.TypeSpec when doing SCodeLookup.lookupTypeSpec

SCodeMod.mo

  • changes to how applyModifications and updateModElement handle multiple base classes

Static.mo

  • remove the no constant binding error messages

CevalScript.mo

  • better errors for buildOpenTURNSInterface
  • a bit different handling for +d=scodeInstShortcut in runFrontEndWork

Flags.mo

  • new flags +d=showRedeclareAnalysis,showProgramChanges to be used for debugging of +d=SCodeInstShortcut
  • test updates (i guess more will fail, I'll update them next after Hudson tells)

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@13930 f25d12d1-65f4-0310-ae8a-bbce733d8d8e

19:39 Changeset [13929] by adrpo
  • 1 edit in trunk/Compiler/BackEnd/BackendDAEOptimize.mo
  • fix bootstrapping.
19:39 Changeset in OpenModelica [63fda3a]Added-citation-metadatamaintenance/v1.14maintenance/v1.15maintenance/v1.16maintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Adrian Pop <adrian.pop@…>
  • 1 edit in Compiler/BackEnd/BackendDAEOptimize.mo
  • fix bootstrapping.

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@13929 f25d12d1-65f4-0310-ae8a-bbce733d8d8e

18:38 Changeset [13928] by sjoelund.se
  • 2 edits in trunk/Compiler/FrontEnd
  • Handle connecting arrays of records with different names
18:38 Changeset in OpenModelica [4d2ce3aa]Added-citation-metadatamaintenance/v1.14maintenance/v1.15maintenance/v1.16maintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Martin Sjölund <martin.sjolund@…>
  • 2 edits in Compiler/FrontEnd
  • Handle connecting arrays of records with different names

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@13928 f25d12d1-65f4-0310-ae8a-bbce733d8d8e

18:21 Ticket #1929 (Multibody USR and SSR joints have wrong initialization values) reopened by wbraun
The models are still initialized different to Dymola.
18:21 Ticket #1940 (Multibody USR and SSR joints have wrong simulation values) closed by wbraun
invalid: They results are different to dymola, but I won't say they are wrong, …
18:00 Changeset [13927] by jfrenkel
  • 3 edits in trunk/Compiler/BackEnd
  • fix for replace not pre,change,edge with alias, still not enough to get all working because if edge and change will not be replaced tarjans algorithm cannot sort in right order
18:00 Changeset in OpenModelica [0bb1572]Added-citation-metadatamaintenance/v1.14maintenance/v1.15maintenance/v1.16maintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Jens Frenkel <jens.frenkel@…>
  • 3 edits in Compiler/BackEnd
  • fix for replace not pre,change,edge with alias, still not enough to get all working because if edge and change will not be replaced tarjans algorithm cannot sort in right order

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@13927 f25d12d1-65f4-0310-ae8a-bbce733d8d8e

16:31 Ticket #1940 (Multibody USR and SSR joints have wrong simulation values) created by lochel
ModelicaTest.MultiBody.FourbarVariants.JointUSR and …
16:28 Ticket #1929 (Multibody USR and SSR joints have wrong initialization values) closed by lochel
fixed: Initialization works fine using the new initialization method …
16:27 Changeset [13926] by lochel
  • 4 edits
    1 add in trunk

BackEnd

  • remove unneeded vars

testsuite

  • add initialization test for ModelicaTest.MultiBody.FourbarVariants.JointUSR (#1929)
16:27 Changeset in OpenModelica [17fb906]Added-citation-metadatamaintenance/v1.14maintenance/v1.15maintenance/v1.16maintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Lennart Ochel <lennart.ochel@…>
  • 1 edit in Compiler/BackEnd/BackendDAEUtil.mo

BackEnd

  • remove unneeded vars

testsuite

  • add initialization test for ModelicaTest.MultiBody.FourbarVariants.JointUSR (#1929)

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@13926 f25d12d1-65f4-0310-ae8a-bbce733d8d8e

16:23 Changeset [13925] by adeas31
  • 4 edits in trunk/Compiler
  • make the initial section balanced.
16:23 Changeset in OpenModelica [f52e7dca]Added-citation-metadatamaintenance/v1.14maintenance/v1.15maintenance/v1.16maintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Adeel Asghar <adeel.asghar@…>
  • 2 edits in Compiler
  • make the initial section balanced.

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@13925 f25d12d1-65f4-0310-ae8a-bbce733d8d8e

15:55 Changeset [13924] by jfrenkel
  • 1 edit in trunk/Compiler/BackEnd/BackendDAEOptimize.mo
  • bugfix for last commit
15:55 Changeset in OpenModelica [ab9d3836]Added-citation-metadatamaintenance/v1.14maintenance/v1.15maintenance/v1.16maintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Jens Frenkel <jens.frenkel@…>
  • 1 edit in Compiler/BackEnd/BackendDAEOptimize.mo
  • bugfix for last commit

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@13924 f25d12d1-65f4-0310-ae8a-bbce733d8d8e

15:35 Changeset [13923] by jfrenkel
  • 1 edit in trunk/Compiler/BackEnd/BackendDAEOptimize.mo
  • additional fix for last commit
15:35 Changeset in OpenModelica [88557076]Added-citation-metadatamaintenance/v1.14maintenance/v1.15maintenance/v1.16maintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Jens Frenkel <jens.frenkel@…>
  • 1 edit in Compiler/BackEnd/BackendDAEOptimize.mo
  • additional fix for last commit

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@13923 f25d12d1-65f4-0310-ae8a-bbce733d8d8e

15:12 Changeset [13922] by jfrenkel
  • 1 edit in trunk/Compiler/Util/Flags.mo
  • get testsuite working back, Lennart can switch of simplifyTimeIndepFuncCalls module in backendpipeline
15:12 Changeset in OpenModelica [ff9e8e76]Added-citation-metadatamaintenance/v1.14maintenance/v1.15maintenance/v1.16maintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Jens Frenkel <jens.frenkel@…>
  • 1 edit in Compiler/Util/Flags.mo
  • get testsuite working back, Lennart can switch of simplifyTimeIndepFuncCalls module in backendpipeline

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@13922 f25d12d1-65f4-0310-ae8a-bbce733d8d8e

15:07 Changeset [13921] by jfrenkel
  • 2 edits in trunk/Compiler
  • bugfix simplify change, edge
15:07 Changeset in OpenModelica [e3490e1]Added-citation-metadatamaintenance/v1.14maintenance/v1.15maintenance/v1.16maintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Jens Frenkel <jens.frenkel@…>
  • 2 edits in Compiler
  • bugfix simplify change, edge

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@13921 f25d12d1-65f4-0310-ae8a-bbce733d8d8e

14:30 Changeset [13920] by jfrenkel
  • 1 edit in trunk/Compiler/FrontEnd/Expression.mo
  • bootstrapping
14:30 Changeset in OpenModelica [a395c34]Added-citation-metadatamaintenance/v1.14maintenance/v1.15maintenance/v1.16maintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Jens Frenkel <jens.frenkel@…>
  • 1 edit in Compiler/FrontEnd/Expression.mo
  • bootstrapping

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@13920 f25d12d1-65f4-0310-ae8a-bbce733d8d8e

14:27 Changeset [13919] by adeas31
  • 3 edits in trunk/Compiler
  • fixing FMI.
14:27 Changeset in OpenModelica [0833cd1]Added-citation-metadatamaintenance/v1.14maintenance/v1.15maintenance/v1.16maintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Adeel Asghar <adeel.asghar@…>
  • 2 edits in Compiler
  • fixing FMI.

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@13919 f25d12d1-65f4-0310-ae8a-bbce733d8d8e

14:16 Changeset [13918] by jfrenkel
  • 7 edits in trunk/Compiler
  • do not replace PreVariables with information from time-equation-systems
    • move simplifyTimeIndepFuncCalls behind solveinitialsystem to replace all the pre variables for code generation
14:16 Changeset in OpenModelica [945b9890]Added-citation-metadatamaintenance/v1.14maintenance/v1.15maintenance/v1.16maintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Jens Frenkel <jens.frenkel@…>
  • 7 edits in Compiler
  • do not replace PreVariables with information from time-equation-systems
    • move simplifyTimeIndepFuncCalls behind solveinitialsystem to replace all the pre variables for code generation

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@13918 f25d12d1-65f4-0310-ae8a-bbce733d8d8e

13:38 Changeset [13917] by nutaro
  • 3 edits in trunk/Compiler/Template

Corrections to adevs backend. Still does not support MIXED equations

13:38 Changeset in OpenModelica [0757b9d]Added-citation-metadatamaintenance/v1.14maintenance/v1.15maintenance/v1.16maintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Jim Nutaro <nutaro@…>
  • 1 edit in Compiler/Template/CodegenAdevs.tpl

Corrections to adevs backend. Still does not support MIXED equations

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@13917 f25d12d1-65f4-0310-ae8a-bbce733d8d8e

10:46 Changeset [13916] by sjoelund.se
  • 4 edits in trunk
  • Don't print this false positive
10:46 Changeset in OpenModelica [f15694a2]Added-citation-metadatamaintenance/v1.14maintenance/v1.15maintenance/v1.16maintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Martin Sjölund <martin.sjolund@…>
  • 1 edit in Compiler/FrontEnd/Inst.mo
  • Don't print this false positive

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@13916 f25d12d1-65f4-0310-ae8a-bbce733d8d8e

10:22 Changeset [13915] by lochel
  • 3 edits in trunk

Compiler/BackEnd

  • shrink/simplify BackendDAEUtil.analyzeInitialSystem1
  • fix implicit pre-calls (e.g. edge, change)
10:22 Changeset in OpenModelica [8a04612]Added-citation-metadatamaintenance/v1.14maintenance/v1.15maintenance/v1.16maintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Lennart Ochel <lennart.ochel@…>
  • 2 edits in Compiler

Compiler/BackEnd

  • shrink/simplify BackendDAEUtil.analyzeInitialSystem1
  • fix implicit pre-calls (e.g. edge, change)

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@13915 f25d12d1-65f4-0310-ae8a-bbce733d8d8e

09:31 Changeset [13914] by jfrenkel
  • 1 edit in trunk/Compiler/BackEnd/ExpressionSolve.mo
  • use ab = f(..) -> a = sign(pre(a))*(f(...)(1/b)) only for even integer numbers of b
09:31 Changeset in OpenModelica [1a6b1533]Added-citation-metadatamaintenance/v1.14maintenance/v1.15maintenance/v1.16maintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Jens Frenkel <jens.frenkel@…>
  • 1 edit in Compiler/BackEnd/ExpressionSolve.mo
  • use ab = f(..) -> a = sign(pre(a))*(f(...)(1/b)) only for even integer numbers of b

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@13914 f25d12d1-65f4-0310-ae8a-bbce733d8d8e

00:15 Changeset [13913] by jfrenkel
  • 1 edit in trunk/Compiler/BackEnd/BackendDAEOptimize.mo
  • and switch off
00:15 Changeset in OpenModelica [2b4587a3]Added-citation-metadatamaintenance/v1.14maintenance/v1.15maintenance/v1.16maintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Jens Frenkel <jens.frenkel@…>
  • 1 edit in Compiler/BackEnd/BackendDAEOptimize.mo
  • and switch off

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@13913 f25d12d1-65f4-0310-ae8a-bbce733d8d8e

00:13 Changeset [13912] by jfrenkel
  • 3 edits in trunk/Compiler/BackEnd
  • fix bootstrapping
  • try if relaxation of linear systems works
00:13 Changeset in OpenModelica [0fda3e2]Added-citation-metadatamaintenance/v1.14maintenance/v1.15maintenance/v1.16maintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Jens Frenkel <jens.frenkel@…>
  • 3 edits in Compiler/BackEnd
  • fix bootstrapping
  • try if relaxation of linear systems works

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@13912 f25d12d1-65f4-0310-ae8a-bbce733d8d8e

2012-11-15:

23:41 Changeset [13911] by jfrenkel
  • 1 edit in trunk/Compiler/BackEnd/ExpressionSolve.mo
  • ExpressionSolve: ab = f(..) -> a = sign(pre(a))*(f(...)(1/b))
23:41 Changeset in OpenModelica [c572316]Added-citation-metadatamaintenance/v1.14maintenance/v1.15maintenance/v1.16maintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Jens Frenkel <jens.frenkel@…>
  • 1 edit in Compiler/BackEnd/ExpressionSolve.mo
  • ExpressionSolve: ab = f(..) -> a = sign(pre(a))*(f(...)(1/b))

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@13911 f25d12d1-65f4-0310-ae8a-bbce733d8d8e

22:46 Changeset [13910] by jfrenkel
  • 1 edit in trunk/Compiler/BackEnd/ExpressionSolve.mo
  • bugfix ExpressionSolve
22:46 Changeset in OpenModelica [92c84b1]Added-citation-metadatamaintenance/v1.14maintenance/v1.15maintenance/v1.16maintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Jens Frenkel <jens.frenkel@…>
  • 1 edit in Compiler/BackEnd/ExpressionSolve.mo
  • bugfix ExpressionSolve

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@13910 f25d12d1-65f4-0310-ae8a-bbce733d8d8e

21:32 Changeset [13909] by jfrenkel
  • 1 edit in trunk/Compiler/BackEnd/SimCodeUtil.mo
  • bugfix for r13850, add when equations not to ode or algebraic equations
21:32 Changeset in OpenModelica [9339461]Added-citation-metadatamaintenance/v1.14maintenance/v1.15maintenance/v1.16maintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Jens Frenkel <jens.frenkel@…>
  • 1 edit in Compiler/BackEnd/SimCodeUtil.mo
  • bugfix for r13850, add when equations not to ode or algebraic equations

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@13909 f25d12d1-65f4-0310-ae8a-bbce733d8d8e

20:53 Changeset [13908] by jfrenkel
  • 1 edit in trunk/Compiler/BackEnd/ExpressionSolve.mo
  • fix bug in ExpressionSolve
20:53 Changeset in OpenModelica [048d38f7]Added-citation-metadatamaintenance/v1.14maintenance/v1.15maintenance/v1.16maintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Jens Frenkel <jens.frenkel@…>
  • 1 edit in Compiler/BackEnd/ExpressionSolve.mo
  • fix bug in ExpressionSolve

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@13908 f25d12d1-65f4-0310-ae8a-bbce733d8d8e

20:31 Changeset [13907] by jfrenkel
  • 7 edits in trunk/Compiler
  • continue redesign remove simple equations
  • BackendVarTransform add functionalety to replace der(cr), this is realy helpfull to handle states
  • redesign ExpressionSolve.mo
20:31 Changeset in OpenModelica [7faaff1]Added-citation-metadatamaintenance/v1.14maintenance/v1.15maintenance/v1.16maintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Jens Frenkel <jens.frenkel@…>
  • 7 edits in Compiler
  • continue redesign remove simple equations
  • BackendVarTransform add functionalety to replace der(cr), this is realy helpfull to handle states
  • redesign ExpressionSolve.mo

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@13907 f25d12d1-65f4-0310-ae8a-bbce733d8d8e

17:57 Changeset [13906] by lochel
  • 4 edits in trunk/Compiler

Compiler/BackEnd

  • improve warnings and dumps
  • move printSparsityPattern to BackendDump.mo
17:57 Changeset in OpenModelica [d956ca33]Added-citation-metadatamaintenance/v1.14maintenance/v1.15maintenance/v1.16maintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Lennart Ochel <lennart.ochel@…>
  • 2 edits in Compiler/BackEnd

Compiler/BackEnd

  • improve warnings and dumps
  • move printSparsityPattern to BackendDump.mo

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@13906 f25d12d1-65f4-0310-ae8a-bbce733d8d8e

17:55 Ticket #1664 (Initialization seems to get stuck on model: ...) closed by lochel
fixed: The initialization is even with simulation-flag -iom kinsol wrong. But …
17:04 Changeset [13905] by wbraun
  • 5 edits in trunk

disable tearing of linear system as long as they aren't handled efficent
during the simulation

17:04 Changeset in OpenModelica [971bd5a4]Added-citation-metadatamaintenance/v1.14maintenance/v1.15maintenance/v1.16maintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Willi Braun <wbraun@…>
  • 2 edits in Compiler

disable tearing of linear system as long as they aren't handled efficent
during the simulation

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@13905 f25d12d1-65f4-0310-ae8a-bbce733d8d8e

16:38 Changeset [13904] by wbraun
  • 20 edits in trunk

activate sparse colored jacobians for dassl as default solver

  • SimulationRuntime/c/simulation/solver/*
    • update jacobian functions for dassl
    • minor bugfixes
  • SimulationRuntime/c/math-support/matrix.h
    • bug fixed in extrapolation function for non-linear system solving
  • SimulationRuntime/c/simulation/simulation_runtime.cpp
    • activate time measurement for flag LOG_STATS
    • update solver methods output
  • Compiler/BackEnd/BackendDAEOptimize.mo
    • activation of coloring for sparse structure


  • testsuite/*
    • minor test updates


16:38 Changeset in OpenModelica [bccc80f0]Added-citation-metadatamaintenance/v1.14maintenance/v1.15maintenance/v1.16maintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Willi Braun <wbraun@…>
  • 7 edits in /

activate sparse colored jacobians for dassl as default solver

  • SimulationRuntime/c/simulation/solver/*
    • update jacobian functions for dassl
    • minor bugfixes
  • SimulationRuntime/c/math-support/matrix.h
    • bug fixed in extrapolation function for non-linear system solving
  • SimulationRuntime/c/simulation/simulation_runtime.cpp
    • activate time measurement for flag LOG_STATS
    • update solver methods output
  • Compiler/BackEnd/BackendDAEOptimize.mo
    • activation of coloring for sparse structure


  • testsuite/*
    • minor test updates


git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@13904 f25d12d1-65f4-0310-ae8a-bbce733d8d8e

16:05 Ticket #1939 (Duplicate class detection not working when loading MSL) created by perost
Loading a file such as […] and loading the MSL at the same time …
14:34 Changeset [13903] by sjoelund.se
  • 1 edit in trunk/Parser/BaseModelica_Lexer.g
  • Fix lexer to only add optimica keywords if +g=Optimica is used
14:34 Changeset in OpenModelica [983e45b]Added-citation-metadatamaintenance/v1.14maintenance/v1.15maintenance/v1.16maintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Martin Sjölund <martin.sjolund@…>
  • 1 edit in Parser/BaseModelica_Lexer.g
  • Fix lexer to only add optimica keywords if +g=Optimica is used

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@13903 f25d12d1-65f4-0310-ae8a-bbce733d8d8e

14:12 Changeset [13902] by mahge930
  • 20 edits in trunk

+ Optimica:

+ handle Optimica vars with opt. instants in class attributes. e.g. x(finalTime) + 1, where x is a variable.
+ Added a new flag for Optimica.
+ Added new class attribute objectiveIntgrand.

14:12 Changeset in OpenModelica [821b9748]Added-citation-metadatamaintenance/v1.14maintenance/v1.15maintenance/v1.16maintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Mahder Alemseged Gebremedhin <mahge930@…>
  • 15 edits in /

+ Optimica:

+ handle Optimica vars with opt. instants in class attributes. e.g. x(finalTime) + 1, where x is a variable.
+ Added a new flag for Optimica.
+ Added new class attribute objectiveIntgrand.

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@13902 f25d12d1-65f4-0310-ae8a-bbce733d8d8e

14:03 Changeset [13901] by sjoelund.se
  • 5 edits in trunk
  • Some fixes for evaluating bindings
14:03 Changeset in OpenModelica [adaad1d]Added-citation-metadatamaintenance/v1.14maintenance/v1.15maintenance/v1.16maintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Martin Sjölund <martin.sjolund@…>
  • 2 edits in Compiler
  • Some fixes for evaluating bindings

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@13901 f25d12d1-65f4-0310-ae8a-bbce733d8d8e

13:27 Changeset [13900] by lochel
  • 6 edits
    1 copy in trunk

Compiler

  • remove unneeded function BackendDAEUtil.addBackendDAEEqSystem
  • add warning to Expressions.containsInitialCall
  • remove most of the changes from r13894 regarding BackendDAEUtil.mo

testsuite

  • move StateGraph tests to WRONGRESULTTEST, as long as the implementation let other tests fail
13:27 Changeset in OpenModelica [a60c178]Added-citation-metadatamaintenance/v1.14maintenance/v1.15maintenance/v1.16maintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Lennart Ochel <lennart.ochel@…>
  • 3 edits in Compiler

Compiler

  • remove unneeded function BackendDAEUtil.addBackendDAEEqSystem
  • add warning to Expressions.containsInitialCall
  • remove most of the changes from r13894 regarding BackendDAEUtil.mo

testsuite

  • move StateGraph tests to WRONGRESULTTEST, as long as the implementation let other tests fail

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@13900 f25d12d1-65f4-0310-ae8a-bbce733d8d8e

12:39 Changeset [13899] by sjoelund.se
  • 1 edit in trunk/Compiler/FrontEnd/Inst.mo
  • Tail recursion
12:39 Changeset in OpenModelica [f997c47]Added-citation-metadatamaintenance/v1.14maintenance/v1.15maintenance/v1.16maintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Martin Sjölund <martin.sjolund@…>
  • 1 edit in Compiler/FrontEnd/Inst.mo
  • Tail recursion

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@13899 f25d12d1-65f4-0310-ae8a-bbce733d8d8e

11:17 Ticket #1938 (Stack overflow in frontend) created by wbraun
On 15/11/12 09:37, Mikelsons Lars (DC/ETI22) wrote: […] […]
09:41 Changeset [13898] by sjoelund.se
  • 1 edit in trunk/Compiler/FrontEnd/InstSection.mo
  • Remove unused ceval call with empty cache and env
09:41 Changeset in OpenModelica [4bb3ae6c]Added-citation-metadatamaintenance/v1.14maintenance/v1.15maintenance/v1.16maintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Martin Sjölund <martin.sjolund@…>
  • 1 edit in Compiler/FrontEnd/InstSection.mo
  • Remove unused ceval call with empty cache and env

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@13898 f25d12d1-65f4-0310-ae8a-bbce733d8d8e

01:00 Changeset [13897] by jfrenkel
  • 3 edits in trunk/testsuite/simulation
  • expected output
  • move Modelica.Mechanics.MultiBody.Examples.Constraints.ConstrainUniversalJoint.mos to wrong results, I know what is wrong and how it can be fixed but I have no time to implement it right now.
00:34 Changeset [13896] by jfrenkel
  • 6 edits in trunk
  • get Modelica.StateGraph.Examples.ControlledTanks.mos working
  • move expandAlgorithmsbyInitStmts to SimCodeDump
  • improve Error Message "Inverse Algorithm needs to be solved for ..."
00:34 Changeset in OpenModelica [4658793b]Added-citation-metadatamaintenance/v1.14maintenance/v1.15maintenance/v1.16maintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Jens Frenkel <jens.frenkel@…>
  • 3 edits in Compiler
  • get Modelica.StateGraph.Examples.ControlledTanks.mos working
  • move expandAlgorithmsbyInitStmts to SimCodeDump
  • improve Error Message "Inverse Algorithm needs to be solved for ..."

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@13896 f25d12d1-65f4-0310-ae8a-bbce733d8d8e

2012-11-14:

23:29 Changeset [13895] by nutaro
  • 2 edits in trunk/Compiler/Template

Switching adevs backend to use the SUNDIAL solvers

23:29 Changeset in OpenModelica [a9a81ab]Added-citation-metadatamaintenance/v1.14maintenance/v1.15maintenance/v1.16maintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Jim Nutaro <nutaro@…>
  • 1 edit in Compiler/Template/CodegenAdevs.tpl

Switching adevs backend to use the SUNDIAL solvers

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@13895 f25d12d1-65f4-0310-ae8a-bbce733d8d8e

22:17 Changeset [13894] by jfrenkel
  • 14 edits in trunk
  • get 6 from 7 StateGraph examples working with solveinitialsystem
  • collect all variables used in pre, and add equation for each unused pre var indroduced by a inaktive when equatin an equation pre(var) = var.start
  • BackendVariable.varStartValueType
  • ComponentReference.isPreCref
  • Expression.containsInitialCall: ... or Initial()
  • ExpressionSimplify: cases for a and not a > false, a or not a -> true, a and a -> a, a or a -> a maybe split simplifyBinary in simplifyBinary and simplifyLBinary
22:17 Changeset in OpenModelica [2e45e9e4]Added-citation-metadatamaintenance/v1.14maintenance/v1.15maintenance/v1.16maintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Jens Frenkel <jens.frenkel@…>
  • 6 edits in Compiler
  • get 6 from 7 StateGraph examples working with solveinitialsystem
  • collect all variables used in pre, and add equation for each unused pre var indroduced by a inaktive when equatin an equation pre(var) = var.start
  • BackendVariable.varStartValueType
  • ComponentReference.isPreCref
  • Expression.containsInitialCall: ... or Initial()
  • ExpressionSimplify: cases for a and not a > false, a or not a -> true, a and a -> a, a or a -> a maybe split simplifyBinary in simplifyBinary and simplifyLBinary

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@13894 f25d12d1-65f4-0310-ae8a-bbce733d8d8e

21:52 Changeset [13893] by adrpo
  • 1 edit in trunk/Compiler/BackEnd/OpenTURNS.mo
  • consider also variables with uncertain=Uncertainty.refine as inputs to the OpenTURNS wrapper.
21:52 Changeset in OpenModelica [30af8936]Added-citation-metadatamaintenance/v1.14maintenance/v1.15maintenance/v1.16maintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Adrian Pop <adrian.pop@…>
  • 1 edit in Compiler/BackEnd/OpenTURNS.mo
  • consider also variables with uncertain=Uncertainty.refine as inputs to the OpenTURNS wrapper.

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@13893 f25d12d1-65f4-0310-ae8a-bbce733d8d8e

18:17 Changeset [13892] by lochel
  • 3 edits
    1 add
    1 delete in trunk

initialization

  • continue with handling of under-determined initial system

testsuite

  • add test for under-determined initial system
  • remove unneeded test
18:17 Changeset in OpenModelica [4c0b5e1]Added-citation-metadatamaintenance/v1.14maintenance/v1.15maintenance/v1.16maintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Lennart Ochel <lennart.ochel@…>
  • 1 edit in Compiler/BackEnd/BackendDAEUtil.mo

initialization

  • continue with handling of under-determined initial system

testsuite

  • add test for under-determined initial system
  • remove unneeded test

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@13892 f25d12d1-65f4-0310-ae8a-bbce733d8d8e

14:35 Ticket #1690 (initial algorithm aren't considered while the initialization) closed by lochel
fixed: m1 initialized correctly Replying to wbraun: > The …
14:28 Ticket #1926 (hybrid initialization) closed by lochel
fixed: I am not sure what could be the goal of A1. The initial system is …
13:10 Changeset [13891] by lochel
  • 5 edits
    1 add in trunk

initialization

  • first steps to solve under-determined systems

testsuite

  • add case for under-determined initial system
13:10 Changeset in OpenModelica [43689a2]Added-citation-metadatamaintenance/v1.14maintenance/v1.15maintenance/v1.16maintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Lennart Ochel <lennart.ochel@…>
  • 4 edits in Compiler

initialization

  • first steps to solve under-determined systems

testsuite

  • add case for under-determined initial system

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@13891 f25d12d1-65f4-0310-ae8a-bbce733d8d8e

12:36 Changeset [13890] by sjoelund.se
  • 4 edits in trunk

#1936

  • Partial fix to make final modifications work on redeclares. Now passes front-end, but loses some modifications. Possibly related to #1922.
12:36 Changeset in OpenModelica [0c9491b]Added-citation-metadatamaintenance/v1.14maintenance/v1.15maintenance/v1.16maintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Martin Sjölund <martin.sjolund@…>
  • 2 edits in Compiler

#1936

  • Partial fix to make final modifications work on redeclares. Now passes front-end, but loses some modifications. Possibly related to #1922.

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@13890 f25d12d1-65f4-0310-ae8a-bbce733d8d8e

10:25 Changeset [13889] by adrpo
  • 11 edits
    7 adds in trunk/testsuite/AVM
  • updated AVM performance tests, add run script.
00:46 Changeset [13888] by jfrenkel
  • 1 edit in trunk/Compiler/BackEnd/BackendVarTransform.mo
  • remove uneseccary case from replaceExp for pre(-a), because this is also done in simplify
00:46 Changeset in OpenModelica [5b79e8d]Added-citation-metadatamaintenance/v1.14maintenance/v1.15maintenance/v1.16maintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Jens Frenkel <jens.frenkel@…>
  • 1 edit in Compiler/BackEnd/BackendVarTransform.mo
  • remove uneseccary case from replaceExp for pre(-a), because this is also done in simplify

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@13888 f25d12d1-65f4-0310-ae8a-bbce733d8d8e

2012-11-13:

23:34 Changeset [13887] by jfrenkel
  • 3 edits in trunk/Compiler/BackEnd
  • use Expression.splitRecord instead of trying to match all combinations of crefs and calls that are possible to split
23:34 Changeset in OpenModelica [d201a6a6]Added-citation-metadatamaintenance/v1.14maintenance/v1.15maintenance/v1.16maintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Jens Frenkel <jens.frenkel@…>
  • 3 edits in Compiler/BackEnd
  • use Expression.splitRecord instead of trying to match all combinations of crefs and calls that are possible to split

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@13887 f25d12d1-65f4-0310-ae8a-bbce733d8d8e

22:17 Changeset [13886] by jfrenkel
  • 7 edits in trunk
  • do not change discreter variables in der-function to states
  • diverentiate also complex equations and records
  • continue redesign remove simple equations
  • rename MyModel->ParameterCycle to avoid conflicts
22:17 Changeset in OpenModelica [d2e5bd1f]Added-citation-metadatamaintenance/v1.14maintenance/v1.15maintenance/v1.16maintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Jens Frenkel <jens.frenkel@…>
  • 5 edits in Compiler/BackEnd
  • do not change discreter variables in der-function to states
  • diverentiate also complex equations and records
  • continue redesign remove simple equations
  • rename MyModel->ParameterCycle to avoid conflicts

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@13886 f25d12d1-65f4-0310-ae8a-bbce733d8d8e

18:10 Changeset [13885] by jfrenkel
  • 8 edits in trunk/Compiler
  • becauase edge and change uses a and pre(a) do not ignore them
  • continue redesign of remove simple equation
18:10 Changeset in OpenModelica [d753a1a]Added-citation-metadatamaintenance/v1.14maintenance/v1.15maintenance/v1.16maintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Jens Frenkel <jens.frenkel@…>
  • 8 edits in Compiler
  • becauase edge and change uses a and pre(a) do not ignore them
  • continue redesign of remove simple equation

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@13885 f25d12d1-65f4-0310-ae8a-bbce733d8d8e

16:06 Ticket #1937 (New instantiation does not respect uses-annotation) created by sjoelund.se
New instantiation does not respect uses-annotation. omc +d=scodeInst …
16:04 Ticket #1936 (Final and redeclare do not work well together) created by sjoelund.se
Final and redeclare do not work well together, this model should work: …
15:01 Changeset [13884] by lochel
  • 7 edits in trunk
  • fix collectInitialVars
  • edit compiler-warnings using +d=pedantic
15:01 Changeset in OpenModelica [a802fd21]Added-citation-metadatamaintenance/v1.14maintenance/v1.15maintenance/v1.16maintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Lennart Ochel <lennart.ochel@…>
  • 5 edits in /
  • fix collectInitialVars
  • edit compiler-warnings using +d=pedantic

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@13884 f25d12d1-65f4-0310-ae8a-bbce733d8d8e

14:50 Changeset [13883] by niklwors
  • 2 edits in trunk/Compiler/Template

fix for jacobian tmp var in cpp template

14:50 Changeset in OpenModelica [a4f5f0fa]Added-citation-metadatamaintenance/v1.14maintenance/v1.15maintenance/v1.16maintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Niklas Worschech <niklas.worschech@…>
  • 1 edit in Compiler/Template/CodegenCpp.tpl

fix for jacobian tmp var in cpp template

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@13883 f25d12d1-65f4-0310-ae8a-bbce733d8d8e

13:35 Changeset [13882] by sjoelund.se
  • 65 edits in trunk
  • Add dumping of cast to records
  • Bumped MSL version
13:35 Changeset in OpenModelica [5b0d61b]Added-citation-metadatamaintenance/v1.14maintenance/v1.15maintenance/v1.16maintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Martin Sjölund <martin.sjolund@…>
  • 1 edit in Compiler/Template/ExpressionDumpTpl.tpl
  • Add dumping of cast to records
  • Bumped MSL version

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@13882 f25d12d1-65f4-0310-ae8a-bbce733d8d8e

12:24 Ticket #1922 (Codegeneration does not handle extended records) closed by sjoelund.se
fixed: Fixed in r13881. Backend needs improvements to handle scalarization of …
12:21 Changeset [13881] by sjoelund.se
  • 172 edits in trunk

#1922

  • Handle type-casting from records with the same components but different names'
  • Improve scalarization of record equations in the front-end. Made it worse in the back-end (back-end does not handle cast of records)
12:21 Changeset in OpenModelica [55611ee]Added-citation-metadatamaintenance/v1.14maintenance/v1.15maintenance/v1.16maintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Martin Sjölund <martin.sjolund@…>
  • 10 edits in Compiler

#1922

  • Handle type-casting from records with the same components but different names'
  • Improve scalarization of record equations in the front-end. Made it worse in the back-end (back-end does not handle cast of records)

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@13881 f25d12d1-65f4-0310-ae8a-bbce733d8d8e

10:17 Changeset [13880] by niklwors
  • 2 edits in trunk/Compiler/Template

adapted modifications of jacobian to cpp template

10:17 Changeset in OpenModelica [eb15089]Added-citation-metadatamaintenance/v1.14maintenance/v1.15maintenance/v1.16maintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Niklas Worschech <niklas.worschech@…>
  • 1 edit in Compiler/Template/CodegenCpp.tpl

adapted modifications of jacobian to cpp template

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@13880 f25d12d1-65f4-0310-ae8a-bbce733d8d8e

10:08 Changeset [13879] by lochel
  • 19 edits
    6 adds in trunk

Compiler/BackEnd

  • fix symbolic initialization of discrete vars
  • fix handling of when-clauses during initialization
  • remove some misspellings from function descriptions
  • add debug-flag: +d=pedantic

SimulationRuntime/c

  • fix a bug in evaluating residuals for global homotopy

testsuite

  • add test cases for initialization of discrete variables
  • add testcase for initialization of fullRobot
10:08 Changeset in OpenModelica [e4dafee]Added-citation-metadatamaintenance/v1.14maintenance/v1.15maintenance/v1.16maintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Lennart Ochel <lennart.ochel@…>
  • 12 edits in /

Compiler/BackEnd

  • fix symbolic initialization of discrete vars
  • fix handling of when-clauses during initialization
  • remove some misspellings from function descriptions
  • add debug-flag: +d=pedantic

SimulationRuntime/c

  • fix a bug in evaluating residuals for global homotopy

testsuite

  • add test cases for initialization of discrete variables
  • add testcase for initialization of fullRobot

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@13879 f25d12d1-65f4-0310-ae8a-bbce733d8d8e

03:32 Changeset [13878] by hubert.thieriot
  • 6 edits in trunk/OMOptimBasis
  • copy/paste shortcuts
03:31 Changeset [13877] by hubert.thieriot
  • 3 edits in trunk/OMOptim
  • copy paste shorcuts
  • no more automatic compilation when loading

2012-11-12:

23:10 Changeset [13876] by adrpo
  • 1 edit in trunk/testsuite/metamodelica/meta/OptimizeMatchToIfExp.mo
  • expected output.
22:53 Changeset [13875] by adrpo
  • 1 edit in trunk/Compiler/Util/Util.mo
  • forgot to add this.
22:53 Changeset in OpenModelica [17ab3a64]Added-citation-metadatamaintenance/v1.14maintenance/v1.15maintenance/v1.16maintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Adrian Pop <adrian.pop@…>
  • 1 edit in Compiler/Util/Util.mo
  • forgot to add this.

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@13875 f25d12d1-65f4-0310-ae8a-bbce733d8d8e

22:40 Changeset [13874] by adrpo
  • 1 edit in trunk/Compiler/BackEnd/OpenTURNS.mo
  • add more error info on the issues that might appear.
22:40 Changeset in OpenModelica [843c11a1]Added-citation-metadatamaintenance/v1.14maintenance/v1.15maintenance/v1.16maintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Adrian Pop <adrian.pop@…>
  • 1 edit in Compiler/BackEnd/OpenTURNS.mo
  • add more error info on the issues that might appear.

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@13874 f25d12d1-65f4-0310-ae8a-bbce733d8d8e

22:39 Changeset [13873] by adrpo
  • 5 moves in trunk/testsuite/openmodelica/uncertainties/TestModels/ThermoSysPro
  • fixes to make the library load.
17:27 Ticket #1935 (getNthInheritedClass is wrong for some models ...) created by adrpo
Hi, Error report from Zsolt Lattmann: […] The answer for the first …
16:33 Changeset [13872] by bruno
  • 2 edits
    2 adds in trunk/testsuite/simulation/libraries/ModelicaTest

Added multibody tests for ModelicaTest

15:37 Changeset [13871] by jfrenkel
  • 3 edits in trunk/Compiler
  • avoid events in inlined functions
15:37 Changeset in OpenModelica [f4d2ce63]Added-citation-metadatamaintenance/v1.14maintenance/v1.15maintenance/v1.16maintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Jens Frenkel <jens.frenkel@…>
  • 3 edits in Compiler
  • avoid events in inlined functions

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@13871 f25d12d1-65f4-0310-ae8a-bbce733d8d8e

13:05 Changeset [13870] by jfrenkel
  • 1 edit in trunk/Compiler/BackEnd/BackendEquation.mo
  • bugfix for BackendEquation.aliasEquation
13:05 Changeset in OpenModelica [f63133ca]Added-citation-metadatamaintenance/v1.14maintenance/v1.15maintenance/v1.16maintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Jens Frenkel <jens.frenkel@…>
  • 1 edit in Compiler/BackEnd/BackendEquation.mo
  • bugfix for BackendEquation.aliasEquation

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@13870 f25d12d1-65f4-0310-ae8a-bbce733d8d8e

11:58 Changeset [13869] by cschubert
  • 2 edits
    1 add in trunk/testsuite/simulation/libraries/msl32

updated status.txt for msl32

11:54 Changeset [13868] by bruno
  • 2 edits
    3 adds in trunk/testsuite/simulation/libraries/ModelicaTest

Fixed multibody tests for ModelicaTest library

10:44 Ticket #1934 (Support calling functions via component reference) created by cschubert
Hi, while testing several Hydraulics libraries I encountered the …
10:24 Changeset [13867] by niklwors
  • 2 edits in trunk/Compiler/Template

fix in cpp template for set help var in update method

10:24 Changeset in OpenModelica [f26af92]Added-citation-metadatamaintenance/v1.14maintenance/v1.15maintenance/v1.16maintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Niklas Worschech <niklas.worschech@…>
  • 1 edit in Compiler/Template/CodegenCpp.tpl

fix in cpp template for set help var in update method

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@13867 f25d12d1-65f4-0310-ae8a-bbce733d8d8e

09:54 Changeset [13866] by sjoelund.se
  • 5 edits in trunk/Compiler/Template
  • Add code to codegen/dump cast to record types
09:54 Changeset in OpenModelica [413c8ea3]Added-citation-metadatamaintenance/v1.14maintenance/v1.15maintenance/v1.16maintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Martin Sjölund <martin.sjolund@…>
  • 2 edits in Compiler/Template
  • Add code to codegen/dump cast to record types

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@13866 f25d12d1-65f4-0310-ae8a-bbce733d8d8e

00:15 Changeset [13865] by jfrenkel
  • 3 edits in trunk/Compiler/BackEnd
  • continue redesign of remove simple equations
00:15 Changeset in OpenModelica [ac81a22]Added-citation-metadatamaintenance/v1.14maintenance/v1.15maintenance/v1.16maintenance/v1.17maintenance/v1.18maintenance/v1.19maintenance/v1.20maintenance/v1.21maintenance/v1.22maintenance/v1.23omlib-staging by Jens Frenkel <jens.frenkel@…>
  • 3 edits in Compiler/BackEnd
  • continue redesign of remove simple equations

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@13865 f25d12d1-65f4-0310-ae8a-bbce733d8d8e

Note: See TracTimeline for information about the timeline view.