Hudson logo

FailedConsole Output

Skipping 1,252 KB.. Full Log
lectrical.QuasiStationary.MultiPhase.Ideal.IdealCommutingSwitch
        idealCommutingSwitch(
        final m=m,
        Ron=fill(1e-5, m),
        Goff=fill(1e-5, m)) annotation (Placement(transformation(
            origin={40,20},
            extent={{-10,10},{10,-10}},
            rotation=270)));
      Modelica.Electrical.QuasiStationary.MultiPhase.Basic.Resistor rheostat(
          final m=m, R_ref=fill(RStart, m)) annotation (Placement(
            transformation(extent={{0,-30},{-20,-10}})));
      Modelica.Electrical.QuasiStationary.MultiPhase.Basic.Star starRheostat(
          final m=m) annotation (Placement(transformation(extent={{-40,-30},{-60,
                -10}})));
      Modelica.Blocks.Sources.BooleanStep booleanStep[m](final startTime=fill(
            tStart, m), final startValue=fill(false, m)) annotation (Placement(
            transformation(extent={{-60,10},{-40,30}})));
    equation
      connect(booleanStep.y, idealCommutingSwitch.control) annotation (Line(
          points={{-39,20},{28,20}}, color={255,0,255}));
      connect(idealCommutingSwitch.plug_p, plug_p) annotation (Line(
          points={{40,30},{40,60},{100,60}}, color={85,170,255}));
      connect(idealCommutingSwitch.plug_n1, rheostat.plug_p) annotation (Line(
          points={{36,10},{36,-20},{0,-20}}, color={85,170,255}));
      connect(rheostat.plug_n, starRheostat.plug_p) annotation (Line(
          points={{-20,-20},{-40,-20}}, color={85,170,255}));
      connect(starRheostat.pin_n, ground.pin) annotation (Line(
          points={{-60,-20},{-60,-60},{-70,-60}}, color={85,170,255}));
      connect(ground.pin, star.pin_n) annotation (Line(
          points={{-70,-60},{-60,-60}}, color={85,170,255}));
      connect(star.plug_p, idealCommutingSwitch.plug_n2) annotation (Line(
          points={{-40,-60},{40,-60},{40,10}}, color={85,170,255}));
      connect(plug_n, idealCommutingSwitch.plug_n2) annotation (Line(
          points={{100,-60},{40,-60},{40,10}}, color={85,170,255}));
      annotation (defaultComponentName=\"rheostat\",
        Icon(coordinateSystem(
            preserveAspectRatio=false,
            extent={{-100,-100},{100,100}},
            grid={2,2}), graphics={Rectangle(
                  extent={{26,40},{54,-40}},
                  lineColor={85,170,255},
                  fillColor={255,255,255},
                  fillPattern=FillPattern.Solid),Line(points={{100,60},{-40,60},
              {-40,40}}, color={85,170,255}),
                                          Line(points={{100,-60},{-40,-60},{-40,
              -40}}, color={85,170,255}),
                                      Ellipse(extent={{-44,40},{-36,32}},
              lineColor={85,170,255}),
                                   Ellipse(extent={{-44,-32},{-36,-40}},
              lineColor={85,170,255}),
                                   Line(points={{-80,40},{-42,-34}}, color={85,170,255}),
              Line(points={{40,40},{40,42},{40,60}}, color={85,170,255}),
              Line(points={{40,-40},{40,-60}}, color={85,170,255}),
                                                                Line(points={{
              10,-80},{70,-80}}, color={85,170,255}),
                                                  Line(points={{40,-60},{40,-80}},
              color={85,170,255}),
                               Line(points={{20,-90},{60,-90}}, color={85,170,255}),
              Line(points={{30,-100},{50,-100}}, color={85,170,255})}),
        Documentation(info=\"<html>
<p>Switched rheostat, used for starting induction motors with slipring rotor:</p>
<p>The external rotor resistance <code>RStart</code> is shortened at time <code>tStart</code>.</p>
</html>\"));
    end SwitchedRheostat;

    model CurrentController \"Current controller\"
      parameter Integer m=3 \"Number of phases\";
      parameter Integer p \"Number of pole pairs\";
      parameter Modelica.SIunits.Angle gamma0=0
        \"Offset added to electrical rotor angle\";
      Modelica.Blocks.Interfaces.RealInput id_rms annotation (Placement(
            transformation(extent={{-140,40},{-100,80}})));
      Modelica.Blocks.Interfaces.RealInput iq_rms annotation (Placement(
            transformation(extent={{-140,-80},{-100,-40}})));
      Modelica.Blocks.Interfaces.RealInput phi annotation (Placement(
            transformation(
            origin={0,-120},
            extent={{20,-20},{-20,20}},
            rotation=270)));
      Modelica.Blocks.Math.Gain toGamma(k=p) annotation (Placement(
            transformation(
            origin={0,-70},
            extent={{10,-10},{-10,10}},
            rotation=270)));
      Modelica.ComplexBlocks.Interfaces.ComplexOutput I[m]
        \"Multi phase current phasors\"
        annotation (Placement(transformation(extent={{100,30},{120,50}})));
      Modelica.Blocks.Interfaces.RealOutput gamma(unit=\"rad\") \"Reference angle of source\"
        annotation (Placement(transformation(extent={{100,-50},{120,-30}})));
      Electrical.QuasiStationary.MultiPhase.Blocks.SingleToMultiPhase
        singleToMultiPhase(final m=m)
        annotation (Placement(transformation(extent={{20,30},{40,50}})));
      Modelica.ComplexBlocks.ComplexMath.RealToComplex realToComplex
        annotation (Placement(transformation(extent={{-40,30},{-20,50}})));
      Modelica.Blocks.Math.Add add
        annotation (Placement(transformation(extent={{40,-50},{60,-30}})));
      Modelica.Blocks.Sources.Constant const(final k=gamma0) annotation (
          Placement(transformation(
            extent={{-10,-10},{10,10}},
            rotation=90,
            origin={30,-70})));
    equation
      connect(phi, toGamma.u)
        annotation (Line(points={{0,-120},{0,-82}}, color={85,170,255}));
      connect(singleToMultiPhase.y, I) annotation (Line(
          points={{41,40},{110,40}}, color={85,170,255}));
      connect(toGamma.y, add.u1) annotation (Line(
          points={{0,-59},{0,-34},{38,-34}}, color={85,170,255}));
      connect(const.y, add.u2) annotation (Line(
          points={{30,-59},{30,-46},{38,-46}}, color={85,170,255}));
      connect(add.y, gamma) annotation (Line(
          points={{61,-40},{110,-40}}, color={85,170,255}));
      connect(id_rms, realToComplex.re) annotation (Line(
          points={{-120,60},{-60,60},{-60,46},{-42,46}}, color={85,170,255}));
      connect(iq_rms, realToComplex.im) annotation (Line(
          points={{-120,-60},{-60,-60},{-60,34},{-42,34}}, color={85,170,255}));
      connect(realToComplex.y, singleToMultiPhase.u) annotation (Line(
          points={{-19,40},{18,40}}, color={85,170,255}));
      annotation (defaultComponentName=\"currentController\",
        Icon(coordinateSystem(preserveAspectRatio=false, extent={{-100,-100},{
                100,100}}), graphics={Rectangle(
                  extent={{-100,100},{100,-100}},
                  fillColor={255,255,255},
                  fillPattern=FillPattern.Solid),Text(
                  extent={{-100,60},{20,40}},
                  lineColor={0,0,255},
                  textString=\"id_rms\"),Text(
                  extent={{-100,-40},{20,-60}},
                  lineColor={0,0,255},
                  textString=\"iq_rms\"),     Text(
            extent={{-150,150},{150,110}},
            textString=\"%name\",
            lineColor={0,0,255})}),
        Documentation(info=\"<html>
<p>
This is a simple current controller.
The desired RMS values of d  and q component of the quasi static space phasor current in rotor fixed coordinate system are the inputs <code>id_rms</code> and <code>iq_rms</code>.
Using the given rotor position input <code>phi</code>, the quasi static <code>m</code> phase output currents <code>i[m]</code> are calculated.
The model output can be used to feed a quasi static current source with phase input to supply synchronous machines.
</p>
</html>\"));
    end CurrentController;

    model SwitchYD \"Y-D-switch\"
      parameter Integer m=3 \"Number of phases\";
      Modelica.Electrical.QuasiStationary.MultiPhase.Interfaces.PositivePlug plugSupply(final m=
           m) \"To grid\" annotation (Placement(transformation(extent={{-10,90},{
                10,110}})));
      Modelica.Electrical.QuasiStationary.MultiPhase.Interfaces.PositivePlug plug_sp(final m=m)
        \"To positive stator plug\" annotation (Placement(transformation(extent={
                {50,-90},{70,-110}})));
      Modelica.Electrical.QuasiStationary.MultiPhase.Interfaces.NegativePlug plug_sn(final m=m)
        \"To negative stator plug\" annotation (Placement(transformation(extent={
                {-70,-90},{-50,-110}})));
      Modelica.Electrical.QuasiStationary.MultiPhase.Basic.Star star(final m=m) annotation (
          Placement(transformation(extent={{20,-50},{40,-30}})));
      Modelica.Electrical.QuasiStationary.MultiPhase.Basic.Delta delta(final m=m) annotation (
          Placement(transformation(extent={{40,-80},{20,-60}})));
      Modelica.Electrical.QuasiStationary.MultiPhase.Ideal.IdealCommutingSwitch
        idealCommutingSwitch(
        final m=m,
        Ron=fill(1e-5, m),
        Goff=fill(1e-5, m)) annotation (Placement(transformation(extent={{-10,-70},
                {10,-50}})));
      Modelica.Blocks.Interfaces.BooleanInput control[m] annotation (Placement(
            transformation(extent={{-120,0},{-100,20}}), iconTransformation(extent={{-140,-20},{-100,20}})));
    equation
      connect(delta.plug_p, plugSupply) annotation (Line(points={{40,-70},{60,-70},
              {60,100},{0,100}}, color={85,170,255}));
      connect(delta.plug_p, plug_sp) annotation (Line(points={{40,-70},{60,-70},
              {60,-100}}, color={85,170,255}));
      connect(idealCommutingSwitch.plug_n2, delta.plug_n) annotation (Line(
            points={{10,-60},{10,-70},{20,-70}}, color={85,170,255}));
      connect(idealCommutingSwitch.plug_n1, star.plug_p) annotation (Line(
            points={{10,-56},{10,-40},{20,-40}}, color={85,170,255}));
      connect(idealCommutingSwitch.plug_p, plug_sn) annotation (Line(points={{-10,
              -60},{-60,-60},{-60,-100}}, color={85,170,255}));
      connect(control, idealCommutingSwitch.control)
        annotation (Line(points={{-110,10},{0,10},{0,-48}},
                                                          color={255,0,255}));
      annotation (Icon(coordinateSystem(preserveAspectRatio=true, extent={{-100,
                -100},{100,100}}), graphics={
            Line(
              points={{20,22},{40,12},{60,22},{40,12},{40,-10}},
              color={85,170,255}),
            Ellipse(
              extent={{-64,-16},{-56,-24}},
              lineColor={85,170,255},
              fillColor={255,255,255},
              fillPattern=FillPattern.Solid),
            Ellipse(
              extent={{-4,4},{4,-4}},
              lineColor={85,170,255},
              fillColor={255,255,255},
              fillPattern=FillPattern.Solid),
            Ellipse(
              extent={{-4,-36},{4,-44}},
              lineColor={85,170,255},
              fillColor={255,255,255},
              fillPattern=FillPattern.Solid),
            Line(points={{-2,-20},{-56,-20}}, color={85,170,255}),
            Line(points={{40,-62},{20,-30},{60,-30},{40,-62}}, color={85,170,255}),
            Line(points={{0,90},{0,88},{0,80},{80,80},{80,78},{80,-40},{60,-40}}, color={85,170,255}),
            Line(points={{4,0},{20,0}}, color={85,170,255}),
            Line(points={{4,-40},{20,-40}}, color={85,170,255}),
            Line(points={{-60,-24},{-60,-90}}, color={85,170,255}),
            Line(
              points={{-100,0},{-30,0},{-30,-20}},
              color={255,0,255},
              pattern=LinePattern.Dash),
            Line(points={{60,-90},{60,-40}}, color={85,170,255})}),
                                Documentation(info=\"<html>
Simple Star-Delta-switch.<br>
If <em>control</em> is false, plug_sp and plug_sn are star connected and plug_sp connected to the supply plug.<br>
If <em>control</em> is true, plug_sp and plug_sn are delta connected and they are connected to the supply plug.
</html>\"));
    end SwitchYD;
  end Utilities;
  annotation (preferredView=\"info\", Documentation(info=\"<html>
  <p><strong>For a discrimination of various machine models, see <a href=\\\"modelica://Modelica.Electrical.Machines.UsersGuide.Discrimination\\\">discrimination</a></strong>.</p>
<p>
Copyright &copy; 2013-2019, Modelica Association and contributors
</p>
</html>\"),
    Icon(graphics={
        Rectangle(
          extent={{-40,60},{-60,-60}},
          fillPattern=FillPattern.HorizontalCylinder,
          fillColor={128,128,128}),
        Rectangle(
          extent={{-40,70},{40,50}},
          lineColor={95,95,95},
          fillColor={95,95,95},
          fillPattern=FillPattern.Solid),
        Rectangle(
          extent={{-40,60},{80,-60}},
          fillPattern=FillPattern.HorizontalCylinder,
          fillColor={255,206,120}),
        Rectangle(
          extent={{80,10},{100,-10}},
          fillPattern=FillPattern.HorizontalCylinder,
          fillColor={95,95,95}),
        Polygon(
          points={{-50,-90},{-40,-90},{-10,-20},{40,-20},{70,-90},{80,-90},
              {80,-100},{-50,-100},{-50,-90}},
          fillPattern=FillPattern.Solid)}));
end FundamentalWave;
"
true
""
true
""
true
true
make[1]: Entering directory '/var/lib/hudson/slave/workspace/OpenModelica_UPDATE_LIBRARIES'
diff -u -x .svn -x .git -x Library -r "git/Modelica/Modelica" "build/Modelica 3.2.3" > "Modelica 3.2.3.patch.tmp"
Makefile:169: recipe for target 'Modelica 3.2.3.patch' failed
make[1]: [Modelica 3.2.3.patch] Error 1 (ignored)
sed -i /^Only.in/d "Modelica 3.2.3.patch.tmp"
sed -i 's/^\([+-][+-][+-]\) "\([^"]*\)"/\1 \2/' "Modelica 3.2.3.patch.tmp"
mv "Modelica 3.2.3.patch.tmp" "Modelica 3.2.3.patch"
make[1]: Leaving directory '/var/lib/hudson/slave/workspace/OpenModelica_UPDATE_LIBRARIES'
make[1]: Entering directory '/var/lib/hudson/slave/workspace/OpenModelica_UPDATE_LIBRARIES'
diff -u -w -x .svn -x .git -x Library -r "git/Modelica/ModelicaServices" "build/ModelicaServices 3.2.3" > "ModelicaServices 3.2.3.patch.tmp"
Makefile:174: recipe for target 'ModelicaServices 3.2.3.patch' failed
make[1]: [ModelicaServices 3.2.3.patch] Error 1 (ignored)
sed -i /^Only.in/d "ModelicaServices 3.2.3.patch.tmp"
sed -i 's/^\([+-][+-][+-]\) "\([^"]*\)"/\1 \2/' "ModelicaServices 3.2.3.patch.tmp"
mv "ModelicaServices 3.2.3.patch.tmp" "ModelicaServices 3.2.3.patch"
make[1]: Leaving directory '/var/lib/hudson/slave/workspace/OpenModelica_UPDATE_LIBRARIES'

HEAD is now at 5673c87 refs #3099: Remove superfluous function output (#3209)
HEAD is now at 5673c87... refs #3099: Remove superfluous function output (#3209)
HEAD is now at 5673c87 refs #3099: Remove superfluous function output (#3209)

Copy library [Complex] version [] from /var/lib/hudson/slave/workspace/OpenModelica_UPDATE_LIBRARIES
true
""
true
""
"3.2.3"
""
true
""
{}
""
Error processing file: get-version.27844.mos
[/var/lib/hudson/slave/workspace/OpenModelica_UPDATE_LIBRARIES/get-version.27844.mos:6:1-6:69:writable] Error: Wrong number of subscripts in uses[i,1] (2 subscripts for 1 dimensions).
[/var/lib/hudson/slave/workspace/OpenModelica_UPDATE_LIBRARIES/get-version.27844.mos:6:1-6:69:writable] Error: Variable uses[i,1] not found in scope $foriter loop scope$.

# Error encountered! Exiting...
# Please check the error message and the flags.

Execution failed!
Got version 3.2.3 for Complex
Copy: cp -a git/Modelica/Complex.mo .customBuild/Modelica/28db1ee735cfe931c548e79554f6e8ae4081e54a/Complex 3.2.3.mo
Removing files: [.customBuild/Modelica/28db1ee735cfe931c548e79554f6e8ae4081e54a/Complex 3.2.3.mo/Resources/Library]
true
""
true
""
"3.2.3"
""
true
""
{}
""
Error processing file: get-version.27861.mos
[/var/lib/hudson/slave/workspace/OpenModelica_UPDATE_LIBRARIES/get-version.27861.mos:6:1-6:69:writable] Error: Wrong number of subscripts in uses[i,1] (2 subscripts for 1 dimensions).
[/var/lib/hudson/slave/workspace/OpenModelica_UPDATE_LIBRARIES/get-version.27861.mos:6:1-6:69:writable] Error: Variable uses[i,1] not found in scope $foriter loop scope$.

# Error encountered! Exiting...
# Please check the error message and the flags.

Execution failed!
bash: bad-uses.sh: No such file or directory
3.2.3+build.3-17-g5673c87
.customBuild/Modelica/28db1ee735cfe931c548e79554f6e8ae4081e54a/Complex 3.2.3.mo turned to Complex 3.2.3
Copy library [Modelica] version [] from /var/lib/hudson/slave/workspace/OpenModelica_UPDATE_LIBRARIES
true
""
true
""
"3.2.3"
""
true
""
{{"Complex","3.2.3"},{"ModelicaServices","3.2.3"}}
""
"Complex 3.2.3
ModelicaServices 3.2.3
"
true
""
Got version 3.2.3 for Modelica
Copy: cp -a git/Modelica/Modelica .customBuild/Modelica/28db1ee735cfe931c548e79554f6e8ae4081e54a/Modelica 3.2.3
Removing files: [.customBuild/Modelica/28db1ee735cfe931c548e79554f6e8ae4081e54a/Modelica 3.2.3/Resources/Library]
patching file 'Modelica 3.2.3/Magnetic/QuasiStatic/FundamentalWave.mo'
patching file 'Modelica 3.2.3/Math/package.mo'
patching file 'Modelica 3.2.3/Math/package.order'
Applied Modelica 3.2.3.patch
true
""
true
""
"3.2.3"
""
true
""
{{"Complex","3.2.3"},{"ModelicaServices","3.2.3"}}
""
"Complex 3.2.3
ModelicaServices 3.2.3
"
true
""
bash: bad-uses.sh: No such file or directory
3.2.3+build.3-17-g5673c87-om2
.customBuild/Modelica/28db1ee735cfe931c548e79554f6e8ae4081e54a/Modelica 3.2.3/package.mo turned to Modelica 3.2.3
Copy library [ModelicaReference] version [none] from /var/lib/hudson/slave/workspace/OpenModelica_UPDATE_LIBRARIES
Copy: cp -a git/Modelica/ModelicaReference .customBuild/Modelica/28db1ee735cfe931c548e79554f6e8ae4081e54a/ModelicaReference
Removing files: [.customBuild/Modelica/28db1ee735cfe931c548e79554f6e8ae4081e54a/ModelicaReference/Resources/Library]
true
""
true
""
"3.2.3"
""
true
""
{}
""
Error processing file: get-version.28004.mos
[/var/lib/hudson/slave/workspace/OpenModelica_UPDATE_LIBRARIES/get-version.28004.mos:6:1-6:69:writable] Error: Wrong number of subscripts in uses[i,1] (2 subscripts for 1 dimensions).
[/var/lib/hudson/slave/workspace/OpenModelica_UPDATE_LIBRARIES/get-version.28004.mos:6:1-6:69:writable] Error: Variable uses[i,1] not found in scope $foriter loop scope$.

# Error encountered! Exiting...
# Please check the error message and the flags.

Execution failed!
mv: cannot stat '.customBuild/Modelica/28db1ee735cfe931c548e79554f6e8ae4081e54a/ModelicaReference 3.2.3.uses': No such file or directory
bash: bad-uses.sh: No such file or directory
20191108-090652~git~maint-3.2.3
.customBuild/Modelica/28db1ee735cfe931c548e79554f6e8ae4081e54a/ModelicaReference/package.mo turned to ModelicaReference
Copy library [ModelicaServices] version [] from /var/lib/hudson/slave/workspace/OpenModelica_UPDATE_LIBRARIES
true
""
true
""
"3.2.3"
""
true
""
{{"Modelica","3.2.3"}}
""
"Modelica 3.2.3
"
true
""
Got version 3.2.3 for ModelicaServices
Copy: cp -a git/Modelica/ModelicaServices .customBuild/Modelica/28db1ee735cfe931c548e79554f6e8ae4081e54a/ModelicaServices 3.2.3
Removing files: [.customBuild/Modelica/28db1ee735cfe931c548e79554f6e8ae4081e54a/ModelicaServices 3.2.3/Resources/Library]
patching file 'ModelicaServices 3.2.3/package.mo'
Applied ModelicaServices 3.2.3.patch
3.2.3+build.3-17-g5673c87-om2
.customBuild/Modelica/28db1ee735cfe931c548e79554f6e8ae4081e54a/ModelicaServices 3.2.3/package.mo turned to ModelicaServices 3.2.3
Copy library [ModelicaTest] version [] from /var/lib/hudson/slave/workspace/OpenModelica_UPDATE_LIBRARIES
true
""
true
""
"3.2.3"
""
true
""
{{"Modelica","3.2.3"}}
""
"Modelica 3.2.3
"
true
""
Got version 3.2.3 for ModelicaTest
Copy: cp -a git/Modelica/ModelicaTest .customBuild/Modelica/28db1ee735cfe931c548e79554f6e8ae4081e54a/ModelicaTest 3.2.3
Removing files: [.customBuild/Modelica/28db1ee735cfe931c548e79554f6e8ae4081e54a/ModelicaTest 3.2.3/Resources/Library]
true
""
true
""
"3.2.3"
""
true
""
{{"Modelica","3.2.3"}}
""
"Modelica 3.2.3
"
true
""
bash: bad-uses.sh: No such file or directory
3.2.3+build.3-17-g5673c87
.customBuild/Modelica/28db1ee735cfe931c548e79554f6e8ae4081e54a/ModelicaTest 3.2.3/package.mo turned to ModelicaTest 3.2.3
From https://github.com/modelica/Modelica
 * branch            HEAD       -> FETCH_HEAD
fatal: Invalid revision range 5673c87ef4f20870c96394a66cd5ab3e828dfa3e..28db1ee735cfe931c548e79554f6e8ae4081e54a
HEAD is now at 5673c87 refs #3099: Remove superfluous function output (#3209)
HEAD is now at e0783d8... Fix models broken by #3214 (#3238)
HEAD is now at e0783d8 Fix models broken by #3214 (#3238)

Copy library [Complex] version [trunk] from /var/lib/hudson/slave/workspace/OpenModelica_UPDATE_LIBRARIES
Copy: cp -a git/Modelica/Complex.mo build//Complex trunk.mo
Removing files: [build//Complex trunk.mo/Resources/Library]
true
""
true
""
"4.0.0-dev"
""
true
""
{}
""
Error processing file: get-version.28282.mos
[/var/lib/hudson/slave/workspace/OpenModelica_UPDATE_LIBRARIES/get-version.28282.mos:6:1-6:69:writable] Error: Wrong number of subscripts in uses[i,1] (2 subscripts for 1 dimensions).
[/var/lib/hudson/slave/workspace/OpenModelica_UPDATE_LIBRARIES/get-version.28282.mos:6:1-6:69:writable] Error: Variable uses[i,1] not found in scope $foriter loop scope$.

# Error encountered! Exiting...
# Please check the error message and the flags.

Execution failed!
mv: cannot stat 'build//Complex 4.0.0-dev.uses': No such file or directory
bash: bad-uses.sh: No such file or directory
20191125-202001~git~master-om1
build//Complex trunk.mo turned to Complex trunk
Copy library [Modelica] version [trunk] from /var/lib/hudson/slave/workspace/OpenModelica_UPDATE_LIBRARIES
Copy: cp -a git/Modelica/Modelica build//Modelica trunk
Removing files: [build//Modelica trunk/Resources/Library]
true
""
true
""
"4.0.0-dev"
""
true
""
{{"Complex","4.0.0-dev"},{"ModelicaServices","4.0.0-dev"}}
""
"Complex 4.0.0-dev
ModelicaServices 4.0.0-dev
"
true
""
bash: bad-uses.sh: No such file or directory
20191125-202001~git~master-om1
build//Modelica trunk/package.mo turned to Modelica trunk
Copy library [ModelicaReference] version [trunk] from /var/lib/hudson/slave/workspace/OpenModelica_UPDATE_LIBRARIES
Copy: cp -a git/Modelica/ModelicaReference build//ModelicaReference trunk
Removing files: [build//ModelicaReference trunk/Resources/Library]
true
""
true
""
"4.0.0-dev"
""
true
""
{}
""
Error processing file: get-version.28421.mos
[/var/lib/hudson/slave/workspace/OpenModelica_UPDATE_LIBRARIES/get-version.28421.mos:6:1-6:69:writable] Error: Wrong number of subscripts in uses[i,1] (2 subscripts for 1 dimensions).
[/var/lib/hudson/slave/workspace/OpenModelica_UPDATE_LIBRARIES/get-version.28421.mos:6:1-6:69:writable] Error: Variable uses[i,1] not found in scope $foriter loop scope$.

# Error encountered! Exiting...
# Please check the error message and the flags.

Execution failed!
mv: cannot stat 'build//ModelicaReference 4.0.0-dev.uses': No such file or directory
bash: bad-uses.sh: No such file or directory
20191125-202001~git~master
build//ModelicaReference trunk/package.mo turned to ModelicaReference trunk
Copy library [ModelicaServices] version [trunk] from /var/lib/hudson/slave/workspace/OpenModelica_UPDATE_LIBRARIES
Copy: cp -a git/Modelica/ModelicaServices build//ModelicaServices trunk
Removing files: [build//ModelicaServices trunk/Resources/Library]
20191125-202001~git~master-om1
build//ModelicaServices trunk/package.mo turned to ModelicaServices trunk
Copy library [ModelicaTest] version [trunk] from /var/lib/hudson/slave/workspace/OpenModelica_UPDATE_LIBRARIES
Copy: cp -a git/Modelica/ModelicaTest build//ModelicaTest trunk
Removing files: [build//ModelicaTest trunk/Resources/Library]
true
""
true
""
"4.0.0-dev"
""
true
""
{{"Modelica","4.0.0-dev"}}
""
"Modelica 4.0.0-dev
"
true
""
bash: bad-uses.sh: No such file or directory
20191125-202001~git~master
build//ModelicaTest trunk/package.mo turned to ModelicaTest trunk
"Modelica.trunk.tmp.mos"
patching file 'ModelicaServices trunk/package.mo'
Hunk #1 succeeded at 144 (offset -549 lines).


"Notification: Skipped loading package ModelicaServices (4.0.0-dev) using MODELICAPATH /var/lib/hudson/slave/workspace/OpenModelica_UPDATE_LIBRARIES/build:/usr/bin/../lib/omlibrary:/var/lib/hudson/slave/.openmodelica/libraries/ (uses-annotation may be wrong).
"
"/var/lib/hudson/slave/workspace/OpenModelica_UPDATE_LIBRARIES/build/Modelica trunk/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_YD.mo"
"within Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines;
model IMC_YD \"Induction machine with squirrel cage starting Y-D\"
  import Modelica.Constants.pi;
  extends Modelica.Icons.Example;
  constant Integer m=3 \"Number of phases\";
  parameter Modelica.SIunits.Voltage VNominal=100
    \"Nominal RMS voltage per phase\";
  parameter Modelica.SIunits.Frequency fNominal=imc.fsNominal \"Nominal frequency\";
  parameter Modelica.SIunits.Time tStart1=0.1 \"Start time\";
  parameter Modelica.SIunits.Time tStart2=2.0 \"Start time from Y to D\";
  parameter Modelica.SIunits.Torque TLoad=161.4 \"Nominal load torque\";
  parameter Modelica.SIunits.AngularVelocity wLoad(displayUnit=\"rev/min\")=
       1440.45*2*Modelica.Constants.pi/60 \"Nominal load speed\";
  parameter Modelica.SIunits.Inertia JLoad=0.29
    \"Load's moment of inertia\";
  Magnetic.QuasiStatic.FundamentalWave.BasicMachines.InductionMachines.IM_SquirrelCage
    imcQS(
    p=imcData.p,
    fsNominal=imcData.fsNominal,
    TsRef=imcData.TsRef,
    alpha20s(displayUnit=\"1/K\") = imcData.alpha20s,
    Jr=imcData.Jr,
    Js=imcData.Js,
    frictionParameters=imcData.frictionParameters,
    wMechanical(fixed=true),
    gammar(fixed=true, start=pi/2),
    gamma(fixed=true, start=-pi/2),
    statorCoreParameters=imcData.statorCoreParameters,
    strayLoadParameters=imcData.strayLoadParameters,
    Lrsigma=imcData.Lrsigma,
    TrRef=imcData.TrRef,
    Rs=imcData.Rs*m/3,
    Lssigma=imcData.Lssigma*m/3,
    Lm=imcData.Lm*m/3,
    Rr=imcData.Rr*m/3,
    m=m,
    TsOperational=293.15,
    effectiveStatorTurns=imcData.effectiveStatorTurns,
    alpha20r=imcData.alpha20r,
    TrOperational=293.15)
    annotation (Placement(transformation(extent={{20,10},{40,30}})));
  Modelica.Electrical.QuasiStatic.Polyphase.Sensors.CurrentQuasiRMSSensor currentQuasiRMSSensorQS(m=m) annotation (Placement(transformation(
        extent={{-10,10},{10,-10}},
        rotation=270,
        origin={30,70})));
  Modelica.Electrical.QuasiStatic.Polyphase.Sources.VoltageSource sineVoltageQS(
    final m=m,
    f=fNominal,
    V=fill(VNominal/sqrt(3), m)) annotation (Placement(transformation(
        origin={-30,90},
        extent={{10,10},{-10,-10}})));
  Modelica.Electrical.QuasiStatic.Polyphase.Basic.Star starQS(final m=m) annotation (Placement(transformation(extent={{-50,80},{-70,100}})));
  Modelica.Electrical.QuasiStatic.SinglePhase.Basic.Ground groundQS annotation (Placement(transformation(
        origin={-90,90},
        extent={{-10,-10},{10,10}},
        rotation=270)));
  Modelica.Blocks.Sources.BooleanStep booleanStepQS[m](each startTime=tStart1) annotation (Placement(transformation(extent={{-80,50},{-60,70}})));
  Modelica.Electrical.QuasiStatic.Polyphase.Ideal.IdealClosingSwitch idealCloserQS(
    final m=m,
    Ron=fill(1e-5, m),
    Goff=fill(1e-5, m)) annotation (Placement(transformation(
        origin={0,90},
        extent={{-10,10},{10,-10}})));
  Magnetic.QuasiStatic.FundamentalWave.Utilities.SwitchYD switchYDQS(final m=m)
    annotation (Placement(transformation(extent={{20,30},{40,50}})));
  Modelica.Blocks.Sources.BooleanStep booleanStepYDQS[m](each startTime=tStart2) annotation (Placement(transformation(extent={{-40,30},{-20,50}})));
  Modelica.Mechanics.Rotational.Components.Inertia loadInertiaQS(J=JLoad) annotation (Placement(transformation(extent={{50,10},{70,30}})));
  Modelica.Mechanics.Rotational.Sources.QuadraticSpeedDependentTorque quadraticLoadTorqueQS(
    w_nominal=wLoad,
    TorqueDirection=false,
    tau_nominal=-TLoad,
    useSupport=false) annotation (Placement(transformation(extent={{100,10},{80,30}})));
  parameter
    Modelica.Electrical.Machines.Utilities.ParameterRecords.IM_SquirrelCageData
    imcData \"Induction machine data\"
    annotation (Placement(transformation(extent={{70,72},{90,92}})));

  Magnetic.FundamentalWave.BasicMachines.InductionMachines.IM_SquirrelCage imc(
    p=imcData.p,
    fsNominal=imcData.fsNominal,
    TsRef=imcData.TsRef,
    alpha20s(displayUnit=\"1/K\") = imcData.alpha20s,
    Jr=imcData.Jr,
    Js=imcData.Js,
    frictionParameters=imcData.frictionParameters,
    phiMechanical(fixed=true),
    wMechanical(fixed=true),
    statorCoreParameters=imcData.statorCoreParameters,
    strayLoadParameters=imcData.strayLoadParameters,
    TrRef=imcData.TrRef,
    Rs=imcData.Rs*m/3,
    Lssigma=imcData.Lssigma*m/3,
    Lszero=imcData.Lszero*m/3,
    Lm=imcData.Lm*m/3,
    Lrsigma=imcData.Lrsigma*m/3,
    Rr=imcData.Rr*m/3,
    m=m,
    TsOperational=293.15,
    effectiveStatorTurns=imcData.effectiveStatorTurns,
    alpha20r=imcData.alpha20r,
    TrOperational=293.15)
    annotation (Placement(transformation(extent={{20,-90},{40,-70}})));
  Modelica.Electrical.Machines.Sensors.CurrentQuasiRMSSensor
                                                    currentQuasiRMSSensor annotation (Placement(transformation(extent={{-10,10},{10,-10}}, rotation=270,
        origin={30,-30})));
  Modelica.Electrical.Polyphase.Sources.SineVoltage sineVoltage(
    final m=m,
    f=fill(fNominal, m),
    V=fill(sqrt(2/3)*VNominal, m)) annotation (Placement(transformation(
        origin={-30,-10},
        extent={{10,10},{-10,-10}})));
  Modelica.Electrical.Polyphase.Basic.Star star(final m=m) annotation (
      Placement(transformation(extent={{-50,-20},{-70,0}})));
  Modelica.Electrical.Analog.Basic.Ground ground annotation (Placement(
        transformation(
        origin={-90,-10},
        extent={{-10,-10},{10,10}},
        rotation=270)));
  Modelica.Blocks.Sources.BooleanStep booleanStep[m](each startTime=
        tStart1) annotation (Placement(transformation(extent={{-80,-50},{-60,-30}})));
  Modelica.Electrical.Polyphase.Ideal.IdealClosingSwitch idealCloser(
    final m=m,
    Ron=fill(1e-5, m),
    Goff=fill(1e-5, m)) annotation (Placement(transformation(
        origin={0,-10},
        extent={{-10,10},{10,-10}})));
  Modelica.Electrical.Machines.Utilities.SwitchYD
                                         switchYD(m=m) annotation (Placement(transformation(extent={{20,-70},{40,-50}})));
  Modelica.Blocks.Sources.BooleanStep booleanStepYD[m](each startTime=
        tStart2) annotation (Placement(transformation(extent={{-40,-70},{-20,-50}})));
  Modelica.Mechanics.Rotational.Components.Inertia loadInertia(J=JLoad)
    annotation (Placement(transformation(extent={{50,-90},{70,-70}})));
  Modelica.Mechanics.Rotational.Sources.QuadraticSpeedDependentTorque
    quadraticLoadTorque(
    w_nominal=wLoad,
    TorqueDirection=false,
    tau_nominal=-TLoad,
    useSupport=false) annotation (Placement(transformation(extent={{100,-90},{80,-70}})));
initial equation
  sum(imc.is) = 0;
  imc.is[1:2] = zeros(2);
  imc.rotorCage.electroMagneticConverter.V_m = Complex(0, 0);
equation
  connect(starQS.pin_n, groundQS.pin) annotation (Line(points={{-70,90},{-80,90}}, color={85,170,255}));
  connect(sineVoltageQS.plug_n, starQS.plug_p) annotation (Line(points={{-40,90},{-50,90}}, color={85,170,255}));
  connect(sineVoltageQS.plug_p, idealCloserQS.plug_p) annotation (Line(points={{-20,90},{-10,90}}, color={85,170,255}));
  connect(loadInertiaQS.flange_b, quadraticLoadTorqueQS.flange) annotation (Line(points={{70,20},{80,20}}));
  connect(booleanStepQS.y, idealCloserQS.control) annotation (Line(points={{-59,60},{0,60},{0,78}}, color={255,0,255}));
  connect(booleanStepYDQS.y, switchYDQS.control) annotation (Line(points={{-19,40},{18,40}}, color={255,0,255}));
  connect(idealCloserQS.plug_n, currentQuasiRMSSensorQS.plug_p) annotation (Line(points={{10,90},{10,90},{28,90},{28,90},{30,90},{30,80},{30,80}}, color={85,170,255}));
  connect(switchYDQS.plug_sn, imcQS.plug_sn) annotation (Line(points={{24,30},{24,30}}, color={85,170,255}));
  connect(switchYDQS.plug_sp, imcQS.plug_sp) annotation (Line(points={{36,30},{36,30}}, color={85,170,255}));
  connect(switchYDQS.plugSupply, currentQuasiRMSSensorQS.plug_n) annotation (Line(points={{30,50},{30,60}}, color={85,170,255}));
  connect(imcQS.flange, loadInertiaQS.flange_a) annotation (Line(points={{40,20},{50,20}}));
  connect(star.pin_n,ground. p)
    annotation (Line(points={{-70,-10},{-80,-10}},
                                                 color={0,0,255}));
  connect(sineVoltage.plug_n,star. plug_p)
    annotation (Line(points={{-40,-10},{-50,-10}},    color={0,0,255}));
  connect(sineVoltage.plug_p,idealCloser. plug_p) annotation (Line(points={{-20,-10},{-10,-10}},
                                        color={0,0,255}));
  connect(loadInertia.flange_b,quadraticLoadTorque. flange)
    annotation (Line(points={{70,-80},{80,-80}}));
  connect(booleanStep.y,idealCloser. control) annotation (Line(points={{-59,-40},{0,-40},{0,-22}},
                                          color={255,0,255}));
  connect(booleanStepYD.y,switchYD. control)
    annotation (Line(points={{-19,-60},{18,-60}},  color={255,0,255}));
  connect(idealCloser.plug_n,currentQuasiRMSSensor. plug_p)
    annotation (Line(points={{10,-10},{30,-10},{30,-20}},
                                                    color={0,0,255}));
  connect(switchYD.plug_sn, imc.plug_sn) annotation (Line(points={{24,-70},{24,-70}}, color={0,0,255}));
  connect(switchYD.plug_sp, imc.plug_sp) annotation (Line(points={{36,-70},{36,-70}}, color={0,0,255}));
  connect(switchYD.plugSupply,currentQuasiRMSSensor. plug_n) annotation (
      Line(
      points={{30,-50},{30,-40}}, color={0,0,255}));
  connect(imc.flange, loadInertia.flange_a) annotation (Line(points={{40,-80},{50,-80}}));
  annotation (experiment(StopTime=2.5,Interval=0.0001,Tolerance=1e-06),
    Documentation(
        info=\"<html>
<p>
At start time tStart three-phase voltage is supplied to the induction machine with squirrel cage, first star-connected, then delta-connected; the machine starts from standstill, accelerating inertias against load torque quadratic dependent on speed, finally reaching nominal speed.</p>

<p>Simulate for 2.5 seconds and plot (versus time):</p>

<ul>
<li>currentQuasiRMSSensor.I: stator current RMS</li>
<li>aimc.wMechanical: motor's speed</li>
<li>aimc.tauElectrical: motor's torque</li>
</ul>
<p>
Default machine parameters are used.</p>
</html>\"),
    Diagram(graphics={
        Text(
          extent={{-60,20},{20,12}},
                  textStyle={TextStyle.Bold},
          textString=\"%m phase quasi-static\"), Text(
                  extent={{-60,-80},{20,-88}},
                  fillColor={255,255,170},
                  fillPattern=FillPattern.Solid,
                  textStyle={TextStyle.Bold},
                  textString=\"%m phase transient\")}));
end IMC_YD;
"
"/var/lib/hudson/slave/workspace/OpenModelica_UPDATE_LIBRARIES/build/Modelica trunk/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Transformer.mo"
"within Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines;
model IMC_Transformer \"Induction machine with squirrel cage starting with transformer\"
  import Modelica.Constants.pi;
  extends Modelica.Icons.Example;
  constant Integer m=3 \"Number of phases\";
  parameter Modelica.SIunits.Voltage VNominal=100
    \"Nominal RMS voltage per phase\";
  parameter Modelica.SIunits.Frequency fNominal=imc.fsNominal \"Nominal frequency\";
  parameter Modelica.SIunits.Time tStart1=0.1 \"Start time\";
  parameter Modelica.SIunits.Time tStart2=2.0
    \"Start time of bypass transformer\";
  parameter Modelica.SIunits.Torque TLoad=161.4 \"Nominal load torque\";
  parameter Modelica.SIunits.AngularVelocity wLoad(displayUnit=\"rev/min\")=
       1440.45*2*Modelica.Constants.pi/60 \"Nominal load speed\";
  parameter Modelica.SIunits.Inertia JLoad=0.29
    \"Load's moment of inertia\";
  Magnetic.QuasiStatic.FundamentalWave.BasicMachines.InductionMachines.IM_SquirrelCage
    imcQS(
    p=imcData.p,
    fsNominal=imcData.fsNominal,
    Rs=imcData.Rs,
    TsRef=imcData.TsRef,
    alpha20s(displayUnit=\"1/K\") = imcData.alpha20s,
    Lssigma=imcData.Lssigma,
    Jr=imcData.Jr,
    Js=imcData.Js,
    frictionParameters=imcData.frictionParameters,
    wMechanical(fixed=true),
    gammar(fixed=true, start=pi/2),
    gamma(fixed=true, start=-pi/2),
    statorCoreParameters=imcData.statorCoreParameters,
    strayLoadParameters=imcData.strayLoadParameters,
    Lm=imcData.Lm,
    Lrsigma=imcData.Lrsigma,
    Rr=imcData.Rr,
    TrRef=imcData.TrRef,
    TsOperational=293.15,
    alpha20r=imcData.alpha20r,
    TrOperational=293.15)
    annotation (Placement(transformation(extent={{80,10},{60,30}})));
  Modelica.Electrical.QuasiStatic.Polyphase.Sensors.CurrentQuasiRMSSensor iSensorQS(m=m) annotation (Placement(transformation(
        origin={-40,80},
        extent={{-10,10},{10,-10}})));
  Modelica.Electrical.QuasiStatic.Polyphase.Sources.VoltageSource sineVoltageQS(
    final m=m,
    f=fNominal,
    V=fill(VNominal/sqrt(3), m)) annotation (Placement(transformation(origin={-70,80}, extent={{10,10},{-10,-10}})));
  Modelica.Electrical.QuasiStatic.Polyphase.Basic.Star starQS(final m=m) annotation (Placement(transformation(
        extent={{10,-10},{-10,10}},
        rotation=90,
        origin={-80,50})));
  Modelica.Electrical.QuasiStatic.SinglePhase.Basic.Ground groundQS annotation (Placement(transformation(
        origin={-80,20},
        extent={{-10,-10},{10,10}})));
  Modelica.Blocks.Sources.BooleanStep booleanStep1QS[m](each startTime=tStart1) annotation (Placement(transformation(extent={{-60,40},{-40,60}})));
  Modelica.Electrical.QuasiStatic.Polyphase.Ideal.IdealClosingSwitch idealCloserQS(
    final m=m,
    Ron=fill(1e-5, m),
    Goff=fill(1e-5, m)) annotation (Placement(transformation(
        origin={-10,80},
        extent={{-10,10},{10,-10}})));
  Modelica.Electrical.QuasiStatic.Machines.BasicMachines.Transformers.Yy.Yy00 transformerQS(
    n=transformerData.n,
    R1=transformerData.R1,
    L1sigma=transformerData.L1sigma,
    R2=transformerData.R2,
    L2sigma=transformerData.L2sigma,
    alpha20_1(displayUnit=\"1/K\") = Modelica.Electrical.Machines.Thermal.Constants.alpha20Zero,
    alpha20_2(displayUnit=\"1/K\") = Modelica.Electrical.Machines.Thermal.Constants.alpha20Zero,
    T1Ref=293.15,
    T2Ref=293.15,
    T1Operational=293.15,
    T2Operational=293.15) annotation (Placement(transformation(
        extent={{-10,-10},{10,10}},
        origin={20,80})));

  Modelica.Electrical.QuasiStatic.SinglePhase.Basic.Ground ground2QS annotation (Placement(transformation(
        origin={20,50},
        extent={{-10,-10},{10,10}})));
  parameter Modelica.Electrical.Machines.Utilities.TransformerData transformerData(
    f=fNominal,
    V1=VNominal,
    C1=Modelica.Utilities.Strings.substring(
        transformerQS.VectorGroup,
        1,
        1),
    V2=VNominal/sqrt(3),
    C2=Modelica.Utilities.Strings.substring(
        transformerQS.VectorGroup,
        2,
        2),
    SNominal=50E3,
    v_sc=0.06,
    P_sc=500) \"Transformer data\" annotation (Placement(transformation(extent={{80,80},{100,100}})));
  Modelica.Blocks.Sources.BooleanStep booleanStep2QS[m](each startTime=tStart2) annotation (Placement(transformation(extent={{-60,10},{-40,30}})));
  Modelica.Electrical.QuasiStatic.Polyphase.Ideal.IdealCommutingSwitch idealCommutingSwitchQS(
    final m=m,
    Ron=fill(1e-5, m),
    Goff=fill(50E-5, m)) annotation (Placement(transformation(
        extent={{10,10},{-10,-10}},
        origin={50,80})));
  Modelica.Mechanics.Rotational.Components.Inertia loadInertiaQS(J=JLoad) annotation (Placement(transformation(extent={{50,10},{30,30}})));
  Modelica.Mechanics.Rotational.Sources.QuadraticSpeedDependentTorque quadraticLoadTorqueQS(
    w_nominal=wLoad,
    TorqueDirection=false,
    tau_nominal=-TLoad,
    useSupport=false) annotation (Placement(transformation(extent={{0,10},{20,30}})));
  Magnetic.QuasiStatic.FundamentalWave.Utilities.TerminalBox terminalBoxQS(
      terminalConnection=\"D\", m=m)
    annotation (Placement(transformation(extent={{80,26},{60,46}})));
  parameter Modelica.Electrical.Machines.Utilities.ParameterRecords.IM_SquirrelCageData imcData \"Induction machine data\" annotation (Placement(transformation(extent={{80,52},{100,72}})));
  Magnetic.FundamentalWave.BasicMachines.InductionMachines.IM_SquirrelCage imc(
    p=imcData.p,
    fsNominal=imcData.fsNominal,
    TsRef=imcData.TsRef,
    alpha20s(displayUnit=\"1/K\") = imcData.alpha20s,
    Jr=imcData.Jr,
    Js=imcData.Js,
    frictionParameters=imcData.frictionParameters,
    phiMechanical(fixed=true),
    wMechanical(fixed=true),
    statorCoreParameters=imcData.statorCoreParameters,
    strayLoadParameters=imcData.strayLoadParameters,
    TrRef=imcData.TrRef,
    Rs=imcData.Rs*m/3,
    Lssigma=imcData.Lssigma*m/3,
    Lszero=imcData.Lszero*m/3,
    Lm=imcData.Lm*m/3,
    Lrsigma=imcData.Lrsigma*m/3,
    Rr=imcData.Rr*m/3,
    m=m,
    TsOperational=293.15,
    effectiveStatorTurns=imcData.effectiveStatorTurns,
    alpha20r=imcData.alpha20r,
    TrOperational=293.15)
    annotation (Placement(transformation(extent={{80,-90},{60,-70}})));
  Modelica.Electrical.Polyphase.Sensors.CurrentQuasiRMSSensor iSensor(m=m) annotation (Placement(transformation(
        origin={-40,-20},
        extent={{-10,10},{10,-10}})));
  Modelica.Electrical.Polyphase.Sources.SineVoltage sineVoltage(
    final m=m,
    f=fill(fNominal, m),
    V=fill(sqrt(2/3)*VNominal, m)) annotation (Placement(transformation(
        origin={-70,-20},
        extent={{10,10},{-10,-10}})));
  Modelica.Electrical.Polyphase.Basic.Star star(final m=m) annotation (
      Placement(transformation(extent={{10,-10},{-10,10}},
        rotation=90,
        origin={-80,-50})));
  Modelica.Electrical.Analog.Basic.Ground ground annotation (Placement(
        transformation(
        origin={-80,-80},
        extent={{-10,-10},{10,10}})));
  Modelica.Blocks.Sources.BooleanStep booleanStep1[m](each startTime=
        tStart1) annotation (Placement(transformation(extent={{-60,-60},{-40,-40}})));
  Modelica.Electrical.Polyphase.Ideal.IdealClosingSwitch idealCloser(
    final m=m,
    Ron=fill(1e-5, m),
    Goff=fill(1e-5, m)) annotation (Placement(transformation(
        origin={-10,-20},
        extent={{-10,10},{10,-10}})));
  Modelica.Electrical.Machines.BasicMachines.Transformers.Yy.Yy00 transformer(
    n=transformerData.n,
    R1=transformerData.R1,
    L1sigma=transformerData.L1sigma,
    R2=transformerData.R2,
    L2sigma=transformerData.L2sigma,
    T1Ref=293.15,
    alpha20_1(displayUnit=\"1/K\") = Modelica.Electrical.Machines.Thermal.Constants.alpha20Zero,
    T2Ref=293.15,
    alpha20_2(displayUnit=\"1/K\") = Modelica.Electrical.Machines.Thermal.Constants.alpha20Zero,
    T1Operational=293.15,
    T2Operational=293.15) annotation (Placement(transformation(
        extent={{-10,-10},{10,10}},
        origin={20,-20})));
  Modelica.Electrical.Analog.Basic.Ground ground2 annotation (Placement(
        transformation(
        origin={20,-50},
        extent={{-10,-10},{10,10}})));
  Modelica.Blocks.Sources.BooleanStep booleanStep2[m](each startTime=
        tStart2) annotation (Placement(transformation(extent={{-60,-90},{-40,-70}})));
  Modelica.Electrical.Polyphase.Ideal.IdealCommutingSwitch
    idealCommutingSwitch(
    final m=m,
    Ron=fill(1e-5, m),
    Goff=fill(50E-5, m)) annotation (Placement(transformation(
        extent={{60,-10},{40,-30}})));
  Modelica.Mechanics.Rotational.Components.Inertia loadInertia(J=JLoad)
    annotation (Placement(transformation(extent={{50,-90},{30,-70}})));
  Modelica.Mechanics.Rotational.Sources.QuadraticSpeedDependentTorque
    quadraticLoadTorque(
    w_nominal=wLoad,
    TorqueDirection=false,
    tau_nominal=-TLoad,
    useSupport=false) annotation (Placement(transformation(extent={{0,-90},{20,-70}})));
  Modelica.Electrical.Machines.Utilities.TerminalBox terminalBox(terminalConnection=\"D\") annotation (Placement(transformation(extent={{80,-74},{60,-54}})));
initial equation
  sum(imc.is) = 0;
  imc.is[1:2] = zeros(2);
  imc.rotorCage.electroMagneticConverter.V_m = Complex(0, 0);
  transformer.i2[1:2] = zeros(2);
equation
  connect(starQS.pin_n, groundQS.pin) annotation (Line(points={{-80,40},{-80,30}}, color={85,170,255}));
  connect(terminalBoxQS.plug_sn, imcQS.plug_sn) annotation (Line(points={{76,30},{76,30}}, color={85,170,255}));
  connect(terminalBoxQS.plug_sp, imcQS.plug_sp) annotation (Line(points={{64,30},{64,30}}, color={85,170,255}));
  connect(loadInertiaQS.flange_b, quadraticLoadTorqueQS.flange) annotation (Line(points={{30,20},{20,20}}));
  connect(imcQS.flange, loadInertiaQS.flange_a) annotation (Line(points={{60,20},{50,20}}));
  connect(starQS.plug_p, sineVoltageQS.plug_n) annotation (Line(points={{-80,60},{-80,80}}, color={85,170,255}));
  connect(booleanStep2QS.y, idealCommutingSwitchQS.control) annotation (Line(points={{-39,20},{-10,20},{-10,40},{50,40},{50,68}}, color={255,0,255}));
  connect(transformerQS.starpoint2, ground2QS.pin) annotation (Line(points={{25,70},{24,70},{24,60},{20,60}}, color={85,170,255}));
  connect(idealCommutingSwitchQS.plug_p, terminalBoxQS.plugSupply) annotation (Line(points={{60,80},{70,80},{70,32}}, color={85,170,255}));
  connect(transformerQS.plug2, idealCommutingSwitchQS.plug_n1) annotation (Line(points={{30,80},{36,80},{36,76},{40,76}}, color={85,170,255}));
  connect(sineVoltageQS.plug_p, iSensorQS.plug_p) annotation (Line(points={{-60,80},{-50,80}}, color={85,170,255}));
  connect(booleanStep1QS.y, idealCloserQS.control) annotation (Line(points={{-39,50},{-10,50},{-10,68}}, color={255,0,255}));
  connect(iSensorQS.plug_n, idealCloserQS.plug_p) annotation (Line(points={{-30,80},{-20,80}}, color={85,170,255}));
  connect(transformerQS.plug1, idealCloserQS.plug_n) annotation (Line(points={{10,80},{0,80}}, color={85,170,255}));
  connect(idealCloserQS.plug_n, idealCommutingSwitchQS.plug_n2) annotation (Line(points={{0,80},{0,100},{40,100},{40,80}}, color={85,170,255}));
  connect(star.pin_n,ground. p)
    annotation (Line(points={{-80,-60},{-80,-70}},
                                                 color={0,0,255}));
  connect(terminalBox.plug_sp, imc.plug_sp) annotation (Line(points={{64,-70},{64,-70}}, color={0,0,255}));
  connect(loadInertia.flange_b,quadraticLoadTorque. flange) annotation (
      Line(
      points={{30,-80},{20,-80}}));
  connect(imc.flange, loadInertia.flange_a) annotation (Line(points={{60,-80},{50,-80}}));
  connect(star.plug_p,sineVoltage. plug_n) annotation (Line(
      points={{-80,-40},{-80,-20}},
                                  color={0,0,255}));
  connect(booleanStep2.y,idealCommutingSwitch. control) annotation (Line(
      points={{-39,-80},{-10,-80},{-10,-60},{50,-60},{50,-32}},
                               color={255,0,255}));
  connect(transformer.starpoint2,ground2. p) annotation (Line(
      points={{25,-30},{25,-40},{20,-40}}, color={0,0,255}));
  connect(idealCommutingSwitch.plug_p, terminalBox.plugSupply) annotation (Line(points={{60,-20},{70,-20},{70,-68}}, color={0,0,255}));
  connect(transformer.plug2,idealCommutingSwitch. plug_n1) annotation (Line(points={{30,-20},{36,-20},{36,-24},{40,-24}}, color={0,0,255}));
  connect(sineVoltage.plug_p, iSensor.plug_p) annotation (Line(points={{-60,-20},{-50,-20}}, color={0,0,255}));
  connect(booleanStep1.y,idealCloser. control) annotation (Line(
      points={{-39,-50},{-10,-50},{-10,-32},{-10,-32}},
                                 color={255,0,255}));
  connect(iSensor.plug_n, idealCloser.plug_p) annotation (Line(points={{-30,-20},{-20,-20}}, color={0,0,255}));
  connect(transformer.plug1,idealCloser. plug_n) annotation (Line(
      points={{10,-20},{0,-20}},color={0,0,255}));
  connect(idealCloser.plug_n,idealCommutingSwitch. plug_n2) annotation (
      Line(
      points={{0,-20},{0,0},{40,0},{40,-20}},
                              color={0,0,255}));
  connect(terminalBox.plug_sn, imc.plug_sn) annotation (Line(points={{76,-70},{76,-70}}, color={0,0,255}));
  annotation (experiment(StopTime=2.5, Interval=0.0001, Tolerance=1e-06), Documentation(
        info=\"<html>
<p>At start time tStart1 three-phase voltage is supplied to the induction machine with squirrel cage via the transformer;
the machine starts from standstill, accelerating inertias against load torque quadratic dependent on speed;
at start time tStart2 the machine is fed directly from the voltage source, finally reaching nominal speed.</p>
<p>
Simulate for 2.5 seconds and plot (versus time):</p>

<ul>
<li>currentQuasiRMSSensor.I: stator current RMS</li>
<li>aimc.wMechanical: motor's speed</li>
<li>aimc.tauElectrical: motor's torque</li>
</ul>
<p>Default machine parameters are used.</p>
</html>\"),
    Diagram(graphics={
        Text(
          extent={{80,8},{160,0}},
                  textStyle={TextStyle.Bold},
          textString=\"%m phase quasi-static\"),
                                            Text(
                  extent={{80,-92},{160,-100}},
                  fillColor={255,255,170},
                  fillPattern=FillPattern.Solid,
                  textStyle={TextStyle.Bold},
          textString=\"%m phase transient\")}));
end IMC_Transformer;
"
true
true
"within Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines;

model IMC_YD \"Induction machine with squirrel cage starting Y-D\"
  import Modelica.Constants.pi;
  extends Modelica.Icons.Example;
  constant Integer m = 3 \"Number of phases\";
  parameter Modelica.SIunits.Voltage VNominal = 100 \"Nominal RMS voltage per phase\";
  parameter Modelica.SIunits.Frequency fNominal = imc.fsNominal \"Nominal frequency\";
  parameter Modelica.SIunits.Time tStart1 = 0.1 \"Start time\";
  parameter Modelica.SIunits.Time tStart2 = 2.0 \"Start time from Y to D\";
  parameter Modelica.SIunits.Torque TLoad = 161.4 \"Nominal load torque\";
  parameter Modelica.SIunits.AngularVelocity wLoad(displayUnit = \"rev/min\") = 1440.45 * 2 * Modelica.Constants.pi / 60 \"Nominal load speed\";
  parameter Modelica.SIunits.Inertia JLoad = 0.29 \"Load's moment of inertia\";
  Magnetic.QuasiStatic.FundamentalWave.BasicMachines.InductionMachines.IM_SquirrelCage imcQS(p = imcData.p, fsNominal = imcData.fsNominal, TsRef = imcData.TsRef, alpha20s(displayUnit = \"1/K\") = imcData.alpha20s, Jr = imcData.Jr, Js = imcData.Js, frictionParameters = imcData.frictionParameters, wMechanical(fixed = true), gammar(fixed = true, start = pi / 2), gamma(fixed = true, start = -pi / 2), statorCoreParameters = imcData.statorCoreParameters, strayLoadParameters = imcData.strayLoadParameters, Lrsigma = imcData.Lrsigma, TrRef = imcData.TrRef, Rs = imcData.Rs * m / 3, Lssigma = imcData.Lssigma * m / 3, Lm = imcData.Lm * m / 3, Rr = imcData.Rr * m / 3, m = m, TsOperational = 293.15, effectiveStatorTurns = imcData.effectiveStatorTurns, alpha20r = imcData.alpha20r, TrOperational = 293.15) annotation(
    Placement(transformation(extent = {{20, 10}, {40, 30}})));
  Modelica.Electrical.QuasiStatic.Polyphase.Sensors.CurrentQuasiRMSSensor currentQuasiRMSSensorQS(m = m) annotation(
    Placement(transformation(extent = {{-10, 10}, {10, -10}}, rotation = 270, origin = {30, 70})));
  Modelica.Electrical.QuasiStatic.Polyphase.Sources.VoltageSource sineVoltageQS(final m = m, f = fNominal, V = fill(VNominal / sqrt(3), m)) annotation(
    Placement(transformation(origin = {-30, 90}, extent = {{10, 10}, {-10, -10}})));
  Modelica.Electrical.QuasiStatic.Polyphase.Basic.Star starQS(final m = m) annotation(
    Placement(transformation(extent = {{-50, 80}, {-70, 100}})));
  Modelica.Electrical.QuasiStatic.SinglePhase.Basic.Ground groundQS annotation(
    Placement(transformation(origin = {-90, 90}, extent = {{-10, -10}, {10, 10}}, rotation = 270)));
  Modelica.Blocks.Sources.BooleanStep booleanStepQS[m](each startTime = tStart1) annotation(
    Placement(transformation(extent = {{-80, 50}, {-60, 70}})));
  Modelica.Electrical.QuasiStatic.Polyphase.Ideal.IdealClosingSwitch idealCloserQS(final m = m, Ron = fill(1e-5, m), Goff = fill(1e-5, m)) annotation(
    Placement(transformation(origin = {0, 90}, extent = {{-10, 10}, {10, -10}})));
  Magnetic.QuasiStatic.FundamentalWave.Utilities.SwitchYD switchYDQS(final m = m) annotation(
    Placement(transformation(extent = {{20, 30}, {40, 50}})));
  Modelica.Blocks.Sources.BooleanStep booleanStepYDQS[m](each startTime = tStart2) annotation(
    Placement(transformation(extent = {{-40, 30}, {-20, 50}})));
  Modelica.Mechanics.Rotational.Components.Inertia loadInertiaQS(J = JLoad) annotation(
    Placement(transformation(extent = {{50, 10}, {70, 30}})));
  Modelica.Mechanics.Rotational.Sources.QuadraticSpeedDependentTorque quadraticLoadTorqueQS(w_nominal = wLoad, TorqueDirection = false, tau_nominal = -TLoad, useSupport = false) annotation(
    Placement(transformation(extent = {{100, 10}, {80, 30}})));
  parameter Modelica.Electrical.Machines.Utilities.ParameterRecords.IM_SquirrelCageData imcData \"Induction machine data\" annotation(
    Placement(transformation(extent = {{70, 72}, {90, 92}})));
  Magnetic.FundamentalWave.BasicMachines.InductionMachines.IM_SquirrelCage imc(p = imcData.p, fsNominal = imcData.fsNominal, TsRef = imcData.TsRef, alpha20s(displayUnit = \"1/K\") = imcData.alpha20s, Jr = imcData.Jr, Js = imcData.Js, frictionParameters = imcData.frictionParameters, phiMechanical(fixed = true), wMechanical(fixed = true), statorCoreParameters = imcData.statorCoreParameters, strayLoadParameters = imcData.strayLoadParameters, TrRef = imcData.TrRef, Rs = imcData.Rs * m / 3, Lssigma = imcData.Lssigma * m / 3, Lszero = imcData.Lszero * m / 3, Lm = imcData.Lm * m / 3, Lrsigma = imcData.Lrsigma * m / 3, Rr = imcData.Rr * m / 3, m = m, TsOperational = 293.15, effectiveStatorTurns = imcData.effectiveStatorTurns, alpha20r = imcData.alpha20r, TrOperational = 293.15) annotation(
    Placement(transformation(extent = {{20, -90}, {40, -70}})));
  Modelica.Electrical.Machines.Sensors.CurrentQuasiRMSSensor currentQuasiRMSSensor annotation(
    Placement(transformation(extent = {{-10, 10}, {10, -10}}, rotation = 270, origin = {30, -30})));
  Modelica.Electrical.Polyphase.Sources.SineVoltage sineVoltage(final m = m, f = fill(fNominal, m), V = fill(sqrt(2 / 3) * VNominal, m)) annotation(
    Placement(transformation(origin = {-30, -10}, extent = {{10, 10}, {-10, -10}})));
  Modelica.Electrical.Polyphase.Basic.Star star(final m = m) annotation(
    Placement(transformation(extent = {{-50, -20}, {-70, 0}})));
  Modelica.Electrical.Analog.Basic.Ground ground annotation(
    Placement(transformation(origin = {-90, -10}, extent = {{-10, -10}, {10, 10}}, rotation = 270)));
  Modelica.Blocks.Sources.BooleanStep booleanStep[m](each startTime = tStart1) annotation(
    Placement(transformation(extent = {{-80, -50}, {-60, -30}})));
  Modelica.Electrical.Polyphase.Ideal.IdealClosingSwitch idealCloser(final m = m, Ron = fill(1e-5, m), Goff = fill(1e-5, m)) annotation(
    Placement(transformation(origin = {0, -10}, extent = {{-10, 10}, {10, -10}})));
  Modelica.Electrical.Machines.Utilities.SwitchYD switchYD(m = m) annotation(
    Placement(transformation(extent = {{20, -70}, {40, -50}})));
  Modelica.Blocks.Sources.BooleanStep booleanStepYD[m](each startTime = tStart2) annotation(
    Placement(transformation(extent = {{-40, -70}, {-20, -50}})));
  Modelica.Mechanics.Rotational.Components.Inertia loadInertia(J = JLoad) annotation(
    Placement(transformation(extent = {{50, -90}, {70, -70}})));
  Modelica.Mechanics.Rotational.Sources.QuadraticSpeedDependentTorque quadraticLoadTorque(w_nominal = wLoad, TorqueDirection = false, tau_nominal = -TLoad, useSupport = false) annotation(
    Placement(transformation(extent = {{100, -90}, {80, -70}})));
initial equation
  sum(imc.is) = 0;
  imc.is[1:2] = zeros(2);
  imc.rotorCage.electroMagneticConverter.V_m = Complex(0, 0);
equation
  connect(starQS.pin_n, groundQS.pin) annotation(
    Line(points = {{-70, 90}, {-80, 90}}, color = {85, 170, 255}));
  connect(sineVoltageQS.plug_n, starQS.plug_p) annotation(
    Line(points = {{-40, 90}, {-50, 90}}, color = {85, 170, 255}));
  connect(sineVoltageQS.plug_p, idealCloserQS.plug_p) annotation(
    Line(points = {{-20, 90}, {-10, 90}}, color = {85, 170, 255}));
  connect(loadInertiaQS.flange_b, quadraticLoadTorqueQS.flange) annotation(
    Line(points = {{70, 20}, {80, 20}}));
  connect(booleanStepQS.y, idealCloserQS.control) annotation(
    Line(points = {{-59, 60}, {0, 60}, {0, 78}}, color = {255, 0, 255}));
  connect(booleanStepYDQS.y, switchYDQS.control) annotation(
    Line(points = {{-19, 40}, {18, 40}}, color = {255, 0, 255}));
  connect(idealCloserQS.plug_n, currentQuasiRMSSensorQS.plug_p) annotation(
    Line(points = {{10, 90}, {10, 90}, {28, 90}, {28, 90}, {30, 90}, {30, 80}, {30, 80}}, color = {85, 170, 255}));
  connect(switchYDQS.plug_sn, imcQS.plug_sn) annotation(
    Line(points = {{24, 30}, {24, 30}}, color = {85, 170, 255}));
  connect(switchYDQS.plug_sp, imcQS.plug_sp) annotation(
    Line(points = {{36, 30}, {36, 30}}, color = {85, 170, 255}));
  connect(switchYDQS.plugSupply, currentQuasiRMSSensorQS.plug_n) annotation(
    Line(points = {{30, 50}, {30, 60}}, color = {85, 170, 255}));
  connect(imcQS.flange, loadInertiaQS.flange_a) annotation(
    Line(points = {{40, 20}, {50, 20}}));
  connect(star.pin_n, ground.p) annotation(
    Line(points = {{-70, -10}, {-80, -10}}, color = {0, 0, 255}));
  connect(sineVoltage.plug_n, star.plug_p) annotation(
    Line(points = {{-40, -10}, {-50, -10}}, color = {0, 0, 255}));
  connect(sineVoltage.plug_p, idealCloser.plug_p) annotation(
    Line(points = {{-20, -10}, {-10, -10}}, color = {0, 0, 255}));
  connect(loadInertia.flange_b, quadraticLoadTorque.flange) annotation(
    Line(points = {{70, -80}, {80, -80}}));
  connect(booleanStep.y, idealCloser.control) annotation(
    Line(points = {{-59, -40}, {0, -40}, {0, -22}}, color = {255, 0, 255}));
  connect(booleanStepYD.y, switchYD.control) annotation(
    Line(points = {{-19, -60}, {18, -60}}, color = {255, 0, 255}));
  connect(idealCloser.plug_n, currentQuasiRMSSensor.plug_p) annotation(
    Line(points = {{10, -10}, {30, -10}, {30, -20}}, color = {0, 0, 255}));
  connect(switchYD.plug_sn, imc.plug_sn) annotation(
    Line(points = {{24, -70}, {24, -70}}, color = {0, 0, 255}));
  connect(switchYD.plug_sp, imc.plug_sp) annotation(
    Line(points = {{36, -70}, {36, -70}}, color = {0, 0, 255}));
  connect(switchYD.plugSupply, currentQuasiRMSSensor.plug_n) annotation(
    Line(points = {{30, -50}, {30, -40}}, color = {0, 0, 255}));
  connect(imc.flange, loadInertia.flange_a) annotation(
    Line(points = {{40, -80}, {50, -80}}));
  annotation(
    experiment(StopTime = 2.5, Interval = 0.0001, Tolerance = 1e-06),
    Documentation(info = \"<html>
<p>
At start time tStart three-phase voltage is supplied to the induction machine with squirrel cage, first star-connected, then delta-connected; the machine starts from standstill, accelerating inertias against load torque quadratic dependent on speed, finally reaching nominal speed.</p>

<p>Simulate for 2.5 seconds and plot (versus time):</p>

<ul>
<li>currentQuasiRMSSensor.I: stator current RMS</li>
<li>aimc.wMechanical: motor's speed</li>
<li>aimc.tauElectrical: motor's torque</li>
</ul>
<p>
Default machine parameters are used.</p>
</html>\"),
    Diagram(graphics = {Text(extent = {{-60, 20}, {20, 12}}, textStyle = {TextStyle.Bold}, textString = \"%m phase quasi-static\"), Text(extent = {{-60, -80}, {20, -88}}, fillColor = {255, 255, 170}, fillPattern = FillPattern.Solid, textStyle = {TextStyle.Bold}, textString = \"%m phase transient\")}),
    __OpenModelica_simulationFlags(nls = \"newton\"));
end IMC_YD;"
"within Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines;
model IMC_YD \"Induction machine with squirrel cage starting Y-D\"
  import Modelica.Constants.pi;
  extends Modelica.Icons.Example;
  constant Integer m=3 \"Number of phases\";
  parameter Modelica.SIunits.Voltage VNominal=100
    \"Nominal RMS voltage per phase\";
  parameter Modelica.SIunits.Frequency fNominal=imc.fsNominal \"Nominal frequency\";
  parameter Modelica.SIunits.Time tStart1=0.1 \"Start time\";
  parameter Modelica.SIunits.Time tStart2=2.0 \"Start time from Y to D\";
  parameter Modelica.SIunits.Torque TLoad=161.4 \"Nominal load torque\";
  parameter Modelica.SIunits.AngularVelocity wLoad(displayUnit=\"rev/min\")=
       1440.45*2*Modelica.Constants.pi/60 \"Nominal load speed\";
  parameter Modelica.SIunits.Inertia JLoad=0.29
    \"Load's moment of inertia\";
  Magnetic.QuasiStatic.FundamentalWave.BasicMachines.InductionMachines.IM_SquirrelCage
    imcQS(
    p=imcData.p,
    fsNominal=imcData.fsNominal,
    TsRef=imcData.TsRef,
    alpha20s(displayUnit=\"1/K\") = imcData.alpha20s,
    Jr=imcData.Jr,
    Js=imcData.Js,
    frictionParameters=imcData.frictionParameters,
    wMechanical(fixed=true),
    gammar(fixed=true, start=pi/2),
    gamma(fixed=true, start=-pi/2),
    statorCoreParameters=imcData.statorCoreParameters,
    strayLoadParameters=imcData.strayLoadParameters,
    Lrsigma=imcData.Lrsigma,
    TrRef=imcData.TrRef,
    Rs=imcData.Rs*m/3,
    Lssigma=imcData.Lssigma*m/3,
    Lm=imcData.Lm*m/3,
    Rr=imcData.Rr*m/3,
    m=m,
    TsOperational=293.15,
    effectiveStatorTurns=imcData.effectiveStatorTurns,
    alpha20r=imcData.alpha20r,
    TrOperational=293.15)
    annotation (Placement(transformation(extent={{20,10},{40,30}})));
  Modelica.Electrical.QuasiStatic.Polyphase.Sensors.CurrentQuasiRMSSensor currentQuasiRMSSensorQS(m=m) annotation (Placement(transformation(
        extent={{-10,10},{10,-10}},
        rotation=270,
        origin={30,70})));
  Modelica.Electrical.QuasiStatic.Polyphase.Sources.VoltageSource sineVoltageQS(
    final m=m,
    f=fNominal,
    V=fill(VNominal/sqrt(3), m)) annotation (Placement(transformation(
        origin={-30,90},
        extent={{10,10},{-10,-10}})));
  Modelica.Electrical.QuasiStatic.Polyphase.Basic.Star starQS(final m=m) annotation (Placement(transformation(extent={{-50,80},{-70,100}})));
  Modelica.Electrical.QuasiStatic.SinglePhase.Basic.Ground groundQS annotation (Placement(transformation(
        origin={-90,90},
        extent={{-10,-10},{10,10}},
        rotation=270)));
  Modelica.Blocks.Sources.BooleanStep booleanStepQS[m](each startTime=tStart1) annotation (Placement(transformation(extent={{-80,50},{-60,70}})));
  Modelica.Electrical.QuasiStatic.Polyphase.Ideal.IdealClosingSwitch idealCloserQS(
    final m=m,
    Ron=fill(1e-5, m),
    Goff=fill(1e-5, m)) annotation (Placement(transformation(
        origin={0,90},
        extent={{-10,10},{10,-10}})));
  Magnetic.QuasiStatic.FundamentalWave.Utilities.SwitchYD switchYDQS(final m=m)
    annotation (Placement(transformation(extent={{20,30},{40,50}})));
  Modelica.Blocks.Sources.BooleanStep booleanStepYDQS[m](each startTime=tStart2) annotation (Placement(transformation(extent={{-40,30},{-20,50}})));
  Modelica.Mechanics.Rotational.Components.Inertia loadInertiaQS(J=JLoad) annotation (Placement(transformation(extent={{50,10},{70,30}})));
  Modelica.Mechanics.Rotational.Sources.QuadraticSpeedDependentTorque quadraticLoadTorqueQS(
    w_nominal=wLoad,
    TorqueDirection=false,
    tau_nominal=-TLoad,
    useSupport=false) annotation (Placement(transformation(extent={{100,10},{80,30}})));
  parameter
    Modelica.Electrical.Machines.Utilities.ParameterRecords.IM_SquirrelCageData
    imcData \"Induction machine data\"
    annotation (Placement(transformation(extent={{70,72},{90,92}})));

  Magnetic.FundamentalWave.BasicMachines.InductionMachines.IM_SquirrelCage imc(
    p=imcData.p,
    fsNominal=imcData.fsNominal,
    TsRef=imcData.TsRef,
    alpha20s(displayUnit=\"1/K\") = imcData.alpha20s,
    Jr=imcData.Jr,
    Js=imcData.Js,
    frictionParameters=imcData.frictionParameters,
    phiMechanical(fixed=true),
    wMechanical(fixed=true),
    statorCoreParameters=imcData.statorCoreParameters,
    strayLoadParameters=imcData.strayLoadParameters,
    TrRef=imcData.TrRef,
    Rs=imcData.Rs*m/3,
    Lssigma=imcData.Lssigma*m/3,
    Lszero=imcData.Lszero*m/3,
    Lm=imcData.Lm*m/3,
    Lrsigma=imcData.Lrsigma*m/3,
    Rr=imcData.Rr*m/3,
    m=m,
    TsOperational=293.15,
    effectiveStatorTurns=imcData.effectiveStatorTurns,
    alpha20r=imcData.alpha20r,
    TrOperational=293.15)
    annotation (Placement(transformation(extent={{20,-90},{40,-70}})));
  Modelica.Electrical.Machines.Sensors.CurrentQuasiRMSSensor
                                                    currentQuasiRMSSensor annotation (Placement(transformation(extent={{-10,10},{10,-10}}, rotation=270,
        origin={30,-30})));
  Modelica.Electrical.Polyphase.Sources.SineVoltage sineVoltage(
    final m=m,
    f=fill(fNominal, m),
    V=fill(sqrt(2/3)*VNominal, m)) annotation (Placement(transformation(
        origin={-30,-10},
        extent={{10,10},{-10,-10}})));
  Modelica.Electrical.Polyphase.Basic.Star star(final m=m) annotation (
      Placement(transformation(extent={{-50,-20},{-70,0}})));
  Modelica.Electrical.Analog.Basic.Ground ground annotation (Placement(
        transformation(
        origin={-90,-10},
        extent={{-10,-10},{10,10}},
        rotation=270)));
  Modelica.Blocks.Sources.BooleanStep booleanStep[m](each startTime=
        tStart1) annotation (Placement(transformation(extent={{-80,-50},{-60,-30}})));
  Modelica.Electrical.Polyphase.Ideal.IdealClosingSwitch idealCloser(
    final m=m,
    Ron=fill(1e-5, m),
    Goff=fill(1e-5, m)) annotation (Placement(transformation(
        origin={0,-10},
        extent={{-10,10},{10,-10}})));
  Modelica.Electrical.Machines.Utilities.SwitchYD
                                         switchYD(m=m) annotation (Placement(transformation(extent={{20,-70},{40,-50}})));
  Modelica.Blocks.Sources.BooleanStep booleanStepYD[m](each startTime=
        tStart2) annotation (Placement(transformation(extent={{-40,-70},{-20,-50}})));
  Modelica.Mechanics.Rotational.Components.Inertia loadInertia(J=JLoad)
    annotation (Placement(transformation(extent={{50,-90},{70,-70}})));
  Modelica.Mechanics.Rotational.Sources.QuadraticSpeedDependentTorque
    quadraticLoadTorque(
    w_nominal=wLoad,
    TorqueDirection=false,
    tau_nominal=-TLoad,
    useSupport=false) annotation (Placement(transformation(extent={{100,-90},{80,-70}})));
initial equation
  sum(imc.is) = 0;
  imc.is[1:2] = zeros(2);
  imc.rotorCage.electroMagneticConverter.V_m = Complex(0, 0);
equation
  connect(starQS.pin_n, groundQS.pin) annotation (Line(points={{-70,90},{-80,90}}, color={85,170,255}));
  connect(sineVoltageQS.plug_n, starQS.plug_p) annotation (Line(points={{-40,90},{-50,90}}, color={85,170,255}));
  connect(sineVoltageQS.plug_p, idealCloserQS.plug_p) annotation (Line(points={{-20,90},{-10,90}}, color={85,170,255}));
  connect(loadInertiaQS.flange_b, quadraticLoadTorqueQS.flange) annotation (Line(points={{70,20},{80,20}}));
  connect(booleanStepQS.y, idealCloserQS.control) annotation (Line(points={{-59,60},{0,60},{0,78}}, color={255,0,255}));
  connect(booleanStepYDQS.y, switchYDQS.control) annotation (Line(points={{-19,40},{18,40}}, color={255,0,255}));
  connect(idealCloserQS.plug_n, currentQuasiRMSSensorQS.plug_p) annotation (Line(points={{10,90},{10,90},{28,90},{28,90},{30,90},{30,80},{30,80}}, color={85,170,255}));
  connect(switchYDQS.plug_sn, imcQS.plug_sn) annotation (Line(points={{24,30},{24,30}}, color={85,170,255}));
  connect(switchYDQS.plug_sp, imcQS.plug_sp) annotation (Line(points={{36,30},{36,30}}, color={85,170,255}));
  connect(switchYDQS.plugSupply, currentQuasiRMSSensorQS.plug_n) annotation (Line(points={{30,50},{30,60}}, color={85,170,255}));
  connect(imcQS.flange, loadInertiaQS.flange_a) annotation (Line(points={{40,20},{50,20}}));
  connect(star.pin_n,ground. p)
    annotation (Line(points={{-70,-10},{-80,-10}},
                                                 color={0,0,255}));
  connect(sineVoltage.plug_n,star. plug_p)
    annotation (Line(points={{-40,-10},{-50,-10}},    color={0,0,255}));
  connect(sineVoltage.plug_p,idealCloser. plug_p) annotation (Line(points={{-20,-10},{-10,-10}},
                                        color={0,0,255}));
  connect(loadInertia.flange_b,quadraticLoadTorque. flange)
    annotation (Line(points={{70,-80},{80,-80}}));
  connect(booleanStep.y,idealCloser. control) annotation (Line(points={{-59,-40},{0,-40},{0,-22}},
                                          color={255,0,255}));
  connect(booleanStepYD.y,switchYD. control)
    annotation (Line(points={{-19,-60},{18,-60}},  color={255,0,255}));
  connect(idealCloser.plug_n,currentQuasiRMSSensor. plug_p)
    annotation (Line(points={{10,-10},{30,-10},{30,-20}},
                                                    color={0,0,255}));
  connect(switchYD.plug_sn, imc.plug_sn) annotation (Line(points={{24,-70},{24,-70}}, color={0,0,255}));
  connect(switchYD.plug_sp, imc.plug_sp) annotation (Line(points={{36,-70},{36,-70}}, color={0,0,255}));
  connect(switchYD.plugSupply,currentQuasiRMSSensor. plug_n) annotation (
      Line(
      points={{30,-50},{30,-40}}, color={0,0,255}));
  connect(imc.flange, loadInertia.flange_a) annotation (Line(points={{40,-80},{50,-80}}));
  annotation (experiment(StopTime=2.5,Interval=0.0001,Tolerance=1e-06),
    Documentation(
        info=\"<html>
<p>
At start time tStart three-phase voltage is supplied to the induction machine with squirrel cage, first star-connected, then delta-connected; the machine starts from standstill, accelerating inertias against load torque quadratic dependent on speed, finally reaching nominal speed.</p>

<p>Simulate for 2.5 seconds and plot (versus time):</p>

<ul>
<li>currentQuasiRMSSensor.I: stator current RMS</li>
<li>aimc.wMechanical: motor's speed</li>
<li>aimc.tauElectrical: motor's torque</li>
</ul>
<p>
Default machine parameters are used.</p>
</html>\"),
    Diagram(graphics={
        Text(
          extent={{-60,20},{20,12}},
                  textStyle={TextStyle.Bold},
          textString=\"%m phase quasi-static\"), Text(
                  extent={{-60,-80},{20,-88}},
                  fillColor={255,255,170},
                  fillPattern=FillPattern.Solid,
                  textStyle={TextStyle.Bold},
                  textString=\"%m phase transient\")}),
  __OpenModelica_simulationFlags(nls = \"newton\"));
end IMC_YD;
"
true
""
"within Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines;

model IMC_Transformer \"Induction machine with squirrel cage starting with transformer\"
  import Modelica.Constants.pi;
  extends Modelica.Icons.Example;
  constant Integer m = 3 \"Number of phases\";
  parameter Modelica.SIunits.Voltage VNominal = 100 \"Nominal RMS voltage per phase\";
  parameter Modelica.SIunits.Frequency fNominal = imc.fsNominal \"Nominal frequency\";
  parameter Modelica.SIunits.Time tStart1 = 0.1 \"Start time\";
  parameter Modelica.SIunits.Time tStart2 = 2.0 \"Start time of bypass transformer\";
  parameter Modelica.SIunits.Torque TLoad = 161.4 \"Nominal load torque\";
  parameter Modelica.SIunits.AngularVelocity wLoad(displayUnit = \"rev/min\") = 1440.45 * 2 * Modelica.Constants.pi / 60 \"Nominal load speed\";
  parameter Modelica.SIunits.Inertia JLoad = 0.29 \"Load's moment of inertia\";
  Magnetic.QuasiStatic.FundamentalWave.BasicMachines.InductionMachines.IM_SquirrelCage imcQS(p = imcData.p, fsNominal = imcData.fsNominal, Rs = imcData.Rs, TsRef = imcData.TsRef, alpha20s(displayUnit = \"1/K\") = imcData.alpha20s, Lssigma = imcData.Lssigma, Jr = imcData.Jr, Js = imcData.Js, frictionParameters = imcData.frictionParameters, wMechanical(fixed = true), gammar(fixed = true, start = pi / 2), gamma(fixed = true, start = -pi / 2), statorCoreParameters = imcData.statorCoreParameters, strayLoadParameters = imcData.strayLoadParameters, Lm = imcData.Lm, Lrsigma = imcData.Lrsigma, Rr = imcData.Rr, TrRef = imcData.TrRef, TsOperational = 293.15, alpha20r = imcData.alpha20r, TrOperational = 293.15) annotation(
    Placement(transformation(extent = {{80, 10}, {60, 30}})));
  Modelica.Electrical.QuasiStatic.Polyphase.Sensors.CurrentQuasiRMSSensor iSensorQS(m = m) annotation(
    Placement(transformation(origin = {-40, 80}, extent = {{-10, 10}, {10, -10}})));
  Modelica.Electrical.QuasiStatic.Polyphase.Sources.VoltageSource sineVoltageQS(final m = m, f = fNominal, V = fill(VNominal / sqrt(3), m)) annotation(
    Placement(transformation(origin = {-70, 80}, extent = {{10, 10}, {-10, -10}})));
  Modelica.Electrical.QuasiStatic.Polyphase.Basic.Star starQS(final m = m) annotation(
    Placement(transformation(extent = {{10, -10}, {-10, 10}}, rotation = 90, origin = {-80, 50})));
  Modelica.Electrical.QuasiStatic.SinglePhase.Basic.Ground groundQS annotation(
    Placement(transformation(origin = {-80, 20}, extent = {{-10, -10}, {10, 10}})));
  Modelica.Blocks.Sources.BooleanStep booleanStep1QS[m](each startTime = tStart1) annotation(
    Placement(transformation(extent = {{-60, 40}, {-40, 60}})));
  Modelica.Electrical.QuasiStatic.Polyphase.Ideal.IdealClosingSwitch idealCloserQS(final m = m, Ron = fill(1e-5, m), Goff = fill(1e-5, m)) annotation(
    Placement(transformation(origin = {-10, 80}, extent = {{-10, 10}, {10, -10}})));
  Modelica.Electrical.QuasiStatic.Machines.BasicMachines.Transformers.Yy.Yy00 transformerQS(n = transformerData.n, R1 = transformerData.R1, L1sigma = transformerData.L1sigma, R2 = transformerData.R2, L2sigma = transformerData.L2sigma, alpha20_1(displayUnit = \"1/K\") = Modelica.Electrical.Machines.Thermal.Constants.alpha20Zero, alpha20_2(displayUnit = \"1/K\") = Modelica.Electrical.Machines.Thermal.Constants.alpha20Zero, T1Ref = 293.15, T2Ref = 293.15, T1Operational = 293.15, T2Operational = 293.15) annotation(
    Placement(transformation(extent = {{-10, -10}, {10, 10}}, origin = {20, 80})));
  Modelica.Electrical.QuasiStatic.SinglePhase.Basic.Ground ground2QS annotation(
    Placement(transformation(origin = {20, 50}, extent = {{-10, -10}, {10, 10}})));
  parameter Modelica.Electrical.Machines.Utilities.TransformerData transformerData(f = fNominal, V1 = VNominal, C1 = Modelica.Utilities.Strings.substring(transformerQS.VectorGroup, 1, 1), V2 = VNominal / sqrt(3), C2 = Modelica.Utilities.Strings.substring(transformerQS.VectorGroup, 2, 2), SNominal = 50E3, v_sc = 0.06, P_sc = 500) \"Transformer data\" annotation(
    Placement(transformation(extent = {{80, 80}, {100, 100}})));
  Modelica.Blocks.Sources.BooleanStep booleanStep2QS[m](each startTime = tStart2) annotation(
    Placement(transformation(extent = {{-60, 10}, {-40, 30}})));
  Modelica.Electrical.QuasiStatic.Polyphase.Ideal.IdealCommutingSwitch idealCommutingSwitchQS(final m = m, Ron = fill(1e-5, m), Goff = fill(50E-5, m)) annotation(
    Placement(transformation(extent = {{10, 10}, {-10, -10}}, origin = {50, 80})));
  Modelica.Mechanics.Rotational.Components.Inertia loadInertiaQS(J = JLoad) annotation(
    Placement(transformation(extent = {{50, 10}, {30, 30}})));
  Modelica.Mechanics.Rotational.Sources.QuadraticSpeedDependentTorque quadraticLoadTorqueQS(w_nominal = wLoad, TorqueDirection = false, tau_nominal = -TLoad, useSupport = false) annotation(
    Placement(transformation(extent = {{0, 10}, {20, 30}})));
  Magnetic.QuasiStatic.FundamentalWave.Utilities.TerminalBox terminalBoxQS(terminalConnection = \"D\", m = m) annotation(
    Placement(transformation(extent = {{80, 26}, {60, 46}})));
  parameter Modelica.Electrical.Machines.Utilities.ParameterRecords.IM_SquirrelCageData imcData \"Induction machine data\" annotation(
    Placement(transformation(extent = {{80, 52}, {100, 72}})));
  Magnetic.FundamentalWave.BasicMachines.InductionMachines.IM_SquirrelCage imc(p = imcData.p, fsNominal = imcData.fsNominal, TsRef = imcData.TsRef, alpha20s(displayUnit = \"1/K\") = imcData.alpha20s, Jr = imcData.Jr, Js = imcData.Js, frictionParameters = imcData.frictionParameters, phiMechanical(fixed = true), wMechanical(fixed = true), statorCoreParameters = imcData.statorCoreParameters, strayLoadParameters = imcData.strayLoadParameters, TrRef = imcData.TrRef, Rs = imcData.Rs * m / 3, Lssigma = imcData.Lssigma * m / 3, Lszero = imcData.Lszero * m / 3, Lm = imcData.Lm * m / 3, Lrsigma = imcData.Lrsigma * m / 3, Rr = imcData.Rr * m / 3, m = m, TsOperational = 293.15, effectiveStatorTurns = imcData.effectiveStatorTurns, alpha20r = imcData.alpha20r, TrOperational = 293.15) annotation(
    Placement(transformation(extent = {{80, -90}, {60, -70}})));
  Modelica.Electrical.Polyphase.Sensors.CurrentQuasiRMSSensor iSensor(m = m) annotation(
    Placement(transformation(origin = {-40, -20}, extent = {{-10, 10}, {10, -10}})));
  Modelica.Electrical.Polyphase.Sources.SineVoltage sineVoltage(final m = m, f = fill(fNominal, m), V = fill(sqrt(2 / 3) * VNominal, m)) annotation(
    Placement(transformation(origin = {-70, -20}, extent = {{10, 10}, {-10, -10}})));
  Modelica.Electrical.Polyphase.Basic.Star star(final m = m) annotation(
    Placement(transformation(extent = {{10, -10}, {-10, 10}}, rotation = 90, origin = {-80, -50})));
  Modelica.Electrical.Analog.Basic.Ground ground annotation(
    Placement(transformation(origin = {-80, -80}, extent = {{-10, -10}, {10, 10}})));
  Modelica.Blocks.Sources.BooleanStep booleanStep1[m](each startTime = tStart1) annotation(
    Placement(transformation(extent = {{-60, -60}, {-40, -40}})));
  Modelica.Electrical.Polyphase.Ideal.IdealClosingSwitch idealCloser(final m = m, Ron = fill(1e-5, m), Goff = fill(1e-5, m)) annotation(
    Placement(transformation(origin = {-10, -20}, extent = {{-10, 10}, {10, -10}})));
  Modelica.Electrical.Machines.BasicMachines.Transformers.Yy.Yy00 transformer(n = transformerData.n, R1 = transformerData.R1, L1sigma = transformerData.L1sigma, R2 = transformerData.R2, L2sigma = transformerData.L2sigma, T1Ref = 293.15, alpha20_1(displayUnit = \"1/K\") = Modelica.Electrical.Machines.Thermal.Constants.alpha20Zero, T2Ref = 293.15, alpha20_2(displayUnit = \"1/K\") = Modelica.Electrical.Machines.Thermal.Constants.alpha20Zero, T1Operational = 293.15, T2Operational = 293.15) annotation(
    Placement(transformation(extent = {{-10, -10}, {10, 10}}, origin = {20, -20})));
  Modelica.Electrical.Analog.Basic.Ground ground2 annotation(
    Placement(transformation(origin = {20, -50}, extent = {{-10, -10}, {10, 10}})));
  Modelica.Blocks.Sources.BooleanStep booleanStep2[m](each startTime = tStart2) annotation(
    Placement(transformation(extent = {{-60, -90}, {-40, -70}})));
  Modelica.Electrical.Polyphase.Ideal.IdealCommutingSwitch idealCommutingSwitch(final m = m, Ron = fill(1e-5, m), Goff = fill(50E-5, m)) annotation(
    Placement(transformation(extent = {{60, -10}, {40, -30}})));
  Modelica.Mechanics.Rotational.Components.Inertia loadInertia(J = JLoad) annotation(
    Placement(transformation(extent = {{50, -90}, {30, -70}})));
  Modelica.Mechanics.Rotational.Sources.QuadraticSpeedDependentTorque quadraticLoadTorque(w_nominal = wLoad, TorqueDirection = false, tau_nominal = -TLoad, useSupport = false) annotation(
    Placement(transformation(extent = {{0, -90}, {20, -70}})));
  Modelica.Electrical.Machines.Utilities.TerminalBox terminalBox(terminalConnection = \"D\") annotation(
    Placement(transformation(extent = {{80, -74}, {60, -54}})));
initial equation
  sum(imc.is) = 0;
  imc.is[1:2] = zeros(2);
  imc.rotorCage.electroMagneticConverter.V_m = Complex(0, 0);
  transformer.i2[1:2] = zeros(2);
equation
  connect(starQS.pin_n, groundQS.pin) annotation(
    Line(points = {{-80, 40}, {-80, 30}}, color = {85, 170, 255}));
  connect(terminalBoxQS.plug_sn, imcQS.plug_sn) annotation(
    Line(points = {{76, 30}, {76, 30}}, color = {85, 170, 255}));
  connect(terminalBoxQS.plug_sp, imcQS.plug_sp) annotation(
    Line(points = {{64, 30}, {64, 30}}, color = {85, 170, 255}));
  connect(loadInertiaQS.flange_b, quadraticLoadTorqueQS.flange) annotation(
    Line(points = {{30, 20}, {20, 20}}));
  connect(imcQS.flange, loadInertiaQS.flange_a) annotation(
    Line(points = {{60, 20}, {50, 20}}));
  connect(starQS.plug_p, sineVoltageQS.plug_n) annotation(
    Line(points = {{-80, 60}, {-80, 80}}, color = {85, 170, 255}));
  connect(booleanStep2QS.y, idealCommutingSwitchQS.control) annotation(
    Line(points = {{-39, 20}, {-10, 20}, {-10, 40}, {50, 40}, {50, 68}}, color = {255, 0, 255}));
  connect(transformerQS.starpoint2, ground2QS.pin) annotation(
    Line(points = {{25, 70}, {24, 70}, {24, 60}, {20, 60}}, color = {85, 170, 255}));
  connect(idealCommutingSwitchQS.plug_p, terminalBoxQS.plugSupply) annotation(
    Line(points = {{60, 80}, {70, 80}, {70, 32}}, color = {85, 170, 255}));
  connect(transformerQS.plug2, idealCommutingSwitchQS.plug_n1) annotation(
    Line(points = {{30, 80}, {36, 80}, {36, 76}, {40, 76}}, color = {85, 170, 255}));
  connect(sineVoltageQS.plug_p, iSensorQS.plug_p) annotation(
    Line(points = {{-60, 80}, {-50, 80}}, color = {85, 170, 255}));
  connect(booleanStep1QS.y, idealCloserQS.control) annotation(
    Line(points = {{-39, 50}, {-10, 50}, {-10, 68}}, color = {255, 0, 255}));
  connect(iSensorQS.plug_n, idealCloserQS.plug_p) annotation(
    Line(points = {{-30, 80}, {-20, 80}}, color = {85, 170, 255}));
  connect(transformerQS.plug1, idealCloserQS.plug_n) annotation(
    Line(points = {{10, 80}, {0, 80}}, color = {85, 170, 255}));
  connect(idealCloserQS.plug_n, idealCommutingSwitchQS.plug_n2) annotation(
    Line(points = {{0, 80}, {0, 100}, {40, 100}, {40, 80}}, color = {85, 170, 255}));
  connect(star.pin_n, ground.p) annotation(
    Line(points = {{-80, -60}, {-80, -70}}, color = {0, 0, 255}));
  connect(terminalBox.plug_sp, imc.plug_sp) annotation(
    Line(points = {{64, -70}, {64, -70}}, color = {0, 0, 255}));
  connect(loadInertia.flange_b, quadraticLoadTorque.flange) annotation(
    Line(points = {{30, -80}, {20, -80}}));
  connect(imc.flange, loadInertia.flange_a) annotation(
    Line(points = {{60, -80}, {50, -80}}));
  connect(star.plug_p, sineVoltage.plug_n) annotation(
    Line(points = {{-80, -40}, {-80, -20}}, color = {0, 0, 255}));
  connect(booleanStep2.y, idealCommutingSwitch.control) annotation(
    Line(points = {{-39, -80}, {-10, -80}, {-10, -60}, {50, -60}, {50, -32}}, color = {255, 0, 255}));
  connect(transformer.starpoint2, ground2.p) annotation(
    Line(points = {{25, -30}, {25, -40}, {20, -40}}, color = {0, 0, 255}));
  connect(idealCommutingSwitch.plug_p, terminalBox.plugSupply) annotation(
    Line(points = {{60, -20}, {70, -20}, {70, -68}}, color = {0, 0, 255}));
  connect(transformer.plug2, idealCommutingSwitch.plug_n1) annotation(
    Line(points = {{30, -20}, {36, -20}, {36, -24}, {40, -24}}, color = {0, 0, 255}));
  connect(sineVoltage.plug_p, iSensor.plug_p) annotation(
    Line(points = {{-60, -20}, {-50, -20}}, color = {0, 0, 255}));
  connect(booleanStep1.y, idealCloser.control) annotation(
    Line(points = {{-39, -50}, {-10, -50}, {-10, -32}, {-10, -32}}, color = {255, 0, 255}));
  connect(iSensor.plug_n, idealCloser.plug_p) annotation(
    Line(points = {{-30, -20}, {-20, -20}}, color = {0, 0, 255}));
  connect(transformer.plug1, idealCloser.plug_n) annotation(
    Line(points = {{10, -20}, {0, -20}}, color = {0, 0, 255}));
  connect(idealCloser.plug_n, idealCommutingSwitch.plug_n2) annotation(
    Line(points = {{0, -20}, {0, 0}, {40, 0}, {40, -20}}, color = {0, 0, 255}));
  connect(terminalBox.plug_sn, imc.plug_sn) annotation(
    Line(points = {{76, -70}, {76, -70}}, color = {0, 0, 255}));
  annotation(
    experiment(StopTime = 2.5, Interval = 0.0001, Tolerance = 1e-06),
    Documentation(info = \"<html>
<p>At start time tStart1 three-phase voltage is supplied to the induction machine with squirrel cage via the transformer;
the machine starts from standstill, accelerating inertias against load torque quadratic dependent on speed;
at start time tStart2 the machine is fed directly from the voltage source, finally reaching nominal speed.</p>
<p>
Simulate for 2.5 seconds and plot (versus time):</p>

<ul>
<li>currentQuasiRMSSensor.I: stator current RMS</li>
<li>aimc.wMechanical: motor's speed</li>
<li>aimc.tauElectrical: motor's torque</li>
</ul>
<p>Default machine parameters are used.</p>
</html>\"),
    Diagram(graphics = {Text(extent = {{80, 8}, {160, 0}}, textStyle = {TextStyle.Bold}, textString = \"%m phase quasi-static\"), Text(extent = {{80, -92}, {160, -100}}, fillColor = {255, 255, 170}, fillPattern = FillPattern.Solid, textStyle = {TextStyle.Bold}, textString = \"%m phase transient\")}),
    __OpenModelica_simulationFlags(nls = \"newton\"));
end IMC_Transformer;"
"within Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines;
model IMC_Transformer \"Induction machine with squirrel cage starting with transformer\"
  import Modelica.Constants.pi;
  extends Modelica.Icons.Example;
  constant Integer m=3 \"Number of phases\";
  parameter Modelica.SIunits.Voltage VNominal=100
    \"Nominal RMS voltage per phase\";
  parameter Modelica.SIunits.Frequency fNominal=imc.fsNominal \"Nominal frequency\";
  parameter Modelica.SIunits.Time tStart1=0.1 \"Start time\";
  parameter Modelica.SIunits.Time tStart2=2.0
    \"Start time of bypass transformer\";
  parameter Modelica.SIunits.Torque TLoad=161.4 \"Nominal load torque\";
  parameter Modelica.SIunits.AngularVelocity wLoad(displayUnit=\"rev/min\")=
       1440.45*2*Modelica.Constants.pi/60 \"Nominal load speed\";
  parameter Modelica.SIunits.Inertia JLoad=0.29
    \"Load's moment of inertia\";
  Magnetic.QuasiStatic.FundamentalWave.BasicMachines.InductionMachines.IM_SquirrelCage
    imcQS(
    p=imcData.p,
    fsNominal=imcData.fsNominal,
    Rs=imcData.Rs,
    TsRef=imcData.TsRef,
    alpha20s(displayUnit=\"1/K\") = imcData.alpha20s,
    Lssigma=imcData.Lssigma,
    Jr=imcData.Jr,
    Js=imcData.Js,
    frictionParameters=imcData.frictionParameters,
    wMechanical(fixed=true),
    gammar(fixed=true, start=pi/2),
    gamma(fixed=true, start=-pi/2),
    statorCoreParameters=imcData.statorCoreParameters,
    strayLoadParameters=imcData.strayLoadParameters,
    Lm=imcData.Lm,
    Lrsigma=imcData.Lrsigma,
    Rr=imcData.Rr,
    TrRef=imcData.TrRef,
    TsOperational=293.15,
    alpha20r=imcData.alpha20r,
    TrOperational=293.15)
    annotation (Placement(transformation(extent={{80,10},{60,30}})));
  Modelica.Electrical.QuasiStatic.Polyphase.Sensors.CurrentQuasiRMSSensor iSensorQS(m=m) annotation (Placement(transformation(
        origin={-40,80},
        extent={{-10,10},{10,-10}})));
  Modelica.Electrical.QuasiStatic.Polyphase.Sources.VoltageSource sineVoltageQS(
    final m=m,
    f=fNominal,
    V=fill(VNominal/sqrt(3), m)) annotation (Placement(transformation(origin={-70,80}, extent={{10,10},{-10,-10}})));
  Modelica.Electrical.QuasiStatic.Polyphase.Basic.Star starQS(final m=m) annotation (Placement(transformation(
        extent={{10,-10},{-10,10}},
        rotation=90,
        origin={-80,50})));
  Modelica.Electrical.QuasiStatic.SinglePhase.Basic.Ground groundQS annotation (Placement(transformation(
        origin={-80,20},
        extent={{-10,-10},{10,10}})));
  Modelica.Blocks.Sources.BooleanStep booleanStep1QS[m](each startTime=tStart1) annotation (Placement(transformation(extent={{-60,40},{-40,60}})));
  Modelica.Electrical.QuasiStatic.Polyphase.Ideal.IdealClosingSwitch idealCloserQS(
    final m=m,
    Ron=fill(1e-5, m),
    Goff=fill(1e-5, m)) annotation (Placement(transformation(
        origin={-10,80},
        extent={{-10,10},{10,-10}})));
  Modelica.Electrical.QuasiStatic.Machines.BasicMachines.Transformers.Yy.Yy00 transformerQS(
    n=transformerData.n,
    R1=transformerData.R1,
    L1sigma=transformerData.L1sigma,
    R2=transformerData.R2,
    L2sigma=transformerData.L2sigma,
    alpha20_1(displayUnit=\"1/K\") = Modelica.Electrical.Machines.Thermal.Constants.alpha20Zero,
    alpha20_2(displayUnit=\"1/K\") = Modelica.Electrical.Machines.Thermal.Constants.alpha20Zero,
    T1Ref=293.15,
    T2Ref=293.15,
    T1Operational=293.15,
    T2Operational=293.15) annotation (Placement(transformation(
        extent={{-10,-10},{10,10}},
        origin={20,80})));

  Modelica.Electrical.QuasiStatic.SinglePhase.Basic.Ground ground2QS annotation (Placement(transformation(
        origin={20,50},
        extent={{-10,-10},{10,10}})));
  parameter Modelica.Electrical.Machines.Utilities.TransformerData transformerData(
    f=fNominal,
    V1=VNominal,
    C1=Modelica.Utilities.Strings.substring(
        transformerQS.VectorGroup,
        1,
        1),
    V2=VNominal/sqrt(3),
    C2=Modelica.Utilities.Strings.substring(
        transformerQS.VectorGroup,
        2,
        2),
    SNominal=50E3,
    v_sc=0.06,
    P_sc=500) \"Transformer data\" annotation (Placement(transformation(extent={{80,80},{100,100}})));
  Modelica.Blocks.Sources.BooleanStep booleanStep2QS[m](each startTime=tStart2) annotation (Placement(transformation(extent={{-60,10},{-40,30}})));
  Modelica.Electrical.QuasiStatic.Polyphase.Ideal.IdealCommutingSwitch idealCommutingSwitchQS(
    final m=m,
    Ron=fill(1e-5, m),
    Goff=fill(50E-5, m)) annotation (Placement(transformation(
        extent={{10,10},{-10,-10}},
        origin={50,80})));
  Modelica.Mechanics.Rotational.Components.Inertia loadInertiaQS(J=JLoad) annotation (Placement(transformation(extent={{50,10},{30,30}})));
  Modelica.Mechanics.Rotational.Sources.QuadraticSpeedDependentTorque quadraticLoadTorqueQS(
    w_nominal=wLoad,
    TorqueDirection=false,
    tau_nominal=-TLoad,
    useSupport=false) annotation (Placement(transformation(extent={{0,10},{20,30}})));
  Magnetic.QuasiStatic.FundamentalWave.Utilities.TerminalBox terminalBoxQS(
      terminalConnection=\"D\", m=m)
    annotation (Placement(transformation(extent={{80,26},{60,46}})));
  parameter Modelica.Electrical.Machines.Utilities.ParameterRecords.IM_SquirrelCageData imcData \"Induction machine data\" annotation (Placement(transformation(extent={{80,52},{100,72}})));
  Magnetic.FundamentalWave.BasicMachines.InductionMachines.IM_SquirrelCage imc(
    p=imcData.p,
    fsNominal=imcData.fsNominal,
    TsRef=imcData.TsRef,
    alpha20s(displayUnit=\"1/K\") = imcData.alpha20s,
    Jr=imcData.Jr,
    Js=imcData.Js,
    frictionParameters=imcData.frictionParameters,
    phiMechanical(fixed=true),
    wMechanical(fixed=true),
    statorCoreParameters=imcData.statorCoreParameters,
    strayLoadParameters=imcData.strayLoadParameters,
    TrRef=imcData.TrRef,
    Rs=imcData.Rs*m/3,
    Lssigma=imcData.Lssigma*m/3,
    Lszero=imcData.Lszero*m/3,
    Lm=imcData.Lm*m/3,
    Lrsigma=imcData.Lrsigma*m/3,
    Rr=imcData.Rr*m/3,
    m=m,
    TsOperational=293.15,
    effectiveStatorTurns=imcData.effectiveStatorTurns,
    alpha20r=imcData.alpha20r,
    TrOperational=293.15)
    annotation (Placement(transformation(extent={{80,-90},{60,-70}})));
  Modelica.Electrical.Polyphase.Sensors.CurrentQuasiRMSSensor iSensor(m=m) annotation (Placement(transformation(
        origin={-40,-20},
        extent={{-10,10},{10,-10}})));
  Modelica.Electrical.Polyphase.Sources.SineVoltage sineVoltage(
    final m=m,
    f=fill(fNominal, m),
    V=fill(sqrt(2/3)*VNominal, m)) annotation (Placement(transformation(
        origin={-70,-20},
        extent={{10,10},{-10,-10}})));
  Modelica.Electrical.Polyphase.Basic.Star star(final m=m) annotation (
      Placement(transformation(extent={{10,-10},{-10,10}},
        rotation=90,
        origin={-80,-50})));
  Modelica.Electrical.Analog.Basic.Ground ground annotation (Placement(
        transformation(
        origin={-80,-80},
        extent={{-10,-10},{10,10}})));
  Modelica.Blocks.Sources.BooleanStep booleanStep1[m](each startTime=
        tStart1) annotation (Placement(transformation(extent={{-60,-60},{-40,-40}})));
  Modelica.Electrical.Polyphase.Ideal.IdealClosingSwitch idealCloser(
    final m=m,
    Ron=fill(1e-5, m),
    Goff=fill(1e-5, m)) annotation (Placement(transformation(
        origin={-10,-20},
        extent={{-10,10},{10,-10}})));
  Modelica.Electrical.Machines.BasicMachines.Transformers.Yy.Yy00 transformer(
    n=transformerData.n,
    R1=transformerData.R1,
    L1sigma=transformerData.L1sigma,
    R2=transformerData.R2,
    L2sigma=transformerData.L2sigma,
    T1Ref=293.15,
    alpha20_1(displayUnit=\"1/K\") = Modelica.Electrical.Machines.Thermal.Constants.alpha20Zero,
    T2Ref=293.15,
    alpha20_2(displayUnit=\"1/K\") = Modelica.Electrical.Machines.Thermal.Constants.alpha20Zero,
    T1Operational=293.15,
    T2Operational=293.15) annotation (Placement(transformation(
        extent={{-10,-10},{10,10}},
        origin={20,-20})));
  Modelica.Electrical.Analog.Basic.Ground ground2 annotation (Placement(
        transformation(
        origin={20,-50},
        extent={{-10,-10},{10,10}})));
  Modelica.Blocks.Sources.BooleanStep booleanStep2[m](each startTime=
        tStart2) annotation (Placement(transformation(extent={{-60,-90},{-40,-70}})));
  Modelica.Electrical.Polyphase.Ideal.IdealCommutingSwitch
    idealCommutingSwitch(
    final m=m,
    Ron=fill(1e-5, m),
    Goff=fill(50E-5, m)) annotation (Placement(transformation(
        extent={{60,-10},{40,-30}})));
  Modelica.Mechanics.Rotational.Components.Inertia loadInertia(J=JLoad)
    annotation (Placement(transformation(extent={{50,-90},{30,-70}})));
  Modelica.Mechanics.Rotational.Sources.QuadraticSpeedDependentTorque
    quadraticLoadTorque(
    w_nominal=wLoad,
    TorqueDirection=false,
    tau_nominal=-TLoad,
    useSupport=false) annotation (Placement(transformation(extent={{0,-90},{20,-70}})));
  Modelica.Electrical.Machines.Utilities.TerminalBox terminalBox(terminalConnection=\"D\") annotation (Placement(transformation(extent={{80,-74},{60,-54}})));
initial equation
  sum(imc.is) = 0;
  imc.is[1:2] = zeros(2);
  imc.rotorCage.electroMagneticConverter.V_m = Complex(0, 0);
  transformer.i2[1:2] = zeros(2);
equation
  connect(starQS.pin_n, groundQS.pin) annotation (Line(points={{-80,40},{-80,30}}, color={85,170,255}));
  connect(terminalBoxQS.plug_sn, imcQS.plug_sn) annotation (Line(points={{76,30},{76,30}}, color={85,170,255}));
  connect(terminalBoxQS.plug_sp, imcQS.plug_sp) annotation (Line(points={{64,30},{64,30}}, color={85,170,255}));
  connect(loadInertiaQS.flange_b, quadraticLoadTorqueQS.flange) annotation (Line(points={{30,20},{20,20}}));
  connect(imcQS.flange, loadInertiaQS.flange_a) annotation (Line(points={{60,20},{50,20}}));
  connect(starQS.plug_p, sineVoltageQS.plug_n) annotation (Line(points={{-80,60},{-80,80}}, color={85,170,255}));
  connect(booleanStep2QS.y, idealCommutingSwitchQS.control) annotation (Line(points={{-39,20},{-10,20},{-10,40},{50,40},{50,68}}, color={255,0,255}));
  connect(transformerQS.starpoint2, ground2QS.pin) annotation (Line(points={{25,70},{24,70},{24,60},{20,60}}, color={85,170,255}));
  connect(idealCommutingSwitchQS.plug_p, terminalBoxQS.plugSupply) annotation (Line(points={{60,80},{70,80},{70,32}}, color={85,170,255}));
  connect(transformerQS.plug2, idealCommutingSwitchQS.plug_n1) annotation (Line(points={{30,80},{36,80},{36,76},{40,76}}, color={85,170,255}));
  connect(sineVoltageQS.plug_p, iSensorQS.plug_p) annotation (Line(points={{-60,80},{-50,80}}, color={85,170,255}));
  connect(booleanStep1QS.y, idealCloserQS.control) annotation (Line(points={{-39,50},{-10,50},{-10,68}}, color={255,0,255}));
  connect(iSensorQS.plug_n, idealCloserQS.plug_p) annotation (Line(points={{-30,80},{-20,80}}, color={85,170,255}));
  connect(transformerQS.plug1, idealCloserQS.plug_n) annotation (Line(points={{10,80},{0,80}}, color={85,170,255}));
  connect(idealCloserQS.plug_n, idealCommutingSwitchQS.plug_n2) annotation (Line(points={{0,80},{0,100},{40,100},{40,80}}, color={85,170,255}));
  connect(star.pin_n,ground. p)
    annotation (Line(points={{-80,-60},{-80,-70}},
                                                 color={0,0,255}));
  connect(terminalBox.plug_sp, imc.plug_sp) annotation (Line(points={{64,-70},{64,-70}}, color={0,0,255}));
  connect(loadInertia.flange_b,quadraticLoadTorque. flange) annotation (
      Line(
      points={{30,-80},{20,-80}}));
  connect(imc.flange, loadInertia.flange_a) annotation (Line(points={{60,-80},{50,-80}}));
  connect(star.plug_p,sineVoltage. plug_n) annotation (Line(
      points={{-80,-40},{-80,-20}},
                                  color={0,0,255}));
  connect(booleanStep2.y,idealCommutingSwitch. control) annotation (Line(
      points={{-39,-80},{-10,-80},{-10,-60},{50,-60},{50,-32}},
                               color={255,0,255}));
  connect(transformer.starpoint2,ground2. p) annotation (Line(
      points={{25,-30},{25,-40},{20,-40}}, color={0,0,255}));
  connect(idealCommutingSwitch.plug_p, terminalBox.plugSupply) annotation (Line(points={{60,-20},{70,-20},{70,-68}}, color={0,0,255}));
  connect(transformer.plug2,idealCommutingSwitch. plug_n1) annotation (Line(points={{30,-20},{36,-20},{36,-24},{40,-24}}, color={0,0,255}));
  connect(sineVoltage.plug_p, iSensor.plug_p) annotation (Line(points={{-60,-20},{-50,-20}}, color={0,0,255}));
  connect(booleanStep1.y,idealCloser. control) annotation (Line(
      points={{-39,-50},{-10,-50},{-10,-32},{-10,-32}},
                                 color={255,0,255}));
  connect(iSensor.plug_n, idealCloser.plug_p) annotation (Line(points={{-30,-20},{-20,-20}}, color={0,0,255}));
  connect(transformer.plug1,idealCloser. plug_n) annotation (Line(
      points={{10,-20},{0,-20}},color={0,0,255}));
  connect(idealCloser.plug_n,idealCommutingSwitch. plug_n2) annotation (
      Line(
      points={{0,-20},{0,0},{40,0},{40,-20}},
                              color={0,0,255}));
  connect(terminalBox.plug_sn, imc.plug_sn) annotation (Line(points={{76,-70},{76,-70}}, color={0,0,255}));
  annotation (experiment(StopTime=2.5, Interval=0.0001, Tolerance=1e-06), Documentation(
        info=\"<html>
<p>At start time tStart1 three-phase voltage is supplied to the induction machine with squirrel cage via the transformer;
the machine starts from standstill, accelerating inertias against load torque quadratic dependent on speed;
at start time tStart2 the machine is fed directly from the voltage source, finally reaching nominal speed.</p>
<p>
Simulate for 2.5 seconds and plot (versus time):</p>

<ul>
<li>currentQuasiRMSSensor.I: stator current RMS</li>
<li>aimc.wMechanical: motor's speed</li>
<li>aimc.tauElectrical: motor's torque</li>
</ul>
<p>Default machine parameters are used.</p>
</html>\"),
    Diagram(graphics={
        Text(
          extent={{80,8},{160,0}},
                  textStyle={TextStyle.Bold},
          textString=\"%m phase quasi-static\"),
                                            Text(
                  extent={{80,-92},{160,-100}},
                  fillColor={255,255,170},
                  fillPattern=FillPattern.Solid,
                  textStyle={TextStyle.Bold},
          textString=\"%m phase transient\")}),
  __OpenModelica_simulationFlags(nls = \"newton\"));
end IMC_Transformer;
"
true
""
true
""
Update version strings...

Start version=Modelica
Write version updates for: /var/lib/hudson/slave/workspace/OpenModelica_UPDATE_LIBRARIES/build/Modelica trunk/package.mo
Start version=ModelicaServices
Write version updates for: /var/lib/hudson/slave/workspace/OpenModelica_UPDATE_LIBRARIES/build/ModelicaServices trunk/package.mo
Start version=Complex
Write version updates for: /var/lib/hudson/slave/workspace/OpenModelica_UPDATE_LIBRARIES/build/Complex trunk.mo
Start version=ModelicaTest
Write version updates for: /var/lib/hudson/slave/workspace/OpenModelica_UPDATE_LIBRARIES/build/ModelicaTest trunk/package.mo

true
true
make[1]: Entering directory '/var/lib/hudson/slave/workspace/OpenModelica_UPDATE_LIBRARIES'
diff -u -x .svn -x .git -x Library -r "git/Modelica/Modelica" "build/Modelica trunk" > "Modelica trunk.patch.tmp"
Makefile:139: recipe for target 'Modelica trunk.patch' failed
make[1]: [Modelica trunk.patch] Error 1 (ignored)
sed -i /^Only.in/d "Modelica trunk.patch.tmp"
sed -i 's/^\([+-][+-][+-]\) "\([^"]*\)"/\1 \2/' "Modelica trunk.patch.tmp"
mv "Modelica trunk.patch.tmp" "Modelica trunk.patch"
make[1]: Leaving directory '/var/lib/hudson/slave/workspace/OpenModelica_UPDATE_LIBRARIES'
make[1]: Entering directory '/var/lib/hudson/slave/workspace/OpenModelica_UPDATE_LIBRARIES'
diff -u -x .svn -x .git -x Library -r "git/Modelica/ModelicaServices" "build/ModelicaServices trunk" > "ModelicaServices trunk.patch.tmp"
Makefile:149: recipe for target 'ModelicaServices trunk.patch' failed
make[1]: [ModelicaServices trunk.patch] Error 1 (ignored)
sed -i /^Only.in/d "ModelicaServices trunk.patch.tmp"
sed -i 's/^\([+-][+-][+-]\) "\([^"]*\)"/\1 \2/' "ModelicaServices trunk.patch.tmp"
mv "ModelicaServices trunk.patch.tmp" "ModelicaServices trunk.patch"
make[1]: Leaving directory '/var/lib/hudson/slave/workspace/OpenModelica_UPDATE_LIBRARIES'
make[1]: Entering directory '/var/lib/hudson/slave/workspace/OpenModelica_UPDATE_LIBRARIES'
diff -u -x .svn -x .git -x Library -r "git/Modelica/ModelicaTest" "build/ModelicaTest trunk" > "ModelicaTest trunk.patch.tmp"
Makefile:144: recipe for target 'ModelicaTest trunk.patch' failed
make[1]: [ModelicaTest trunk.patch] Error 1 (ignored)
sed -i /^Only.in/d "ModelicaTest trunk.patch.tmp"
sed -i 's/^\([+-][+-][+-]\) "\([^"]*\)"/\1 \2/' "ModelicaTest trunk.patch.tmp"
mv "ModelicaTest trunk.patch.tmp" "ModelicaTest trunk.patch"
make[1]: Leaving directory '/var/lib/hudson/slave/workspace/OpenModelica_UPDATE_LIBRARIES'
make[1]: Entering directory '/var/lib/hudson/slave/workspace/OpenModelica_UPDATE_LIBRARIES'
diff -u "git/Modelica/Complex.mo" "build/Complex trunk.mo" > "Complex trunk.patch.tmp"
Makefile:154: recipe for target 'Complex trunk.patch' failed
make[1]: [Complex trunk.patch] Error 1 (ignored)
sed -i /^Only.in/d "Complex trunk.patch.tmp"
sed -i 's/^\([+-][+-][+-]\) "\([^"]*\)"/\1 \2/' "Complex trunk.patch.tmp"
mv "Complex trunk.patch.tmp" "Complex trunk.patch"
make[1]: Leaving directory '/var/lib/hudson/slave/workspace/OpenModelica_UPDATE_LIBRARIES'

HEAD is now at e0783d8 Fix models broken by #3214 (#3238)
HEAD is now at e0783d8... Fix models broken by #3214 (#3238)
HEAD is now at e0783d8 Fix models broken by #3214 (#3238)

Copy library [Complex] version [trunk] from /var/lib/hudson/slave/workspace/OpenModelica_UPDATE_LIBRARIES
Copy: cp -a git/Modelica/Complex.mo .customBuild/Modelica/ab27b20aa6c59be89d1667a46f688bf6ad27dcfb/Complex trunk.mo
Removing files: [.customBuild/Modelica/ab27b20aa6c59be89d1667a46f688bf6ad27dcfb/Complex trunk.mo/Resources/Library]
patching file 'Complex trunk.mo'
Applied Complex trunk.patch
true
""
true
""
"trunk"
""
true
""
{}
""
Error processing file: get-version.28722.mos
[/var/lib/hudson/slave/workspace/OpenModelica_UPDATE_LIBRARIES/get-version.28722.mos:6:1-6:69:writable] Error: Wrong number of subscripts in uses[i,1] (2 subscripts for 1 dimensions).
[/var/lib/hudson/slave/workspace/OpenModelica_UPDATE_LIBRARIES/get-version.28722.mos:6:1-6:69:writable] Error: Variable uses[i,1] not found in scope $foriter loop scope$.

# Error encountered! Exiting...
# Please check the error message and the flags.

Execution failed!
bash: bad-uses.sh: No such file or directory
20191125-202001~git~master-om1
.customBuild/Modelica/ab27b20aa6c59be89d1667a46f688bf6ad27dcfb/Complex trunk.mo turned to Complex trunk
Copy library [Modelica] version [trunk] from /var/lib/hudson/slave/workspace/OpenModelica_UPDATE_LIBRARIES
Copy: cp -a git/Modelica/Modelica .customBuild/Modelica/ab27b20aa6c59be89d1667a46f688bf6ad27dcfb/Modelica trunk
Removing files: [.customBuild/Modelica/ab27b20aa6c59be89d1667a46f688bf6ad27dcfb/Modelica trunk/Resources/Library]
patching file 'Modelica trunk/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Transformer.mo'
patching file 'Modelica trunk/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_YD.mo'
patching file 'Modelica trunk/package.mo'
Applied Modelica trunk.patch
true
""
true
""
"trunk"
""
true
""
{{"Complex","trunk"},{"ModelicaServices","trunk"}}
""
"Complex trunk
ModelicaServices trunk
"
true
""
bash: bad-uses.sh: No such file or directory
20191125-202001~git~master-om1
.customBuild/Modelica/ab27b20aa6c59be89d1667a46f688bf6ad27dcfb/Modelica trunk/package.mo turned to Modelica trunk
Copy library [ModelicaReference] version [trunk] from /var/lib/hudson/slave/workspace/OpenModelica_UPDATE_LIBRARIES
Copy: cp -a git/Modelica/ModelicaReference .customBuild/Modelica/ab27b20aa6c59be89d1667a46f688bf6ad27dcfb/ModelicaReference trunk
Removing files: [.customBuild/Modelica/ab27b20aa6c59be89d1667a46f688bf6ad27dcfb/ModelicaReference trunk/Resources/Library]
true
""
true
""
"4.0.0-dev"
""
true
""
{}
""
Error processing file: get-version.28864.mos
[/var/lib/hudson/slave/workspace/OpenModelica_UPDATE_LIBRARIES/get-version.28864.mos:6:1-6:69:writable] Error: Wrong number of subscripts in uses[i,1] (2 subscripts for 1 dimensions).
[/var/lib/hudson/slave/workspace/OpenModelica_UPDATE_LIBRARIES/get-version.28864.mos:6:1-6:69:writable] Error: Variable uses[i,1] not found in scope $foriter loop scope$.

# Error encountered! Exiting...
# Please check the error message and the flags.

Execution failed!
mv: cannot stat '.customBuild/Modelica/ab27b20aa6c59be89d1667a46f688bf6ad27dcfb/ModelicaReference 4.0.0-dev.uses': No such file or directory
bash: bad-uses.sh: No such file or directory
20191125-202001~git~master
.customBuild/Modelica/ab27b20aa6c59be89d1667a46f688bf6ad27dcfb/ModelicaReference trunk/package.mo turned to ModelicaReference trunk
Copy library [ModelicaServices] version [trunk] from /var/lib/hudson/slave/workspace/OpenModelica_UPDATE_LIBRARIES
Copy: cp -a git/Modelica/ModelicaServices .customBuild/Modelica/ab27b20aa6c59be89d1667a46f688bf6ad27dcfb/ModelicaServices trunk
Removing files: [.customBuild/Modelica/ab27b20aa6c59be89d1667a46f688bf6ad27dcfb/ModelicaServices trunk/Resources/Library]
patching file 'ModelicaServices trunk/package.mo'
Applied ModelicaServices trunk.patch
20191125-202001~git~master-om1
.customBuild/Modelica/ab27b20aa6c59be89d1667a46f688bf6ad27dcfb/ModelicaServices trunk/package.mo turned to ModelicaServices trunk
Copy library [ModelicaTest] version [trunk] from /var/lib/hudson/slave/workspace/OpenModelica_UPDATE_LIBRARIES
Copy: cp -a git/Modelica/ModelicaTest .customBuild/Modelica/ab27b20aa6c59be89d1667a46f688bf6ad27dcfb/ModelicaTest trunk
Removing files: [.customBuild/Modelica/ab27b20aa6c59be89d1667a46f688bf6ad27dcfb/ModelicaTest trunk/Resources/Library]
patching file 'ModelicaTest trunk/package.mo'
Applied ModelicaTest trunk.patch
true
""
true
""
"trunk"
""
true
""
{{"Modelica","trunk"}}
""
"Modelica trunk
"
true
""
bash: bad-uses.sh: No such file or directory
20191125-202001~git~master-om261
.customBuild/Modelica/ab27b20aa6c59be89d1667a46f688bf6ad27dcfb/ModelicaTest trunk/package.mo turned to ModelicaTest trunk
From https://github.com/modelica/Modelica
 * branch            HEAD       -> FETCH_HEAD
sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "master" GIT "https://github.com/simulatino/OpenHPL.git" fd4318a097d6933efa8d453f8328590b3b2e1bdd "git/OpenHPL" all
sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "master" GIT "https://github.com/modelica-3rdparty/SMEHV.git" 75f652b11ba0e6743a8461d888668414b1619514 "git/SMEHV" all
sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "master" GIT "https://github.com/SolarTherm/SolarTherm.git" 40c38036e01c4963d6ebeab996e2e6d26490e62b "git/SolarTherm" all
sh ./update-library.sh --omc "omc" --build-dir "build/" --license "bsd3" --patch-files "['Modelica 3.2.3.patch', 'ModelicaServices 3.2.3.patch']" --remove-files "Resources/Library" --intertrac "m:" --generate-patch-mos "MSL.3.2.3.mos" --no-dependencies "ModelicaServices" --gitbranch "maint/3.2.3" --patchlevel "Modelica:-om2,ModelicaServices:-om2" GIT "https://github.com/modelica/Modelica.git" 5673c87ef4f20870c96394a66cd5ab3e828dfa3e "git/Modelica" "Complex" "Modelica" "ModelicaReference none" "ModelicaServices" "ModelicaTest"
Running command omc MSL.3.2.3.mos
sh ./update-library.sh --omc "omc" --build-dir "build/" --license "bsd3" --patch-files "['Complex trunk.patch', 'Modelica trunk.patch', 'ModelicaServices trunk.patch', 'ModelicaTest trunk.patch']" --breaks "omlibrary-msl32,omlibrary-reference" --remove-files "Resources/Library" --intertrac "m:" --generate-patch-mos "MSL.trunk.mos" --no-dependencies "ModelicaServices" --gitbranch "master" --patchlevel "Complex:-om1,Modelica:-om1,ModelicaServices:-om1" GIT "https://github.com/modelica/Modelica.git" e0783d8e081c038575f65d59a6389056c97bd6ad "git/Modelica" "Complex trunk" "Modelica trunk" "ModelicaReference trunk" "ModelicaServices trunk" "ModelicaTest trunk"
Running command omc MSL.trunk.mos
https://github.com/modelica/Modelica.git branch master updated to ab27b20aa6c59be89d1667a46f688bf6ad27dcfb.
  * [https://github.com/modelica/Modelica/commit/ab27b20 ab27b20] refs #2775, #2796: Enable coupling factor k=1 in K_CoupledInductors (#3230)

https://github.com/simulatino/OpenHPL.git branch master updated to a4847c9eea793b9328d824d7163a17f3f4f14189.
  * [https://github.com/simulatino/OpenHPL/commit/a4847c9 a4847c9] Fixes #11 by correctly assigning the input to a state

https://github.com/modelica-3rdparty/SMEHV.git branch master updated to 3dfce9d386555bc7cd924d424775a6909a1e7d2e.
  * [https://github.com/modelica-3rdparty/SMEHV/commit/3dfce9d 3dfce9d] Updating tutorial according to Fritzson's recommendations

https://github.com/SolarTherm/SolarTherm.git branch master updated to 37194bb821bcc058d51d3895e9721d3c8da06eee.
  * [https://github.com/SolarTherm/SolarTherm/commit/37194bb 37194bb] Fixing Readme file
  * [https://github.com/SolarTherm/SolarTherm/commit/fcdd6c1 fcdd6c1] Uploading models and data used in solarPACES and APSRC 2019
  * [https://github.com/SolarTherm/SolarTherm/commit/f62e8ff f62e8ff] New lookup function to update the number of heliostats based on a user list
  * [https://github.com/SolarTherm/SolarTherm/commit/ca5d7cc ca5d7cc] Receivers package order updated to include new receiver model
  * [https://github.com/SolarTherm/SolarTherm/commit/bdf21af bdf21af] New Receiver Simple model with thermo-elastic stress calculation

Repository not in database: https://github.com/modelica-3rdparty/FreeFluidsModelica
rm -rf .customBuild
+ rm -rf /var/lib/hudson/slave/userContent/UPDATE_LIBRARIES/
+ mkdir -p /var/lib/hudson/slave/userContent/UPDATE_LIBRARIES/
+ test -d git
+ cp -al git /var/lib/hudson/slave/userContent/UPDATE_LIBRARIES/
+ test -d svn
+ cp -al svn /var/lib/hudson/slave/userContent/UPDATE_LIBRARIES/
+ git add repos.json 'Complex trunk.patch' 'Modelica 1.6.patch' 'Modelica 2.2.2.patch' 'Modelica 3.1.patch' 'Modelica 3.2.1.patch' 'Modelica 3.2.2.manual.patch' 'Modelica 3.2.2.patch' 'Modelica 3.2.3.manual.patch' 'Modelica 3.2.3.patch' 'ModelicaServices 1.0.patch' 'ModelicaServices 3.2.1.patch' 'ModelicaServices 3.2.2.manual.patch' 'ModelicaServices 3.2.2.patch' 'ModelicaServices 3.2.3.manual.patch' 'ModelicaServices 3.2.3.patch' 'ModelicaServices trunk.manual.patch' 'ModelicaServices trunk.patch' 'ModelicaTest trunk.patch' 'Modelica trunk.patch'
+ git diff --staged --exit-code
diff --git a/Complex trunk.patch b/Complex trunk.patch
index ddfa89c..13a8cc0 100644
--- a/Complex trunk.patch	
+++ b/Complex trunk.patch	
@@ -1,5 +1,5 @@
---- git/Modelica/Complex.mo	2019-11-26 19:03:03.956743322 +0100
-+++ build/Complex trunk.mo	2019-11-26 19:03:27.648975371 +0100
+--- git/Modelica/Complex.mo	2019-12-01 19:04:21.469631376 +0100
++++ build/Complex trunk.mo	2019-12-01 19:04:37.985779624 +0100
 @@ -236,7 +236,7 @@
  
  
diff --git a/Modelica 3.2.3.patch b/Modelica 3.2.3.patch
index 25feded..012927e 100644
--- a/Modelica 3.2.3.patch	
+++ b/Modelica 3.2.3.patch	
@@ -1,6 +1,6 @@
 diff -u -x .svn -x .git -x Library -r git/Modelica/Modelica/Magnetic/QuasiStatic/FundamentalWave.mo "build/Modelica 3.2.3/Magnetic/QuasiStatic/FundamentalWave.mo"
---- git/Modelica/Modelica/Magnetic/QuasiStatic/FundamentalWave.mo	2019-11-08 19:03:10.365122841 +0100
-+++ build/Modelica 3.2.3/Magnetic/QuasiStatic/FundamentalWave.mo	2019-11-08 19:03:36.881323060 +0100
+--- git/Modelica/Modelica/Magnetic/QuasiStatic/FundamentalWave.mo	2019-12-01 19:03:31.565179287 +0100
++++ build/Modelica 3.2.3/Magnetic/QuasiStatic/FundamentalWave.mo	2019-12-01 19:03:57.973419319 +0100
 @@ -1123,7 +1123,8 @@
                            fillColor={255,255,170},
                            fillPattern=FillPattern.Solid,
@@ -22,8 +22,8 @@ diff -u -x .svn -x .git -x Library -r git/Modelica/Modelica/Magnetic/QuasiStatic
  
          model IMC_Conveyor "Induction machine with squirrel cage and inverter driving a conveyor"
 diff -u -x .svn -x .git -x Library -r git/Modelica/Modelica/Math/package.mo "build/Modelica 3.2.3/Math/package.mo"
---- git/Modelica/Modelica/Math/package.mo	2019-11-08 19:03:10.381122963 +0100
-+++ build/Modelica 3.2.3/Math/package.mo	2019-11-08 19:03:27.049248969 +0100
+--- git/Modelica/Modelica/Math/package.mo	2019-12-01 19:03:31.645180017 +0100
++++ build/Modelica 3.2.3/Math/package.mo	2019-12-01 19:03:47.925328205 +0100
 @@ -13220,9 +13220,67 @@
    annotation (Documentation(info="<html>
  
@@ -168,8 +168,8 @@ diff -u -x .svn -x .git -x Library -r git/Modelica/Modelica/Math/package.mo "bui
  annotation (Icon(coordinateSystem(preserveAspectRatio=true, extent={{-100,-100},
            {100,100}}), graphics={Line(points={{-80,0},{-68.7,34.2},{-61.5,53.1},
 diff -u -x .svn -x .git -x Library -r git/Modelica/Modelica/Math/package.order "build/Modelica 3.2.3/Math/package.order"
---- git/Modelica/Modelica/Math/package.order	2019-11-08 19:03:10.381122963 +0100
-+++ build/Modelica 3.2.3/Math/package.order	2019-11-08 19:03:27.049248969 +0100
+--- git/Modelica/Modelica/Math/package.order	2019-12-01 19:03:31.645180017 +0100
++++ build/Modelica 3.2.3/Math/package.order	2019-12-01 19:03:47.925328205 +0100
 @@ -29,4 +29,6 @@
  baseIcon1
  baseIcon2
diff --git a/Modelica trunk.patch b/Modelica trunk.patch
index baeb9be..39978e4 100644
--- a/Modelica trunk.patch	
+++ b/Modelica trunk.patch	
@@ -1,6 +1,6 @@
 diff -u -x .svn -x .git -x Library -r git/Modelica/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Transformer.mo "build/Modelica trunk/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Transformer.mo"
---- git/Modelica/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Transformer.mo	2019-11-26 19:03:09.604798448 +0100
-+++ build/Modelica trunk/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Transformer.mo	2019-11-26 19:03:25.580955032 +0100
+--- git/Modelica/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Transformer.mo	2019-12-01 19:04:21.645632961 +0100
++++ build/Modelica trunk/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Transformer.mo	2019-12-01 19:04:35.729759413 +0100
 @@ -270,5 +270,6 @@
                    fillColor={255,255,170},
                    fillPattern=FillPattern.Solid,
@@ -10,8 +10,8 @@ diff -u -x .svn -x .git -x Library -r git/Modelica/Modelica/Magnetic/QuasiStatic
 +  __OpenModelica_simulationFlags(nls = "newton"));
  end IMC_Transformer;
 diff -u -x .svn -x .git -x Library -r git/Modelica/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_YD.mo "build/Modelica trunk/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_YD.mo"
---- git/Modelica/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_YD.mo	2019-11-26 19:03:09.604798448 +0100
-+++ build/Modelica trunk/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_YD.mo	2019-11-26 19:03:25.444953696 +0100
+--- git/Modelica/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_YD.mo	2019-12-01 19:04:21.645632961 +0100
++++ build/Modelica trunk/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_YD.mo	2019-12-01 19:04:35.593758194 +0100
 @@ -199,5 +199,6 @@
                    fillColor={255,255,170},
                    fillPattern=FillPattern.Solid,
@@ -21,8 +21,8 @@ diff -u -x .svn -x .git -x Library -r git/Modelica/Modelica/Magnetic/QuasiStatic
 +  __OpenModelica_simulationFlags(nls = "newton"));
  end IMC_YD;
 diff -u -x .svn -x .git -x Library -r git/Modelica/Modelica/package.mo "build/Modelica trunk/package.mo"
---- git/Modelica/Modelica/package.mo	2019-11-26 19:03:10.644808613 +0100
-+++ build/Modelica trunk/package.mo	2019-11-26 19:03:26.480963883 +0100
+--- git/Modelica/Modelica/package.mo	2019-12-01 19:04:21.765634039 +0100
++++ build/Modelica trunk/package.mo	2019-12-01 19:04:36.581767047 +0100
 @@ -8603,12 +8603,12 @@
  
  annotation (
diff --git a/ModelicaServices 3.2.3.patch b/ModelicaServices 3.2.3.patch
index 6d7c52e..5ab261a 100644
--- a/ModelicaServices 3.2.3.patch	
+++ b/ModelicaServices 3.2.3.patch	
@@ -1,6 +1,6 @@
 diff -u -w -x .svn -x .git -x Library -r git/Modelica/ModelicaServices/package.mo "build/ModelicaServices 3.2.3/package.mo"
---- git/Modelica/ModelicaServices/package.mo	2019-11-08 19:03:10.597124600 +0100
-+++ build/ModelicaServices 3.2.3/package.mo	2019-11-08 19:03:37.729329443 +0100
+--- git/Modelica/ModelicaServices/package.mo	2019-12-01 19:03:32.237185418 +0100
++++ build/ModelicaServices 3.2.3/package.mo	2019-12-01 19:03:58.821426998 +0100
 @@ -1,7 +1,7 @@
  within ;
 -package ModelicaServices "ModelicaServices (Default implementation) - Models and functions used in the Modelica Standard Library requiring a tool specific implementation"
diff --git a/ModelicaServices trunk.patch b/ModelicaServices trunk.patch
index 507151c..39678c8 100644
--- a/ModelicaServices trunk.patch	
+++ b/ModelicaServices trunk.patch	
@@ -1,6 +1,6 @@
 diff -u -x .svn -x .git -x Library -r git/Modelica/ModelicaServices/package.mo "build/ModelicaServices trunk/package.mo"
---- git/Modelica/ModelicaServices/package.mo	2019-11-26 19:03:10.652808692 +0100
-+++ build/ModelicaServices trunk/package.mo	2019-11-26 19:03:28.660985329 +0100
+--- git/Modelica/ModelicaServices/package.mo	2019-12-01 19:04:21.769634076 +0100
++++ build/ModelicaServices trunk/package.mo	2019-12-01 19:04:39.093789546 +0100
 @@ -1,7 +1,7 @@
  within ;
 -package ModelicaServices "ModelicaServices (Default implementation) - Models and functions used in the Modelica Standard Library requiring a tool specific implementation"
diff --git a/ModelicaTest trunk.patch b/ModelicaTest trunk.patch
index cef1552..e847595 100644
--- a/ModelicaTest trunk.patch	
+++ b/ModelicaTest trunk.patch	
@@ -1,6 +1,6 @@
 diff -u -x .svn -x .git -x Library -r git/Modelica/ModelicaTest/package.mo "build/ModelicaTest trunk/package.mo"
---- git/Modelica/ModelicaTest/package.mo	2019-11-26 19:03:10.724809396 +0100
-+++ build/ModelicaTest trunk/package.mo	2019-11-26 19:03:27.996978794 +0100
+--- git/Modelica/ModelicaTest/package.mo	2019-12-01 19:04:21.785634220 +0100
++++ build/ModelicaTest trunk/package.mo	2019-12-01 19:04:38.373783099 +0100
 @@ -49,12 +49,12 @@
  end testAllFunctions;
  
diff --git a/repos.json b/repos.json
index 2aa24e6..23dc249 100644
--- a/repos.json
+++ b/repos.json
@@ -684,7 +684,7 @@
             "patchlevel": "Modelica:-om2,ModelicaServices:-om2",
             "remove-files": "Resources/Library"
           },
-          "rev": "5673c87ef4f20870c96394a66cd5ab3e828dfa3e",
+          "rev": "28db1ee735cfe931c548e79554f6e8ae4081e54a",
           "targets": [
             "Complex",
             "Modelica",
@@ -710,7 +710,7 @@
             "patchlevel": "Complex:-om1,Modelica:-om1,ModelicaServices:-om1",
             "remove-files": "Resources/Library"
           },
-          "rev": "e0783d8e081c038575f65d59a6389056c97bd6ad",
+          "rev": "ab27b20aa6c59be89d1667a46f688bf6ad27dcfb",
           "targets": [
             "Complex trunk",
             "Modelica trunk",
@@ -899,7 +899,7 @@
       "options": {
         "gitbranch": "master"
       },
-      "rev": "fd4318a097d6933efa8d453f8328590b3b2e1bdd",
+      "rev": "a4847c9eea793b9328d824d7163a17f3f4f14189",
       "url": "https://github.com/simulatino/OpenHPL.git"
     },
     {
@@ -1039,7 +1039,7 @@
       "options": {
         "gitbranch": "master"
       },
-      "rev": "75f652b11ba0e6743a8461d888668414b1619514",
+      "rev": "3dfce9d386555bc7cd924d424775a6909a1e7d2e",
       "url": "https://github.com/modelica-3rdparty/SMEHV.git"
     },
     {
@@ -1088,7 +1088,7 @@
       "options": {
         "gitbranch": "master"
       },
-      "rev": "40c38036e01c4963d6ebeab996e2e6d26490e62b",
+      "rev": "37194bb821bcc058d51d3895e9721d3c8da06eee",
       "url": "https://github.com/SolarTherm/SolarTherm.git"
     },
     {
+ make python-update
rm -rf build/ build
rm -f *.uses
# Tags are fetched by check-update
make all-work
make[1]: Entering directory '/var/lib/hudson/slave/workspace/OpenModelica_UPDATE_LIBRARIES'
mkdir -p build/ svn
./update-library.py -n `cat Makefile.numjobs` --build-dir build/ --omc omc
sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "master" GIT "https://github.com/modelica-3rdparty/ADGenKinetics.git" 9bdfd968c5b85609956aa9929be8a6b8027b22cf "git/ADGenKinetics" all
sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "master" GIT "https://github.com/modelica-3rdparty/ADMSL.git" 19bf295f57beefe39107f1d520d9526e27f8a802 "git/ADMSL" "self"
sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "master" GIT "https://github.com/modelica-3rdparty/AdvancedNoise.git" 3d5ee54b4086e5c29e7276a7b92d40a3237aed8c "git/AdvancedNoise" all
sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "master" GIT "https://github.com/RWTH-EBC/AixLib.git" 92da5dfaa3cb4354de458b941fc45ca0d0e41cc1 "git/AixLib" all && sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "master" --gittag "v0.4.0" GIT "https://github.com/RWTH-EBC/AixLib.git" v0.4.0 "git/AixLib" all
sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "master" GIT "https://github.com/modelica-3rdparty/AlgebraTestSuite.git" b937e1a7f447138c59abec9b2092f84f16bf02e8 "git/AlgebraTestSuite" all
sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "master" --license "buildings" GIT "https://github.com/ibpsa/modelica.git" e17ca51ba6d873d43ea4013c5b69d72b95614aa6 "git/Annex60" "IBPSA latest" && sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "master" --license "buildings" --gittag "v1.0.0" GIT "https://github.com/ibpsa/modelica.git" v1.0.0 "git/Annex60" all && sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "master" --license "buildings" --gittag "v3.0.0" GIT "https://github.com/ibpsa/modelica.git" v3.0.0 "git/Annex60" all
sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "master" GIT "https://github.com/modelica-3rdparty/ApproxSpline.git" 9467974548607549a19db05ea66050286f370032 "git/ApproxSpline" all
sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "master" --license "mpl2" GIT "https://github.com/OpenModelica/BioChem.git" b5f3cb999f3cfad2bbb6fb429b496f61ecf2f628 "git/BioChem" all
sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "master" --license "lgpl3+" GIT "https://github.com/modelica-3rdparty/BondGraph.git" 20c23e60d12989bd4668ccac47659d82d39d29cc "git/BondGraph" all
sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "release" --encoding "Windows-1252" GIT "https://github.com/modelica-3rdparty/BondLib.git" df7a40fe612617da22e27d39edfa4b27d65f23d0 "git/BondLib" all
sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "master" GIT "https://github.com/modelica-3rdparty/BrineProp.git" 954ae654fe7a84177e6220465ed8af5d39628823 "git/BrineProp" all
sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "master" GIT "https://github.com/EDF-TREE/BuildSysPro.git" db8f2fcefc4c8b13b3d99ef11f0dc45df10bd533 "git/BuildSysPro" all
sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "master" GIT "https://github.com/modelica-3rdparty/BuildingControlLib.git" fffe3d891d2785fa676b94324d3f939c833fae5e "git/BuildingControlLib" all
sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "master" GIT "https://github.com/modelica-3rdparty/BuildingSystems.git" 4488a552ecbd9a6392eb5b48d18960611e556f59 "git/BuildingSystems" all
sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "master" --license "buildings" GIT "https://github.com/lbl-srg/modelica-buildings.git" 940031ca15a74aa3cce6ffa095c9fdf212592a4d "git/Buildings" "Buildings latest" && sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "master" --license "buildings" --gittag "v1.4_build1" GIT "https://github.com/lbl-srg/modelica-buildings.git" v1.4_build1 "git/Buildings" all && sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "master" --license "buildings" --gittag "v1.5+build.3" GIT "https://github.com/lbl-srg/modelica-buildings.git" v1.5+build.3 "git/Buildings" all && sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "master" --license "buildings" --gittag "v1.6+build.1" GIT "https://github.com/lbl-srg/modelica-buildings.git" v1.6+build.1 "git/Buildings" all && sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "master" --license "buildings" --gittag "v2.0.0" GIT "https://github.com/lbl-srg/modelica-buildings.git" v2.0.0 "git/Buildings" all && sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "master" --license "buildings" --gittag "v2.1.0" GIT "https://github.com/lbl-srg/modelica-buildings.git" v2.1.0 "git/Buildings" all && sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "master" --license "buildings" --gittag "v3.0.0" GIT "https://github.com/lbl-srg/modelica-buildings.git" v3.0.0 "git/Buildings" all && sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "master" --license "buildings" --gittag "v4.0.0" GIT "https://github.com/lbl-srg/modelica-buildings.git" v4.0.0 "git/Buildings" all && sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "master" --license "buildings" --gittag "v5.0.1" GIT "https://github.com/lbl-srg/modelica-buildings.git" v5.0.1 "git/Buildings" all && sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "master" --license "buildings" --gittag "v5.1.0" GIT "https://github.com/lbl-srg/modelica-buildings.git" v5.1.0 "git/Buildings" all && sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "master" --license "buildings" --gittag "v6.0.0" GIT "https://github.com/lbl-srg/modelica-buildings.git" v6.0.0 "git/Buildings" all
sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "master" GIT "https://github.com/modelica-3rdparty/Chemical.git" 7b8e10c50f845fc6819bf36caa5bb1a33bf87cb9 "git/Chemical" all
sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "master" GIT "https://github.com/modelica-3rdparty/ComplexLib.git" 0b78942ee4fa95ae71347a0d552dd869fdf4c708 "git/ComplexLib" all
sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "master" GIT "https://github.com/lochel/ConPNlib.git" f635b8b4144eb46ff6711b1566c34405df58cda1 "git/ConPNlib" all
sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "release" GIT "https://github.com/modelica-3rdparty/DESLib.git" 7a473d8d16b118c3ea05761c6f43b17fd9838e4e "git/DESLib" all
sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "master" GIT "https://github.com/modelica-3rdparty/DeployStructLib.git" ef1faa77179742cc7d2b7694aa49d85380481585 "git/DeployStructLib" all
sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "master" GIT "https://github.com/modelica-3rdparty/DisHeatLib.git" 40986891079003a1f9bbc88e4ecd491737f46dfe "git/DisHeatLib" all
sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "release" --license "bsd3" GIT "https://github.com/AHaumer/DriveControl.git" b7233fd97a92867bb4ec2c3647c7f7e888398644 "git/DriveControl" all
sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "release" --license "bsd3" GIT "https://github.com/AHaumer/EMOTH.git" fa890c8c2781f0c0b2f8efe955ed8a27875dd9ac "git/EMOTH" all
sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "master" GIT "https://github.com/modelica/ElectricalEnergyStorage.git" 12dff2e530cde3bbb65ed47bea662faf358d41ab "git/ElectricalEnergyStorage" all
sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "release" --license "bsd3" GIT "https://github.com/christiankral/ElectroMechanicalDrives.git" 6adf07109289eeb5994ce7cfa6966cf6aab49670 "git/ElectroMechanicalDrives" all
sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "release" GIT "https://github.com/modelica-3rdparty/ExtendedPetriNets.git" 2f4eac0651c1ab0ed56b75ec61424e0ef15181d3 "git/ExtendedPetriNets" all
sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "master" GIT "https://github.com/modelica-3rdparty/ExternData.git" cffbb4d59913bb08e7b47fab35cf4305f7424b7a "git/ExternData" all
sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "master" GIT "https://github.com/modelica/ExternalMedia.git" 159518edd538b64e28cd70983a9cc47730323cc4 "git/ExternalMedia" all
sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "master" GIT "https://github.com/modelica-3rdparty/ExternalMemoryLib.git" 6488d5815bda23c665123baa916789e283e16d2c "git/ExternalMemoryLib" all
sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "master" --remove-files "Resources/Source/Python/doc" GIT "https://github.com/kdavies4/FCSys.git" cb4b17f34313b9d8f2d4223d5365684b4dc1ab65 "git/FCSys" all
sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "master" GIT "https://github.com/modelica-3rdparty/FMITest.git" a67a276083f4010b249802ad8fc70dc30c09adfd "git/FMITest" all
sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "master" GIT "https://github.com/modelica-3rdparty/FailureModes.git" 2308191f123c6650c968ad767107330b06802fe0 "git/FailureModes" all
sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "master" GIT "https://github.com/open-ideas/FastBuildings.git" 1f5cfebc2f42c13e272bff639ffa3449d5740bf7 "git/FastBuildings" all
sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "master" GIT "https://github.com/modelica-3rdparty/FaultTriggering.git" 251892e06eb33189dc11dd254ea067041fc8150b "git/FaultTriggering" all
sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "master" GIT "https://github.com/modelica-3rdparty/FeedDriveLibrary.git" b25dd3ef582872ac6ed5f5e15cbac9e9a6df194a "git/FeedDriveLibrary" all
sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "master" GIT "https://github.com/DLR-SR/FractionalOrder.git" 99918820e346c362c3ad52d782c8215e5deeac4c "git/FractionalOrder" all
sh ./update-library.sh --omc "omc" --build-dir "build/" --std "2.x" --gitbranch "master" GIT "https://github.com/modelica-3rdparty/FuzzyControl.git" 19ff67ff129a440482cc85f216f287b05ea6ec0d "git/FuzzyControl" all
sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "master" GIT "https://github.com/modelica-3rdparty/Greenhouses-Library.git" 89ae0e8097eb0751abce2013d304fa5f9c09b885 "git/Greenhouses-Library" all
sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "release" --license "bsd3" GIT "https://github.com/christiankral/HanserModelica.git" 2713613502a20766404998fb8135e151dbf575fa "git/HanserModelica" all
sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "master" GIT "https://github.com/modelica-3rdparty/HelmholtzMedia.git" 79ed7302092fce65e3f35f556953c71a4f07d3c3 "git/HelmholtzMedia" all
sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "maintenance" GIT "https://github.com/tbeu/IdealizedContact.git" 2a526577a083fc189e0566102943a5173a675b41 "git/IdealizedContact" all
sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "master" --patchlevel "om1" GIT "https://github.com/modelica-3rdparty/IndustrialControlSystems.git" c4a2a9a1974bd6dca68774e841fee2ce926e1dd2 "git/IndustrialControlSystems" all
sh ./update-library.sh --omc "omc" --build-dir "build/"  SVN "https://svn.modelica.org/projects/Modelica_ElectricalSystems/InstantaneousSymmetricalComponents" 7978 "svn/InstantaneousSymmetricalComponents" all
sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "release" --license "bsd3" GIT "https://github.com/christiankral/KeyWordIO.git" 74eeea2df4c54ace14f6eeb13106cdb290f0c5b0 "git/KeyWordIO" all
sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "master" --license "gpl3" GIT "https://github.com/FishSim/LibRAS.git" fca9de50a484a2213f3ca1b39e275c237c471688 "git/LibRAS" all
sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "master" GIT "https://github.com/modelica-3rdparty/LinearMPC.git" c16ad1c1970ea581c51158cca0647e165dc4c3b9 "git/LinearMPC" all
sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "master" GIT "https://github.com/jjpotterkowski/ManualTracking.git" ab15d4cae19b5e4a1148d1d4b2a05c50864599ba "git/ManualTracking" all
sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "master" GIT "https://github.com/modelica-3rdparty/ModPowerSystems.git" 60955424cacbc20644d29f60faa6f476101c4a51 "git/ModPowerSystems" all
sh ./update-library.sh --omc "omc" --build-dir "build/" --patchlevel "Modelica:-om1" --intertrac "m:" --std "1.x" --license "modelica1.1" --gittag "v1.6" GIT "https://github.com/modelica/Modelica.git" v1.6 "git/Modelica" "self" && sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "maint/2.2.2" --breaks "omlibrary-msl222" --patchlevel "Modelica:-om1" --license "modelica1.1" --intertrac "m:" GIT "https://github.com/modelica/Modelica.git" d442bcd461b8db9873e33b6141bdbd37bcff9de8 "git/Modelica" all && sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "maint/3.1" --breaks "omlibrary-msl31" --patchlevel "Modelica:-om1,ModelicaServices:-om1" --no-dependencies "ModelicaServices" --intertrac "m:" GIT "https://github.com/modelica/Modelica.git" af2a3e1597d648d6826665c89cf9eaf5c2a632bc "git/Modelica" "Modelica" "ModelicaServices" && sh ./update-library.sh --omc "omc" --build-dir "build/" --breaks "omlibrary-msl32,omlibrary-reference" --remove-files "Resources/Library" --intertrac "m:" --no-dependencies "ModelicaServices" --gitbranch "maint/3.2.1" --patchlevel "Complex:-om1,Modelica:-om1,ModelicaServices:-om1" GIT "https://github.com/modelica/Modelica.git" 60cb4e48077fa22cc97d02e767baa83ec78aadf9 "git/Modelica" "Complex" "Modelica" "ModelicaServices" "ModelicaTest" && sh ./update-library.sh --omc "omc" --build-dir "build/" --patch-files "['Modelica 3.2.2.patch', 'ModelicaServices 3.2.2.patch']" --generate-patch-mos "MSL.3.2.2.mos" --intertrac "m:" --remove-files "Resources/Library" --no-dependencies "ModelicaServices" --gitbranch "maint/3.2.2" --patchlevel "Complex:-om1,Modelica:-om3,ModelicaServices:-om2" GIT "https://github.com/modelica/Modelica.git" d992c34ed978241214b4c079fb8ee6cc9e33d909 "git/Modelica" "Complex" "Modelica" "ModelicaServices" "ModelicaTest" "ModelicaTestOverdetermined" "ObsoleteModelica3" && sh ./update-library.sh --omc "omc" --build-dir "build/" --license "bsd3" --patch-files "['Modelica 3.2.3.patch', 'ModelicaServices 3.2.3.patch']" --generate-patch-mos "MSL.3.2.3.mos" --intertrac "m:" --remove-files "Resources/Library" --patchlevel "Modelica:-om2,ModelicaServices:-om2" --gitbranch "maint/3.2.3" --no-dependencies "ModelicaServices" GIT "https://github.com/modelica/Modelica.git" 28db1ee735cfe931c548e79554f6e8ae4081e54a "git/Modelica" "Complex" "Modelica" "ModelicaReference none" "ModelicaServices" "ModelicaTest" && sh ./update-library.sh --omc "omc" --build-dir "build/" --license "bsd3" --patch-files "['Complex trunk.patch', 'Modelica trunk.patch', 'ModelicaServices trunk.patch', 'ModelicaTest trunk.patch']" --breaks "omlibrary-msl32,omlibrary-reference" --generate-patch-mos "MSL.trunk.mos" --intertrac "m:" --remove-files "Resources/Library" --patchlevel "Complex:-om1,Modelica:-om1,ModelicaServices:-om1" --gitbranch "master" --no-dependencies "ModelicaServices" GIT "https://github.com/modelica/Modelica.git" ab27b20aa6c59be89d1667a46f688bf6ad27dcfb "git/Modelica" "Complex trunk" "Modelica trunk" "ModelicaReference trunk" "ModelicaServices trunk" "ModelicaTest trunk"
sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "master" GIT "https://github.com/modelica-3rdparty/Modelica-Arduino.git" cf51058d8bbe3b9edc78cf7c12a5c4981296ee69 "git/Modelica-Arduino" all
sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "master" GIT "https://github.com/modelica-3rdparty/Modelica-GNU_ScientificLibrary.git" 9235ab28bdd7f0fe3e7abba48af53d73332858ec "git/Modelica-GNU_ScientificLibrary" all
sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "master" GIT "https://github.com/modelica-3rdparty/Modelica-MVEM.git" 57c7aa394d70bffe6106afb2703b92bc532a05d1 "git/Modelica-MVEM" all
sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "master" GIT "https://github.com/modelica-3rdparty/ModelicaADS.git" 56eb724769bf9296c89fc91ea9274c6b477d76fa "git/ModelicaADS" all
sh ./update-library.sh --omc "omc" --build-dir "build/" --std "1.x" --gitbranch "release" GIT "https://github.com/modelica-deprecated/ModelicaAdditions.git" 568db43766186826b880f9d4bfafeff25cc2c4ab "git/ModelicaAdditions" all
sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "master" GIT "https://github.com/xogeny/ModelicaBook.git" 52ff3032cb97e9fc0b56e743813cacb89ff54eab "git/ModelicaBook" all
sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "master" GIT "https://github.com/modelica-compliance/compliance.git" 8a91e75d8a26acc4de30fc0e5d5e9db83c970bd6 "git/ModelicaCompliance" all
sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "master" GIT "https://github.com/modelica-3rdparty/ModelicaDEVS.git" a987aa9552fbbe71b2ee2e8c28958f9d213087ae "git/ModelicaDEVS" all
sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "master" GIT "https://github.com/modelica-3rdparty/ModelicaDFR.git" 37a441934d05330cf3d13e9ec551954d27eca84c "git/ModelicaDFR" all
sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "master" GIT "https://github.com/modelica-3rdparty/ModelicaTutorials.git" 49f5407835c4502d0653b34b3230b1f5be41b53f "git/ModelicaTutorials" all
sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "master" GIT "https://github.com/modelica/Modelica_DeviceDrivers.git" 0f9673507a4694a729b9be6abcfd49db8373da7b "git/Modelica_DeviceDrivers" all
sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "master" GIT "https://github.com/modelica/Modelica_LinearSystems2.git" 5485b6524c0ae9d8d9ecc48aef1db29d03714e6f "git/Modelica_LinearSystems2" all
sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "master" GIT "https://github.com/modelica-3rdparty/Modelica_Requirements.git" a427b5cb7997e9036c577d219e6b8a5d0c28389a "git/Modelica_Requirements" all
sh ./update-library.sh --omc "omc" --build-dir "build/"  SVN "https://svn.modelica.org/projects/Modelica_EmbeddedSystems/trunk/Modelica_StateGraph2" 9594 "svn/Modelica_StateGraph2" "self"
sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "master" GIT "https://github.com/modelica/Modelica_Synchronous.git" b4364eda7d010ad65fe959ab02d05737c7ad50e4 "git/Modelica_Synchronous" all
sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "master" GIT "https://github.com/modelica-3rdparty/MotorcycleDynamics.git" 2be2667f9936d88ffb9b8a8246c5af9ccb0b307f "git/MotorcycleDynamics" all
sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "master" GIT "https://github.com/jwindahlModelon/MultiPhaseMixtureMedia.git" 0bda0c58af6384f8e0edf7aa7520afb369af3e38 "git/MultiPhaseMixtureMedia" all
sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "release" GIT "https://github.com/modelica-3rdparty/NCLib.git" ed3d72f176ac6b7031ce73be9d80101141e74a69 "git/NCLib" all
sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "release" --encoding "Windows-1252" GIT "https://github.com/modelica-3rdparty/NeuralNetwork.git" c44e4d1fe97fd4f86dafcd05ad3713692e3f1806 "git/NeuralNetwork" all
sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "master" GIT "https://github.com/DLR-SR/Noise.git" 891468c5c25c39f49c785bbdb853a386a4d0e889 "git/Noise" all
sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "master" GIT "https://github.com/modelica-3rdparty/ObjectStab.git" 14a178c837390a0411613f85b11372503ee067ea "git/ObjectStab" all
sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "master" GIT "https://github.com/simulatino/OpenHPL.git" a4847c9eea793b9328d824d7163a17f3f4f14189 "git/OpenHPL" all
sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "master" GIT "https://github.com/cparedis/OpenHydraulics.git" 3485cf4ae0449f1a76af737b7705879f8f08c14f "git/OpenHydraulics" all
sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "master" GIT "https://github.com/SmarTS-Lab/OpenIPSL.git" 954216a05f910313d044d25a5b775b861e6cbd52 "git/OpenIPSL" all
sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "master" GIT "https://github.com/modelica-3rdparty/Optimisers.git" e33c69edaad6dad8029167b0ca00533964a6fe37 "git/Optimisers" all
sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "master" GIT "https://github.com/lochel/PNlib.git" a4c5354523423ab90405ebecd61ff39ebcfbf882 "git/PNlib" all
sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "master" GIT "https://github.com/modelica-3rdparty/PVSystems.git" 64bf03868c1db739c86552570ffaa64ac88834b0 "git/PVSystems" all
sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "release" --license "bsd3" GIT "https://github.com/modelica-3rdparty/PhotoVoltaics.git" 24f12ad3ca37765acda0163a88487ce47d987995 "git/PhotoVoltaics" all
sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "master" GIT "https://github.com/MarekMatejak/Physiolibrary.git" 49f2c3c723f91e78998f358c13bf8a558802c11c "git/Physiolibrary" all
sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "master" GIT "https://github.com/modelica-3rdparty/Physiomodel.git" 24b8cf389fa777667d0b1ad11999188d826ebf86 "git/Physiomodel" all
sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "master" GIT "https://github.com/dzimmer/PlanarMechanics.git" 8b20b76ebb7eb68e49742a3356c85ad0ee4d9246 "git/PlanarMechanics" all
sh ./update-library.sh --omc "omc" --build-dir "build/"  SVN "https://svn.modelica.org/projects/Modelica_ElectricalSystems/Modelica_PowerFlow/trunk" 3174 "svn/PowerFlow" all
sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "release" GIT "https://github.com/modelica/PowerSystems.git" df65a5460f811f7053b69f2abd864482d461d379 "git/PowerSystems" all
sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "master" GIT "https://github.com/modelica/PowerSystems.git" 7369976265a9d7b62097340aba5e463c62cc5061 "git/PowerSystems-latest" "PowerSystems latest"
sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "master" --license "gpl3" GIT "https://github.com/modelica-3rdparty/PraxisSimulationstechnik.git" 7446be67ec1c931b1d43fb51721b23b495916c1f "git/PraxisSimulationstechnik" "PraxisSimulationstechnik"
sh ./update-library.sh --omc "omc" --build-dir "build/" --std "2.x" --gitbranch "release" --license "modelica1.1" --encoding "Windows-1252" GIT "https://github.com/modelica-3rdparty/QSSFluidFlow.git" d84a2c107132f2cd47ea3c3751238d69e4b1f64b "git/QSSFluidFlow" all
sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "master" --encoding "Windows-1252" GIT "https://github.com/modelica-3rdparty/RealTimeCoordinationLibrary.git" 5aaf3c3971850ff7ecdb1392b8ef020b605235e8 "git/RealTimeCoordinationLibrary" "self"
sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "master" GIT "https://github.com/modelica-3rdparty/SMEHV.git" 3dfce9d386555bc7cd924d424775a6909a1e7d2e "git/SMEHV" all
sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "master" GIT "https://github.com/casella/ScalableTestSuite.git" d21658efc9238d5b19f556601a8a40bce2306944 "git/ScalableTestSuite" all
sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "master" GIT "https://github.com/modelica-3rdparty/Servomechanisms.git" 3bf82ba5d3f31b4a0ae05f99ae690037358e153e "git/Servomechanisms" all
sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "omctest" GIT "https://openmodelica.org/git/SiemensPower.git" 73a3bfc6d2ddd72165bb0f3e7e9df48b643a5ed0 "git/SiemensPower" all && sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "2.1/beta" GIT "https://openmodelica.org/git/SiemensPower.git" 5ef2e38b64ff481801c0db19d52f0bef21f85f77 "git/SiemensPower" all && sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "master" GIT "https://openmodelica.org/git/SiemensPower.git" 88e758037da4a8ca1b21b468409b15417a27d992 "git/SiemensPower" all
sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "master" GIT "https://github.com/SolarTherm/SolarTherm.git" 37194bb821bcc058d51d3895e9721d3c8da06eee "git/SolarTherm" all
sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "master" GIT "https://github.com/modelica-3rdparty/Soltermica.git" 9f7224bd89335f95dffe1ccdaa094df5a3279fdf "git/Soltermica" all
sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "master" GIT "https://github.com/modelica-3rdparty/Spot.git" b5c084ca0cbb13ba137ac2c449240410cecfaaf1 "git/Spot" all
sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "master" --license "modelica1.1" GIT "https://github.com/modelica-3rdparty/SystemDynamics.git" b0347610cb57ecec6756e78cb51ab5e94eb7b176 "git/SystemDynamics" all
sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "master" GIT "https://github.com/thom-marx/ThermalSeparation.git" 770322afcc72ad745768ae371bc9e9dad1a79edc "git/ThermalSeparation" all
sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "master" GIT "https://github.com/casella/ThermoPower.git" 466a80ca738b897b26248e680d21584526b9edb6 "git/ThermoPower" all
sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "maint/3.0" GIT "https://openmodelica.org/git/ThermoSysPro.git" d4f9c3ed35f7520f82439eb6e9f4057ae0f82b73 "git/ThermoSysPro" all && sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "master" GIT "https://openmodelica.org/git/ThermoSysPro.git" 55a68410d1de584a39edd47a446e59a385688b63 "git/ThermoSysPro" all
sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "master" GIT "https://github.com/lenaRB/VVDRlib.git" eae4981674642eddffc7f2aa3690320fcaddee0e "git/VVDRlib" "self"
sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "release" GIT "https://github.com/modelica/VehicleInterfaces.git" ad956a35643d53e207ee126d67ea1f3f38337a39 "git/VehicleInterfaces" all && sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "master" --gittag "v1.2.4" GIT "https://github.com/modelica/VehicleInterfaces.git" v1.2.4 "git/VehicleInterfaces" "VehicleInterfaces 1.2.4"
sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "master" GIT "https://github.com/modelica-3rdparty/WasteWater.git" 0c5eecaadf82cd9e3a6a4ffa6241903e38fd1946 "git/WasteWater" all
sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "master" GIT "https://github.com/modelica-3rdparty/Wavelet.git" 0efd31402f62014dc8f4774e043b45428f390156 "git/Wavelet" all
sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "release" --license "bsd3" GIT "https://github.com/modelica-3rdparty/WindPowerPlants.git" 98267524329041e215106ca6ee75b863f4c6f6d9 "git/WindPowerPlants" all
sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "master" GIT "https://github.com/xogeny/XogenyTest.git" 4410a3224e1803565d57ff323c3bef5a4bfd6b4d "git/XogenyTest" all
sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "master" GIT "https://github.com/modelica-3rdparty/ipsl.git" e0e3ea079a0398a3b0b094baaa3736350faa525b "git/ipsl" all
sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "master" GIT "https://github.com/modelica-3rdparty/modelica-flight.git" f3ae1c3ebe1b33921654a0e0d59d6e65f0bcfe84 "git/modelica-flight" all
sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "master" GIT "https://github.com/modelica-3rdparty/msgpack-modelica.git" 49636e0f59ea14684384b90a12e065774de8b97b "git/msgpack-modelica" all
sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "master" --license "lgpl2.1+" GIT "https://github.com/modelica-3rdparty/netCDF-DataReader.git" 706ffafcc5a33f52217b4198f74242072e198803 "git/netCDF-DataReader" all
sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "master" GIT "https://github.com/joewa/open-bldc-modelica.git" 58a83b5b36f267613de4676c95163489b1ddc2e7 "git/open-bldc-modelica" all
sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "master" GIT "https://github.com/modelica-3rdparty/openfdm.git" 382562b4b3a499472017977e52e62b6ac2f88baa "git/openfdm" all
sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "master" GIT "https://github.com/modelica-3rdparty/pow_el.git" d31575eef403553bdd5dc0974c102366d0afae2c "git/pow_el" all
*** Failed sh ./update-library.sh --omc "omc" --build-dir "build/" --gitbranch "master" GIT "https://github.com/SolarTherm/SolarTherm.git" 37194bb821bcc058d51d3895e9721d3c8da06eee "git/SolarTherm" all: HEAD is now at 40c3803 SaltSCO2System updated
HEAD is now at 37194bb... Fixing Readme file
HEAD is now at 37194bb Fixing Readme file
SolarTherm examples
Copy library [SolarTherm] version [] from /var/lib/hudson/slave/workspace/OpenModelica_UPDATE_LIBRARIES
true
""
true
""
"0.2"
""
true
""
{{"Modelica","3.2.2"}}
""
"Modelica 3.2.2
"
true
""
Got version 0.2 for SolarTherm
Copy: cp -a git/SolarTherm/SolarTherm build//SolarTherm 0.2
true
""
true
""
"0.2"
""
true
""
{{"Modelica","3.2.2"}}
""
"Modelica 3.2.2
"
true
""
0.2-20191129-191402~git~master
build//SolarTherm 0.2/package.mo turned to SolarTherm 0.2
Copy library [examples] version [] from /var/lib/hudson/slave/workspace/OpenModelica_UPDATE_LIBRARIES
true
""
false
"[/var/lib/hudson/slave/workspace/OpenModelica_UPDATE_LIBRARIES/git/SolarTherm/examples/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory.
Missing names are:
	Small_SolarSalt
[/var/lib/hudson/slave/workspace/OpenModelica_UPDATE_LIBRARIES/git/SolarTherm/examples/Small_SolarSalt.mo:1:1-451:20:writable] Error: Expected the package to have within examples; but got within ;.
Error: Failed to load package examples () using MODELICAPATH /var/lib/hudson/slave/workspace/OpenModelica_UPDATE_LIBRARIES/git/SolarTherm.
"
""
""
true
""
Error processing file: get-version.9022.mos
# Error encountered! Exiting...
# Please check the error message and the flags.

Execution failed!
Got version  for examples
Copy: cp -a git/SolarTherm/examples build//examples
true
""
false
"[/var/lib/hudson/slave/workspace/OpenModelica_UPDATE_LIBRARIES/build/examples/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory.
Missing names are:
	Small_SolarSalt
[/var/lib/hudson/slave/workspace/OpenModelica_UPDATE_LIBRARIES/build/examples/Small_SolarSalt.mo:1:1-451:20:writable] Error: Expected the package to have within examples; but got within ;.
Error: Failed to load package examples () using MODELICAPATH /var/lib/hudson/slave/workspace/OpenModelica_UPDATE_LIBRARIES/build.
"
""
""
true
""
Error processing file: get-version.9063.mos
# Error encountered! Exiting...
# Please check the error message and the flags.

Execution failed!
0.2-20191129-191402~git~master
build//examples/package.mo turned to examples
Failed to load build//examples/package.mo:


Makefile:35: recipe for target 'all-work' failed
make[1]: *** [all-work] Error 1
make[1]: Leaving directory '/var/lib/hudson/slave/workspace/OpenModelica_UPDATE_LIBRARIES'
Makefile:28: recipe for target 'python-update' failed
make: *** [python-update] Error 2
+ exit 1
Sending e-mails to: openmodelicabuilds@ida.liu.se
[DEBUG] Skipping watched dependency update for build: OpenModelica_UPDATE_LIBRARIES #2530 due to result: FAILURE
Finished: FAILURE

Powered by Hudson Open Source Continuous Integration Server from the Eclipse Foundation