Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.72/2.72, allocations: 195 MB / 202.9 MB, free: 6.637 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.02e-05/4.042e-05, allocations: 2.75 kB / 249.8 MB, free: 5.27 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1393, allocations: 44.51 MB / 294.3 MB, free: 10.62 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6218/0.7612, allocations: 120.5 MB / 414.8 MB, free: 1.066 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004749/0.7617, allocations: 104.9 kB / 414.9 MB, free: 1.008 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.177/2.939, allocations: 337.4 MB / 0.7348 GB, free: 50.42 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.955e-06/2.939, allocations: 1.531 kB / 0.7348 GB, free: 50.42 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.001108/2.94, allocations: 209.4 kB / 0.735 GB, free: 50.4 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: 2677 * Number of variables: 2677 Notification: Performance of Generate backend data structure: time 0.08086/3.021, allocations: 9.04 MB / 0.7438 GB, free: 46.69 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.219e-05/3.021, allocations: 10.97 kB / 0.7438 GB, free: 46.69 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0135/3.035, allocations: 1.204 MB / 0.745 GB, free: 46.23 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09661/3.131, allocations: 4.849 MB / 0.7497 GB, free: 45.01 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03172/3.163, allocations: 7.865 MB / 0.7574 GB, free: 37.25 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001026/3.164, allocations: 409.5 kB / 0.7578 GB, free: 36.85 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004966/3.169, allocations: 0.5311 MB / 0.7583 GB, free: 36.32 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04551/3.215, allocations: 13.32 MB / 0.7713 GB, free: 22.99 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0605/3.275, allocations: 15.03 MB / 0.786 GB, free: 7.637 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000557/3.276, allocations: 23.84 kB / 0.786 GB, free: 7.613 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004094/3.28, allocations: 4 kB / 0.786 GB, free: 7.609 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001593/3.282, allocations: 0.6909 MB / 0.7867 GB, free: 6.918 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5514/3.833, allocations: 52.98 MB / 0.8384 GB, free: 47.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03946/3.873, allocations: 19.08 MB / 0.8571 GB, free: 35.25 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.02027/3.893, allocations: 7.081 MB / 0.864 GB, free: 32.18 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08596/3.979, allocations: 23.1 MB / 0.8865 GB, free: 20.88 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001408/3.979, allocations: 93.31 kB / 0.8866 GB, free: 20.79 MB / 410.7 MB Notification: Performance of pre-optimization done (n=681): time 2.237e-05/3.979, allocations: 0 / 0.8866 GB, free: 20.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=687): time 0.1239/4.103, allocations: 25.84 MB / 0.9119 GB, free: 6.086 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.216e-05/4.103, allocations: 107.8 kB / 0.912 GB, free: 5.965 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007028/4.11, allocations: 2.124 MB / 0.914 GB, free: 4.094 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001868/4.112, allocations: 25.7 kB / 0.9141 GB, free: 4.062 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003448/4.116, allocations: 3.423 MB / 0.9174 GB, free: 1.043 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.005234/4.121, allocations: 2.186 MB / 0.9195 GB, free: 15.02 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002006/4.123, allocations: 0 / 0.9195 GB, free: 15.02 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.001247/4.124, allocations: 0.5848 MB / 0.9201 GB, free: 14.52 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01709/4.142, allocations: 4.668 MB / 0.9247 GB, free: 10.36 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01927/4.161, allocations: 5.958 MB / 0.9305 GB, free: 4.539 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.03112/4.192, allocations: 6.827 MB / 0.9372 GB, free: 15.21 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.399e-05/4.192, allocations: 8 kB / 0.9372 GB, free: 15.2 MB / 442.7 MB Notification: Performance of matching and sorting (n=880) (initialization): time 0.06207/4.254, allocations: 14.38 MB / 0.9512 GB, free: 2.977 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.155e-05/4.254, allocations: 23.95 kB / 0.9512 GB, free: 2.953 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001318/4.255, allocations: 36 kB / 0.9513 GB, free: 2.918 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.4528/4.707, allocations: 3.912 MB / 0.9551 GB, free: 80.09 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01361/4.721, allocations: 1.163 MB / 0.9562 GB, free: 80.09 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0257/4.747, allocations: 10.94 MB / 0.9669 GB, free: 76.97 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009249/4.756, allocations: 268.9 kB / 0.9672 GB, free: 76.97 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002564/4.759, allocations: 270.6 kB / 0.9674 GB, free: 76.97 MB / 442.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: 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[1].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[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.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[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[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[2].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary 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[1].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.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: iSensorQS.currentSensor[1].y.im:VARIABLE() "Imaginary part of complex number" type: Real [3] iSensorQS.currentSensor[2].y.re:VARIABLE() "Real part of complex number" type: Real [3] iSensorQS.currentSensor[3].y.re:VARIABLE() "Real part of complex number" type: Real [3] iSensorQS.currentSensor[3].y.im:VARIABLE() "Imaginary part of complex number" type: Real [3] iSensorQS.currentSensor[2].y.im:VARIABLE() "Imaginary part of complex number" type: Real [3] iSensorQS.currentSensor[1].y.re:VARIABLE() "Real part of complex number" type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pSensorQS.powerSensor[2].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] pSensorQS.powerSensor[3].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] pSensorQS.powerSensor[1].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] pSensorQS.powerSensor[3].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] pSensorQS.powerSensor[2].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] pSensorQS.powerSensor[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: 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[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.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] 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[3].i.re:VARIABLE(flow=true unit = "A" ) "Real 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[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: 161 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (598): * Single equations (assignments): 530 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 62 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {6 9,6 9,6 9,6 9,6 9,12 76} Notification: Performance of prepare postOptimizeDAE: time 0.00426/4.763, allocations: 375.9 kB / 0.9678 GB, free: 76.84 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002982/4.766, allocations: 412.4 kB / 0.9682 GB, free: 76.84 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05375/4.82, allocations: 13.86 MB / 0.9817 GB, free: 76.51 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.04447/4.864, allocations: 12.61 MB / 0.994 GB, free: 76.22 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.793e-05/4.865, allocations: 0 / 0.994 GB, free: 76.22 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000211/4.865, allocations: 26.77 kB / 0.994 GB, free: 76.22 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08791/4.953, allocations: 25.54 MB / 1.019 GB, free: 70.92 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.89e-05/4.953, allocations: 2.344 kB / 1.019 GB, free: 70.92 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01029/4.963, allocations: 0.8446 MB / 1.02 GB, free: 70.9 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01606/4.979, allocations: 3.767 MB / 1.023 GB, free: 69.77 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002035/4.981, allocations: 72.75 kB / 1.024 GB, free: 69.75 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02265/5.004, allocations: 10.82 MB / 1.034 GB, free: 63.29 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.777e-06/5.004, allocations: 2.5 kB / 1.034 GB, free: 63.29 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06583/5.07, allocations: 20.61 MB / 1.054 GB, free: 52.21 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006622/5.077, allocations: 1.561 MB / 1.056 GB, free: 50.84 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002968/5.08, allocations: 0 / 1.056 GB, free: 50.84 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007918/5.088, allocations: 235.6 kB / 1.056 GB, free: 50.71 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002975/5.091, allocations: 0.4968 MB / 1.057 GB, free: 50.39 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001875/5.093, allocations: 182.2 kB / 1.057 GB, free: 50.23 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004524/5.097, allocations: 1.564 MB / 1.058 GB, free: 48.83 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.072e-06/5.097, allocations: 0 / 1.058 GB, free: 48.83 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01214/5.109, allocations: 1.478 MB / 1.06 GB, free: 47.37 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (imcQS.rotorCage.port_p.reference.gamma,speed.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (434): * Single equations (assignments): 366 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 62 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {6 9,6 9,6 9,6 9,6 9,12 76} Notification: Performance of Backend phase and start with SimCode phase: time 0.06823/5.178, allocations: 21.55 MB / 1.081 GB, free: 28.46 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.03745/5.215, allocations: 11.32 MB / 1.092 GB, free: 18.38 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.357e-06/5.215, allocations: 5.156 kB / 1.092 GB, free: 18.38 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02149/5.237, allocations: 5.875 MB / 1.097 GB, free: 13.18 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009884/5.247, allocations: 0.6446 MB / 1.098 GB, free: 12.71 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0848/5.332, allocations: 20.56 MB / 1.118 GB, free: 10.96 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02128/5.353, allocations: 6.527 MB / 1.125 GB, free: 5.934 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.01298/5.366, allocations: 1.493 MB / 1.126 GB, free: 4.902 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.4621/5.828, allocations: 3.805 MB / 1.13 GB, free: 88.71 MB / 458.7 MB Notification: Performance of SimCode: time 2.184e-06/5.828, allocations: 0 / 1.13 GB, free: 88.71 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6485/6.477, allocations: 163 MB / 1.289 GB, free: 15.89 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0004817/6.477, allocations: 218.8 kB / 1.289 GB, free: 15.6 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 9.433/15.91, allocations: 0 / 1.289 GB, free: 15.6 MB / 474.7 MB