Opened 5 years ago
Closed 5 years ago
#5970 closed defect (fixed)
Compile error on array of models with expandable connector
| Reported by: | Owned by: | Per Östlund | |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.16.0 |
| Component: | New Instantiation | Version: | v1.14.0 |
| Keywords: | expandable connector array | Cc: |
Description
Hi, all
I want to run array of model, each model has Bus as expandable connector.
model ArrayWithBus
expandable connector Bus
end Bus;
model Something
connector RealOutput = output Real;
RealOutput y = 0;
Bus bus;
equation
connect(bus.y, y);
end Something;
Something[4] things;
end ArrayWithBus;
This code is OK with old frontend (Before OpenModelica 1.13.2)
But, have not worked with new frontend (After OpenModelica 1.14.0)
I tested code by 1.14.0, 1.14.1, and nightly build 1.16.0-dev.
All test shows dialog that indicate new frontend raises compile error.
I think, this code did not violate Modelica language standard.
Is it possible to compile this code with New frontend?
Best regerds.
Change History (2)
comment:1 by , 5 years ago
| Component: | Frontend → New Instantiation |
|---|---|
| Milestone: | NeedsInput → 1.16.0 |
| Owner: | changed from to |
| Status: | new → assigned |
Note:
See TracTickets
for help on using tickets.

@perost, the model flattened with the NF reads
It seems to me that the following declarations are missing:
do I miss something?