Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Characteristics",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.189/2.189, allocations: 195 MB / 202.9 MB, free: 6.723 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.066e-05/3.065e-05, allocations: 3.781 kB / 249.8 MB, free: 5.262 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.102, allocations: 44.51 MB / 294.3 MB, free: 10.63 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5502/0.6523, allocations: 125.1 MB / 419.5 MB, free: 12.76 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005324/0.6529, allocations: 101.6 kB / 419.5 MB, free: 12.71 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.017/2.67, allocations: 376.9 MB / 0.7778 GB, free: 1.906 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.875e-06/2.67, allocations: 4 kB / 0.7778 GB, free: 1.902 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0009008/2.671, allocations: 239.8 kB / 0.778 GB, free: 1.668 MB / 394.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.06841/2.739, allocations: 10.26 MB / 0.788 GB, free: 7.336 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.495e-05/2.739, allocations: 12.03 kB / 0.788 GB, free: 7.324 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06632/2.805, allocations: 6.267 MB / 0.7941 GB, free: 1.039 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4234/3.229, allocations: 8.738 MB / 0.8027 GB, free: 29.15 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001254/3.23, allocations: 360.7 kB / 0.803 GB, free: 29.15 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005855/3.236, allocations: 0.613 MB / 0.8036 GB, free: 29.14 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05001/3.286, allocations: 15.45 MB / 0.8187 GB, free: 29.09 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06201/3.348, allocations: 17.29 MB / 0.8356 GB, free: 27.9 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005502/3.349, allocations: 19.92 kB / 0.8356 GB, free: 27.89 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004291/3.353, allocations: 10.64 kB / 0.8356 GB, free: 27.89 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001435/3.355, allocations: 0.8173 MB / 0.8364 GB, free: 27.87 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1829/3.538, allocations: 60.56 MB / 0.8956 GB, free: 5.52 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.06234/3.6, allocations: 25.12 MB / 0.9201 GB, free: 3.918 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.04111/3.641, allocations: 8.514 MB / 0.9284 GB, free: 15.6 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1278/3.769, allocations: 28.02 MB / 0.9558 GB, free: 10.94 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001865/3.769, allocations: 104 kB / 0.9559 GB, free: 10.82 MB / 458.7 MB Notification: Performance of pre-optimization done (n=829): time 1.509e-05/3.769, allocations: 0 / 0.9559 GB, free: 10.82 MB / 458.7 MB Notification: Performance of matching and sorting (n=835): time 0.5115/4.281, allocations: 31.69 MB / 0.9868 GB, free: 70.39 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001133/4.281, allocations: 124.6 kB / 0.9869 GB, free: 70.32 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007062/4.288, allocations: 2.305 MB / 0.9892 GB, free: 70.08 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002198/4.29, allocations: 25.7 kB / 0.9892 GB, free: 70.05 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003766/4.294, allocations: 3.871 MB / 0.993 GB, free: 68.11 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.005129/4.299, allocations: 2.653 MB / 0.9956 GB, free: 66.32 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002611/4.302, allocations: 0 / 0.9956 GB, free: 66.32 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.00134/4.303, allocations: 0.6381 MB / 0.9962 GB, free: 66 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.016/4.319, allocations: 5.587 MB / 1.002 GB, free: 65.98 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01782/4.337, allocations: 7.013 MB / 1.009 GB, free: 64.54 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02801/4.365, allocations: 8.111 MB / 1.016 GB, free: 64.45 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001076/4.366, allocations: 14.12 kB / 1.016 GB, free: 64.45 MB / 458.7 MB Notification: Performance of matching and sorting (n=1041) (initialization): time 0.06051/4.426, allocations: 17.17 MB / 1.033 GB, free: 63.94 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.296e-05/4.426, allocations: 25.25 kB / 1.033 GB, free: 63.94 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001401/4.426, allocations: 40.98 kB / 1.033 GB, free: 63.93 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01824/4.445, allocations: 4.945 MB / 1.038 GB, free: 63.84 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01383/4.458, allocations: 1.394 MB / 1.039 GB, free: 63.84 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02741/4.486, allocations: 12.67 MB / 1.052 GB, free: 58.51 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01023/4.496, allocations: 350 kB / 1.052 GB, free: 58.5 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002778/4.499, allocations: 320.6 kB / 1.052 GB, free: 58.43 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.004958/4.504, allocations: 389.2 kB / 1.053 GB, free: 58.26 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.05298/4.557, allocations: 15.56 MB / 1.068 GB, free: 52.02 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003509/4.561, allocations: 486.8 kB / 1.069 GB, free: 51.77 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06011/4.621, allocations: 16.87 MB / 1.085 GB, free: 45.02 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.04989/4.671, allocations: 15.43 MB / 1.1 GB, free: 32.37 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.731e-05/4.671, allocations: 0 / 1.1 GB, free: 32.37 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002081/4.671, allocations: 32.77 kB / 1.1 GB, free: 32.37 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4862/5.157, allocations: 30.42 MB / 1.13 GB, free: 67.08 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001671/5.157, allocations: 0.75 kB / 1.13 GB, free: 67.08 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0139/5.171, allocations: 1.077 MB / 1.131 GB, free: 67.08 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02039/5.192, allocations: 4.753 MB / 1.135 GB, free: 67 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002412/5.194, allocations: 89.56 kB / 1.136 GB, free: 67 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02737/5.222, allocations: 12.46 MB / 1.148 GB, free: 63.86 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.617e-06/5.222, allocations: 3.656 kB / 1.148 GB, free: 63.86 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0771/5.299, allocations: 25.1 MB / 1.172 GB, free: 63.33 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.008002/5.307, allocations: 1.843 MB / 1.174 GB, free: 63.18 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003697/5.311, allocations: 6.172 kB / 1.174 GB, free: 63.18 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008931/5.32, allocations: 316.1 kB / 1.174 GB, free: 63.18 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00377/5.323, allocations: 0.5908 MB / 1.175 GB, free: 63.18 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002609/5.326, allocations: 226.4 kB / 1.175 GB, free: 63.18 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.005169/5.331, allocations: 1.702 MB / 1.177 GB, free: 63.03 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.112e-06/5.331, allocations: 0 / 1.177 GB, free: 63.03 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01377/5.345, allocations: 1.743 MB / 1.179 GB, free: 63.03 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.08214/5.427, allocations: 26.07 MB / 1.204 GB, free: 60.14 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.04095/5.468, allocations: 13.52 MB / 1.217 GB, free: 54.81 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.638e-06/5.468, allocations: 7.094 kB / 1.217 GB, free: 54.81 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02382/5.492, allocations: 7.059 MB / 1.224 GB, free: 52.03 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01043/5.503, allocations: 0.7429 MB / 1.225 GB, free: 51.87 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08713/5.59, allocations: 23.92 MB / 1.248 GB, free: 37.77 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01977/5.61, allocations: 7.379 MB / 1.255 GB, free: 32.19 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.01343/5.623, allocations: 1.843 MB / 1.257 GB, free: 30.91 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01246/5.636, allocations: 3.895 MB / 1.261 GB, free: 27.29 MB / 458.7 MB Notification: Performance of SimCode: time 1.643e-06/5.636, allocations: 0 / 1.261 GB, free: 27.29 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8843/6.52, allocations: 185.9 MB / 1.442 GB, free: 12.25 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0004648/6.521, allocations: 218.6 kB / 1.443 GB, free: 11.96 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 9.691/16.21, allocations: 0 / 1.443 GB, free: 11.96 MB / 474.7 MB