Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#4257 closed defect (fixed)

Simulation with ida solver doesn't start in OMEdit

Reported by: anonymous Owned by: adeas31
Priority: high Milestone: 1.12.0
Component: OMEdit Version: v1.11.0
Keywords: Cc:

Description

The simulation output is:

stdout | OMEditInfo | <p>~/OMEdit/Modelica.Electrical.Analog.Examples.CauerLowPassSC -port=34177 -logFormat=xmltcp -override=startTime=0,stopTime=60,stepSize=0.04,tolerance=1e-06,solver=ida,outputFormat=mat,variableFilter=.* -r=Modelica.Electrical.Analog.Examples.CauerLowPassSC_res.mat -jacobian=coloredNumerical -w -lv=LOG_STATS</p>
assert | debug | <p>For the klu solver jacobian calculation method has to be kluSparse</p>
stdout | OMEditInfo | <p>Simulation process finished successfully.</p>

but no results are appears.

Change History (5)

comment:1 follow-up: Changed 8 years ago by wbraun

One problem is a wrong return value in solver step and is addressed in RP1459 for the runtime. The other issue is that for the ida solver we use a different default jacobian method than for dassl, and this should changed automatically.

@adeas31 Can we adjust it, so in case ida is selected the jacobian changes to kluSparse.

comment:2 in reply to: ↑ 1 ; follow-up: Changed 8 years ago by adeas31

Replying to wbraun:

One problem is a wrong return value in solver step and is addressed in RP1459 for the runtime. The other issue is that for the ida solver we use a different default jacobian method than for dassl, and this should changed automatically.

@adeas31 Can we adjust it, so in case ida is selected the jacobian changes to kluSparse.

Instead of doing that I guess I should remove -jacobian. Only use -jacobian if its value is not coloredNumerical (i.e., if user explicitly want to use other than the default).

comment:3 in reply to: ↑ 2 Changed 8 years ago by wbraun

Replying to adeas31:

Replying to wbraun:

One problem is a wrong return value in solver step and is addressed in RP1459 for the runtime. The other issue is that for the ida solver we use a different default jacobian method than for dassl, and this should changed automatically.

@adeas31 Can we adjust it, so in case ida is selected the jacobian changes to kluSparse.

Instead of doing that I guess I should remove -jacobian. Only use -jacobian if its value is not coloredNumerical (i.e., if user explicitly want to use other than the default).

Yes, I agree we could just remove the jacobian option, and only use via simflags. Also the other DASSL related options are actually also available for IDA, so we should probably at least rename the options.

comment:4 Changed 8 years ago by adeas31

  • Resolution set to fixed
  • Status changed from new to closed

Done in 4f0f976/OMEdit.

comment:5 Changed 8 years ago by adeas31

  • Milestone changed from Future to 1.12.0
Note: See TracTickets for help on using tickets.