Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,fileNamePrefix="Modelica_3_2_2_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Initialize",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.13/2.13, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.435e-05/2.445e-05, allocations: 4 kB / 249.8 MB, free: 14.78 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3048/0.3048, allocations: 44.49 MB / 294.3 MB, free: 14.33 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5085/0.8134, allocations: 140.3 MB / 434.6 MB, free: 66.36 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003076/0.8137, allocations: 97.66 kB / 434.7 MB, free: 66.36 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.66/2.474, allocations: 347.7 MB / 0.764 GB, free: 36.66 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.435e-06/2.474, allocations: 0 / 0.764 GB, free: 36.66 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0009759/2.475, allocations: 253.8 kB / 0.7643 GB, free: 36.63 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: 3009 * Number of variables: 3009 Notification: Performance of Generate backend data structure: time 0.0496/2.524, allocations: 10.27 MB / 0.7743 GB, free: 33.41 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.321e-05/2.524, allocations: 7.531 kB / 0.7743 GB, free: 33.41 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04526/2.57, allocations: 5.376 MB / 0.7796 GB, free: 32.79 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03127/2.601, allocations: 9.383 MB / 0.7887 GB, free: 31.68 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009176/2.602, allocations: 354 kB / 0.7891 GB, free: 31.68 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005046/2.607, allocations: 0.6177 MB / 0.7897 GB, free: 31.67 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04216/2.649, allocations: 14.46 MB / 0.8038 GB, free: 31.62 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05426/2.704, allocations: 16.03 MB / 0.8194 GB, free: 30.45 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006823/2.704, allocations: 23.94 kB / 0.8195 GB, free: 30.44 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004409/2.709, allocations: 6.594 kB / 0.8195 GB, free: 30.44 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00119/2.71, allocations: 0.7295 MB / 0.8202 GB, free: 30.41 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1554/2.865, allocations: 57.51 MB / 0.8763 GB, free: 9.469 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.39/3.255, allocations: 23.59 MB / 0.8994 GB, free: 36.02 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01801/3.274, allocations: 7.025 MB / 0.9062 GB, free: 35.94 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06327/3.337, allocations: 22.23 MB / 0.928 GB, free: 34.87 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001017/3.337, allocations: 98.02 kB / 0.928 GB, free: 34.82 MB / 442.7 MB Notification: Performance of pre-optimization done (n=659): time 1.131e-05/3.337, allocations: 0 / 0.928 GB, free: 34.82 MB / 442.7 MB Notification: Performance of matching and sorting (n=684): time 0.1092/3.446, allocations: 27.81 MB / 0.9552 GB, free: 31.49 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.701e-05/3.446, allocations: 143.9 kB / 0.9553 GB, free: 31.38 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007701/3.454, allocations: 3.011 MB / 0.9583 GB, free: 31.13 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001582/3.456, allocations: 28.83 kB / 0.9583 GB, free: 31.1 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003609/3.459, allocations: 4.24 MB / 0.9624 GB, free: 28.93 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00358/3.463, allocations: 2.19 MB / 0.9646 GB, free: 27.46 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001487/3.465, allocations: 0 / 0.9646 GB, free: 27.46 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0007913/3.465, allocations: 0.5959 MB / 0.9652 GB, free: 27.14 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01067/3.476, allocations: 4.465 MB / 0.9695 GB, free: 25.3 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01251/3.489, allocations: 5.987 MB / 0.9754 GB, free: 21.57 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01942/3.508, allocations: 6.627 MB / 0.9818 GB, free: 19 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.489e-05/3.508, allocations: 15 kB / 0.9819 GB, free: 19 MB / 442.7 MB Notification: Performance of matching and sorting (n=928) (initialization): time 0.04312/3.551, allocations: 14.42 MB / 0.9959 GB, free: 13.45 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.973e-05/3.551, allocations: 27.06 kB / 0.996 GB, free: 13.45 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001106/3.552, allocations: 43.72 kB / 0.996 GB, free: 13.45 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0135/3.565, allocations: 3.979 MB / 0.9999 GB, free: 12.28 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01069/3.576, allocations: 1.334 MB / 1.001 GB, free: 12.24 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02608/3.602, allocations: 16.69 MB / 1.018 GB, free: 1.133 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00865/3.611, allocations: 264.1 kB / 1.018 GB, free: 1.129 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002203/3.613, allocations: 292 kB / 1.018 GB, free: 1.074 MB / 442.7 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.003144/3.616, allocations: 381.1 kB / 1.018 GB, free: 0.9141 MB / 442.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.04217/3.658, allocations: 13.06 MB / 1.031 GB, free: 10.55 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003082/3.661, allocations: 0.4971 MB / 1.032 GB, free: 10.05 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0494/3.711, allocations: 14.08 MB / 1.045 GB, free: 15.07 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002736/3.711, allocations: 155.5 kB / 1.046 GB, free: 14.94 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.257e-05/3.711, allocations: 11.59 kB / 1.046 GB, free: 14.93 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001508/3.711, allocations: 33.2 kB / 1.046 GB, free: 14.93 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4398/4.151, allocations: 25.95 MB / 1.071 GB, free: 77.26 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001024/4.151, allocations: 8.047 kB / 1.071 GB, free: 77.26 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008297/4.16, allocations: 0.8945 MB / 1.072 GB, free: 77.26 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01301/4.173, allocations: 3.848 MB / 1.076 GB, free: 77.15 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001682/4.174, allocations: 75.58 kB / 1.076 GB, free: 77.15 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02879/4.203, allocations: 20.49 MB / 1.096 GB, free: 67.16 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.036e-05/4.203, allocations: 5.375 kB / 1.096 GB, free: 67.16 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0526/4.256, allocations: 20.82 MB / 1.116 GB, free: 65.75 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006188/4.262, allocations: 1.635 MB / 1.118 GB, free: 65.66 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002975/4.265, allocations: 12.19 kB / 1.118 GB, free: 65.66 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007526/4.273, allocations: 242.6 kB / 1.118 GB, free: 65.66 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002598/4.275, allocations: 0.5137 MB / 1.118 GB, free: 65.64 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001109/4.276, allocations: 184.3 kB / 1.118 GB, free: 65.64 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.005592/4.282, allocations: 2.224 MB / 1.121 GB, free: 65.5 MB / 474.7 MB Notification: Performance of sort global known variables: time 6.72e-07/4.282, allocations: 0 / 1.121 GB, free: 65.5 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01181/4.294, allocations: 1.741 MB / 1.122 GB, free: 65.5 MB / 474.7 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.05528/4.349, allocations: 22.5 MB / 1.144 GB, free: 61.64 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.029/4.378, allocations: 11.49 MB / 1.156 GB, free: 56.82 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.161e-05/4.378, allocations: 0 / 1.156 GB, free: 56.82 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01795/4.396, allocations: 6.507 MB / 1.162 GB, free: 53.78 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009503/4.406, allocations: 0.8809 MB / 1.163 GB, free: 53.59 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07049/4.476, allocations: 22.39 MB / 1.185 GB, free: 44.3 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01866/4.495, allocations: 7.107 MB / 1.192 GB, free: 38.94 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.013/4.508, allocations: 1.624 MB / 1.193 GB, free: 37.82 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00979/4.518, allocations: 4.04 MB / 1.197 GB, free: 34.05 MB / 474.7 MB Notification: Performance of SimCode: time 2.445e-06/4.518, allocations: 0 / 1.197 GB, free: 34.05 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7421/5.26, allocations: 174.2 MB / 1.367 GB, free: 33.84 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002144/5.261, allocations: 212 kB / 1.367 GB, free: 33.56 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.006/14.27, allocations: 1.969 kB / 1.367 GB, free: 33.56 MB / 474.7 MB