Opened 19 years ago

Last modified 18 years ago

#15 closed defect (fixed)

block model fails

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

Description


Change History (2)

comment:1 Changed 19 years ago by jonas.elbornsson

model test ""

Modelica.Blocks.Sources.Constant constant1;
Modelica.Blocks.Continuous.Der der1;

equation

connect(constant1.outPort,der1.inPort);

end test;

simulate(test) gives the following error message:

record

resultFile = "Simulation failed.

#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
#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
#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
#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
#Error filling slot, id =textStyle
# Error, type style not found.
# Couldn't find function style

  • elab_graphics_exp failed: style(color=77)
  • elab_graphics_array failed
  • elab_graphics_array failed
  • elab_graphics_array failed
  • elab_graphics_exp failed: {Rectangle(extent={{-100.0,100.0},{100.0,-100.0}},

fillColor={255,255,255}, fillPattern=FillPattern.Solid, lineColor=
{0,0,255}),Text(extent={{-100.0,156.0},{100.0,96.0}}, textString="%name",
pattern=LinePattern.None, fillColor={0,0,255}),style(color=77),Text(extent=
{{46.0,-10.0},{88.0,-40.0}}, fillColor={0,0,0}, textString="0"),Text(extent={{-
82.0,62.0},{38.0,34.0}}, fillColor={0,0,0}, textString="false"),Line(points={{-
28.0,24.0},{-28.0,-66.0},{0.0,-66.0},{0.0,-104.0},{0.0,-102.0}}, color=
{127,0,255}),Line(points={{68.0,-46.0},{68.0,-66.0},{0.0,-66.0},{0.0,-108.0}},
color={127,0,255}),Rectangle(extent={{-90.0,78.0},{46.0,24.0}}, lineColor=
{0,0,0}),Rectangle(extent={{40.0,-4.0},{92.0,-46.0}}, lineColor={0,0,0})}
#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
#Error filling slot, id =textStyle
#Error, too few equations. Underdetermined system
#Error, matching failed
#Error, too few equations. Underdetermined system
#Error, matching failed
#Error, too few equations. Underdetermined system
#Error, matching failed

"
end record

comment:2 Changed 18 years ago by adrpo

Really old bug.
I'll change it to fixed.
It works with this model:
model test ""

Modelica.Blocks.Sources.Constant constant1;
Modelica.Blocks.Continuous.Der der1;

equation

connect(constant1.y,der1.u);

end test;

Note: See TracTickets for help on using tickets.