Opened 12 years ago
Last modified 12 years ago
#2271 closed defect
flattening fails without helpful error message — at Version 4
Reported by: | Lennart Ochel | Owned by: | probably noone |
---|---|---|---|
Priority: | high | Milestone: | 1.9.0 |
Component: | Backend | Version: | trunk |
Keywords: | Cc: | Martin Sjölund, Adrian Pop, Jens Frenkel, Willi Braun, Per Östlund |
Description (last modified by )
I created an almost flat model out of the flat Modelica code that Dymola generates (Dymola 2014 is needed, because of impure functions).
OpenModelica seems to be unable to flatten this (already very flat) model. If I press "check model" in OMEdit I get the following message:
"Internal error! Check of: test_1 failed with no error message."
Change History (5)
by , 12 years ago
comment:1 by , 12 years ago
comment:2 by , 12 years ago
Component: | Frontend → Backend |
---|---|
Owner: | changed from | to
instantiateModel and without +s works just fine. So it is something in the backend.
comment:4 by , 12 years ago
Description: | modified (diff) |
---|
Note:
See TracTickets
for help on using tickets.
I am a bit cofued about the ouput that I get. If I run
omc .\test_1.mo +s +d=failtrace +locale=en Modelica
then the output of the flat code stops at line 1206 of test_1.mo with the following error message:Execution failed!
.If I run
omc .\test_1.mos +d=failtrace +locale=en
using the following script than the output of the flat code stops one assignment later at line 1207 of test1_.mo with the following error message:Error: Internal error SimCode: The model test_1 could not be translated