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 , 6 years ago
| Component: | *unknown* → New Instantiation |
|---|---|
| Milestone: | Future → 2.0.0 |
| Owner: | changed from to |
| Priority: | high → normal |
| Summary: | NF does not check a MSL model → NF does not overcome check of an MSL model |
| Version: | → v1.14.0-dev-nightly |
comment:2 by , 6 years ago
follow-up: 5 comment:3 by , 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 , 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...
comment:5 by , 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 , 6 years ago
| Resolution: | → invalid |
|---|---|
| Status: | new → closed |
Closing as invalid since the issue wasn't with the compiler but the MSL.

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