Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.579/2.579, allocations: 195 MB / 202.9 MB, free: 6.715 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.975e-05/2.995e-05, allocations: 2.75 kB / 249.8 MB, free: 5.199 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1165, allocations: 44.51 MB / 294.3 MB, free: 10.63 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6259/0.7425, allocations: 125.8 MB / 420.1 MB, free: 11.86 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000496/0.743, allocations: 98.75 kB / 420.2 MB, free: 11.8 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.265/3.008, allocations: 350.8 MB / 0.7529 GB, free: 26.79 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.595e-06/3.008, allocations: 2.438 kB / 0.7529 GB, free: 26.79 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.001205/3.009, allocations: 232 kB / 0.7531 GB, free: 26.75 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: 2742 * Number of variables: 2742 Notification: Performance of Generate backend data structure: time 0.07519/3.084, allocations: 9.554 MB / 0.7624 GB, free: 18.36 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.694e-05/3.084, allocations: 8.031 kB / 0.7624 GB, free: 18.36 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01145/3.096, allocations: 1.25 MB / 0.7636 GB, free: 17.09 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09016/3.186, allocations: 4.919 MB / 0.7684 GB, free: 12.16 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05344/3.24, allocations: 8.174 MB / 0.7764 GB, free: 4 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001735/3.241, allocations: 423.4 kB / 0.7768 GB, free: 3.586 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007231/3.249, allocations: 0.5468 MB / 0.7774 GB, free: 3.039 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.06213/3.311, allocations: 13.68 MB / 0.7907 GB, free: 5.359 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5344/3.845, allocations: 15.43 MB / 0.8058 GB, free: 34.04 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009404/3.846, allocations: 17.73 kB / 0.8058 GB, free: 34.04 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006311/3.853, allocations: 6.375 kB / 0.8058 GB, free: 34.04 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002292/3.855, allocations: 0.7084 MB / 0.8065 GB, free: 34.01 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1808/4.036, allocations: 54.36 MB / 0.8596 GB, free: 26.26 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04283/4.079, allocations: 19.22 MB / 0.8784 GB, free: 13.76 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0261/4.105, allocations: 7.515 MB / 0.8857 GB, free: 10.41 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09375/4.199, allocations: 25.71 MB / 0.9108 GB, free: 14.86 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001541/4.199, allocations: 93.09 kB / 0.9109 GB, free: 14.77 MB / 426.7 MB Notification: Performance of pre-optimization done (n=749): time 1.621e-05/4.199, allocations: 3.344 kB / 0.9109 GB, free: 14.77 MB / 426.7 MB Notification: Performance of matching and sorting (n=754): time 0.1161/4.315, allocations: 27.83 MB / 0.9381 GB, free: 15.95 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001313/4.315, allocations: 115.8 kB / 0.9382 GB, free: 15.83 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009706/4.325, allocations: 2.831 MB / 0.9409 GB, free: 13.33 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001932/4.327, allocations: 25.7 kB / 0.941 GB, free: 13.3 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004859/4.332, allocations: 3.623 MB / 0.9445 GB, free: 10.08 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.005549/4.338, allocations: 2.392 MB / 0.9468 GB, free: 7.867 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001688/4.339, allocations: 0 / 0.9468 GB, free: 7.867 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.001085/4.341, allocations: 0.6006 MB / 0.9474 GB, free: 7.348 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01782/4.358, allocations: 5.084 MB / 0.9524 GB, free: 2.816 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4716/4.83, allocations: 6.603 MB / 0.9588 GB, free: 67.64 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.03076/4.861, allocations: 7.21 MB / 0.9659 GB, free: 67.55 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001154/4.861, allocations: 10.91 kB / 0.9659 GB, free: 67.55 MB / 442.7 MB Notification: Performance of matching and sorting (n=942) (initialization): time 0.06079/4.922, allocations: 15.3 MB / 0.9808 GB, free: 67.29 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001001/4.922, allocations: 42.2 kB / 0.9809 GB, free: 67.25 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001226/4.922, allocations: 39.83 kB / 0.9809 GB, free: 67.25 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01816/4.94, allocations: 3.969 MB / 0.9848 GB, free: 67.17 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01416/4.955, allocations: 1.23 MB / 0.986 GB, free: 67.17 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02714/4.982, allocations: 12.76 MB / 0.9984 GB, free: 62.77 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01045/4.992, allocations: 285.3 kB / 0.9987 GB, free: 62.77 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00276/4.995, allocations: 285 kB / 0.999 GB, free: 62.77 MB / 442.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: imcQS.rotorCage.resistor.resistor[3].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] imcQS.rotorCage.resistor.resistor[3].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] imcQS.rotorCage.resistor.resistor[2].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] imcQS.rotorCage.resistor.resistor[2].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] imcQS.rotorCage.resistor.resistor[1].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] imcQS.rotorCage.resistor.resistor[1].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] imcQS.stator.resistor.resistor[3].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] imcQS.stator.resistor.resistor[3].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] imcQS.stator.resistor.resistor[2].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] imcQS.stator.resistor.resistor[2].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] imcQS.stator.resistor.resistor[1].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] imcQS.stator.resistor.resistor[1].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: imcQS.rotorCage.multiStar.plugToPins_p.pin_p[1].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] imcQS.rotorCage.multiStar.plugToPins_p.pin_p[2].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] imcQS.rotorCage.multiStar.plugToPins_p.pin_p[3].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] imcQS.rotorCage.multiStar.plugToPins_p.pin_p[1].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] imcQS.rotorCage.multiStar.plugToPins_p.pin_p[2].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] imcQS.rotorCage.multiStar.plugToPins_p.pin_p[3].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: terminalBoxQS.multiDelta.plugToPins_n.pin_n[2].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] terminalBoxQS.multiDelta.plugToPins_n.pin_n[1].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] terminalBoxQS.multiDelta.plugToPins_n.pin_n[1].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] terminalBoxQS.multiDelta.plugToPins_n.pin_n[3].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] terminalBoxQS.multiDelta.plugToPins_n.pin_n[3].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] terminalBoxQS.multiDelta.plugToPins_n.pin_n[2].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: electricalPowerSensorQS.powerSensor[1].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] electricalPowerSensorQS.powerSensor[3].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] electricalPowerSensorQS.powerSensor[1].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] electricalPowerSensorQS.powerSensor[2].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] electricalPowerSensorQS.powerSensor[2].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] electricalPowerSensorQS.powerSensor[3].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: currentQuasiRMSSensorQS.currentSensor[1].y.re:VARIABLE() "Real part of complex number" type: Real [3] currentQuasiRMSSensorQS.currentSensor[3].y.im:VARIABLE() "Imaginary part of complex number" type: Real [3] currentQuasiRMSSensorQS.currentSensor[2].y.im:VARIABLE() "Imaginary part of complex number" type: Real [3] currentQuasiRMSSensorQS.currentSensor[3].y.re:VARIABLE() "Real part of complex number" type: Real [3] currentQuasiRMSSensorQS.currentSensor[2].y.re:VARIABLE() "Real part of complex number" type: Real [3] currentQuasiRMSSensorQS.currentSensor[1].y.im:VARIABLE() "Imaginary part of complex number" type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: 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[2].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[1].i.re:VARIABLE(flow=true unit = "A" ) "Real 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] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 141 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (637): * Single equations (assignments): 560 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 69 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 6 {6 9,6 9,6 9,6 9,6 9,12 86} Notification: Performance of prepare postOptimizeDAE: time 0.004986/5, allocations: 374 kB / 0.9993 GB, free: 62.63 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003635/5.004, allocations: 470.5 kB / 0.9998 GB, free: 62.63 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0603/5.064, allocations: 14.98 MB / 1.014 GB, free: 62.27 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.04981/5.114, allocations: 13.59 MB / 1.028 GB, free: 60.2 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.816e-05/5.114, allocations: 3.781 kB / 1.028 GB, free: 60.2 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002122/5.114, allocations: 33.19 kB / 1.028 GB, free: 60.2 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09739/5.212, allocations: 27.51 MB / 1.055 GB, free: 48.23 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001102/5.212, allocations: 1.594 kB / 1.055 GB, free: 48.23 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01226/5.224, allocations: 0.9293 MB / 1.056 GB, free: 48.2 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01829/5.243, allocations: 3.896 MB / 1.059 GB, free: 47.02 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002227/5.245, allocations: 88.95 kB / 1.059 GB, free: 46.98 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02638/5.271, allocations: 12.64 MB / 1.072 GB, free: 35.28 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.646e-06/5.271, allocations: 0 / 1.072 GB, free: 35.28 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09386/5.365, allocations: 22.58 MB / 1.094 GB, free: 15.45 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.007932/5.373, allocations: 1.757 MB / 1.096 GB, free: 13.86 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003221/5.376, allocations: 4 kB / 1.096 GB, free: 13.86 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009033/5.385, allocations: 243.6 kB / 1.096 GB, free: 13.72 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003455/5.389, allocations: 0.5527 MB / 1.096 GB, free: 13.36 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002136/5.391, allocations: 203.1 kB / 1.096 GB, free: 13.18 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.006304/5.398, allocations: 2.11 MB / 1.099 GB, free: 11.33 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.62e-07/5.398, allocations: 0 / 1.099 GB, free: 11.33 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01283/5.41, allocations: 1.604 MB / 1.1 GB, free: 9.742 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.phi,PIQS.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (480): * Single equations (assignments): 404 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 69 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 6 {6 9,6 9,6 9,6 9,6 9,12 86} Notification: Performance of Backend phase and start with SimCode phase: time 0.0944/5.505, allocations: 24.36 MB / 1.124 GB, free: 5.914 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.4768/5.982, allocations: 12.52 MB / 1.136 GB, free: 89.13 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.183e-05/5.982, allocations: 3.781 kB / 1.136 GB, free: 89.13 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02412/6.006, allocations: 6.449 MB / 1.142 GB, free: 88.89 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009959/6.016, allocations: 0.6992 MB / 1.143 GB, free: 88.87 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08862/6.105, allocations: 22.38 MB / 1.165 GB, free: 85.95 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01918/6.124, allocations: 6.832 MB / 1.172 GB, free: 85.02 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.01458/6.139, allocations: 1.665 MB / 1.173 GB, free: 84.92 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01325/6.152, allocations: 3.56 MB / 1.177 GB, free: 84.91 MB / 458.7 MB Notification: Performance of SimCode: time 2.044e-06/6.152, allocations: 3.562 kB / 1.177 GB, free: 84.91 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.023/7.175, allocations: 178 MB / 1.351 GB, free: 71.76 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.000315/7.175, allocations: 240.9 kB / 1.351 GB, free: 71.48 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 10.34/17.52, allocations: 0.9375 kB / 1.351 GB, free: 71.48 MB / 458.7 MB