Opened 9 years ago

Closed 9 years ago

Last modified 8 years ago

#3536 closed defect (duplicate)

Start values cannot be overwritten properly for variables having fixed=true

Reported by: lochel Owned by: lochel
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 Changed 9 years ago by lochel

  • Component changed from Run-time to Backend
  • Milestone changed from Future to 1.9.4
  • Status changed from new to accepted

comment:2 Changed 9 years ago by lochel

  • Resolution set to duplicate
  • Status changed from accepted to closed

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

comment:3 Changed 8 years ago by sjoelund.se

  • Milestone changed from 1.9.4 to 1.9.4-1.9.x

Milestone renamed

comment:4 Changed 8 years ago by sjoelund.se

  • Milestone changed from 1.9.4-1.9.x to 1.9.4

Milestone renamed

Note: See TracTickets for help on using tickets.