Opened 4 years ago

Closed 4 years ago

#6093 closed defect (fixed)

Parameter records are not displayed correctly in Diagram View

Reported by: Christian Kral <dr.christian.kral@…> Owned by: Adeel Asghar
Priority: blocker Milestone: 1.17.0
Component: OMEdit Version: v1.16.0-dev
Keywords: Cc: Adrian Pop

Description

This issue applies to:

Connected to OpenModelica 1.16.0~dev-601-gac457b2
Connected to OMSimulator unknown-linux

After opening the system library HanserModelica I double click through the simulation examples of the package HanserModelica.InductionMachines.

The icon of the parameter record is show correctly in:

  • HanserModelica.InductionMachines.IMC_Characteristics
  • partly HanserModelica.InductionMachines.IMC_Transformer

All other simulation examples in HanserModelica.InductionMachines show a crossed out icon instead, even though the models check OK. In model HanserModelica.InductionMachines.IMC_Steinmetz even some other icons are not displayed correctly.

Attachments (2)

IMC_Steinmetz.png (33.1 KB ) - added by Christian Kral <dr.christian.kral@…> 4 years ago.
Diagram View of IMC_Steinmetz
IMC_Steinmetz-master.png (28.7 KB ) - added by Adeel Asghar 4 years ago.

Download all attachments as: .zip

Change History (9)

by Christian Kral <dr.christian.kral@…>, 4 years ago

Attachment: IMC_Steinmetz.png added

Diagram View of IMC_Steinmetz

comment:1 by massimo ceraolo, 4 years ago

See also #4790

comment:2 by Christian Kral <dr.christian.kral@…>, 4 years ago

Additionally, some connectors of the icons are missing!

comment:3 by Francesco Casella, 4 years ago

Cc: Adrian Pop added
Milestone: 1.16.01.17.0
Priority: highblocker

I guess this should be fixed mandatorily in 1.17.0. This kind of issues sometimes happen for models that cannot be flattened, but that is clearly not the case here, probably we have an issue with some API function.

@adeas31, maybe you can help by pinpointing what is the API call that fails?

comment:4 by Adeel Asghar, 4 years ago

Seems duplicate of #6086

comment:5 by Francesco Casella, 4 years ago

I'm not sure, #6086 refers to sub-components (e.g. connectors) which are not displayed at all, in this case there is a crossed-out icon.

Last edited 4 years ago by Francesco Casella (previous) (diff)

by Adeel Asghar, 4 years ago

Attachment: IMC_Steinmetz-master.png added

comment:6 by Adeel Asghar, 4 years ago

I just tested with the latest master and it seems to work fine. Didn't notice any red cross icon in any of the examples of HanserModelica.InductionMachines.

comment:7 by Francesco Casella, 4 years ago

Resolution: fixed
Status: newclosed

I confirm that.

The only remaining issue is that "%m" shows up instead of the actual value, see #5982. since the functionality is already working for icons, I guess this will be an easy fix.

Note: See TracTickets for help on using tickets.