Opened 6 years ago

Closed 6 years ago

#5495 closed defect (invalid)

NF does not overcome check of an MSL model

Reported by: massimo ceraolo Owned by: Per Östlund
Priority: normal Milestone: 2.0.0
Component: New Instantiation Version: v1.14.0-dev-nightly
Keywords: Cc:

Description

When using NF, if I check the model:
Modelica.Electrical.Analog.Basic.M_Transformer

I get the following message:

[1] 21:12:10 Translation Notification
[Modelica.Electrical.Analog.Basic: 521:35-521:45]: From here:

[2] 21:12:10 Translation Error
[Modelica.Electrical.Analog.Basic: 521:5-522:34]: Non-array modification ‘true‘ for array component ‘fixed‘, possibly due to missing ‘each‘.

Change History (6)

comment:1 by anonymous, 6 years ago

Component: *unknown*New Instantiation
Milestone: Future2.0.0
Owner: changed from somebody to Per Östlund
Priority: highnormal
Summary: NF does not check a MSL modelNF does not overcome check of an MSL model
Version: v1.14.0-dev-nightly

comment:2 by Per Östlund, 6 years ago

I made a PR (#2943) to fix this in the MSL.

comment:3 by Francesco Casella, 6 years ago

Please note you'll also need to push it to MSL 3.2.3/maintenance to get it to work before March 2020 (tentative release date of MSL 4.0.0).

comment:4 by massimo ceraolo, 6 years ago

Indeed the error message was very clear.
I was fooled by the presence of first each.
Good to know that each must be repeated...

in reply to:  3 comment:5 by modelica@…, 6 years ago

Replying to casella:

Please note you'll also need to push it to MSL 3.2.3/maintenance to get it to work before March 2020 (tentative release date of MSL 4.0.0).

See [msl:#2948 https://github.com/modelica/ModelicaStandardLibrary/pull/2948] for the back-port.

comment:6 by Per Östlund, 6 years ago

Resolution: invalid
Status: newclosed

Closing as invalid since the issue wasn't with the compiler but the MSL.

Note: See TracTickets for help on using tickets.