#3536 closed defect (duplicate)
Start values cannot be overwritten properly for variables having fixed=true
Reported by: | Lennart Ochel | Owned by: | Lennart Ochel |
---|---|---|---|
Priority: | high | Milestone: | 1.9.4 |
Component: | Backend | Version: | |
Keywords: | Cc: |
Description
The following example demonstrates the issue:
loadString(" model test Real x(fixed=true); equation der(x) = 0; end test; "); getErrorString(); simulate(test, simflags="-override=x=1 -lv=LOG_SOTI"); getErrorString(); val(x, 0.0);
It's the same for the overrideFile flag.
Change History (4)
comment:1 by , 9 years ago
Component: | Run-time → Backend |
---|---|
Milestone: | Future → 1.9.4 |
Status: | new → accepted |
comment:2 by , 9 years ago
Resolution: | → duplicate |
---|---|
Status: | accepted → closed |
Note:
See TracTickets
for help on using tickets.
Fixed with PR275.
This is the same issue as #2830.