Opened 9 years ago
Last modified 7 years ago
#3926 accepted defect
Parameter calculation with numerical Jacobian leads to wrong results
Reported by: | Patrick Täuber | Owned by: | Willi Braun |
---|---|---|---|
Priority: | normal | Milestone: | Future |
Component: | Backend | Version: | |
Keywords: | Cc: | Francesco Casella, Lennart Ochel |
Description (last modified by )
The non-fixed parameters of the following model are calculated to 0 if calculateStrongComponentJacobians is skipped for initialization, which is obviously wrong:
model foo final parameter Real p1 = 1; final parameter Real p2 = 2; final parameter Real p3 = 3; final parameter Real p4 = 4; parameter Real q1 (fixed=false); parameter Real q2 (fixed=false); initial equation -p1 = 3 * (p3 * q1 + p4 * q2); -p2 = 3 * (q1 * p4 - p3 * q2); end foo;
A testing script is attached.
Attachments (1)
Change History (6)
by , 9 years ago
Attachment: | calculateParametersBug.mos added |
---|
comment:1 by , 9 years ago
Description: | modified (diff) |
---|
comment:2 by , 9 years ago
Component: | Run-time → Backend |
---|---|
Milestone: | Future → 1.10.0 |
Priority: | high → normal |
Status: | new → accepted |
comment:4 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:5 by , 7 years ago
Milestone: | 1.12.0 → Future |
---|
The milestone of this ticket has been reassigned to "Future".
If you think the issue is still valid and relevant for you, please select milestone 1.13.0 for back-end, code generation and run-time issues, or 2.0.0 for front-end issues.
If you are aware that the problem is no longer present, please select the milestone corresponding to the version of OMC you used to check that, and set the status to "worksforme".
In both cases, a short informative comment would be welcome.
So the problem is that we have currently no means to handle torn linear system numerically, so the module calculateStrongComponentJacobians is mandatory for them.
So I added a translation error for this case.