Opened 20 years ago

Last modified 18 years ago

#18 closed defect (fixed)

failed to instantiate model

Reported by: jonas.elbornsson Owned by: jonas.elbornsson
Priority: critical Milestone:
Component: Version:
Keywords: Cc: jonas.elbornsson, Adrian Pop

Description


Change History (2)

comment:1 by jonas.elbornsson, 20 years ago

model test ""

Modelica.Blocks.Sources.Constant constant1 annotation(Placement

(visible=true,transformation(x=-49.9871,y=19.7101,scale=0.1)));

Modelica.Blocks.Continuous.TransferFunction transferFunction1 annotation

(Placement(visible=true,transformation(x=-9.34493,y=19.7101,scale=0.1)));

equation

connect(constant1.outPort,transferFunction1.inPort) annotation(Line

(visible=true,points={{-39.35,19.98},{-22.44,19.71}}));
end test;

instantiateModel(test) gives the following error message:
"#Error filling slot, id =textStyle
#Error filling slot, id =textStyle
#Error filling slot, id =textStyle
#Error filling slot, id =textStyle
#Error filling slot, id =textStyle
#Error filling slot, id =textStyle
#Error filling slot, id =textStyle
#Error filling slot, id =textStyle
"
getErrorString()
"#Error filling slot, id =textStyle
#Error filling slot, id =textStyle
#Error filling slot, id =textStyle
#Error filling slot, id =textStyle
#Error filling slot, id =textStyle
#Error filling slot, id =textStyle
#Error filling slot, id =textStyle
#Error filling slot, id =textStyle
"

comment:2 by Adrian Pop, 18 years ago

This bug is also old.
Is based on an old version of Modelica library.
Most of this stuff now works.

Note: See TracTickets for help on using tickets.