Opened 9 years ago
Last modified 5 years ago
#4138 closed task
New FrontEnd — at Version 84
| Reported by: | Per Östlund | Owned by: | Per Östlund |
|---|---|---|---|
| Priority: | blocker | Milestone: | 1.17.0 |
| Component: | New Instantiation | Version: | |
| Keywords: | Cc: | Mahder Alemseged Gebremedhin, Adrian Pop |
Description (last modified by )
This ticket is tracking the progress on the the new frontend. Some documentation on the new frontend development is available on wiki:NewFrontEnd.
The new frontend development is almost complete. It is used by default by OMEdit (with the old frontend as fallback in case of problems) since version 1.14.0, and already delivers better performance than the old frontend in almost all cases. It will probably become the default also for the command line compiler from version 1.17.0.
All 425 models of the MSL are handled successfully by the new front end, see report. There are a handful of models which are not handled correctly yet, but that is not due to the new frontend, see #5288.
The coverage with some other selected open-source library is reported here:
This is a list of all tickets opened for the new frontend (New Instantiation module). Note that tickets with id > 4000 were opened specifically during the development of the new front end, while older ones refer to old issues with the old front end that are expected to be fixed by the new one.
Number of tickets: 57
Change History (85)
comment:1 by , 9 years ago
| Cc: | added |
|---|
comment:2 by , 9 years ago
| Description: | modified (diff) |
|---|
comment:3 by , 9 years ago
| Description: | modified (diff) |
|---|
follow-ups: 5 9 comment:4 by , 9 years ago
follow-up: 6 comment:5 by , 9 years ago
Replying to casella:
Still some problems with component modifiers.
I am well aware of that, and have already fixed this particular issue locally a while ago. At the moment I'm not really interested in bug reports though, the new instantiation is not ready for public testing yet.
follow-up: 7 comment:6 by , 9 years ago
Replying to perost:
At the moment I'm not really interested in bug reports though, the new instantiation is not ready for public testing yet.
Q1: Can you give a reasonable estimate of when this will be possible?
Q2: Is the interface towards the other tasks of Phase 2 already stabilized? If not, when will it reasonably be?
comment:7 by , 9 years ago
Replying to casella:
Q1: Can you give a reasonable estimate of when this will be possible?
No
Q2: Is the interface towards the other tasks of Phase 2 already stabilized? If not, when will it reasonably be?
Maybe
follow-up: 11 comment:10 by , 9 years ago
However, instantiating P.S in the attached test case still fails
by , 9 years ago
follow-up: 12 comment:11 by , 9 years ago
Replying to casella:
However, instantiating P.S in the attached test case still fails
It works fine for me, are you using the latest nightly build?
comment:12 by , 9 years ago
comment:13 by , 9 years ago
| Description: | modified (diff) |
|---|
comment:14 by , 9 years ago
| Description: | modified (diff) |
|---|
comment:15 by , 9 years ago
| Component: | *unknown* → NF - New FrontEnd |
|---|---|
| Description: | modified (diff) |
comment:16 by , 9 years ago
| Description: | modified (diff) |
|---|
comment:17 by , 9 years ago
| Description: | modified (diff) |
|---|
comment:18 by , 9 years ago
| Description: | modified (diff) |
|---|---|
| Summary: | NF core → New FrontEnd |
comment:19 by , 9 years ago
| Milestone: | Future → 2.0.0 |
|---|---|
| Priority: | high → blocker |
| Type: | defect → task |
comment:20 by , 9 years ago
| Description: | modified (diff) |
|---|
comment:21 by , 9 years ago
| Description: | modified (diff) |
|---|
Initial support for enumerations is now implemented.
comment:24 by , 9 years ago
| Description: | modified (diff) |
|---|
comment:25 by , 9 years ago
| Description: | modified (diff) |
|---|
comment:26 by , 9 years ago
| Description: | modified (diff) |
|---|
comment:27 by , 9 years ago
| Description: | modified (diff) |
|---|
comment:28 by , 9 years ago
| Description: | modified (diff) |
|---|
comment:29 by , 9 years ago
| Description: | modified (diff) |
|---|
comment:30 by , 9 years ago
| Description: | modified (diff) |
|---|
comment:31 by , 9 years ago
| Description: | modified (diff) |
|---|
comment:32 by , 9 years ago
| Description: | modified (diff) |
|---|
comment:33 by , 9 years ago
| Description: | modified (diff) |
|---|
comment:34 by , 9 years ago
| Description: | modified (diff) |
|---|
comment:35 by , 9 years ago
| Description: | modified (diff) |
|---|
comment:36 by , 9 years ago
| Description: | modified (diff) |
|---|
comment:37 by , 9 years ago
| Description: | modified (diff) |
|---|
comment:38 by , 9 years ago
| Description: | modified (diff) |
|---|
comment:39 by , 9 years ago
| Description: | modified (diff) |
|---|
follow-ups: 41 45 comment:40 by , 9 years ago
I just tried out ScalableTestSuite.Elementary.SimpleODE.Models.CascadedFirstOrder:
model CascadedFirstOrder
parameter Integer N = 10 "Order of the system";
parameter Modelica.SIunits.Time T = 1 "System delay";
final parameter Modelica.SIunits.Time tau = T/N "Individual time constant";
Real x[N] (each start = 0, each fixed = true);
equation
tau*der(x[1]) = 1 - x[1];
for i in 2:N loop
tau*der(x[i]) = x[i-1] - x[i];
end for;
end CascadedFirstOrder;
but it still doesn't work, I get
Error: Type mismatch for positional argument 1 in der(x=x[1]). The argument has type: Real[10] expected type: Real
This is a very basic model, and it doesn't use arrays in any fancy way. This error looks to me more like a bug than a missing feature.
Would you mind fixing this issue so we can start getting some results from testing the ScalableTestSuite with the new front-end?
Thanks
Francesco
comment:41 by , 9 years ago
Replying to casella:
This is a very basic model, and it doesn't use arrays in any fancy way. This error looks to me more like a bug than a missing feature.
Subscripting is not implemented yet, so it is actually a missing feature. It's high up on my todo list, but other things currently has higher priority for me.
comment:42 by , 9 years ago
OK. I interpreted "Subscripting needs to be improved" as "there is already some subscripting implemented" :)
comment:43 by , 8 years ago
| Description: | modified (diff) |
|---|
comment:44 by , 8 years ago
| Description: | modified (diff) |
|---|
Updated description for redeclares (better in general, but class extends/element redeclares currently broken) and imports.
comment:45 by , 8 years ago
Replying to casella:
Would you mind fixing this issue so we can start getting some results from testing the ScalableTestSuite with the new front-end?
This model should start working in about five minutes, once Hudson pulls in my latest changes.
comment:47 by , 8 years ago
| Description: | modified (diff) |
|---|
comment:48 by , 8 years ago
| Description: | modified (diff) |
|---|
comment:49 by , 8 years ago
| Description: | modified (diff) |
|---|
comment:50 by , 8 years ago
| Description: | modified (diff) |
|---|
comment:51 by , 8 years ago
| Description: | modified (diff) |
|---|
comment:52 by , 8 years ago
| Description: | modified (diff) |
|---|
comment:53 by , 8 years ago
| Description: | modified (diff) |
|---|
comment:54 by , 8 years ago
| Component: | NF - New FrontEnd → New Instantiation |
|---|
Move all tickets from NF - New Frontend to New Instantiation so we don't have two different categories for the same thing.
comment:55 by , 8 years ago
| Description: | modified (diff) |
|---|
comment:56 by , 8 years ago
| Description: | modified (diff) |
|---|
comment:57 by , 8 years ago
| Description: | modified (diff) |
|---|
comment:58 by , 8 years ago
| Description: | modified (diff) |
|---|
comment:59 by , 8 years ago
| Description: | modified (diff) |
|---|
comment:60 by , 8 years ago
| Description: | modified (diff) |
|---|
comment:61 by , 8 years ago
| Description: | modified (diff) |
|---|
comment:62 by , 8 years ago
| Description: | modified (diff) |
|---|
comment:63 by , 8 years ago
| Description: | modified (diff) |
|---|
comment:64 by , 8 years ago
| Description: | modified (diff) |
|---|
comment:65 by , 8 years ago
| Description: | modified (diff) |
|---|
comment:66 by , 8 years ago
| Description: | modified (diff) |
|---|
comment:67 by , 8 years ago
| Description: | modified (diff) |
|---|
comment:68 by , 8 years ago
| Description: | modified (diff) |
|---|
comment:69 by , 8 years ago
| Description: | modified (diff) |
|---|
comment:70 by , 8 years ago
| Description: | modified (diff) |
|---|
comment:71 by , 8 years ago
| Description: | modified (diff) |
|---|
comment:72 by , 8 years ago
| Description: | modified (diff) |
|---|
comment:73 by , 8 years ago
| Description: | modified (diff) |
|---|
comment:74 by , 8 years ago
| Description: | modified (diff) |
|---|
comment:75 by , 8 years ago
| Description: | modified (diff) |
|---|
comment:76 by , 8 years ago
| Description: | modified (diff) |
|---|
comment:77 by , 8 years ago
| Description: | modified (diff) |
|---|
comment:78 by , 7 years ago
| Description: | modified (diff) |
|---|
Overconstrained connection graph is now implemented via #4966.
comment:79 by , 7 years ago
| Description: | modified (diff) |
|---|
comment:80 by , 7 years ago
| Description: | modified (diff) |
|---|
comment:81 by , 7 years ago
| Description: | modified (diff) |
|---|
comment:82 by , 7 years ago
| Description: | modified (diff) |
|---|
comment:83 by , 6 years ago
| Description: | modified (diff) |
|---|
comment:84 by , 5 years ago
| Description: | modified (diff) |
|---|

Still some problems with component modifiers. Running the following test script
loadString(" package P model A parameter Real p; end A; model B parameter Real q = 2; A a1(p = q); end B; model C parameter Real q = 2; A a1(p = q); A a2(p = q); end C; end P; "); setCommandLineOptions("-d=newInst"); instantiateModel(P.B); instantiateModel(P.C);returns
so for some reason model C is not instantiated at all.