Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,fileNamePrefix="Modelica_3_2_2_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Characteristics",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.042/2.042, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.632e-05/2.648e-05, allocations: 4 kB / 249.8 MB, free: 14.78 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3052/0.3052, allocations: 44.49 MB / 294.3 MB, free: 14.38 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2146/0.5199, allocations: 125.1 MB / 419.4 MB, free: 4.605 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003672/0.5203, allocations: 99.94 kB / 419.5 MB, free: 4.508 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.961/2.481, allocations: 376.9 MB / 0.7777 GB, free: 43.88 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.114e-06/2.481, allocations: 0 / 0.7777 GB, free: 43.88 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0007716/2.482, allocations: 243.8 kB / 0.7779 GB, free: 43.84 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3092 * Number of variables: 3092 Notification: Performance of Generate backend data structure: time 0.05002/2.532, allocations: 10.25 MB / 0.7879 GB, free: 40.71 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.29e-05/2.532, allocations: 10.44 kB / 0.788 GB, free: 40.71 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05264/2.585, allocations: 6.275 MB / 0.7941 GB, free: 40.1 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02957/2.614, allocations: 8.745 MB / 0.8026 GB, free: 38.73 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001025/2.615, allocations: 364.4 kB / 0.803 GB, free: 38.73 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005381/2.621, allocations: 0.6028 MB / 0.8036 GB, free: 38.72 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0429/2.664, allocations: 15.45 MB / 0.8186 GB, free: 26.53 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05812/2.722, allocations: 17.29 MB / 0.8355 GB, free: 11.4 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006728/2.723, allocations: 23.22 kB / 0.8356 GB, free: 11.38 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00469/2.727, allocations: 4 kB / 0.8356 GB, free: 11.38 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00159/2.729, allocations: 0.824 MB / 0.8364 GB, free: 10.65 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5147/3.244, allocations: 60.54 MB / 0.8955 GB, free: 49.98 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03944/3.283, allocations: 25.13 MB / 0.92 GB, free: 37.14 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01975/3.303, allocations: 8.476 MB / 0.9283 GB, free: 37.04 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08475/3.388, allocations: 27.22 MB / 0.9549 GB, free: 24.82 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001504/3.388, allocations: 107.4 kB / 0.955 GB, free: 24.73 MB / 426.7 MB Notification: Performance of pre-optimization done (n=829): time 1.996e-05/3.388, allocations: 0.9375 kB / 0.955 GB, free: 24.73 MB / 426.7 MB Notification: Performance of matching and sorting (n=835): time 0.1127/3.501, allocations: 31.47 MB / 0.9857 GB, free: 10.76 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.32e-05/3.501, allocations: 120.8 kB / 0.9858 GB, free: 10.63 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005253/3.506, allocations: 2.303 MB / 0.9881 GB, free: 8.586 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001949/3.508, allocations: 25.7 kB / 0.9881 GB, free: 8.555 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002855/3.511, allocations: 3.871 MB / 0.9919 GB, free: 5.121 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00442/3.515, allocations: 2.651 MB / 0.9945 GB, free: 2.672 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00175/3.517, allocations: 2.188 kB / 0.9945 GB, free: 2.672 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0008758/3.518, allocations: 0.6344 MB / 0.9951 GB, free: 2.125 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03007/3.548, allocations: 6.565 MB / 1.002 GB, free: 15.76 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01745/3.566, allocations: 7.017 MB / 1.008 GB, free: 8.996 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02638/3.592, allocations: 8.114 MB / 1.016 GB, free: 2.383 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.256e-05/3.592, allocations: 12 kB / 1.016 GB, free: 2.371 MB / 442.7 MB Notification: Performance of matching and sorting (n=1041) (initialization): time 0.06389/3.656, allocations: 17.18 MB / 1.033 GB, free: 3.781 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.682e-05/3.656, allocations: 22.48 kB / 1.033 GB, free: 3.762 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001267/3.656, allocations: 40 kB / 1.033 GB, free: 3.723 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.4609/4.117, allocations: 4.94 MB / 1.038 GB, free: 87.4 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01829/4.136, allocations: 1.4 MB / 1.039 GB, free: 87.4 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03777/4.174, allocations: 12.67 MB / 1.052 GB, free: 84.27 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01378/4.187, allocations: 341.5 kB / 1.052 GB, free: 84.27 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003787/4.191, allocations: 321.7 kB / 1.052 GB, free: 84.27 MB / 458.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: imsQS.stator.resistor.resistor[2].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] imsQS.stator.resistor.resistor[2].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] imsQS.stator.resistor.resistor[3].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] imsQS.stator.resistor.resistor[3].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] imsQS.stator.resistor.resistor[1].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] imsQS.stator.resistor.resistor[1].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] resistor.resistor[3].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] resistor.resistor[3].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] resistor.resistor[2].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] resistor.resistor[2].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] resistor.resistor[1].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] resistor.resistor[1].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] imsQS.rotor.resistor.resistor[3].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] imsQS.rotor.resistor.resistor[3].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] imsQS.rotor.resistor.resistor[2].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] imsQS.rotor.resistor.resistor[2].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] imsQS.rotor.resistor.resistor[1].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] imsQS.rotor.resistor.resistor[1].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: iSensorQS.currentSensor[1].y.re:VARIABLE() "Real part of complex number" type: Real [3] iSensorQS.currentSensor[1].y.im:VARIABLE() "Imaginary part of complex number" type: Real [3] iSensorQS.currentSensor[3].y.im:VARIABLE() "Imaginary part of complex number" type: Real [3] iSensorQS.currentSensor[2].y.re:VARIABLE() "Real part of complex number" type: Real [3] iSensorQS.currentSensor[2].y.im:VARIABLE() "Imaginary part of complex number" type: Real [3] iSensorQS.currentSensor[3].y.re:VARIABLE() "Real part of complex number" type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pSensorQS.powerSensor[3].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] pSensorQS.powerSensor[3].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] pSensorQS.powerSensor[1].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] pSensorQS.powerSensor[1].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] pSensorQS.powerSensor[2].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] pSensorQS.powerSensor[2].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: starQS.plugToPins_p.pin_p[1].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] starQS.plugToPins_p.pin_p[3].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] starQS.plugToPins_p.pin_p[3].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] starQS.plugToPins_p.pin_p[2].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] starQS.plugToPins_p.pin_p[2].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] starQS.plugToPins_p.pin_p[1].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: terminalBoxQS.multiStar.plugToPins_p.pin_p[3].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] terminalBoxQS.multiStar.plugToPins_p.pin_p[2].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] terminalBoxQS.multiStar.plugToPins_p.pin_p[2].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] terminalBoxQS.multiStar.plugToPins_p.pin_p[3].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] terminalBoxQS.multiStar.plugToPins_p.pin_p[1].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] terminalBoxQS.multiStar.plugToPins_p.pin_p[1].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: starRotorQS.plugToPins_p.pin_p[2].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] starRotorQS.plugToPins_p.pin_p[1].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] starRotorQS.plugToPins_p.pin_p[2].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] starRotorQS.plugToPins_p.pin_p[3].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] starRotorQS.plugToPins_p.pin_p[3].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] starRotorQS.plugToPins_p.pin_p[1].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 172 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (701): * Single equations (assignments): 635 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 60 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {6 9,6 9,6 9,6 9,6 9,18 115} Notification: Performance of prepare postOptimizeDAE: time 0.00762/4.199, allocations: 401.8 kB / 1.053 GB, free: 84.14 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.07174/4.271, allocations: 15.56 MB / 1.068 GB, free: 83.88 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004443/4.275, allocations: 483.6 kB / 1.068 GB, free: 83.88 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07862/4.354, allocations: 16.87 MB / 1.085 GB, free: 83.54 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.06757/4.422, allocations: 15.43 MB / 1.1 GB, free: 80.05 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.355e-05/4.422, allocations: 0 / 1.1 GB, free: 80.05 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002703/4.422, allocations: 37.12 kB / 1.1 GB, free: 80.05 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1054/4.527, allocations: 30.39 MB / 1.13 GB, free: 67.09 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001051/4.528, allocations: 0 / 1.13 GB, free: 67.09 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01008/4.538, allocations: 1.082 MB / 1.131 GB, free: 67.06 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0151/4.553, allocations: 4.746 MB / 1.135 GB, free: 65 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002215/4.555, allocations: 97.38 kB / 1.135 GB, free: 64.93 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02089/4.576, allocations: 12.46 MB / 1.148 GB, free: 53.6 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.738e-06/4.576, allocations: 9.531 kB / 1.148 GB, free: 53.59 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06535/4.641, allocations: 25.1 MB / 1.172 GB, free: 31.71 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006851/4.648, allocations: 1.838 MB / 1.174 GB, free: 30.05 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003372/4.652, allocations: 3.953 kB / 1.174 GB, free: 30.05 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007916/4.66, allocations: 314.4 kB / 1.174 GB, free: 29.88 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00319/4.663, allocations: 0.5942 MB / 1.175 GB, free: 29.5 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002169/4.665, allocations: 226.2 kB / 1.175 GB, free: 29.3 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.004013/4.669, allocations: 1.698 MB / 1.177 GB, free: 27.8 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.42e-07/4.669, allocations: 0 / 1.177 GB, free: 27.8 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01208/4.681, allocations: 1.74 MB / 1.178 GB, free: 26.08 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (speed.phi,resistor.resistor[1].pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (536): * Single equations (assignments): 470 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 60 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {6 9,6 9,6 9,6 9,6 9,16 117} Notification: Performance of Backend phase and start with SimCode phase: time 0.4666/5.148, allocations: 27.15 MB / 1.205 GB, free: 86.35 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.03626/5.184, allocations: 13.53 MB / 1.218 GB, free: 86.07 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.145e-05/5.184, allocations: 0 / 1.218 GB, free: 86.07 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02048/5.205, allocations: 7.053 MB / 1.225 GB, free: 85.93 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008644/5.214, allocations: 0.7358 MB / 1.226 GB, free: 85.91 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07671/5.29, allocations: 23.92 MB / 1.249 GB, free: 82.82 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01792/5.308, allocations: 7.388 MB / 1.256 GB, free: 81.86 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.017/5.325, allocations: 1.846 MB / 1.258 GB, free: 81.67 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01606/5.342, allocations: 3.888 MB / 1.262 GB, free: 80.75 MB / 458.7 MB Notification: Performance of SimCode: time 1.974e-06/5.342, allocations: 0 / 1.262 GB, free: 80.75 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.113/6.455, allocations: 185.8 MB / 1.443 GB, free: 70.07 MB / 458.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002946/6.455, allocations: 219.5 kB / 1.444 GB, free: 69.78 MB / 458.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.141/14.6, allocations: 0 / 1.444 GB, free: 69.78 MB / 458.8 MB