Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_DOL",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.693/2.693, allocations: 195 MB / 202.9 MB, free: 6.73 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.884e-05/3.905e-05, allocations: 8.469 kB / 249.8 MB, free: 5.25 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.117, allocations: 44.51 MB / 294.3 MB, free: 10.62 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6448/0.7618, allocations: 146.5 MB / 440.8 MB, free: 7.48 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004462/0.7623, allocations: 102 kB / 440.9 MB, free: 7.426 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.168/3.93, allocations: 455.8 MB / 0.8757 GB, free: 32.26 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.324e-06/3.93, allocations: 0 / 0.8757 GB, free: 32.26 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.001768/3.932, allocations: 332 kB / 0.8761 GB, free: 32.21 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3978 * Number of variables: 3978 Notification: Performance of Generate backend data structure: time 0.08232/4.015, allocations: 13.26 MB / 0.889 GB, free: 28.11 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.729e-05/4.015, allocations: 13.62 kB / 0.889 GB, free: 28.11 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01359/4.028, allocations: 1.744 MB / 0.8907 GB, free: 27.94 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07734/4.106, allocations: 6.466 MB / 0.897 GB, free: 27.14 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05357/4.159, allocations: 11.51 MB / 0.9083 GB, free: 25.39 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001756/4.161, allocations: 0.6034 MB / 0.9089 GB, free: 25.36 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00841/4.169, allocations: 0.8047 MB / 0.9097 GB, free: 25.36 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.07407/4.244, allocations: 18.71 MB / 0.9279 GB, free: 15.53 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1013/4.345, allocations: 21.32 MB / 0.9487 GB, free: 13.43 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008613/4.346, allocations: 23.7 kB / 0.9488 GB, free: 13.41 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006158/4.352, allocations: 8 kB / 0.9488 GB, free: 13.41 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002024/4.354, allocations: 0.931 MB / 0.9497 GB, free: 12.56 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6976/5.052, allocations: 73.63 MB / 1.022 GB, free: 43.9 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04995/5.102, allocations: 27.72 MB / 1.049 GB, free: 25.4 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.02707/5.129, allocations: 9.293 MB / 1.058 GB, free: 21.42 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1089/5.238, allocations: 30.02 MB / 1.087 GB, free: 7.008 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001727/5.238, allocations: 122.3 kB / 1.087 GB, free: 6.91 MB / 442.7 MB Notification: Performance of pre-optimization done (n=934): time 1.992e-05/5.238, allocations: 0 / 1.087 GB, free: 6.91 MB / 442.7 MB Notification: Performance of matching and sorting (n=942): time 0.1757/5.414, allocations: 36.9 MB / 1.123 GB, free: 14.3 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001851/5.414, allocations: 159.7 kB / 1.123 GB, free: 14.12 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01223/5.426, allocations: 3.476 MB / 1.127 GB, free: 11.04 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00249/5.429, allocations: 27.11 kB / 1.127 GB, free: 11.01 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.007502/5.437, allocations: 5.337 MB / 1.132 GB, free: 6.277 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.007276/5.444, allocations: 2.995 MB / 1.135 GB, free: 3.512 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002018/5.446, allocations: 0 / 1.135 GB, free: 3.512 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.001333/5.447, allocations: 0.6921 MB / 1.136 GB, free: 2.926 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.507/5.954, allocations: 6.768 MB / 1.142 GB, free: 78.67 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02329/5.978, allocations: 7.844 MB / 1.15 GB, free: 76.74 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.03233/6.01, allocations: 8.669 MB / 1.158 GB, free: 76.65 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001869/6.01, allocations: 14.88 kB / 1.158 GB, free: 76.65 MB / 474.7 MB Notification: Performance of matching and sorting (n=1207) (initialization): time 0.07231/6.083, allocations: 19.24 MB / 1.177 GB, free: 76.26 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.761e-05/6.083, allocations: 28.44 kB / 1.177 GB, free: 76.26 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001757/6.083, allocations: 50.47 kB / 1.177 GB, free: 76.26 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03025/6.113, allocations: 5.802 MB / 1.183 GB, free: 76.09 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01609/6.129, allocations: 1.568 MB / 1.184 GB, free: 76.09 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04229/6.172, allocations: 20.19 MB / 1.204 GB, free: 69.04 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01244/6.184, allocations: 316.6 kB / 1.204 GB, free: 69.04 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003283/6.188, allocations: 376.7 kB / 1.205 GB, free: 69.04 MB / 474.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: imcQS.rotorCage.resistor.resistor[3].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] imcQS.rotorCage.resistor.resistor[3].i.re:VARIABLE(unit = "A" ) "Real 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.rotorCage.resistor.resistor[2].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.stator.resistor.resistor[2].i.im:VARIABLE(unit = "A" ) "Imaginary 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[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] imcQS.stator.resistor.resistor[3].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] idealCloserQS.idealClosingSwitch[1].s.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real [3] powerSensorQS.powerSensor[2].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] powerSensorQS.powerSensor[1].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] powerSensorQS.powerSensor[3].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] currentQuasiRMSSensorQS.currentSensor[3].y.im:VARIABLE() "Imaginary part of complex number" type: Real [3] currentQuasiRMSSensorQS.currentSensor[1].y.re:VARIABLE() "Real part of complex number" type: Real [3] powerSensorQS.powerSensor[2].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] powerSensorQS.powerSensor[1].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] powerSensorQS.powerSensor[3].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] currentQuasiRMSSensorQS.currentSensor[2].y.re:VARIABLE() "Real 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[1].y.im:VARIABLE() "Imaginary part of complex number" type: Real [3] idealCloserQS.idealClosingSwitch[3].s.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real [3] idealCloserQS.idealClosingSwitch[3].s.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real [3] idealCloserQS.idealClosingSwitch[2].s.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real [3] idealCloserQS.idealClosingSwitch[2].s.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real [3] idealCloserQS.idealClosingSwitch[1].s.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: imcQS.rotorCage.multiStar.plugToPins_p.pin_p[3].i.re:VARIABLE(flow=true unit = "A" ) "Real 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[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[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.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[1].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary 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[3].i.re:VARIABLE(flow=true unit = "A" ) "Real 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[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] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: starQS.plugToPins_p.pin_p[1].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary 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[3].i.re:VARIABLE(flow=true unit = "A" ) "Real 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.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: 232 * Number of states: 0 () * Number of discrete variables: 6 (booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y,booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (800): * Single equations (assignments): 747 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 44 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 1,(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 13} * Non-linear torn systems: 4 {6 9,6 9,6 9,30 175} Notification: Performance of prepare postOptimizeDAE: time 0.005765/6.193, allocations: 441.9 kB / 1.205 GB, free: 68.91 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004088/6.197, allocations: 0.6228 MB / 1.206 GB, free: 68.91 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07033/6.268, allocations: 18.91 MB / 1.224 GB, free: 63.2 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.05146/6.319, allocations: 15.25 MB / 1.239 GB, free: 57.04 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.899e-05/6.319, allocations: 7.594 kB / 1.239 GB, free: 57.04 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002964/6.32, allocations: 39.61 kB / 1.239 GB, free: 57.04 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1174/6.437, allocations: 34.7 MB / 1.273 GB, free: 34.47 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001016/6.437, allocations: 4 kB / 1.273 GB, free: 34.46 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01299/6.45, allocations: 1.092 MB / 1.274 GB, free: 33.64 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02546/6.476, allocations: 5.892 MB / 1.28 GB, free: 28.77 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002639/6.479, allocations: 111.9 kB / 1.28 GB, free: 28.68 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04726/6.526, allocations: 24.26 MB / 1.304 GB, free: 5.859 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.093e-05/6.526, allocations: 5.312 kB / 1.304 GB, free: 5.855 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5989/7.125, allocations: 29.05 MB / 1.332 GB, free: 71.38 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.009663/7.134, allocations: 2.103 MB / 1.334 GB, free: 71.29 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004172/7.139, allocations: 14.91 kB / 1.334 GB, free: 71.29 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01107/7.15, allocations: 298.3 kB / 1.334 GB, free: 71.29 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00423/7.154, allocations: 0.7065 MB / 1.335 GB, free: 71.28 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002716/7.157, allocations: 257 kB / 1.335 GB, free: 71.28 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.008253/7.165, allocations: 2.573 MB / 1.338 GB, free: 71.1 MB / 474.7 MB Notification: Performance of sort global known variables: time 9.42e-07/7.165, allocations: 1.531 kB / 1.338 GB, free: 71.1 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01796/7.183, allocations: 2.21 MB / 1.34 GB, free: 71.1 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 10 (imc.inertiaRotor.w,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.stator.zeroInductor.i0,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque.phi,loadInertiaQS.w,quadraticLoadTorqueQS.phi,imcQS.rotorCage.port_p.reference.gamma) * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (552): * Single equations (assignments): 498 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 44 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 1,(1,100.0%) 5,(1,100.0%) 8,(1,100.0%) 13,(2,100.0%) 12,(1,100.0%) 1} * Non-linear torn systems: 4 {6 9,6 9,6 9,30 175} Notification: Performance of Backend phase and start with SimCode phase: time 0.09887/7.282, allocations: 30.06 MB / 1.369 GB, free: 68.46 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0507/7.333, allocations: 15.36 MB / 1.384 GB, free: 64.1 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.296e-05/7.333, allocations: 3.031 kB / 1.384 GB, free: 64.1 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.03193/7.365, allocations: 8.688 MB / 1.393 GB, free: 60.28 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0167/7.382, allocations: 1.141 MB / 1.394 GB, free: 60.04 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1207/7.502, allocations: 29.72 MB / 1.423 GB, free: 45.58 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02651/7.529, allocations: 9.322 MB / 1.432 GB, free: 38.59 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01925/7.548, allocations: 2.047 MB / 1.434 GB, free: 37.17 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01858/7.567, allocations: 5.266 MB / 1.439 GB, free: 32.25 MB / 474.7 MB Notification: Performance of SimCode: time 2.916e-06/7.567, allocations: 0 / 1.439 GB, free: 32.25 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.951/9.518, allocations: 239.7 MB / 1.673 GB, free: 49.79 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003239/9.518, allocations: 197.6 kB / 1.674 GB, free: 49.53 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 13.46/22.98, allocations: 1.719 kB / 1.674 GB, free: 49.53 MB / 0.4948 GB