Opened 12 years ago
Closed 7 years ago
#1990 closed defect (worksforme)
Symbolic Jacobian fails for functions
Reported by: | Christian Schubert | Owned by: | Willi Braun |
---|---|---|---|
Priority: | normal | Milestone: | 1.13.0 |
Component: | Backend | Version: | trunk |
Keywords: | symbolic jacobian functions | Cc: | Jens Frenkel |
Description
I tried the new Symbolic Jacobian feature on a msl32 model that previously failed with a nonlinear solver error.
Hoowever, if I run:
omc Modelica.Fluid.Examples.Tanks.TanksWithOverflow.mos +d=NLSanalyticJacobian
I get a long list of errors which in essence reads:
Error: Interner Fehler BackendDAEOptimize.derive failed: lowerTank.portDensities[1] = Modelica.Fluid.Vessels.OpenTank__OMC__36.Medium.density(Modelica.Fluid.Vessels.OpenTank__OMC__36.Medium.setState_phX(lowerTank.vessel_ps_static[1], if (-upperTank.ports[2].m_flow) > 0.0 then pipe.port_b.h_outflow else lowerTank.medium.h, {}, 0))
I presume it is because the module generating the symbolic jacobian tries to differentiate a function.
I suggest, taht there should be an appropriate error message for the time being.
In the long run however, it would be beneficial if it would be possible to mix symbolic and numerical jacobians, so that elements or columns may be derived numerically, if no analytical solution exists.
Change History (9)
comment:1 by , 11 years ago
Milestone: | 1.9.0 → 1.9.1 |
---|
comment:2 by , 10 years ago
Milestone: | 1.9.1 → 1.9.2 |
---|
This ticket was not closed for 1.9.1, which has now been released. It was batch modified for milestone 1.9.2 (but maybe an empty milestone was more appropriate; feel free to change it).
comment:3 by , 10 years ago
Milestone: | 1.9.2 → 1.9.3 |
---|
Milestone changed to 1.9.3 since 1.9.2 was released.
comment:8 by , 8 years ago
Milestone: | 1.11.0 → 1.12.0 |
---|
Milestone moved to 1.12.0 due to 1.11.0 already being released.
comment:9 by , 7 years ago
Milestone: | 1.12.0 → 1.13.0 |
---|---|
Resolution: | → worksforme |
Status: | new → closed |
As of v1.13.0-dev-155-g68350e9, the model is compiled and simulates until the stop time.
Postponed until 1.9.1