Opened 5 years ago

Last modified 5 years ago

#5857 new defect

MSL OpAmp simulation results in OM

Reported by: dr.christian.kral@… Owned by: Lennart Ochel
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@… 5 years ago.
Comparison of signals between Dymola and OM

Download all attachments as: .zip

Change History (4)

by dr.christian.kral@…, 5 years ago

Attachment: SignalGenerator.png added

Comparison of signals between Dymola and OM

comment:1 by dr.christian.kral@…, 5 years ago

Refs #5458

comment:2 by dr.christian.kral@…, 5 years ago

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 by dr.christian.kral@…, 5 years ago

Component: *unknown*Backend
Owner: changed from somebody to Lennart Ochel
Priority: highblocker
Note: See TracTickets for help on using tickets.