Opened 9 years ago
Last modified 9 years ago
#4122 assigned defect
Simulation fails in OpenModelica, Works in JModelica
| Reported by: | Owned by: | Willi Braun | |
|---|---|---|---|
| Priority: | high | Milestone: | Future |
| Component: | Backend | Version: | v1.11.0 |
| Keywords: | Cc: | Lennart Ochel, Willi Braun |
Description
The attached file produces incorrect (null) results when simulated with OpenModelica but produces a correct result in JModelica. I'm using the OpenModelica-v1.11.0-dev-201-gf2641d7-64bit.exe nightly build (it failed on earlier releases as well).
I have attached the Modelica source file, the errors generated during simulation, and a graph of the result produced by JModelica.
Attachments (3)
Change History (5)
by , 9 years ago
| Attachment: | DoubleMassVecLen.mo added |
|---|
by , 9 years ago
| Attachment: | ExecutionErrors.txt added |
|---|
by , 9 years ago
| Attachment: | JModelicaResult.png added |
|---|
comment:1 by , 9 years ago
| Cc: | added |
|---|---|
| Component: | *unknown* → Backend |
| Owner: | changed from to |
comment:2 by , 9 years ago
| Owner: | changed from to |
|---|---|
| Status: | new → assigned |
Improved the situation with the dynamic state selection in 6a8d607/OMCompiler. Now the model fails for some reasons by numerical exploding.
Note:
See TracTickets
for help on using tickets.

The results using
-ls=umfpacksays everything is OK, butder(v2[2])is=-1.67andv2[2]is always=0.Using uode for index reduction yields:
Using DSS:
Using dummy derivatives: