Opened 8 years ago
Last modified 8 years ago
#4892 assigned defect
Execution statistics show wrong solver
| Reported by: | Owned by: | Willi Braun | |
|---|---|---|---|
| Priority: | high | Milestone: | Future |
| Component: | Backend | Version: | v1.13.0-dev-nightly |
| Keywords: | Cc: |
Description
After running the model the ### STATISTICS ### block always shows "euler" as solver, despite dassl beeing selected and used.
Change History (3)
comment:1 by , 8 years ago
| Component: | *unknown* → Backend |
|---|---|
| Owner: | changed from to |
| Version: | → v1.13.0-dev-nightly |
comment:2 by , 8 years ago
comment:3 by , 8 years ago
| Owner: | changed from to |
|---|---|
| Status: | new → assigned |
In fact, this is not a bug but a feature. The model you posted here has no continuous states, so there are actually no differential equations to solve. As such, there is no need to run any sophisticated solver like dassl, so the simplest possible solver (euler) is selected automatically.
Note:
See TracTickets
for help on using tickets.

This behavior appears when running a simple model like:
model test_stateevent Modelica.Blocks.Sources.BooleanTable boolTable(table = {1, 10, 15, 30, 35}) annotation( Placement(visible = true, transformation(origin = {-88, 36}, extent = {{-10, -10}, {10, 10}}, rotation = 0))); Real x; equation when boolTable.y == true then x = 10; end when; annotation( uses(Modelica(version = "3.2.2")), experiment(StartTime = 0, StopTime = 50, Tolerance = 0.0001, Interval = 0.1), __OpenModelica_simulationFlags(jacobian = "coloredNumerical", lv = "LOG_STATS", s = "dassl")); end test_stateevent;for more complex??? models, the solver is shown correctly.