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.325/2.325, allocations: 195 MB / 202.9 MB, free: 6.73 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.801e-05/2.81e-05, allocations: 2.75 kB / 249.8 MB, free: 5.227 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.1445, allocations: 44.52 MB / 294.3 MB, free: 10.61 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5819/0.7265, allocations: 140.3 MB / 434.6 MB, free: 13.64 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000406/0.7269, allocations: 95.12 kB / 434.7 MB, free: 13.59 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.956/2.683, allocations: 347.7 MB / 0.7641 GB, free: 31.78 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.905e-06/2.683, allocations: 0 / 0.7641 GB, free: 31.78 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.001323/2.684, allocations: 255.3 kB / 0.7643 GB, free: 31.53 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.05887/2.743, allocations: 10.27 MB / 0.7744 GB, free: 21.19 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.178e-05/2.743, allocations: 8.031 kB / 0.7744 GB, free: 21.18 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05617/2.8, allocations: 5.375 MB / 0.7796 GB, free: 15.79 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04042/2.84, allocations: 9.374 MB / 0.7888 GB, free: 6.43 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001164/2.841, allocations: 355.4 kB / 0.7891 GB, free: 6.086 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005775/2.847, allocations: 0.6131 MB / 0.7897 GB, free: 5.473 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.4336/3.281, allocations: 14.46 MB / 0.8038 GB, free: 33.09 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06339/3.344, allocations: 16.04 MB / 0.8195 GB, free: 31.95 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007033/3.345, allocations: 18.44 kB / 0.8195 GB, free: 31.95 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004335/3.349, allocations: 6.406 kB / 0.8195 GB, free: 31.95 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001447/3.351, allocations: 0.7313 MB / 0.8202 GB, free: 31.93 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1712/3.522, allocations: 57.32 MB / 0.8762 GB, free: 15.3 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0442/3.566, allocations: 23.61 MB / 0.8993 GB, free: 13.09 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.02035/3.587, allocations: 7.008 MB / 0.9061 GB, free: 10.16 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07767/3.664, allocations: 22.31 MB / 0.9279 GB, free: 15.38 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001371/3.665, allocations: 95.89 kB / 0.928 GB, free: 15.3 MB / 442.7 MB Notification: Performance of pre-optimization done (n=659): time 1.283e-05/3.665, allocations: 0 / 0.928 GB, free: 15.3 MB / 442.7 MB Notification: Performance of matching and sorting (n=684): time 0.1144/3.779, allocations: 27.81 MB / 0.9552 GB, free: 8.07 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001463/3.779, allocations: 141.9 kB / 0.9553 GB, free: 7.914 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01023/3.789, allocations: 3.014 MB / 0.9582 GB, free: 5.258 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001773/3.791, allocations: 29.7 kB / 0.9583 GB, free: 5.223 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005524/3.797, allocations: 4.245 MB / 0.9624 GB, free: 1.445 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.4421/4.239, allocations: 2.18 MB / 0.9645 GB, free: 77.78 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001974/4.241, allocations: 0 / 0.9645 GB, free: 77.78 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0009615/4.242, allocations: 0.5971 MB / 0.9651 GB, free: 77.46 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01417/4.256, allocations: 4.461 MB / 0.9695 GB, free: 77.45 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01562/4.272, allocations: 5.983 MB / 0.9753 GB, free: 75.81 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02233/4.294, allocations: 6.632 MB / 0.9818 GB, free: 75.72 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001452/4.294, allocations: 15.41 kB / 0.9818 GB, free: 75.72 MB / 458.7 MB Notification: Performance of matching and sorting (n=928) (initialization): time 0.05081/4.345, allocations: 14.43 MB / 0.9959 GB, free: 75.46 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.48e-05/4.345, allocations: 24.81 kB / 0.9959 GB, free: 75.46 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001166/4.345, allocations: 44.12 kB / 0.996 GB, free: 75.46 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01623/4.362, allocations: 3.976 MB / 0.9999 GB, free: 75.37 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01257/4.374, allocations: 1.336 MB / 1.001 GB, free: 75.37 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03252/4.407, allocations: 16.69 MB / 1.017 GB, free: 69.09 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01017/4.417, allocations: 259.8 kB / 1.018 GB, free: 69.09 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002384/4.42, allocations: 295.9 kB / 1.018 GB, free: 69.09 MB / 458.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.004389/4.424, allocations: 383.6 kB / 1.018 GB, free: 68.96 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.04357/4.468, allocations: 12.81 MB / 1.031 GB, free: 68.43 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003214/4.471, allocations: 0.5069 MB / 1.031 GB, free: 68.17 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04924/4.52, allocations: 13.82 MB / 1.045 GB, free: 63.9 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002619/4.52, allocations: 156.7 kB / 1.045 GB, free: 63.82 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-05/4.521, allocations: 6.344 kB / 1.045 GB, free: 63.82 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001906/4.521, allocations: 32.64 kB / 1.045 GB, free: 63.82 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08101/4.602, allocations: 25.87 MB / 1.07 GB, free: 52.38 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001149/4.602, allocations: 0 / 1.07 GB, free: 52.38 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009658/4.612, allocations: 0.8989 MB / 1.071 GB, free: 52.35 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01567/4.627, allocations: 3.85 MB / 1.075 GB, free: 49.66 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001823/4.629, allocations: 78.7 kB / 1.075 GB, free: 49.6 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03349/4.663, allocations: 20.48 MB / 1.095 GB, free: 29.86 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.13e-05/4.663, allocations: 4 kB / 1.095 GB, free: 29.86 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06475/4.728, allocations: 20.82 MB / 1.115 GB, free: 11.31 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006617/4.734, allocations: 1.63 MB / 1.117 GB, free: 9.836 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003122/4.737, allocations: 19.84 kB / 1.117 GB, free: 9.82 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008116/4.746, allocations: 242.5 kB / 1.117 GB, free: 9.68 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002807/4.748, allocations: 0.5 MB / 1.118 GB, free: 9.359 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001604/4.75, allocations: 190.6 kB / 1.118 GB, free: 9.191 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.006077/4.756, allocations: 2.224 MB / 1.12 GB, free: 7.234 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.845e-06/4.756, allocations: 0 / 1.12 GB, free: 7.234 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0127/4.769, allocations: 1.745 MB / 1.122 GB, free: 5.5 MB / 458.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.4815/5.25, allocations: 23.57 MB / 1.145 GB, free: 72.09 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.03383/5.284, allocations: 11.49 MB / 1.156 GB, free: 71.47 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.519e-05/5.284, allocations: 5.188 kB / 1.156 GB, free: 71.47 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02017/5.305, allocations: 6.515 MB / 1.162 GB, free: 70.65 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01042/5.315, allocations: 0.8772 MB / 1.163 GB, free: 70.64 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07907/5.394, allocations: 22.39 MB / 1.185 GB, free: 67.26 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01735/5.412, allocations: 7.11 MB / 1.192 GB, free: 66.24 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.01196/5.424, allocations: 1.629 MB / 1.194 GB, free: 66.06 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01215/5.436, allocations: 4.038 MB / 1.198 GB, free: 66.05 MB / 458.7 MB Notification: Performance of SimCode: time 2.464e-06/5.436, allocations: 0 / 1.198 GB, free: 66.05 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9143/6.35, allocations: 174.2 MB / 1.368 GB, free: 61.12 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002901/6.351, allocations: 220.1 kB / 1.368 GB, free: 60.83 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 9.95/16.3, allocations: 0 / 1.368 GB, free: 60.83 MB / 458.7 MB