Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Initialize",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.596/2.596, allocations: 195 MB / 202.9 MB, free: 6.633 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.948e-05/2.964e-05, allocations: 2.75 kB / 249.8 MB, free: 5.297 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1196, allocations: 44.51 MB / 294.3 MB, free: 10.61 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6423/0.7619, allocations: 140.3 MB / 434.6 MB, free: 13.71 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000399/0.7624, allocations: 94.62 kB / 434.7 MB, free: 13.66 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.23/2.992, allocations: 349.4 MB / 0.7658 GB, free: 30.23 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.457e-06/2.992, allocations: 0 / 0.7658 GB, free: 30.23 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.00104/2.993, allocations: 251.6 kB / 0.766 GB, free: 29.99 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: 3009 * Number of variables: 3009 Notification: Performance of Generate backend data structure: time 0.05838/3.052, allocations: 10.26 MB / 0.776 GB, free: 19.65 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.196e-05/3.052, allocations: 8.031 kB / 0.776 GB, free: 19.64 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007636/3.059, allocations: 1.105 MB / 0.7771 GB, free: 18.53 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06365/3.123, allocations: 5.367 MB / 0.7823 GB, free: 13.14 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04482/3.168, allocations: 9.377 MB / 0.7915 GB, free: 3.805 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001425/3.17, allocations: 472.5 kB / 0.792 GB, free: 3.348 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006234/3.176, allocations: 0.6131 MB / 0.7925 GB, free: 2.734 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.9397/4.116, allocations: 14.47 MB / 0.8067 GB, free: 30.92 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06457/4.18, allocations: 16.03 MB / 0.8223 GB, free: 29.78 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007438/4.181, allocations: 19.08 kB / 0.8224 GB, free: 29.78 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004744/4.186, allocations: 6.938 kB / 0.8224 GB, free: 29.78 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001468/4.187, allocations: 0.7294 MB / 0.8231 GB, free: 29.75 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1796/4.367, allocations: 57.32 MB / 0.879 GB, free: 12.02 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.05091/4.418, allocations: 23.61 MB / 0.9021 GB, free: 9.809 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0238/4.442, allocations: 7.021 MB / 0.909 GB, free: 6.875 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09626/4.538, allocations: 22.67 MB / 0.9311 GB, free: 12.67 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001691/4.538, allocations: 95.52 kB / 0.9312 GB, free: 12.57 MB / 442.8 MB Notification: Performance of pre-optimization done (n=659): time 1.619e-05/4.538, allocations: 0 / 0.9312 GB, free: 12.57 MB / 442.8 MB Notification: Performance of matching and sorting (n=684): time 0.1275/4.666, allocations: 27.81 MB / 0.9583 GB, free: 4.199 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001532/4.666, allocations: 139 kB / 0.9585 GB, free: 4.043 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01147/4.677, allocations: 3.01 MB / 0.9614 GB, free: 1.391 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001931/4.679, allocations: 31.61 kB / 0.9615 GB, free: 1.355 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.4527/5.132, allocations: 4.235 MB / 0.9656 GB, free: 75.6 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.004776/5.137, allocations: 2.189 MB / 0.9677 GB, free: 74.13 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002052/5.139, allocations: 0 / 0.9677 GB, free: 74.13 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.001191/5.14, allocations: 0.5969 MB / 0.9683 GB, free: 73.81 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01615/5.157, allocations: 4.461 MB / 0.9727 GB, free: 73.8 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01758/5.174, allocations: 5.988 MB / 0.9785 GB, free: 72.16 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02786/5.202, allocations: 6.626 MB / 0.985 GB, free: 72.07 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001169/5.202, allocations: 16.5 kB / 0.985 GB, free: 72.07 MB / 458.8 MB Notification: Performance of matching and sorting (n=928) (initialization): time 0.05972/5.262, allocations: 14.43 MB / 0.9991 GB, free: 71.55 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001051/5.262, allocations: 26.28 kB / 0.9991 GB, free: 71.55 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001263/5.262, allocations: 44.47 kB / 0.9992 GB, free: 71.55 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01906/5.281, allocations: 3.97 MB / 1.003 GB, free: 71.46 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01581/5.297, allocations: 1.339 MB / 1.004 GB, free: 71.46 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03761/5.335, allocations: 16.68 MB / 1.021 GB, free: 65.02 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01185/5.347, allocations: 267 kB / 1.021 GB, free: 65.01 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002584/5.35, allocations: 295.9 kB / 1.021 GB, free: 65.01 MB / 458.8 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: 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[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] 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.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.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[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] 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[2].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[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[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: currentQuasiRMSSensorQS.currentSensor[1].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] currentQuasiRMSSensorQS.currentSensor[2].y.im:VARIABLE() "Imaginary part of complex number" type: Real [3] currentQuasiRMSSensorQS.currentSensor[3].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] 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.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] starQS.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: 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[3].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary 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[2].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[3].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: 199 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (664): * Single equations (assignments): 625 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 31 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(8,56.2%) 27,(1,100.0%) 1} * Non-linear torn systems: 5 {6 9,6 9,6 9,6 9,12 76} Notification: Performance of prepare postOptimizeDAE: time 0.004707/5.354, allocations: 376.8 kB / 1.022 GB, free: 64.86 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003116/5.357, allocations: 0.4942 MB / 1.022 GB, free: 64.6 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05434/5.412, allocations: 13.82 MB / 1.036 GB, free: 63.94 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002988/5.412, allocations: 156 kB / 1.036 GB, free: 63.94 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.465e-05/5.412, allocations: 14.48 kB / 1.036 GB, free: 63.94 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002134/5.412, allocations: 27.09 kB / 1.036 GB, free: 63.94 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09327/5.506, allocations: 25.87 MB / 1.061 GB, free: 52.95 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001279/5.506, allocations: 2.969 kB / 1.061 GB, free: 52.95 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01209/5.518, allocations: 0.8931 MB / 1.062 GB, free: 52.93 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0197/5.538, allocations: 3.852 MB / 1.066 GB, free: 51.74 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001986/5.54, allocations: 76.27 kB / 1.066 GB, free: 51.71 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03896/5.579, allocations: 20.49 MB / 1.086 GB, free: 35.26 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.097e-05/5.579, allocations: 4 kB / 1.086 GB, free: 35.25 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06744/5.646, allocations: 20.81 MB / 1.106 GB, free: 16.71 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00733/5.654, allocations: 1.636 MB / 1.108 GB, free: 15.23 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002328/5.656, allocations: 12 kB / 1.108 GB, free: 15.22 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008952/5.665, allocations: 246.2 kB / 1.108 GB, free: 15.07 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002502/5.668, allocations: 0.511 MB / 1.108 GB, free: 14.75 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001117/5.669, allocations: 192.4 kB / 1.109 GB, free: 14.59 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.006339/5.675, allocations: 2.215 MB / 1.111 GB, free: 12.63 MB / 458.8 MB Notification: Performance of sort global known variables: time 1.182e-06/5.675, allocations: 4 kB / 1.111 GB, free: 12.63 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.01304/5.688, allocations: 1.735 MB / 1.112 GB, free: 10.9 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 10 (imcQS.inertiaRotor.phi,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.w,imc.inertiaRotor.phi,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.stator.strayReluctance.Phi.re,imc.stator.strayReluctance.Phi.im,imc.stator.zeroInductor.i0,loadInertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (443): * Single equations (assignments): 401 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 31 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 1,(2,100.0%) 12,(1,100.0%) 5,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 12} * Non-linear torn systems: 5 {6 9,6 9,6 9,6 9,12 76} Notification: Performance of Backend phase and start with SimCode phase: time 0.07638/5.765, allocations: 22.53 MB / 1.134 GB, free: 6.824 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.4869/6.252, allocations: 12.53 MB / 1.147 GB, free: 96.63 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.421e-05/6.252, allocations: 2.031 kB / 1.147 GB, free: 96.63 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.02454/6.276, allocations: 6.519 MB / 1.153 GB, free: 95.81 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01175/6.288, allocations: 0.8724 MB / 1.154 GB, free: 95.8 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09166/6.38, allocations: 22.39 MB / 1.176 GB, free: 92.5 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01942/6.399, allocations: 7.114 MB / 1.183 GB, free: 91.47 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.01498/6.414, allocations: 1.619 MB / 1.184 GB, free: 91.29 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01455/6.429, allocations: 4.04 MB / 1.188 GB, free: 91.29 MB / 474.8 MB Notification: Performance of SimCode: time 3.597e-06/6.429, allocations: 0 / 1.188 GB, free: 91.29 MB / 474.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.032/7.461, allocations: 179.5 MB / 1.363 GB, free: 74.91 MB / 474.8 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003118/7.461, allocations: 217.2 kB / 1.364 GB, free: 74.61 MB / 474.8 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 11.39/18.85, allocations: 0 / 1.364 GB, free: 74.61 MB / 474.8 MB