#6316 closed defect (fixed)
The frontend used to obtain flat models in OMEdit is not set correctly
Reported by: | casella | Owned by: | adeas31 |
---|---|---|---|
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 Changed 3 years ago by adeas31
- Resolution set to fixed
- Status changed from new to closed
comment:2 Changed 3 years ago by casella
Thanks Adeel!
comment:3 Changed 3 years ago by adeas31
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.