<?xml version="1.0" encoding="UTF-8"?>
<fmiModelDescription
  fmiVersion="2.0"
  modelName="PW_PowerSystem"
  guid="{4d380cc7-cc74-4e83-9726-8f0ae3e20528}"
  description=""
  generationTool="OpenModelica Compiler v1.12.0-dev-77-g56dc448 (32-bit)"
  generationDateAndTime="2017-01-02T09:52:39Z"
  variableNamingConvention="structured"
  numberOfEventIndicators="2">
  <CoSimulation
    modelIdentifier="PW_PowerSystem"
    needsExecutionTool="false"
    canHandleVariableCommunicationStepSize="true"
    canInterpolateInputs="false"
    maxOutputDerivativeOrder="1"
    canRunAsynchronuously = "false"
    canBeInstantiatedOnlyOncePerProcess="false"
    canNotUseMemoryManagementFunctions="false"
    canGetAndSetFMUstate="false"
    canSerializeFMUstate="false"
     />
  <TypeDefinitions>
    <SimpleType name="StateSelect">
      <Enumeration>
        <Item name="never" value="1"/>
        <Item name="avoid" value="2"/>
        <Item name="default" value="3"/>
        <Item name="prefer" value="4"/>
        <Item name="always" value="5"/>
      </Enumeration>
    </SimpleType>
  </TypeDefinitions>
  <LogCategories>
    <Category name="logEvents" />
    <Category name="logSingularLinearSystems" />
    <Category name="logNonlinearSystems" />
    <Category name="logDynamicStateSelection" />
    <Category name="logStatusWarning" />
    <Category name="logStatusDiscard" />
    <Category name="logStatusError" />
    <Category name="logStatusFatal" />
    <Category name="logStatusPending" />
    <Category name="logAll" />
    <Category name="logFmi2Call" />
  </LogCategories>
  <DefaultExperiment startTime="0.0" stopTime="8.0" tolerance="0.0001"/>
  <ModelVariables>
  <!-- Index of variable = "1" -->
  <ScalarVariable
    name="motor.airGapDC.psi_e"
    valueReference="0"
    description="Excitation flux"
    variability="continuous"
    causality="local"
    initial="exact">
    <Real start="0.0"/>
  </ScalarVariable>
  <!-- Index of variable = "2" -->
  <ScalarVariable
    name="motor.inertiaRotor.w"
    valueReference="1"
    description="Absolute angular velocity of component (= der(phi))"
    variability="continuous"
    causality="local"
    initial="exact">
    <Real start="0.0"/>
  </ScalarVariable>
  <!-- Index of variable = "3" -->
  <ScalarVariable
    name="motor.la.i"
    valueReference="2"
    description="Current flowing from pin p to pin n"
    variability="continuous"
    causality="local"
    initial="exact">
    <Real start="0.0"/>
  </ScalarVariable>
  <!-- Index of variable = "4" -->
  <ScalarVariable
    name="motor.phiMechanical"
    valueReference="3"
    description="Mechanical angle of rotor against stator"
    variability="continuous"
    causality="local"
    initial="exact">
    <Real start="0.0"/>
  </ScalarVariable>
  <!-- Index of variable = "5" -->
  <ScalarVariable
    name="der(motor.airGapDC.psi_e)"
    valueReference="4"
    description="Excitation flux"
    variability="continuous"
    causality="local"
    initial="calculated">
    <Real derivative="1"/>
  </ScalarVariable>
  <!-- Index of variable = "6" -->
  <ScalarVariable
    name="der(motor.inertiaRotor.w)"
    valueReference="5"
    description="Absolute angular velocity of component (= der(phi))"
    variability="continuous"
    causality="local"
    initial="calculated">
    <Real derivative="2"/>
  </ScalarVariable>
  <!-- Index of variable = "7" -->
  <ScalarVariable
    name="der(motor.la.i)"
    valueReference="6"
    description="Current flowing from pin p to pin n"
    variability="continuous"
    causality="local"
    initial="calculated">
    <Real derivative="3"/>
  </ScalarVariable>
  <!-- Index of variable = "8" -->
  <ScalarVariable
    name="der(motor.phiMechanical)"
    valueReference="7"
    description="Mechanical angle of rotor against stator"
    variability="continuous"
    causality="local"
    initial="calculated">
    <Real derivative="4"/>
  </ScalarVariable>
  <!-- Index of variable = "9" -->
  <ScalarVariable
    name="der(motor.friction.phi)"
    valueReference="8"
    description="Angle between shaft and support"
    variability="continuous"
    causality="local"
    initial="exact">
    <Real start="0.0"/>
  </ScalarVariable>
  <!-- Index of variable = "10" -->
  <ScalarVariable
    name="der(motor.lesigma.i)"
    valueReference="9"
    description="Current flowing from pin p to pin n"
    variability="continuous"
    causality="local"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "11" -->
  <ScalarVariable
    name="der(motor.strayLoad.phi)"
    valueReference="10"
    description="Angle between shaft and support"
    variability="continuous"
    causality="local"
    initial="exact">
    <Real start="0.0"/>
  </ScalarVariable>
  <!-- Index of variable = "12" -->
  <ScalarVariable
    name="der(speedSensor1.flange.phi)"
    valueReference="11"
    description="Absolute rotation angle of flange"
    variability="continuous"
    causality="local"
    initial="exact">
    <Real start="0.0"/>
  </ScalarVariable>
  <!-- Index of variable = "13" -->
  <ScalarVariable
    name="arm_current"
    valueReference="12"
    variability="continuous"
    causality="output"
    initial="exact">
    <Real start="0.0"/>
  </ScalarVariable>
  <!-- Index of variable = "14" -->
  <ScalarVariable
    name="arm_sensor.p.v"
    valueReference="13"
    description="Potential at the pin"
    variability="continuous"
    causality="local"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "15" -->
  <ScalarVariable
    name="down_input"
    valueReference="14"
    variability="continuous"
    causality="input"
    >
    <Real start="0.0"/>
  </ScalarVariable>
  <!-- Index of variable = "16" -->
  <ScalarVariable
    name="idealCommutingSwitch1.LossPower"
    valueReference="15"
    description="Loss power leaving component via heatPort"
    variability="continuous"
    causality="local"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "17" -->
  <ScalarVariable
    name="idealCommutingSwitch1.n1.i"
    valueReference="16"
    description="Current flowing into the pin"
    variability="continuous"
    causality="local"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "18" -->
  <ScalarVariable
    name="idealCommutingSwitch1.n2.i"
    valueReference="17"
    description="Current flowing into the pin"
    variability="continuous"
    causality="local"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "19" -->
  <ScalarVariable
    name="idealCommutingSwitch1.s1"
    valueReference="18"
    variability="continuous"
    causality="local"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "20" -->
  <ScalarVariable
    name="idealCommutingSwitch1.s2"
    valueReference="19"
    description="Auxiliary variables"
    variability="continuous"
    causality="local"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "21" -->
  <ScalarVariable
    name="idealCommutingSwitch2.LossPower"
    valueReference="20"
    description="Loss power leaving component via heatPort"
    variability="continuous"
    causality="local"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "22" -->
  <ScalarVariable
    name="idealCommutingSwitch2.n1.i"
    valueReference="21"
    description="Current flowing into the pin"
    variability="continuous"
    causality="local"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "23" -->
  <ScalarVariable
    name="idealCommutingSwitch2.n2.i"
    valueReference="22"
    description="Current flowing into the pin"
    variability="continuous"
    causality="local"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "24" -->
  <ScalarVariable
    name="idealCommutingSwitch2.p.v"
    valueReference="23"
    description="Potential at the pin"
    variability="continuous"
    causality="local"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "25" -->
  <ScalarVariable
    name="idealCommutingSwitch2.s1"
    valueReference="24"
    variability="continuous"
    causality="local"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "26" -->
  <ScalarVariable
    name="idealCommutingSwitch2.s2"
    valueReference="25"
    description="Auxiliary variables"
    variability="continuous"
    causality="local"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "27" -->
  <ScalarVariable
    name="input_torque"
    valueReference="26"
    variability="continuous"
    causality="input"
    >
    <Real start="0.0"/>
  </ScalarVariable>
  <!-- Index of variable = "28" -->
  <ScalarVariable
    name="motor.airGapDC.pin_ap.v"
    valueReference="27"
    description="Potential at the pin"
    variability="continuous"
    causality="local"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "29" -->
  <ScalarVariable
    name="motor.airGapDC.vai"
    valueReference="28"
    description="Induced armature voltage"
    variability="continuous"
    causality="local"
    initial="exact">
    <Real start="0.0"/>
  </ScalarVariable>
  <!-- Index of variable = "30" -->
  <ScalarVariable
    name="motor.airGapDC.vei"
    valueReference="29"
    description="Voltage drop across field excitation inductance"
    variability="continuous"
    causality="local"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "31" -->
  <ScalarVariable
    name="motor.brush.heatPort.Q_flow"
    valueReference="30"
    description="Heat flow rate (positive if flowing from outside into the component)"
    variability="continuous"
    causality="local"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "32" -->
  <ScalarVariable
    name="motor.brush.lossPower"
    valueReference="31"
    description="Loss power leaving component via heatPort (&gt; 0, if heat is flowing out of component)"
    variability="continuous"
    causality="local"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "33" -->
  <ScalarVariable
    name="motor.brush.v"
    valueReference="32"
    description="Voltage drop between the two pins (= p.v - n.v)"
    variability="continuous"
    causality="local"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "34" -->
  <ScalarVariable
    name="motor.compoundDCExcitation.pin_sen.i"
    valueReference="33"
    description="Current flowing into the pin"
    variability="continuous"
    causality="local"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "35" -->
  <ScalarVariable
    name="motor.compoundDCExcitation.pin_sep.i"
    valueReference="34"
    description="Current flowing into the pin"
    variability="continuous"
    causality="local"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "36" -->
  <ScalarVariable
    name="motor.compoundDCExcitation.vse"
    valueReference="35"
    variability="continuous"
    causality="local"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "37" -->
  <ScalarVariable
    name="motor.core.Gc"
    valueReference="36"
    description="Variable core loss conductance"
    variability="continuous"
    causality="local"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "38" -->
  <ScalarVariable
    name="motor.core.heatPort.Q_flow"
    valueReference="37"
    description="Heat flow rate (positive if flowing from outside into the component)"
    variability="continuous"
    causality="local"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "39" -->
  <ScalarVariable
    name="motor.core.i"
    valueReference="38"
    description="Current flowing from pin p to pin n"
    variability="continuous"
    causality="local"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "40" -->
  <ScalarVariable
    name="motor.core.lossPower"
    valueReference="39"
    description="Loss power leaving component via heatPort (&gt; 0, if heat is flowing out of component)"
    variability="continuous"
    causality="local"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "41" -->
  <ScalarVariable
    name="motor.core.n.i"
    valueReference="40"
    description="Current flowing into the pin"
    variability="continuous"
    causality="local"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "42" -->
  <ScalarVariable
    name="motor.core.p.v"
    valueReference="41"
    description="Potential at the pin"
    variability="continuous"
    causality="local"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "43" -->
  <ScalarVariable
    name="motor.core.v"
    valueReference="42"
    description="Voltage drop between the two pins (= p.v - n.v)"
    variability="continuous"
    causality="local"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "44" -->
  <ScalarVariable
    name="motor.core.wLimit"
    valueReference="43"
    description="Limited angular velocity"
    variability="continuous"
    causality="local"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "45" -->
  <ScalarVariable
    name="motor.fixed.flange.tau"
    valueReference="44"
    description="Cut torque in the flange"
    variability="continuous"
    causality="local"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "46" -->
  <ScalarVariable
    name="motor.friction.phi"
    valueReference="45"
    description="Angle between shaft and support"
    variability="continuous"
    causality="local"
    initial="exact">
    <Real start="0.0"/>
  </ScalarVariable>
  <!-- Index of variable = "47" -->
  <ScalarVariable
    name="motor.friction.tau"
    valueReference="46"
    description="Torque"
    variability="continuous"
    causality="local"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "48" -->
  <ScalarVariable
    name="motor.friction.w"
    valueReference="47"
    description="Relative angular velocity of flange and support"
    variability="continuous"
    causality="local"
    initial="exact">
    <Real start="0.0"/>
  </ScalarVariable>
  <!-- Index of variable = "49" -->
  <ScalarVariable
    name="motor.ground.p.i"
    valueReference="48"
    description="Current flowing into the pin"
    variability="continuous"
    causality="local"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "50" -->
  <ScalarVariable
    name="motor.ground.p.v"
    valueReference="49"
    description="Potential at the pin"
    variability="continuous"
    causality="local"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "51" -->
  <ScalarVariable
    name="motor.groundSE.p.v"
    valueReference="50"
    description="Potential at the pin"
    variability="continuous"
    causality="local"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "52" -->
  <ScalarVariable
    name="motor.inertiaRotor.a"
    valueReference="51"
    description="Absolute angular acceleration of component (= der(w))"
    variability="continuous"
    causality="local"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "53" -->
  <ScalarVariable
    name="motor.inertiaRotor.flange_b.tau"
    valueReference="52"
    description="Cut torque in the flange"
    variability="continuous"
    causality="local"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "54" -->
  <ScalarVariable
    name="motor.inertiaStator.a"
    valueReference="53"
    description="Absolute angular acceleration of component (= der(w))"
    variability="continuous"
    causality="local"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "55" -->
  <ScalarVariable
    name="motor.inertiaStator.flange_a.tau"
    valueReference="54"
    description="Cut torque in the flange"
    variability="continuous"
    causality="local"
    initial="exact">
    <Real start="0.0"/>
  </ScalarVariable>
  <!-- Index of variable = "56" -->
  <ScalarVariable
    name="motor.inertiaStator.flange_b.tau"
    valueReference="55"
    description="Cut torque in the flange"
    variability="continuous"
    causality="local"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "57" -->
  <ScalarVariable
    name="motor.inertiaStator.w"
    valueReference="56"
    description="Absolute angular velocity of component (= der(phi))"
    variability="continuous"
    causality="local"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "58" -->
  <ScalarVariable
    name="motor.internalSupport.tau"
    valueReference="57"
    description="Reaction torque in the support/housing"
    variability="continuous"
    causality="local"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "59" -->
  <ScalarVariable
    name="motor.internalThermalPort.heatPortArmature.Q_flow"
    valueReference="58"
    description="Heat flow rate (positive if flowing from outside into the component)"
    variability="continuous"
    causality="local"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "60" -->
  <ScalarVariable
    name="motor.internalThermalPort.heatPortBrush.Q_flow"
    valueReference="59"
    description="Heat flow rate (positive if flowing from outside into the component)"
    variability="continuous"
    causality="local"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "61" -->
  <ScalarVariable
    name="motor.internalThermalPort.heatPortCore.Q_flow"
    valueReference="60"
    description="Heat flow rate (positive if flowing from outside into the component)"
    variability="continuous"
    causality="local"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "62" -->
  <ScalarVariable
    name="motor.internalThermalPort.heatPortExcitation.Q_flow"
    valueReference="61"
    description="Heat flow rate (positive if flowing from outside into the component)"
    variability="continuous"
    causality="local"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "63" -->
  <ScalarVariable
    name="motor.internalThermalPort.heatPortFriction.Q_flow"
    valueReference="62"
    description="Heat flow rate (positive if flowing from outside into the component)"
    variability="continuous"
    causality="local"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "64" -->
  <ScalarVariable
    name="motor.internalThermalPort.heatPortStrayLoad.Q_flow"
    valueReference="63"
    description="Heat flow rate (positive if flowing from outside into the component)"
    variability="continuous"
    causality="local"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "65" -->
  <ScalarVariable
    name="motor.la.v"
    valueReference="64"
    description="Voltage drop between the two pins (= p.v - n.v)"
    variability="continuous"
    causality="local"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "66" -->
  <ScalarVariable
    name="motor.lesigma.i"
    valueReference="65"
    description="Current flowing from pin p to pin n"
    variability="continuous"
    causality="local"
    initial="exact">
    <Real start="0.0"/>
  </ScalarVariable>
  <!-- Index of variable = "67" -->
  <ScalarVariable
    name="motor.lesigma.p.v"
    valueReference="66"
    description="Potential at the pin"
    variability="continuous"
    causality="local"
    initial="exact">
    <Real start="12.0"/>
  </ScalarVariable>
  <!-- Index of variable = "68" -->
  <ScalarVariable
    name="motor.lesigma.v"
    valueReference="67"
    description="Voltage drop between the two pins (= p.v - n.v)"
    variability="continuous"
    causality="local"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "69" -->
  <ScalarVariable
    name="motor.powerBalance.lossPowerTotal"
    valueReference="68"
    description="Total loss power"
    variability="continuous"
    causality="local"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "70" -->
  <ScalarVariable
    name="motor.powerBalance.powerArmature"
    valueReference="69"
    description="Electrical armature power"
    variability="continuous"
    causality="local"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "71" -->
  <ScalarVariable
    name="motor.powerBalance.powerExcitation"
    valueReference="70"
    description="Electrical (shunt) excitation power"
    variability="continuous"
    causality="local"
    initial="exact">
    <Real start="0.0"/>
  </ScalarVariable>
  <!-- Index of variable = "72" -->
  <ScalarVariable
    name="motor.powerBalance.powerInertiaRotor"
    valueReference="71"
    description="Rotor inertia power"
    variability="continuous"
    causality="local"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "73" -->
  <ScalarVariable
    name="motor.powerBalance.powerInertiaStator"
    valueReference="72"
    description="Stator inertia power"
    variability="continuous"
    causality="local"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "74" -->
  <ScalarVariable
    name="motor.powerBalance.powerMechanical"
    valueReference="73"
    description="Mechanical power"
    variability="continuous"
    causality="local"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "75" -->
  <ScalarVariable
    name="motor.ra.R_actual"
    valueReference="74"
    description="Actual resistance = R*(1 + alpha*(T_heatPort - T_ref))"
    variability="continuous"
    causality="local"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "76" -->
  <ScalarVariable
    name="motor.ra.v"
    valueReference="75"
    description="Voltage drop between the two pins (= p.v - n.v)"
    variability="continuous"
    causality="local"
    initial="exact">
    <Real start="0.0"/>
  </ScalarVariable>
  <!-- Index of variable = "77" -->
  <ScalarVariable
    name="motor.re.R_actual"
    valueReference="76"
    description="Actual resistance = R*(1 + alpha*(T_heatPort - T_ref))"
    variability="continuous"
    causality="local"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "78" -->
  <ScalarVariable
    name="motor.re.v"
    valueReference="77"
    description="Voltage drop between the two pins (= p.v - n.v)"
    variability="continuous"
    causality="local"
    initial="exact">
    <Real start="0.0"/>
  </ScalarVariable>
  <!-- Index of variable = "79" -->
  <ScalarVariable
    name="motor.strayLoad.flange.tau"
    valueReference="78"
    description="Cut torque in the flange"
    variability="continuous"
    causality="local"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "80" -->
  <ScalarVariable
    name="motor.strayLoad.heatPort.Q_flow"
    valueReference="79"
    description="Heat flow rate (positive if flowing from outside into the component)"
    variability="continuous"
    causality="local"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "81" -->
  <ScalarVariable
    name="motor.strayLoad.lossPower"
    valueReference="80"
    description="Loss power leaving component via heatPort (&gt; 0, if heat is flowing out of component)"
    variability="continuous"
    causality="local"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "82" -->
  <ScalarVariable
    name="motor.strayLoad.phi"
    valueReference="81"
    description="Angle between shaft and support"
    variability="continuous"
    causality="local"
    initial="exact">
    <Real start="0.0"/>
  </ScalarVariable>
  <!-- Index of variable = "83" -->
  <ScalarVariable
    name="motor.strayLoad.tau"
    valueReference="82"
    description="Torque"
    variability="continuous"
    causality="local"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "84" -->
  <ScalarVariable
    name="motor.strayLoad.v"
    valueReference="83"
    description="Voltage drop between the two pins (= p.v - n.v)"
    variability="continuous"
    causality="local"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "85" -->
  <ScalarVariable
    name="motor.strayLoad.w"
    valueReference="84"
    description="Relative angular velocity of flange and support"
    variability="continuous"
    causality="local"
    initial="exact">
    <Real start="0.0"/>
  </ScalarVariable>
  <!-- Index of variable = "86" -->
  <ScalarVariable
    name="motor.tauElectrical"
    valueReference="85"
    description="Electromagnetic torque"
    variability="continuous"
    causality="local"
    initial="exact">
    <Real start="0.0"/>
  </ScalarVariable>
  <!-- Index of variable = "87" -->
  <ScalarVariable
    name="motor.thermalAmbient.Q_flowArmature"
    valueReference="86"
    description="Heat flow rate of armature"
    variability="continuous"
    causality="local"
    initial="exact">
    <Real start="0.0"/>
  </ScalarVariable>
  <!-- Index of variable = "88" -->
  <ScalarVariable
    name="motor.thermalAmbient.Q_flowExcitation"
    valueReference="87"
    description="Heat flow rate of (shunt) excitation"
    variability="continuous"
    causality="local"
    initial="exact">
    <Real start="0.0"/>
  </ScalarVariable>
  <!-- Index of variable = "89" -->
  <ScalarVariable
    name="motor.thermalAmbient.Q_flowFriction"
    valueReference="88"
    description="Heat flow rate of friction losses"
    variability="continuous"
    causality="local"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "90" -->
  <ScalarVariable
    name="motor.thermalAmbient.Q_flowTotal"
    valueReference="89"
    variability="continuous"
    causality="local"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "91" -->
  <ScalarVariable
    name="motor.thermalAmbient.temperatureBrush.port.T"
    valueReference="90"
    description="Port temperature"
    variability="continuous"
    causality="local"
    initial="exact">
    <Real start="288.15" min="0.0" nominal="300.0"/>
  </ScalarVariable>
  <!-- Index of variable = "92" -->
  <ScalarVariable
    name="motor.thermalAmbient.temperatureCore.port.T"
    valueReference="91"
    description="Port temperature"
    variability="continuous"
    causality="local"
    initial="exact">
    <Real start="288.15" min="0.0" nominal="300.0"/>
  </ScalarVariable>
  <!-- Index of variable = "93" -->
  <ScalarVariable
    name="motor.thermalAmbient.temperatureFriction.port.T"
    valueReference="92"
    description="Port temperature"
    variability="continuous"
    causality="local"
    initial="exact">
    <Real start="288.15" min="0.0" nominal="300.0"/>
  </ScalarVariable>
  <!-- Index of variable = "94" -->
  <ScalarVariable
    name="motor.thermalAmbient.temperatureStrayLoad.port.T"
    valueReference="93"
    description="Port temperature"
    variability="continuous"
    causality="local"
    initial="exact">
    <Real start="288.15" min="0.0" nominal="300.0"/>
  </ScalarVariable>
  <!-- Index of variable = "95" -->
  <ScalarVariable
    name="motor.va"
    valueReference="94"
    description="Armature voltage"
    variability="continuous"
    causality="local"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "96" -->
  <ScalarVariable
    name="motor.wMechanical"
    valueReference="95"
    description="Mechanical angular velocity of rotor against stator"
    variability="continuous"
    causality="local"
    initial="exact">
    <Real start="0.0"/>
  </ScalarVariable>
  <!-- Index of variable = "97" -->
  <ScalarVariable
    name="speed"
    valueReference="96"
    variability="continuous"
    causality="output"
    initial="exact">
    <Real start="0.0"/>
  </ScalarVariable>
  <!-- Index of variable = "98" -->
  <ScalarVariable
    name="speedSensor1.flange.phi"
    valueReference="97"
    description="Absolute rotation angle of flange"
    variability="continuous"
    causality="local"
    initial="exact">
    <Real start="0.0"/>
  </ScalarVariable>
  <!-- Index of variable = "99" -->
  <ScalarVariable
    name="speedSensor1.flange.tau"
    valueReference="98"
    description="Cut torque in the flange"
    variability="continuous"
    causality="local"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "100" -->
  <ScalarVariable
    name="torque1.phi_support"
    valueReference="99"
    description="Absolute angle of support flange"
    variability="continuous"
    causality="local"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "101" -->
  <ScalarVariable
    name="up_ground.p.i"
    valueReference="100"
    description="Current flowing into the pin"
    variability="continuous"
    causality="local"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "102" -->
  <ScalarVariable
    name="up_ground.p.v"
    valueReference="101"
    description="Potential at the pin"
    variability="continuous"
    causality="local"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "103" -->
  <ScalarVariable
    name="up_input"
    valueReference="102"
    variability="continuous"
    causality="input"
    >
    <Real start="0.0"/>
  </ScalarVariable>
  <!-- Index of variable = "104" -->
  <ScalarVariable
    name="up_voltage.i"
    valueReference="103"
    description="Current flowing from pin p to pin n"
    variability="continuous"
    causality="local"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "105" -->
  <ScalarVariable
    name="voltage_ground.p.i"
    valueReference="104"
    description="Current flowing into the pin"
    variability="continuous"
    causality="local"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "106" -->
  <ScalarVariable
    name="voltage_ground.p.v"
    valueReference="105"
    description="Potential at the pin"
    variability="continuous"
    causality="local"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "107" -->
  <ScalarVariable
    name="convertToBoolean.threshold"
    valueReference="106"
    description="Comparison with respect to threshold"
    variability="fixed"
    causality="parameter"
    initial="exact">
    <Real start="0.5"/>
  </ScalarVariable>
  <!-- Index of variable = "108" -->
  <ScalarVariable
    name="dc_motor_power.V"
    valueReference="107"
    description="Value of constant voltage"
    variability="fixed"
    causality="parameter"
    initial="exact">
    <Real start="12.0"/>
  </ScalarVariable>
  <!-- Index of variable = "109" -->
  <ScalarVariable
    name="greaterThreshold1.threshold"
    valueReference="108"
    description="Comparison with respect to threshold"
    variability="fixed"
    causality="parameter"
    initial="exact">
    <Real start="0.5"/>
  </ScalarVariable>
  <!-- Index of variable = "110" -->
  <ScalarVariable
    name="idealCommutingSwitch1.Goff"
    valueReference="109"
    description="Opened switch conductance"
    variability="fixed"
    causality="parameter"
    initial="exact">
    <Real start="1e-005" min="0.0"/>
  </ScalarVariable>
  <!-- Index of variable = "111" -->
  <ScalarVariable
    name="idealCommutingSwitch1.Ron"
    valueReference="110"
    description="Closed switch resistance"
    variability="fixed"
    causality="parameter"
    initial="exact">
    <Real start="1e-005" min="0.0"/>
  </ScalarVariable>
  <!-- Index of variable = "112" -->
  <ScalarVariable
    name="idealCommutingSwitch1.T"
    valueReference="111"
    description="Fixed device temperature if useHeatPort = false"
    variability="fixed"
    causality="parameter"
    initial="exact">
    <Real start="293.15" min="0.0" nominal="300.0"/>
  </ScalarVariable>
  <!-- Index of variable = "113" -->
  <ScalarVariable
    name="idealCommutingSwitch2.Goff"
    valueReference="112"
    description="Opened switch conductance"
    variability="fixed"
    causality="parameter"
    initial="exact">
    <Real start="1e-005" min="0.0"/>
  </ScalarVariable>
  <!-- Index of variable = "114" -->
  <ScalarVariable
    name="idealCommutingSwitch2.Ron"
    valueReference="113"
    description="Closed switch resistance"
    variability="fixed"
    causality="parameter"
    initial="exact">
    <Real start="1e-005" min="0.0"/>
  </ScalarVariable>
  <!-- Index of variable = "115" -->
  <ScalarVariable
    name="idealCommutingSwitch2.T"
    valueReference="114"
    description="Fixed device temperature if useHeatPort = false"
    variability="fixed"
    causality="parameter"
    initial="exact">
    <Real start="293.15" min="0.0" nominal="300.0"/>
  </ScalarVariable>
  <!-- Index of variable = "116" -->
  <ScalarVariable
    name="motor.IaNominal"
    valueReference="115"
    description="Nominal armature current (&gt;0..Motor, &lt;0..Generator)"
    variability="fixed"
    causality="parameter"
    initial="exact">
    <Real start="100.0"/>
  </ScalarVariable>
  <!-- Index of variable = "117" -->
  <ScalarVariable
    name="motor.IeNominal"
    valueReference="116"
    description="Nominal excitation current"
    variability="fixed"
    causality="parameter"
    initial="exact">
    <Real start="1.0"/>
  </ScalarVariable>
  <!-- Index of variable = "118" -->
  <ScalarVariable
    name="motor.Jr"
    valueReference="117"
    description="Rotor's moment of inertia"
    variability="fixed"
    causality="parameter"
    initial="exact">
    <Real start="0.08500000000000001"/>
  </ScalarVariable>
  <!-- Index of variable = "119" -->
  <ScalarVariable
    name="motor.Js"
    valueReference="118"
    description="Stator's moment of inertia"
    variability="fixed"
    causality="parameter"
    initial="exact">
    <Real start="0.08500000000000001"/>
  </ScalarVariable>
  <!-- Index of variable = "120" -->
  <ScalarVariable
    name="motor.La"
    valueReference="119"
    description="Armature inductance"
    variability="fixed"
    causality="parameter"
    initial="exact">
    <Real start="0.036"/>
  </ScalarVariable>
  <!-- Index of variable = "121" -->
  <ScalarVariable
    name="motor.Le"
    valueReference="120"
    description="Total field excitation inductance"
    variability="fixed"
    causality="calculatedParameter"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "122" -->
  <ScalarVariable
    name="motor.Lesigma"
    valueReference="121"
    description="Stray part of excitation inductance"
    variability="fixed"
    causality="calculatedParameter"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "123" -->
  <ScalarVariable
    name="motor.Lme"
    valueReference="122"
    description="Main part of excitation inductance"
    variability="fixed"
    causality="calculatedParameter"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "124" -->
  <ScalarVariable
    name="motor.Ra"
    valueReference="123"
    description="Armature resistance at TRef"
    variability="fixed"
    causality="parameter"
    initial="exact">
    <Real start="0.15"/>
  </ScalarVariable>
  <!-- Index of variable = "125" -->
  <ScalarVariable
    name="motor.Re"
    valueReference="124"
    description="Field excitation resistance at TRef"
    variability="fixed"
    causality="parameter"
    initial="exact">
    <Real start="1.5"/>
  </ScalarVariable>
  <!-- Index of variable = "126" -->
  <ScalarVariable
    name="motor.TaNominal"
    valueReference="125"
    description="Nominal armature temperature"
    variability="fixed"
    causality="parameter"
    initial="exact">
    <Real start="293.15" min="0.0" nominal="300.0"/>
  </ScalarVariable>
  <!-- Index of variable = "127" -->
  <ScalarVariable
    name="motor.TaOperational"
    valueReference="126"
    description="Operational armature temperature"
    variability="fixed"
    causality="parameter"
    initial="exact">
    <Real start="293.15" min="0.0" nominal="300.0"/>
  </ScalarVariable>
  <!-- Index of variable = "128" -->
  <ScalarVariable
    name="motor.TaRef"
    valueReference="127"
    description="Reference temperature of armature resistance"
    variability="fixed"
    causality="parameter"
    initial="exact">
    <Real start="293.15" min="0.0" nominal="300.0"/>
  </ScalarVariable>
  <!-- Index of variable = "129" -->
  <ScalarVariable
    name="motor.TeOperational"
    valueReference="128"
    description="Operational (shunt) excitation temperature"
    variability="fixed"
    causality="parameter"
    initial="exact">
    <Real start="293.15" min="0.0" nominal="300.0"/>
  </ScalarVariable>
  <!-- Index of variable = "130" -->
  <ScalarVariable
    name="motor.TeRef"
    valueReference="129"
    description="Reference temperature of excitation resistance"
    variability="fixed"
    causality="parameter"
    initial="exact">
    <Real start="293.15" min="0.0" nominal="300.0"/>
  </ScalarVariable>
  <!-- Index of variable = "131" -->
  <ScalarVariable
    name="motor.VaNominal"
    valueReference="130"
    description="Nominal armature voltage"
    variability="fixed"
    causality="parameter"
    initial="exact">
    <Real start="100.0"/>
  </ScalarVariable>
  <!-- Index of variable = "132" -->
  <ScalarVariable
    name="motor.ViNominal"
    valueReference="131"
    description="Nominal induced Voltage"
    variability="fixed"
    causality="calculatedParameter"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "133" -->
  <ScalarVariable
    name="motor.airGapDC.Le"
    valueReference="132"
    description="Excitation inductance"
    variability="fixed"
    causality="calculatedParameter"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "134" -->
  <ScalarVariable
    name="motor.airGapDC.turnsRatio"
    valueReference="133"
    description="Ratio of armature turns over number of turns of the excitation winding"
    variability="fixed"
    causality="calculatedParameter"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "135" -->
  <ScalarVariable
    name="motor.alpha20a"
    valueReference="134"
    description="Temperature coefficient of armature resistance"
    variability="fixed"
    causality="parameter"
    initial="exact">
    <Real start="0.0"/>
  </ScalarVariable>
  <!-- Index of variable = "136" -->
  <ScalarVariable
    name="motor.alpha20e"
    valueReference="135"
    description="Temperature coefficient of excitation resistance"
    variability="fixed"
    causality="parameter"
    initial="exact">
    <Real start="0.0"/>
  </ScalarVariable>
  <!-- Index of variable = "137" -->
  <ScalarVariable
    name="motor.brush.brushParameters.ILinear"
    valueReference="136"
    description="Current indicating linear voltage region of brush voltage drop"
    variability="fixed"
    causality="calculatedParameter"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "138" -->
  <ScalarVariable
    name="motor.brush.brushParameters.V"
    valueReference="137"
    description="Total voltage drop of brushes for currents &gt; ILinear"
    variability="fixed"
    causality="calculatedParameter"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "139" -->
  <ScalarVariable
    name="motor.brushParameters.ILinear"
    valueReference="138"
    description="Current indicating linear voltage region of brush voltage drop"
    variability="fixed"
    causality="calculatedParameter"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "140" -->
  <ScalarVariable
    name="motor.brushParameters.V"
    valueReference="139"
    description="Total voltage drop of brushes for currents &gt; ILinear"
    variability="fixed"
    causality="calculatedParameter"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "141" -->
  <ScalarVariable
    name="motor.compoundDCExcitation.excitationTurnsRatio"
    valueReference="140"
    description="Ratio of series excitation turns over shunt excitation turns"
    variability="fixed"
    causality="parameter"
    initial="exact">
    <Real start="1.0"/>
  </ScalarVariable>
  <!-- Index of variable = "142" -->
  <ScalarVariable
    name="motor.core.coreParameters.GcRef"
    valueReference="141"
    description="Reference conductance at reference frequency and voltage"
    variability="fixed"
    causality="calculatedParameter"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "143" -->
  <ScalarVariable
    name="motor.core.coreParameters.PRef"
    valueReference="142"
    description="Reference core losses at reference inner voltage VRef"
    variability="fixed"
    causality="calculatedParameter"
    initial="calculated">
    <Real min="0.0"/>
  </ScalarVariable>
  <!-- Index of variable = "144" -->
  <ScalarVariable
    name="motor.core.coreParameters.VRef"
    valueReference="143"
    description="Reference inner RMS voltage that reference core losses PRef refer to"
    variability="fixed"
    causality="calculatedParameter"
    initial="calculated">
    <Real min="1e-060"/>
  </ScalarVariable>
  <!-- Index of variable = "145" -->
  <ScalarVariable
    name="motor.core.coreParameters.ratioHysteresis"
    valueReference="144"
    description="Ratio of hysteresis losses with respect to the total core losses at VRef and fRef"
    variability="fixed"
    causality="calculatedParameter"
    initial="calculated">
    <Real min="0.0" max="1.0"/>
  </ScalarVariable>
  <!-- Index of variable = "146" -->
  <ScalarVariable
    name="motor.core.coreParameters.wMin"
    valueReference="145"
    variability="fixed"
    causality="calculatedParameter"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "147" -->
  <ScalarVariable
    name="motor.core.coreParameters.wRef"
    valueReference="146"
    description="Reference angular velocity that reference core losses PRef refer to"
    variability="fixed"
    causality="calculatedParameter"
    initial="calculated">
    <Real min="1e-060"/>
  </ScalarVariable>
  <!-- Index of variable = "148" -->
  <ScalarVariable
    name="motor.coreParameters.GcRef"
    valueReference="147"
    description="Reference conductance at reference frequency and voltage"
    variability="fixed"
    causality="calculatedParameter"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "149" -->
  <ScalarVariable
    name="motor.coreParameters.PRef"
    valueReference="148"
    description="Reference core losses at reference inner voltage VRef"
    variability="fixed"
    causality="calculatedParameter"
    initial="calculated">
    <Real min="0.0"/>
  </ScalarVariable>
  <!-- Index of variable = "150" -->
  <ScalarVariable
    name="motor.coreParameters.VRef"
    valueReference="149"
    description="Reference inner RMS voltage that reference core losses PRef refer to"
    variability="fixed"
    causality="calculatedParameter"
    initial="calculated">
    <Real min="1e-060"/>
  </ScalarVariable>
  <!-- Index of variable = "151" -->
  <ScalarVariable
    name="motor.coreParameters.ratioHysteresis"
    valueReference="150"
    description="Ratio of hysteresis losses with respect to the total core losses at VRef and fRef"
    variability="fixed"
    causality="calculatedParameter"
    initial="calculated">
    <Real min="0.0" max="1.0"/>
  </ScalarVariable>
  <!-- Index of variable = "152" -->
  <ScalarVariable
    name="motor.coreParameters.wMin"
    valueReference="151"
    variability="fixed"
    causality="calculatedParameter"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "153" -->
  <ScalarVariable
    name="motor.coreParameters.wRef"
    valueReference="152"
    description="Reference angular velocity that reference core losses PRef refer to"
    variability="fixed"
    causality="calculatedParameter"
    initial="calculated">
    <Real min="1e-060"/>
  </ScalarVariable>
  <!-- Index of variable = "154" -->
  <ScalarVariable
    name="motor.fixed.phi0"
    valueReference="153"
    description="Fixed offset angle of housing"
    variability="fixed"
    causality="parameter"
    initial="exact">
    <Real start="0.0"/>
  </ScalarVariable>
  <!-- Index of variable = "155" -->
  <ScalarVariable
    name="motor.friction.frictionParameters.PRef"
    valueReference="154"
    description="Reference friction losses at wRef"
    variability="fixed"
    causality="calculatedParameter"
    initial="calculated">
    <Real min="0.0"/>
  </ScalarVariable>
  <!-- Index of variable = "156" -->
  <ScalarVariable
    name="motor.friction.frictionParameters.linear"
    valueReference="155"
    description="Linear angular velocity range with respect to reference angular velocity"
    variability="fixed"
    causality="calculatedParameter"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "157" -->
  <ScalarVariable
    name="motor.friction.frictionParameters.power_w"
    valueReference="156"
    description="Exponent of friction torque w.r.t. angular velocity"
    variability="fixed"
    causality="calculatedParameter"
    initial="calculated">
    <Real min="1e-060"/>
  </ScalarVariable>
  <!-- Index of variable = "158" -->
  <ScalarVariable
    name="motor.friction.frictionParameters.tauLinear"
    valueReference="157"
    description="Torque corresponding with linear angular velocity range"
    variability="fixed"
    causality="calculatedParameter"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "159" -->
  <ScalarVariable
    name="motor.friction.frictionParameters.tauRef"
    valueReference="158"
    description="Reference friction torque at reference angular velocity"
    variability="fixed"
    causality="calculatedParameter"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "160" -->
  <ScalarVariable
    name="motor.friction.frictionParameters.wLinear"
    valueReference="159"
    description="Linear angular velocity range"
    variability="fixed"
    causality="calculatedParameter"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "161" -->
  <ScalarVariable
    name="motor.friction.frictionParameters.wRef"
    valueReference="160"
    description="Reference angular velocity that the PRef refer to"
    variability="fixed"
    causality="calculatedParameter"
    initial="calculated">
    <Real min="1e-060"/>
  </ScalarVariable>
  <!-- Index of variable = "162" -->
  <ScalarVariable
    name="motor.frictionParameters.PRef"
    valueReference="161"
    description="Reference friction losses at wRef"
    variability="fixed"
    causality="calculatedParameter"
    initial="calculated">
    <Real min="0.0"/>
  </ScalarVariable>
  <!-- Index of variable = "163" -->
  <ScalarVariable
    name="motor.frictionParameters.linear"
    valueReference="162"
    description="Linear angular velocity range with respect to reference angular velocity"
    variability="fixed"
    causality="calculatedParameter"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "164" -->
  <ScalarVariable
    name="motor.frictionParameters.power_w"
    valueReference="163"
    description="Exponent of friction torque w.r.t. angular velocity"
    variability="fixed"
    causality="calculatedParameter"
    initial="calculated">
    <Real min="1e-060"/>
  </ScalarVariable>
  <!-- Index of variable = "165" -->
  <ScalarVariable
    name="motor.frictionParameters.tauLinear"
    valueReference="164"
    description="Torque corresponding with linear angular velocity range"
    variability="fixed"
    causality="calculatedParameter"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "166" -->
  <ScalarVariable
    name="motor.frictionParameters.tauRef"
    valueReference="165"
    description="Reference friction torque at reference angular velocity"
    variability="fixed"
    causality="calculatedParameter"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "167" -->
  <ScalarVariable
    name="motor.frictionParameters.wLinear"
    valueReference="166"
    description="Linear angular velocity range"
    variability="fixed"
    causality="calculatedParameter"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "168" -->
  <ScalarVariable
    name="motor.frictionParameters.wRef"
    valueReference="167"
    description="Reference angular velocity that the PRef refer to"
    variability="fixed"
    causality="calculatedParameter"
    initial="calculated">
    <Real min="1e-060"/>
  </ScalarVariable>
  <!-- Index of variable = "169" -->
  <ScalarVariable
    name="motor.inertiaRotor.J"
    valueReference="168"
    description="Moment of inertia"
    variability="fixed"
    causality="calculatedParameter"
    initial="calculated">
    <Real min="0.0"/>
  </ScalarVariable>
  <!-- Index of variable = "170" -->
  <ScalarVariable
    name="motor.inertiaStator.J"
    valueReference="169"
    description="Moment of inertia"
    variability="fixed"
    causality="calculatedParameter"
    initial="calculated">
    <Real min="0.0"/>
  </ScalarVariable>
  <!-- Index of variable = "171" -->
  <ScalarVariable
    name="motor.la.L"
    valueReference="170"
    description="Inductance"
    variability="fixed"
    causality="calculatedParameter"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "172" -->
  <ScalarVariable
    name="motor.lesigma.L"
    valueReference="171"
    description="Inductance"
    variability="fixed"
    causality="calculatedParameter"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "173" -->
  <ScalarVariable
    name="motor.psi_eNominal"
    valueReference="172"
    description="Nominal magnetic flux"
    variability="fixed"
    causality="calculatedParameter"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "174" -->
  <ScalarVariable
    name="motor.ra.R"
    valueReference="173"
    description="Resistance at temperature T_ref"
    variability="fixed"
    causality="calculatedParameter"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "175" -->
  <ScalarVariable
    name="motor.ra.T"
    valueReference="174"
    description="Fixed device temperature if useHeatPort = false"
    variability="fixed"
    causality="calculatedParameter"
    initial="calculated">
    <Real min="0.0" nominal="300.0"/>
  </ScalarVariable>
  <!-- Index of variable = "176" -->
  <ScalarVariable
    name="motor.ra.T_ref"
    valueReference="175"
    description="Reference temperature"
    variability="fixed"
    causality="calculatedParameter"
    initial="calculated">
    <Real min="0.0" nominal="300.0"/>
  </ScalarVariable>
  <!-- Index of variable = "177" -->
  <ScalarVariable
    name="motor.ra.alpha"
    valueReference="176"
    description="Temperature coefficient of resistance (R_actual = R*(1 + alpha*(T_heatPort - T_ref))"
    variability="fixed"
    causality="calculatedParameter"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "178" -->
  <ScalarVariable
    name="motor.re.R"
    valueReference="177"
    description="Resistance at temperature T_ref"
    variability="fixed"
    causality="calculatedParameter"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "179" -->
  <ScalarVariable
    name="motor.re.T"
    valueReference="178"
    description="Fixed device temperature if useHeatPort = false"
    variability="fixed"
    causality="calculatedParameter"
    initial="calculated">
    <Real min="0.0" nominal="300.0"/>
  </ScalarVariable>
  <!-- Index of variable = "180" -->
  <ScalarVariable
    name="motor.re.T_ref"
    valueReference="179"
    description="Reference temperature"
    variability="fixed"
    causality="calculatedParameter"
    initial="calculated">
    <Real min="0.0" nominal="300.0"/>
  </ScalarVariable>
  <!-- Index of variable = "181" -->
  <ScalarVariable
    name="motor.re.alpha"
    valueReference="180"
    description="Temperature coefficient of resistance (R_actual = R*(1 + alpha*(T_heatPort - T_ref))"
    variability="fixed"
    causality="calculatedParameter"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "182" -->
  <ScalarVariable
    name="motor.sigmae"
    valueReference="181"
    description="Stray fraction of total excitation inductance"
    variability="fixed"
    causality="calculatedParameter"
    initial="calculated">
    <Real min="0.0" max="0.99"/>
  </ScalarVariable>
  <!-- Index of variable = "183" -->
  <ScalarVariable
    name="motor.strayLoad.strayLoadParameters.IRef"
    valueReference="182"
    description="Reference RMS current that PRef refers to"
    variability="fixed"
    causality="calculatedParameter"
    initial="calculated">
    <Real min="1e-060"/>
  </ScalarVariable>
  <!-- Index of variable = "184" -->
  <ScalarVariable
    name="motor.strayLoad.strayLoadParameters.PRef"
    valueReference="183"
    description="Reference stray load losses at IRef and wRef"
    variability="fixed"
    causality="calculatedParameter"
    initial="calculated">
    <Real min="0.0"/>
  </ScalarVariable>
  <!-- Index of variable = "185" -->
  <ScalarVariable
    name="motor.strayLoad.strayLoadParameters.power_w"
    valueReference="184"
    description="Exponent of stray load loss torque w.r.t. angular velocity"
    variability="fixed"
    causality="calculatedParameter"
    initial="calculated">
    <Real min="1e-060"/>
  </ScalarVariable>
  <!-- Index of variable = "186" -->
  <ScalarVariable
    name="motor.strayLoad.strayLoadParameters.tauRef"
    valueReference="185"
    description="Reference stray load torque at reference angular velocity and reference current"
    variability="fixed"
    causality="calculatedParameter"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "187" -->
  <ScalarVariable
    name="motor.strayLoad.strayLoadParameters.wRef"
    valueReference="186"
    description="Reference angular velocity that PRef refers to"
    variability="fixed"
    causality="calculatedParameter"
    initial="calculated">
    <Real min="1e-060"/>
  </ScalarVariable>
  <!-- Index of variable = "188" -->
  <ScalarVariable
    name="motor.strayLoadParameters.IRef"
    valueReference="187"
    description="Reference RMS current that PRef refers to"
    variability="fixed"
    causality="calculatedParameter"
    initial="calculated">
    <Real min="1e-060"/>
  </ScalarVariable>
  <!-- Index of variable = "189" -->
  <ScalarVariable
    name="motor.strayLoadParameters.PRef"
    valueReference="188"
    description="Reference stray load losses at IRef and wRef"
    variability="fixed"
    causality="calculatedParameter"
    initial="calculated">
    <Real min="0.0"/>
  </ScalarVariable>
  <!-- Index of variable = "190" -->
  <ScalarVariable
    name="motor.strayLoadParameters.power_w"
    valueReference="189"
    description="Exponent of stray load loss torque w.r.t. angular velocity"
    variability="fixed"
    causality="parameter"
    initial="exact">
    <Real start="1.0" min="1e-060"/>
  </ScalarVariable>
  <!-- Index of variable = "191" -->
  <ScalarVariable
    name="motor.strayLoadParameters.tauRef"
    valueReference="190"
    description="Reference stray load torque at reference angular velocity and reference current"
    variability="fixed"
    causality="calculatedParameter"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "192" -->
  <ScalarVariable
    name="motor.strayLoadParameters.wRef"
    valueReference="191"
    description="Reference angular velocity that PRef refers to"
    variability="fixed"
    causality="calculatedParameter"
    initial="calculated">
    <Real min="1e-060"/>
  </ScalarVariable>
  <!-- Index of variable = "193" -->
  <ScalarVariable
    name="motor.thermalAmbient.Ta"
    valueReference="192"
    description="Temperature of armature"
    variability="fixed"
    causality="calculatedParameter"
    initial="calculated">
    <Real min="0.0" nominal="300.0"/>
  </ScalarVariable>
  <!-- Index of variable = "194" -->
  <ScalarVariable
    name="motor.thermalAmbient.Te"
    valueReference="193"
    description="Temperature of (shunt) excitation"
    variability="fixed"
    causality="calculatedParameter"
    initial="calculated">
    <Real min="0.0" nominal="300.0"/>
  </ScalarVariable>
  <!-- Index of variable = "195" -->
  <ScalarVariable
    name="motor.thermalAmbient.constTa.k"
    valueReference="194"
    description="Constant output value"
    variability="fixed"
    causality="calculatedParameter"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "196" -->
  <ScalarVariable
    name="motor.thermalAmbient.constTe.k"
    valueReference="195"
    description="Constant output value"
    variability="fixed"
    causality="calculatedParameter"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "197" -->
  <ScalarVariable
    name="motor.thermalAmbient.temperatureBrush.T"
    valueReference="196"
    description="Fixed temperature at port"
    variability="fixed"
    causality="calculatedParameter"
    initial="calculated">
    <Real min="0.0" nominal="300.0"/>
  </ScalarVariable>
  <!-- Index of variable = "198" -->
  <ScalarVariable
    name="motor.thermalAmbient.temperatureCore.T"
    valueReference="197"
    description="Fixed temperature at port"
    variability="fixed"
    causality="calculatedParameter"
    initial="calculated">
    <Real min="0.0" nominal="300.0"/>
  </ScalarVariable>
  <!-- Index of variable = "199" -->
  <ScalarVariable
    name="motor.thermalAmbient.temperatureFriction.T"
    valueReference="198"
    description="Fixed temperature at port"
    variability="fixed"
    causality="calculatedParameter"
    initial="calculated">
    <Real min="0.0" nominal="300.0"/>
  </ScalarVariable>
  <!-- Index of variable = "200" -->
  <ScalarVariable
    name="motor.thermalAmbient.temperatureStrayLoad.T"
    valueReference="199"
    description="Fixed temperature at port"
    variability="fixed"
    causality="calculatedParameter"
    initial="calculated">
    <Real min="0.0" nominal="300.0"/>
  </ScalarVariable>
  <!-- Index of variable = "201" -->
  <ScalarVariable
    name="motor.turnsRatio"
    valueReference="200"
    description="Ratio of armature turns over number of turns of the excitation winding"
    variability="fixed"
    causality="calculatedParameter"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "202" -->
  <ScalarVariable
    name="motor.wNominal"
    valueReference="201"
    description="Nominal speed"
    variability="fixed"
    causality="parameter"
    initial="exact">
    <Real start="149.2256510455152"/>
  </ScalarVariable>
  <!-- Index of variable = "203" -->
  <ScalarVariable
    name="motor_frictionParameters.PRef"
    valueReference="202"
    description="Reference friction losses at wRef"
    variability="fixed"
    causality="calculatedParameter"
    initial="calculated">
    <Real min="0.0"/>
  </ScalarVariable>
  <!-- Index of variable = "204" -->
  <ScalarVariable
    name="motor_frictionParameters.linear"
    valueReference="203"
    description="Linear angular velocity range with respect to reference angular velocity"
    variability="fixed"
    causality="calculatedParameter"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "205" -->
  <ScalarVariable
    name="motor_frictionParameters.power_w"
    valueReference="204"
    description="Exponent of friction torque w.r.t. angular velocity"
    variability="fixed"
    causality="parameter"
    initial="exact">
    <Real start="1.0" min="1e-060"/>
  </ScalarVariable>
  <!-- Index of variable = "206" -->
  <ScalarVariable
    name="motor_frictionParameters.tauLinear"
    valueReference="205"
    description="Torque corresponding with linear angular velocity range"
    variability="fixed"
    causality="calculatedParameter"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "207" -->
  <ScalarVariable
    name="motor_frictionParameters.tauRef"
    valueReference="206"
    description="Reference friction torque at reference angular velocity"
    variability="fixed"
    causality="calculatedParameter"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "208" -->
  <ScalarVariable
    name="motor_frictionParameters.wLinear"
    valueReference="207"
    description="Linear angular velocity range"
    variability="fixed"
    causality="calculatedParameter"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "209" -->
  <ScalarVariable
    name="motor_frictionParameters.wRef"
    valueReference="208"
    description="Reference angular velocity that the PRef refer to"
    variability="fixed"
    causality="parameter"
    initial="exact">
    <Real start="1000.0" min="1e-060"/>
  </ScalarVariable>
  <!-- Index of variable = "210" -->
  <ScalarVariable
    name="up_voltage.V"
    valueReference="209"
    description="Value of constant voltage"
    variability="fixed"
    causality="parameter"
    initial="exact">
    <Real start="12.0"/>
  </ScalarVariable>
  <!-- Index of variable = "211" -->
  <ScalarVariable
    name="arm_sensor.i"
    valueReference="12"
    description="Current in the branch from p to n as output signal"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "212" -->
  <ScalarVariable
    name="arm_sensor.n.i"
    valueReference="211"
    description="Current flowing into the pin"
    variability="continuous"
    causality="local"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "213" -->
  <ScalarVariable
    name="arm_sensor.n.v"
    valueReference="13"
    description="Potential at the pin"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "214" -->
  <ScalarVariable
    name="arm_sensor.p.i"
    valueReference="12"
    description="Current flowing into the pin"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "215" -->
  <ScalarVariable
    name="convertToBoolean.u"
    valueReference="102"
    description="Connector of Boolean input signal"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "216" -->
  <ScalarVariable
    name="dc_motor_power.i"
    valueReference="215"
    description="Current flowing from pin p to pin n"
    variability="continuous"
    causality="local"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "217" -->
  <ScalarVariable
    name="dc_motor_power.n.i"
    valueReference="65"
    description="Current flowing into the pin"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "218" -->
  <ScalarVariable
    name="dc_motor_power.n.v"
    valueReference="105"
    description="Potential at the pin"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "219" -->
  <ScalarVariable
    name="dc_motor_power.p.i"
    valueReference="218"
    description="Current flowing into the pin"
    variability="continuous"
    causality="local"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "220" -->
  <ScalarVariable
    name="dc_motor_power.p.v"
    valueReference="107"
    description="Potential at the pin"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "221" -->
  <ScalarVariable
    name="dc_motor_power.v"
    valueReference="107"
    description="Voltage drop between the two pins (= p.v - n.v)"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "222" -->
  <ScalarVariable
    name="greaterThreshold1.u"
    valueReference="14"
    description="Connector of Boolean input signal"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "223" -->
  <ScalarVariable
    name="idealCommutingSwitch1.T_heatPort"
    valueReference="111"
    description="Temperature of heatPort"
    variability="continuous"
    causality="local"
    >
    <Real min="0.0" nominal="300.0"/>
  </ScalarVariable>
  <!-- Index of variable = "224" -->
  <ScalarVariable
    name="idealCommutingSwitch1.n1.v"
    valueReference="209"
    description="Potential at the pin"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "225" -->
  <ScalarVariable
    name="idealCommutingSwitch1.n2.v"
    valueReference="101"
    description="Potential at the pin"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "226" -->
  <ScalarVariable
    name="idealCommutingSwitch1.p.i"
    valueReference="12"
    description="Current flowing into the pin"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "227" -->
  <ScalarVariable
    name="idealCommutingSwitch1.p.v"
    valueReference="13"
    description="Potential at the pin"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "228" -->
  <ScalarVariable
    name="idealCommutingSwitch2.T_heatPort"
    valueReference="114"
    description="Temperature of heatPort"
    variability="continuous"
    causality="local"
    >
    <Real min="0.0" nominal="300.0"/>
  </ScalarVariable>
  <!-- Index of variable = "229" -->
  <ScalarVariable
    name="idealCommutingSwitch2.n1.v"
    valueReference="209"
    description="Potential at the pin"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "230" -->
  <ScalarVariable
    name="idealCommutingSwitch2.n2.v"
    valueReference="101"
    description="Potential at the pin"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "231" -->
  <ScalarVariable
    name="idealCommutingSwitch2.p.i"
    valueReference="2"
    description="Current flowing into the pin"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "232" -->
  <ScalarVariable
    name="motor.airGapDC.flange.phi"
    valueReference="97"
    description="Absolute rotation angle of flange"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "233" -->
  <ScalarVariable
    name="motor.airGapDC.flange.tau"
    valueReference="232"
    description="Cut torque in the flange"
    variability="continuous"
    causality="local"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "234" -->
  <ScalarVariable
    name="motor.airGapDC.ia"
    valueReference="2"
    description="Armature current"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "235" -->
  <ScalarVariable
    name="motor.airGapDC.ie"
    valueReference="65"
    description="Excitation current"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "236" -->
  <ScalarVariable
    name="motor.airGapDC.pin_an.i"
    valueReference="235"
    description="Current flowing into the pin"
    variability="continuous"
    causality="local"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "237" -->
  <ScalarVariable
    name="motor.airGapDC.pin_an.v"
    valueReference="23"
    description="Potential at the pin"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "238" -->
  <ScalarVariable
    name="motor.airGapDC.pin_ap.i"
    valueReference="2"
    description="Current flowing into the pin"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "239" -->
  <ScalarVariable
    name="motor.airGapDC.pin_en.i"
    valueReference="238"
    description="Current flowing into the pin"
    variability="continuous"
    causality="local"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "240" -->
  <ScalarVariable
    name="motor.airGapDC.pin_en.v"
    valueReference="49"
    description="Potential at the pin"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "241" -->
  <ScalarVariable
    name="motor.airGapDC.pin_ep.i"
    valueReference="65"
    description="Current flowing into the pin"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "242" -->
  <ScalarVariable
    name="motor.airGapDC.pin_ep.v"
    valueReference="29"
    description="Potential at the pin"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "243" -->
  <ScalarVariable
    name="motor.airGapDC.support.phi"
    valueReference="153"
    description="Absolute rotation angle of flange"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "244" -->
  <ScalarVariable
    name="motor.airGapDC.support.tau"
    valueReference="85"
    description="Cut torque in the flange"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "245" -->
  <ScalarVariable
    name="motor.airGapDC.tauElectrical"
    valueReference="85"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "246" -->
  <ScalarVariable
    name="motor.airGapDC.w"
    valueReference="1"
    description="Angular velocity"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "247" -->
  <ScalarVariable
    name="motor.brush.heatPort.T"
    valueReference="90"
    description="Port temperature"
    variability="continuous"
    causality="local"
    >
    <Real min="0.0" nominal="300.0"/>
  </ScalarVariable>
  <!-- Index of variable = "248" -->
  <ScalarVariable
    name="motor.brush.i"
    valueReference="2"
    description="Current flowing from pin p to pin n"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "249" -->
  <ScalarVariable
    name="motor.brush.n.i"
    valueReference="248"
    description="Current flowing into the pin"
    variability="continuous"
    causality="local"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "250" -->
  <ScalarVariable
    name="motor.brush.n.v"
    valueReference="23"
    description="Potential at the pin"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "251" -->
  <ScalarVariable
    name="motor.brush.p.i"
    valueReference="2"
    description="Current flowing into the pin"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "252" -->
  <ScalarVariable
    name="motor.brush.p.v"
    valueReference="23"
    description="Potential at the pin"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "253" -->
  <ScalarVariable
    name="motor.compoundDCExcitation.i"
    valueReference="252"
    variability="continuous"
    causality="local"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "254" -->
  <ScalarVariable
    name="motor.compoundDCExcitation.ie"
    valueReference="65"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "255" -->
  <ScalarVariable
    name="motor.compoundDCExcitation.ise"
    valueReference="34"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "256" -->
  <ScalarVariable
    name="motor.compoundDCExcitation.pin_en.i"
    valueReference="255"
    description="Current flowing into the pin"
    variability="continuous"
    causality="local"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "257" -->
  <ScalarVariable
    name="motor.compoundDCExcitation.pin_en.v"
    valueReference="105"
    description="Potential at the pin"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "258" -->
  <ScalarVariable
    name="motor.compoundDCExcitation.pin_ep.i"
    valueReference="65"
    description="Current flowing into the pin"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "259" -->
  <ScalarVariable
    name="motor.compoundDCExcitation.pin_ep.v"
    valueReference="29"
    description="Potential at the pin"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "260" -->
  <ScalarVariable
    name="motor.compoundDCExcitation.pin_n.i"
    valueReference="65"
    description="Current flowing into the pin"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "261" -->
  <ScalarVariable
    name="motor.compoundDCExcitation.pin_n.v"
    valueReference="49"
    description="Potential at the pin"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "262" -->
  <ScalarVariable
    name="motor.compoundDCExcitation.pin_p.i"
    valueReference="261"
    description="Current flowing into the pin"
    variability="continuous"
    causality="local"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "263" -->
  <ScalarVariable
    name="motor.compoundDCExcitation.pin_p.v"
    valueReference="29"
    description="Potential at the pin"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "264" -->
  <ScalarVariable
    name="motor.compoundDCExcitation.pin_sen.v"
    valueReference="50"
    description="Potential at the pin"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "265" -->
  <ScalarVariable
    name="motor.compoundDCExcitation.pin_sep.v"
    valueReference="35"
    description="Potential at the pin"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "266" -->
  <ScalarVariable
    name="motor.compoundDCExcitation.v"
    valueReference="29"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "267" -->
  <ScalarVariable
    name="motor.compoundDCExcitation.ve"
    valueReference="29"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "268" -->
  <ScalarVariable
    name="motor.core.heatPort.T"
    valueReference="91"
    description="Port temperature"
    variability="continuous"
    causality="local"
    >
    <Real min="0.0" nominal="300.0"/>
  </ScalarVariable>
  <!-- Index of variable = "269" -->
  <ScalarVariable
    name="motor.core.n.v"
    valueReference="23"
    description="Potential at the pin"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "270" -->
  <ScalarVariable
    name="motor.core.p.i"
    valueReference="38"
    description="Current flowing into the pin"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "271" -->
  <ScalarVariable
    name="motor.core.w"
    valueReference="1"
    description="Remagnetization angular velocity"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "272" -->
  <ScalarVariable
    name="motor.fixed.flange.phi"
    valueReference="153"
    description="Absolute rotation angle of flange"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "273" -->
  <ScalarVariable
    name="motor.flange.phi"
    valueReference="97"
    description="Absolute rotation angle of flange"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "274" -->
  <ScalarVariable
    name="motor.flange.tau"
    valueReference="26"
    description="Cut torque in the flange"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "275" -->
  <ScalarVariable
    name="motor.friction.flange.phi"
    valueReference="97"
    description="Absolute rotation angle of flange"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "276" -->
  <ScalarVariable
    name="motor.friction.flange.tau"
    valueReference="275"
    description="Cut torque in the flange"
    variability="continuous"
    causality="local"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "277" -->
  <ScalarVariable
    name="motor.friction.heatPort.Q_flow"
    valueReference="276"
    description="Heat flow rate (positive if flowing from outside into the component)"
    variability="continuous"
    causality="local"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "278" -->
  <ScalarVariable
    name="motor.friction.heatPort.T"
    valueReference="92"
    description="Port temperature"
    variability="continuous"
    causality="local"
    >
    <Real min="0.0" nominal="300.0"/>
  </ScalarVariable>
  <!-- Index of variable = "279" -->
  <ScalarVariable
    name="motor.friction.lossPower"
    valueReference="88"
    description="Loss power leaving component via heatPort (&gt; 0, if heat is flowing out of component)"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "280" -->
  <ScalarVariable
    name="motor.friction.support.phi"
    valueReference="153"
    description="Absolute rotation angle of flange"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "281" -->
  <ScalarVariable
    name="motor.friction.support.tau"
    valueReference="46"
    description="Cut torque in the flange"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "282" -->
  <ScalarVariable
    name="motor.groundSE.p.i"
    valueReference="34"
    description="Current flowing into the pin"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "283" -->
  <ScalarVariable
    name="motor.ia"
    valueReference="282"
    description="Armature current"
    variability="continuous"
    causality="local"
    initial="exact">
    <Real start="0.0"/>
  </ScalarVariable>
  <!-- Index of variable = "284" -->
  <ScalarVariable
    name="motor.ie"
    valueReference="65"
    description="Field excitation current"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "285" -->
  <ScalarVariable
    name="motor.inertiaRotor.flange_a.phi"
    valueReference="97"
    description="Absolute rotation angle of flange"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "286" -->
  <ScalarVariable
    name="motor.inertiaRotor.flange_a.tau"
    valueReference="85"
    description="Cut torque in the flange"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "287" -->
  <ScalarVariable
    name="motor.inertiaRotor.flange_b.phi"
    valueReference="97"
    description="Absolute rotation angle of flange"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "288" -->
  <ScalarVariable
    name="motor.inertiaRotor.phi"
    valueReference="97"
    description="Absolute rotation angle of component"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "289" -->
  <ScalarVariable
    name="motor.inertiaStator.flange_a.phi"
    valueReference="153"
    description="Absolute rotation angle of flange"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "290" -->
  <ScalarVariable
    name="motor.inertiaStator.flange_b.phi"
    valueReference="153"
    description="Absolute rotation angle of flange"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "291" -->
  <ScalarVariable
    name="motor.inertiaStator.phi"
    valueReference="153"
    description="Absolute rotation angle of component"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "292" -->
  <ScalarVariable
    name="motor.internalSupport.phi"
    valueReference="153"
    description="Absolute rotation angle of the support/housing"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "293" -->
  <ScalarVariable
    name="motor.internalThermalPort.heatPortArmature.T"
    valueReference="194"
    description="Port temperature"
    variability="continuous"
    causality="local"
    >
    <Real min="0.0" nominal="300.0"/>
  </ScalarVariable>
  <!-- Index of variable = "294" -->
  <ScalarVariable
    name="motor.internalThermalPort.heatPortBrush.T"
    valueReference="90"
    description="Port temperature"
    variability="continuous"
    causality="local"
    >
    <Real min="0.0" nominal="300.0"/>
  </ScalarVariable>
  <!-- Index of variable = "295" -->
  <ScalarVariable
    name="motor.internalThermalPort.heatPortCore.T"
    valueReference="91"
    description="Port temperature"
    variability="continuous"
    causality="local"
    >
    <Real min="0.0" nominal="300.0"/>
  </ScalarVariable>
  <!-- Index of variable = "296" -->
  <ScalarVariable
    name="motor.internalThermalPort.heatPortExcitation.T"
    valueReference="195"
    description="Port temperature"
    variability="continuous"
    causality="local"
    >
    <Real min="0.0" nominal="300.0"/>
  </ScalarVariable>
  <!-- Index of variable = "297" -->
  <ScalarVariable
    name="motor.internalThermalPort.heatPortFriction.T"
    valueReference="92"
    description="Port temperature"
    variability="continuous"
    causality="local"
    >
    <Real min="0.0" nominal="300.0"/>
  </ScalarVariable>
  <!-- Index of variable = "298" -->
  <ScalarVariable
    name="motor.internalThermalPort.heatPortStrayLoad.T"
    valueReference="93"
    description="Port temperature"
    variability="continuous"
    causality="local"
    >
    <Real min="0.0" nominal="300.0"/>
  </ScalarVariable>
  <!-- Index of variable = "299" -->
  <ScalarVariable
    name="motor.la.n.i"
    valueReference="298"
    description="Current flowing into the pin"
    variability="continuous"
    causality="local"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "300" -->
  <ScalarVariable
    name="motor.la.n.v"
    valueReference="27"
    description="Potential at the pin"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "301" -->
  <ScalarVariable
    name="motor.la.p.i"
    valueReference="2"
    description="Current flowing into the pin"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "302" -->
  <ScalarVariable
    name="motor.la.p.v"
    valueReference="41"
    description="Potential at the pin"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "303" -->
  <ScalarVariable
    name="motor.lesigma.n.i"
    valueReference="302"
    description="Current flowing into the pin"
    variability="continuous"
    causality="local"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "304" -->
  <ScalarVariable
    name="motor.lesigma.n.v"
    valueReference="29"
    description="Potential at the pin"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "305" -->
  <ScalarVariable
    name="motor.lesigma.p.i"
    valueReference="65"
    description="Current flowing into the pin"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "306" -->
  <ScalarVariable
    name="motor.pin_an.i"
    valueReference="305"
    description="Current flowing into the pin"
    variability="continuous"
    causality="local"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "307" -->
  <ScalarVariable
    name="motor.pin_an.v"
    valueReference="23"
    description="Potential at the pin"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "308" -->
  <ScalarVariable
    name="motor.pin_ap.i"
    valueReference="307"
    description="Current flowing into the pin"
    variability="continuous"
    causality="local"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "309" -->
  <ScalarVariable
    name="motor.pin_ap.v"
    valueReference="13"
    description="Potential at the pin"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "310" -->
  <ScalarVariable
    name="motor.pin_en.i"
    valueReference="309"
    description="Current flowing into the pin"
    variability="continuous"
    causality="local"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "311" -->
  <ScalarVariable
    name="motor.pin_en.v"
    valueReference="105"
    description="Potential at the pin"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "312" -->
  <ScalarVariable
    name="motor.pin_ep.i"
    valueReference="65"
    description="Current flowing into the pin"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "313" -->
  <ScalarVariable
    name="motor.pin_ep.v"
    valueReference="107"
    description="Potential at the pin"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "314" -->
  <ScalarVariable
    name="motor.powerBalance.lossPowerArmature"
    valueReference="86"
    description="Armature copper losses"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "315" -->
  <ScalarVariable
    name="motor.powerBalance.lossPowerBrush"
    valueReference="31"
    description="Brush losses"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "316" -->
  <ScalarVariable
    name="motor.powerBalance.lossPowerCore"
    valueReference="39"
    description="Core losses"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "317" -->
  <ScalarVariable
    name="motor.powerBalance.lossPowerExcitation"
    valueReference="87"
    description="Excitation losses"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "318" -->
  <ScalarVariable
    name="motor.powerBalance.lossPowerFriction"
    valueReference="88"
    description="Friction losses"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "319" -->
  <ScalarVariable
    name="motor.powerBalance.lossPowerStrayLoad"
    valueReference="80"
    description="Stray load losses"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "320" -->
  <ScalarVariable
    name="motor.ra.LossPower"
    valueReference="86"
    description="Loss power leaving component via heatPort"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "321" -->
  <ScalarVariable
    name="motor.ra.T_heatPort"
    valueReference="194"
    description="Temperature of heatPort"
    variability="continuous"
    causality="local"
    >
    <Real min="0.0" nominal="300.0"/>
  </ScalarVariable>
  <!-- Index of variable = "322" -->
  <ScalarVariable
    name="motor.ra.heatPort.Q_flow"
    valueReference="321"
    description="Heat flow rate (positive if flowing from outside into the component)"
    variability="continuous"
    causality="local"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "323" -->
  <ScalarVariable
    name="motor.ra.heatPort.T"
    valueReference="194"
    description="Port temperature"
    variability="continuous"
    causality="local"
    >
    <Real min="0.0" nominal="300.0"/>
  </ScalarVariable>
  <!-- Index of variable = "324" -->
  <ScalarVariable
    name="motor.ra.i"
    valueReference="323"
    description="Current flowing from pin p to pin n"
    variability="continuous"
    causality="local"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "325" -->
  <ScalarVariable
    name="motor.ra.n.i"
    valueReference="12"
    description="Current flowing into the pin"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "326" -->
  <ScalarVariable
    name="motor.ra.n.v"
    valueReference="41"
    description="Potential at the pin"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "327" -->
  <ScalarVariable
    name="motor.ra.p.i"
    valueReference="326"
    description="Current flowing into the pin"
    variability="continuous"
    causality="local"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "328" -->
  <ScalarVariable
    name="motor.ra.p.v"
    valueReference="13"
    description="Potential at the pin"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "329" -->
  <ScalarVariable
    name="motor.re.LossPower"
    valueReference="87"
    description="Loss power leaving component via heatPort"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "330" -->
  <ScalarVariable
    name="motor.re.T_heatPort"
    valueReference="195"
    description="Temperature of heatPort"
    variability="continuous"
    causality="local"
    >
    <Real min="0.0" nominal="300.0"/>
  </ScalarVariable>
  <!-- Index of variable = "331" -->
  <ScalarVariable
    name="motor.re.heatPort.Q_flow"
    valueReference="330"
    description="Heat flow rate (positive if flowing from outside into the component)"
    variability="continuous"
    causality="local"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "332" -->
  <ScalarVariable
    name="motor.re.heatPort.T"
    valueReference="195"
    description="Port temperature"
    variability="continuous"
    causality="local"
    >
    <Real min="0.0" nominal="300.0"/>
  </ScalarVariable>
  <!-- Index of variable = "333" -->
  <ScalarVariable
    name="motor.re.i"
    valueReference="65"
    description="Current flowing from pin p to pin n"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "334" -->
  <ScalarVariable
    name="motor.re.n.i"
    valueReference="333"
    description="Current flowing into the pin"
    variability="continuous"
    causality="local"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "335" -->
  <ScalarVariable
    name="motor.re.n.v"
    valueReference="66"
    description="Potential at the pin"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "336" -->
  <ScalarVariable
    name="motor.re.p.i"
    valueReference="65"
    description="Current flowing into the pin"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "337" -->
  <ScalarVariable
    name="motor.re.p.v"
    valueReference="107"
    description="Potential at the pin"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "338" -->
  <ScalarVariable
    name="motor.strayLoad.flange.phi"
    valueReference="97"
    description="Absolute rotation angle of flange"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "339" -->
  <ScalarVariable
    name="motor.strayLoad.heatPort.T"
    valueReference="93"
    description="Port temperature"
    variability="continuous"
    causality="local"
    >
    <Real min="0.0" nominal="300.0"/>
  </ScalarVariable>
  <!-- Index of variable = "340" -->
  <ScalarVariable
    name="motor.strayLoad.i"
    valueReference="339"
    description="Current flowing from pin p to pin n"
    variability="continuous"
    causality="local"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "341" -->
  <ScalarVariable
    name="motor.strayLoad.n.i"
    valueReference="12"
    description="Current flowing into the pin"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "342" -->
  <ScalarVariable
    name="motor.strayLoad.n.v"
    valueReference="13"
    description="Potential at the pin"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "343" -->
  <ScalarVariable
    name="motor.strayLoad.p.i"
    valueReference="342"
    description="Current flowing into the pin"
    variability="continuous"
    causality="local"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "344" -->
  <ScalarVariable
    name="motor.strayLoad.p.v"
    valueReference="13"
    description="Potential at the pin"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "345" -->
  <ScalarVariable
    name="motor.strayLoad.support.phi"
    valueReference="153"
    description="Absolute rotation angle of flange"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "346" -->
  <ScalarVariable
    name="motor.strayLoad.support.tau"
    valueReference="82"
    description="Cut torque in the flange"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "347" -->
  <ScalarVariable
    name="motor.tauShaft"
    valueReference="346"
    description="Shaft torque"
    variability="continuous"
    causality="local"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "348" -->
  <ScalarVariable
    name="motor.thermalAmbient.Q_flowBrush"
    valueReference="31"
    description="Heat flow rate of brushes"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "349" -->
  <ScalarVariable
    name="motor.thermalAmbient.Q_flowCore"
    valueReference="39"
    description="Heat flow rate of core losses"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "350" -->
  <ScalarVariable
    name="motor.thermalAmbient.Q_flowStrayLoad"
    valueReference="80"
    description="Heat flow rate of stray load losses"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "351" -->
  <ScalarVariable
    name="motor.thermalAmbient.constTa.y"
    valueReference="194"
    description="Connector of Real output signal"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "352" -->
  <ScalarVariable
    name="motor.thermalAmbient.constTe.y"
    valueReference="195"
    description="Connector of Real output signal"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "353" -->
  <ScalarVariable
    name="motor.thermalAmbient.temperatureArmature.T"
    valueReference="194"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "354" -->
  <ScalarVariable
    name="motor.thermalAmbient.temperatureArmature.port.Q_flow"
    valueReference="86"
    description="Heat flow rate (positive if flowing from outside into the component)"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "355" -->
  <ScalarVariable
    name="motor.thermalAmbient.temperatureArmature.port.T"
    valueReference="194"
    description="Port temperature"
    variability="continuous"
    causality="local"
    >
    <Real min="0.0" nominal="300.0"/>
  </ScalarVariable>
  <!-- Index of variable = "356" -->
  <ScalarVariable
    name="motor.thermalAmbient.temperatureBrush.port.Q_flow"
    valueReference="31"
    description="Heat flow rate (positive if flowing from outside into the component)"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "357" -->
  <ScalarVariable
    name="motor.thermalAmbient.temperatureCore.port.Q_flow"
    valueReference="39"
    description="Heat flow rate (positive if flowing from outside into the component)"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "358" -->
  <ScalarVariable
    name="motor.thermalAmbient.temperatureExcitation.T"
    valueReference="195"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "359" -->
  <ScalarVariable
    name="motor.thermalAmbient.temperatureExcitation.port.Q_flow"
    valueReference="87"
    description="Heat flow rate (positive if flowing from outside into the component)"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "360" -->
  <ScalarVariable
    name="motor.thermalAmbient.temperatureExcitation.port.T"
    valueReference="195"
    description="Port temperature"
    variability="continuous"
    causality="local"
    >
    <Real min="0.0" nominal="300.0"/>
  </ScalarVariable>
  <!-- Index of variable = "361" -->
  <ScalarVariable
    name="motor.thermalAmbient.temperatureFriction.port.Q_flow"
    valueReference="88"
    description="Heat flow rate (positive if flowing from outside into the component)"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "362" -->
  <ScalarVariable
    name="motor.thermalAmbient.temperatureStrayLoad.port.Q_flow"
    valueReference="80"
    description="Heat flow rate (positive if flowing from outside into the component)"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "363" -->
  <ScalarVariable
    name="motor.thermalAmbient.thermalPort.heatPortArmature.Q_flow"
    valueReference="86"
    description="Heat flow rate (positive if flowing from outside into the component)"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "364" -->
  <ScalarVariable
    name="motor.thermalAmbient.thermalPort.heatPortArmature.T"
    valueReference="194"
    description="Port temperature"
    variability="continuous"
    causality="local"
    >
    <Real min="0.0" nominal="300.0"/>
  </ScalarVariable>
  <!-- Index of variable = "365" -->
  <ScalarVariable
    name="motor.thermalAmbient.thermalPort.heatPortBrush.Q_flow"
    valueReference="31"
    description="Heat flow rate (positive if flowing from outside into the component)"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "366" -->
  <ScalarVariable
    name="motor.thermalAmbient.thermalPort.heatPortBrush.T"
    valueReference="90"
    description="Port temperature"
    variability="continuous"
    causality="local"
    >
    <Real min="0.0" nominal="300.0"/>
  </ScalarVariable>
  <!-- Index of variable = "367" -->
  <ScalarVariable
    name="motor.thermalAmbient.thermalPort.heatPortCore.Q_flow"
    valueReference="39"
    description="Heat flow rate (positive if flowing from outside into the component)"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "368" -->
  <ScalarVariable
    name="motor.thermalAmbient.thermalPort.heatPortCore.T"
    valueReference="91"
    description="Port temperature"
    variability="continuous"
    causality="local"
    >
    <Real min="0.0" nominal="300.0"/>
  </ScalarVariable>
  <!-- Index of variable = "369" -->
  <ScalarVariable
    name="motor.thermalAmbient.thermalPort.heatPortExcitation.Q_flow"
    valueReference="87"
    description="Heat flow rate (positive if flowing from outside into the component)"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "370" -->
  <ScalarVariable
    name="motor.thermalAmbient.thermalPort.heatPortExcitation.T"
    valueReference="195"
    description="Port temperature"
    variability="continuous"
    causality="local"
    >
    <Real min="0.0" nominal="300.0"/>
  </ScalarVariable>
  <!-- Index of variable = "371" -->
  <ScalarVariable
    name="motor.thermalAmbient.thermalPort.heatPortFriction.Q_flow"
    valueReference="88"
    description="Heat flow rate (positive if flowing from outside into the component)"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "372" -->
  <ScalarVariable
    name="motor.thermalAmbient.thermalPort.heatPortFriction.T"
    valueReference="92"
    description="Port temperature"
    variability="continuous"
    causality="local"
    >
    <Real min="0.0" nominal="300.0"/>
  </ScalarVariable>
  <!-- Index of variable = "373" -->
  <ScalarVariable
    name="motor.thermalAmbient.thermalPort.heatPortStrayLoad.Q_flow"
    valueReference="80"
    description="Heat flow rate (positive if flowing from outside into the component)"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "374" -->
  <ScalarVariable
    name="motor.thermalAmbient.thermalPort.heatPortStrayLoad.T"
    valueReference="93"
    description="Port temperature"
    variability="continuous"
    causality="local"
    >
    <Real min="0.0" nominal="300.0"/>
  </ScalarVariable>
  <!-- Index of variable = "375" -->
  <ScalarVariable
    name="motor.ve"
    valueReference="107"
    description="Field excitation voltage"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "376" -->
  <ScalarVariable
    name="speedSensor1.w"
    valueReference="96"
    description="Absolute angular velocity of flange as output signal"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "377" -->
  <ScalarVariable
    name="torque1.flange.phi"
    valueReference="97"
    description="Absolute rotation angle of flange"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "378" -->
  <ScalarVariable
    name="torque1.flange.tau"
    valueReference="377"
    description="Cut torque in the flange"
    variability="continuous"
    causality="local"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "379" -->
  <ScalarVariable
    name="torque1.tau"
    valueReference="26"
    description="Accelerating torque acting at flange (= -flange.tau)"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "380" -->
  <ScalarVariable
    name="up_voltage.n.i"
    valueReference="379"
    description="Current flowing into the pin"
    variability="continuous"
    causality="local"
    initial="calculated">
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "381" -->
  <ScalarVariable
    name="up_voltage.n.v"
    valueReference="101"
    description="Potential at the pin"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "382" -->
  <ScalarVariable
    name="up_voltage.p.i"
    valueReference="103"
    description="Current flowing into the pin"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "383" -->
  <ScalarVariable
    name="up_voltage.p.v"
    valueReference="209"
    description="Potential at the pin"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "384" -->
  <ScalarVariable
    name="up_voltage.v"
    valueReference="209"
    description="Voltage drop between the two pins (= p.v - n.v)"
    variability="continuous"
    causality="local"
    >
    <Real/>
  </ScalarVariable>
  <!-- Index of variable = "385" -->
  <ScalarVariable
    name="motor.core.coreParameters.m"
    valueReference="0"
    description="Number of phases (1 for DC, 3 for induction machines)"
    variability="fixed"
    causality="calculatedParameter"
    initial="calculated">
    <Integer/>
  </ScalarVariable>
  <!-- Index of variable = "386" -->
  <ScalarVariable
    name="motor.coreParameters.m"
    valueReference="1"
    description="Number of phases (1 for DC, 3 for induction machines)"
    variability="fixed"
    causality="parameter"
    initial="exact">
    <Integer start="1"/>
  </ScalarVariable>
  <!-- Index of variable = "387" -->
  <ScalarVariable
    name="motor.inertiaRotor.stateSelect"
    valueReference="2"
    description="Priority to use phi and w as states"
    variability="fixed"
    causality="calculatedParameter"
    initial="calculated">
    <Enumeration declaredType="StateSelect"/>
  </ScalarVariable>
  <!-- Index of variable = "388" -->
  <ScalarVariable
    name="motor.inertiaStator.stateSelect"
    valueReference="3"
    description="Priority to use phi and w as states"
    variability="fixed"
    causality="calculatedParameter"
    initial="calculated">
    <Enumeration declaredType="StateSelect"/>
  </ScalarVariable>
  <!-- Index of variable = "389" -->
  <ScalarVariable
    name="convertToBoolean.y"
    valueReference="0"
    description="Connector of Boolean output signal"
    variability="discrete"
    causality="local"
    initial="calculated">
    <Boolean/>
  </ScalarVariable>
  <!-- Index of variable = "390" -->
  <ScalarVariable
    name="greaterThreshold1.y"
    valueReference="1"
    description="Connector of Boolean output signal"
    variability="discrete"
    causality="local"
    initial="calculated">
    <Boolean/>
  </ScalarVariable>
  <!-- Index of variable = "391" -->
  <ScalarVariable
    name="idealCommutingSwitch1.useHeatPort"
    valueReference="2"
    description="=true, if heatPort is enabled"
    variability="fixed"
    causality="calculatedParameter"
    initial="calculated">
    <Boolean/>
  </ScalarVariable>
  <!-- Index of variable = "392" -->
  <ScalarVariable
    name="idealCommutingSwitch2.useHeatPort"
    valueReference="3"
    description="=true, if heatPort is enabled"
    variability="fixed"
    causality="calculatedParameter"
    initial="calculated">
    <Boolean/>
  </ScalarVariable>
  <!-- Index of variable = "393" -->
  <ScalarVariable
    name="motor.airGapDC.quasiStationary"
    valueReference="4"
    description="No electrical transients if true"
    variability="fixed"
    causality="calculatedParameter"
    initial="calculated">
    <Boolean/>
  </ScalarVariable>
  <!-- Index of variable = "394" -->
  <ScalarVariable
    name="motor.brush.useHeatPort"
    valueReference="5"
    description="=true, if heatPort is enabled"
    variability="fixed"
    causality="calculatedParameter"
    initial="calculated">
    <Boolean/>
  </ScalarVariable>
  <!-- Index of variable = "395" -->
  <ScalarVariable
    name="motor.core.useHeatPort"
    valueReference="6"
    description="=true, if heatPort is enabled"
    variability="fixed"
    causality="calculatedParameter"
    initial="calculated">
    <Boolean/>
  </ScalarVariable>
  <!-- Index of variable = "396" -->
  <ScalarVariable
    name="motor.friction.useHeatPort"
    valueReference="7"
    description="=true, if heatPort is enabled"
    variability="fixed"
    causality="calculatedParameter"
    initial="calculated">
    <Boolean/>
  </ScalarVariable>
  <!-- Index of variable = "397" -->
  <ScalarVariable
    name="motor.la.quasiStationary"
    valueReference="8"
    description="No electrical transients if true"
    variability="fixed"
    causality="calculatedParameter"
    initial="calculated">
    <Boolean/>
  </ScalarVariable>
  <!-- Index of variable = "398" -->
  <ScalarVariable
    name="motor.lesigma.quasiStationary"
    valueReference="9"
    description="No electrical transients if true"
    variability="fixed"
    causality="calculatedParameter"
    initial="calculated">
    <Boolean/>
  </ScalarVariable>
  <!-- Index of variable = "399" -->
  <ScalarVariable
    name="motor.ra.useHeatPort"
    valueReference="10"
    description="=true, if heatPort is enabled"
    variability="fixed"
    causality="calculatedParameter"
    initial="calculated">
    <Boolean/>
  </ScalarVariable>
  <!-- Index of variable = "400" -->
  <ScalarVariable
    name="motor.re.useHeatPort"
    valueReference="11"
    description="=true, if heatPort is enabled"
    variability="fixed"
    causality="calculatedParameter"
    initial="calculated">
    <Boolean/>
  </ScalarVariable>
  <!-- Index of variable = "401" -->
  <ScalarVariable
    name="motor.strayLoad.useHeatPort"
    valueReference="12"
    description="=true, if heatPort is enabled"
    variability="fixed"
    causality="calculatedParameter"
    initial="calculated">
    <Boolean/>
  </ScalarVariable>
  <!-- Index of variable = "402" -->
  <ScalarVariable
    name="motor.thermalAmbient.useTemperatureInputs"
    valueReference="13"
    description="If true, temperature inputs are used; else, temperatures are constant"
    variability="fixed"
    causality="calculatedParameter"
    initial="calculated">
    <Boolean/>
  </ScalarVariable>
  <!-- Index of variable = "403" -->
  <ScalarVariable
    name="motor.useSupport"
    valueReference="14"
    description="Enable / disable (=fixed stator) support"
    variability="fixed"
    causality="calculatedParameter"
    initial="calculated">
    <Boolean/>
  </ScalarVariable>
  <!-- Index of variable = "404" -->
  <ScalarVariable
    name="motor.useThermalPort"
    valueReference="15"
    description="Enable / disable (=fixed temperatures) thermal port"
    variability="fixed"
    causality="calculatedParameter"
    initial="calculated">
    <Boolean/>
  </ScalarVariable>
  <!-- Index of variable = "405" -->
  <ScalarVariable
    name="torque1.useSupport"
    valueReference="16"
    description="= true, if support flange enabled, otherwise implicitly grounded"
    variability="fixed"
    causality="calculatedParameter"
    initial="calculated">
    <Boolean/>
  </ScalarVariable>
  <!-- Index of variable = "406" -->
  <ScalarVariable
    name="idealCommutingSwitch1.control"
    valueReference="1"
    description="true =&gt; p--n2 connected, false =&gt; p--n1 connected"
    variability="discrete"
    causality="local"
    >
    <Boolean/>
  </ScalarVariable>
  <!-- Index of variable = "407" -->
  <ScalarVariable
    name="idealCommutingSwitch2.control"
    valueReference="0"
    description="true =&gt; p--n2 connected, false =&gt; p--n1 connected"
    variability="discrete"
    causality="local"
    >
    <Boolean/>
  </ScalarVariable>
  </ModelVariables>
  <ModelStructure>
    <Outputs>
      <Unknown index="13" dependencies="3" dependenciesKind="dependent" />
      <Unknown index="97" dependencies="2" dependenciesKind="dependent" />
    </Outputs>
    <Derivatives>
      <Unknown index="5" dependencies="1" dependenciesKind="dependent" />
      <Unknown index="6" dependencies="1 2 3 27" dependenciesKind="dependent dependent dependent dependent" />
      <Unknown index="7" dependencies="1 2 3 15 103" dependenciesKind="dependent dependent dependent dependent dependent" />
      <Unknown index="8" dependencies="2" dependenciesKind="dependent" />
    </Derivatives>
  </ModelStructure>
</fmiModelDescription>