Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#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 Lennart Ochel, 9 years ago

Component: Run-timeBackend
Milestone: Future1.9.4
Status: newaccepted

comment:2 by Lennart Ochel, 9 years ago

Resolution: duplicate
Status: acceptedclosed

Fixed with PR275.
This is the same issue as #2830.

comment:3 by Martin Sjölund, 9 years ago

Milestone: 1.9.41.9.4-1.9.x

Milestone renamed

comment:4 by Martin Sjölund, 9 years ago

Milestone: 1.9.4-1.9.x1.9.4

Milestone renamed

Note: See TracTickets for help on using tickets.