Opened 12 years ago

Closed 12 years ago

#2172 closed defect (fixed)

Simulation results are not saved in file

Reported by: DaSilva Owned by: Willi Braun
Priority: normal Milestone: 1.9.0
Component: Run-time Version: 1.9.0Beta
Keywords: Simuation algorithm discrete Cc:

Description

The changes during simulation of the elements of array "value" in the model in attachment are not saved in the result file.

Attachments (1)

TestTriggerPkg.zip (1.8 KB ) - added by e.da-silva@… 12 years ago.

Download all attachments as: .zip

Change History (4)

by e.da-silva@…, 12 years ago

Attachment: TestTriggerPkg.zip added

comment:1 by Martin Sjölund, 12 years ago

Component: BackendRun-time
Owner: changed from probably noone to Willi Braun
Status: newassigned

comment:2 by Willi Braun, 12 years ago

Keywords: algorithm discrete added; result array removed
Status: assignedaccepted

The issue here is that variable value should be discrete variable otherwise it's will always initialize with it's start value in an algorithm section.
So a fast work-a-round for that model is just to mark the variable "value" as discrete.
The bug that we don't detect that if variable is used in a for loop.

comment:3 by Willi Braun, 12 years ago

Resolution: fixed
Status: acceptedclosed

fixed in r15980.

Note: See TracTickets for help on using tickets.