Opened 8 years ago

Closed 7 years ago

#4279 closed defect (fixed)

Annex60 stopped working in dev version

Reported by: Martin Sjölund Owned by: Willi Braun
Priority: high Milestone: 1.12.0
Component: Backend Version: v1.12.0
Keywords: Cc: Lennart Ochel, Willi Braun, Michael Wetter

Description

sqlite3.db says between OMCompiler v1.12.0-dev.123+ge66beae and v1.12.0-dev.130+g4fe59c4, the following models started failing:

Annex60.Fluid.Movers.Examples.ClosedLoop_y
Annex60.Fluid.Movers.Examples.PumpsParallel
Annex60.Fluid.Movers.Examples.PumpsSeries
Annex60.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves
Annex60.Fluid.Movers.Validation.ControlledFlowMachine
Annex60.Fluid.Movers.Validation.ControlledFlowMachineDynamic
Annex60.Fluid.Movers.Validation.PowerExact
Annex60.Fluid.Movers.Validation.PowerSimplified
Annex60.Fluid.Movers.Validation.PumpCurveConstruction
Annex60.Fluid.Movers.Validation.Pump_stratos
Annex60.Fluid.Movers.Validation.SpeedControlled_Nrpm
Annex60.Fluid.Movers.Validation.SpeedControlled_y
Annex60.Fluid.Movers.Validation.SpeedControlled_y_linear

The error-message (for ClosedLoop_y) is:

Error: A torn linear system has no symbolic jacobian and currently there are no means to solve that numerically. Please compile with the module "calculateStrongComponentJacobians" to provide symbolic jacobians for torn linear systems.
[SimCode/SimCodeUtil.mo:0:0-0:0:writable] Error: Internal error function createOdeSystem failed for component torn linear Equationsystem{{{48:81}, {46:42}, {76:80}, {40:74}, {77:84}},
{51:75} Size: 1

But calculateStrongComponentJacobians is activated. (So the error-message is bad; it could check if it was activated and show a different error in this case).

There were many changes to Annex60 around the same time, but it seems this is unrelated (I tested with Annex60 0.1 and it has the same error; OM releases 1.9.7 and 1.11.0 do not have the error).

Change History (5)

in reply to:  description comment:1 by Willi Braun, 8 years ago

Owner: changed from Lennart Ochel to Willi Braun
Status: newaccepted

Replying to sjoelund.se:

The error-message (for ClosedLoop_y) is:

Error: A torn linear system has no symbolic jacobian and currently there are no means to solve that numerically. Please compile with the module "calculateStrongComponentJacobians" to provide symbolic jacobians for torn linear systems.
[SimCode/SimCodeUtil.mo:0:0-0:0:writable] Error: Internal error function createOdeSystem failed for component torn linear Equationsystem{{{48:81}, {46:42}, {76:80}, {40:74}, {77:84}},
{51:75} Size: 1

But calculateStrongComponentJacobians is activated. (So the error-message is bad; it could check if it was activated and show a different error in this case).

And the module fails with a other issue:

Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed!
Error: post-optimization module wrapFunctionCalls (jacobian) failed.
[/var/lib/hudson/jobs/OpenModelica_TEST_ALL_LIBRARIES/workspace/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:1968:10-1968:88:writable] Error: Internal error function optimizeJacobianMatrix failed
[/var/lib/hudson/jobs/OpenModelica_TEST_ALL_LIBRARIES/workspace/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:1902:9-1902:79:writable] Error: Internal error function createJacobian failed

comment:2 by Lennart Ochel, 8 years ago

This is an issue with the homotopy-based initialization.

in reply to:  2 comment:3 by Willi Braun, 8 years ago

Replying to lochel:

This is an issue with the homotopy-based initialization.

Why do you think so?

comment:4 by Francesco Casella, 7 years ago

Milestone: 1.12.01.13.0

Milestone moved to 1.13.0 due to 1.12.0 already being released.

comment:5 by Martin Sjölund, 7 years ago

Milestone: 1.13.01.12.0
Resolution: fixed
Status: acceptedclosed

This is working in 1.9.x, 1.11.0, 1.12.0 and the current master.

Note: See TracTickets for help on using tickets.