#6316 closed defect (fixed)
The frontend used to obtain flat models in OMEdit is not set correctly
Reported by: | Francesco Casella | Owned by: | Adeel Asghar |
---|---|---|---|
Priority: | blocker | Milestone: | 1.17.0 |
Component: | OMEdit | Version: | v1.17.0-dev |
Keywords: | Cc: |
Description
After the NF was made the default, setting Tools | Options | Simulation | Enable old frontend for code generation no longer enforces the OF to be used for the Instantiate Model operation (i.e., getting the flat model). In order to get the OF used for that, it is now necessary to add "-d=nonewInst" to the Additional Translation Flags.
@adeas31, I guess you need to add that flag when calling Instantiate Model, rather than simply not adding newInst if Enable old frontend is checked.
Change History (3)
comment:1 by , 4 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:3 by , 4 years ago
No problem. It was easy. Since the newInst
is default now so I just need to reverse the logic. Let me know if you encounter any problem with this.
Fixed in 03da1b5/OpenModelica.