#3325 closed defect (fixed)
Symbolic Jacobian is not generated for systems with one state
Reported by: | Lennart Ochel | Owned by: | Lennart Ochel |
---|---|---|---|
Priority: | critical | Milestone: | 1.9.4 |
Component: | Backend | Version: | trunk |
Keywords: | Cc: |
Description
Just a simple example:
model foo Real x1(start=1.0, fixed=true); equation der(x1) = 0; end foo;
The LOG_SOLVER dump indicates that there is something wrong with the generated symbolic jacobian:
LOG_SOLVER | info | sparse structure of jacobian A [size: 0x0]
In fact, there is no symbolic Jacobian generated. But if the model get extended by a second state, then the Jacobian is generated as expected:
model foo Real x1(start=1.0, fixed=true); Real x2(start=1.0, fixed=true); equation der(x1) = 0; der(x2) = 0; end foo;
LOG_SOLVER | info | sparse structure of jacobian A [size: 2x2] | | | | | 0 nonzero elements | | | | | transposed sparse structure (rows: states) | | | | | | | | | | | |
Change History (4)
comment:1 by , 10 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:2 by , 10 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:3 by , 9 years ago
Milestone: | Future → pre1.9.4 |
---|
It doesn't make sense to keep closed ticket in the "Future" milestone that were simply forgotten to assign to the correct milestone in the past.
comment:4 by , 7 years ago
Milestone: | pre1.9.4 → 1.9.4 |
---|
Removing the pre1.9.4 milestone in favor of 1.9.4.
Note:
See TracTickets
for help on using tickets.
fixed with bf6ce68/OMCompiler