Opened 4 years ago

Last modified 4 years ago

#5857 new defect

MSL OpAmp simulation results in OM

Reported by: dr.christian.kral@… Owned by: lochel
Priority: blocker Milestone: 2.0.0
Component: Backend Version: v1.16.0-dev
Keywords: Cc:

Description

I am referring to the recent PRs in the MSL 4.0.0 (and 3.2.3 respectively):

In Modelica PR #3432 the parameter strict was changed from false to true. I investigated both cases with Dymola and OM (see attached SignalGenerator.png)

Dymola shows pretty much the same result for strict = true and strict = false. OM shows practically the negative signals for time < 0.2 and more and more strange results towards the end of the simulation.

Attachments (1)

SignalGenerator.png (38.5 KB) - added by dr.christian.kral@… 4 years ago.
Comparison of signals between Dymola and OM

Download all attachments as: .zip

Change History (4)

Changed 4 years ago by dr.christian.kral@…

Comparison of signals between Dymola and OM

comment:1 Changed 4 years ago by dr.christian.kral@…

Refs #5458

comment:2 Changed 4 years ago by dr.christian.kral@…

The OM strict simulation (strict = true) shows the following message:

Warning: maximal number of iteration reached but no root found
Error solving nonlinear system 146 at time 0.041943
Warning: maximal number of iteration reached but no root found
...
Warning: maximal number of iteration reached but no root found
Error solving nonlinear system 146 at time 0.997369

The OM simulation with (strict = false) shows the following message:

The initialization finished successfully with 4 homotopy steps.
Warning: maximal number of iteration reached but no root found
Warning: maximal number of iteration reached but no root found
Warning: maximal number of iteration reached but no root found
Error solving nonlinear system 146 at time 0.712988
Warning: maximal number of iteration reached but no root found
Warning: maximal number of iteration reached but no root found
Warning: maximal number of iteration reached but no root found
Error solving nonlinear system 146 at time 0.968817
Warning: maximal number of iteration reached but no root found

One note here: if there is any error in the simulation I wonder why both the simulations report The simulation finished successfully.

comment:3 Changed 4 years ago by dr.christian.kral@…

  • Component changed from *unknown* to Backend
  • Owner changed from somebody to lochel
  • Priority changed from high to blocker
Note: See TracTickets for help on using tickets.