Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer") Notification: Performance of loadModel(Modelica): time 1.868/1.868, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.87e-05/1.882e-05, allocations: 0 / 249.6 MB, free: 15.26 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.256/0.2561, allocations: 44.5 MB / 294.1 MB, free: 14.28 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4709/0.727, allocations: 161.1 MB / 455.3 MB, free: 97.92 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002884/0.7273, allocations: 99.31 kB / 455.4 MB, free: 97.87 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.95/4.677, allocations: 0.8532 GB / 1.298 GB, free: 28.32 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.873e-06/4.677, allocations: 0 / 1.298 GB, free: 28.32 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.001881/4.679, allocations: 474.8 kB / 1.298 GB, free: 28.25 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5875 * Number of variables: 5875 Notification: Performance of Generate backend data structure: time 0.08465/4.764, allocations: 19.56 MB / 1.318 GB, free: 22.48 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/4.764, allocations: 7.281 kB / 1.318 GB, free: 22.48 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08377/4.848, allocations: 10.3 MB / 1.328 GB, free: 21.29 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07933/4.927, allocations: 15.83 MB / 1.343 GB, free: 17.61 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001768/4.929, allocations: 0.6835 MB / 1.344 GB, free: 16.93 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009701/4.939, allocations: 1.189 MB / 1.345 GB, free: 15.75 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.4761/5.415, allocations: 29.18 MB / 1.373 GB, free: 28.01 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1012/5.516, allocations: 32.14 MB / 1.405 GB, free: 25.74 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001075/5.517, allocations: 32.97 kB / 1.405 GB, free: 25.74 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008418/5.526, allocations: 13.66 kB / 1.405 GB, free: 25.74 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001905/5.527, allocations: 1.39 MB / 1.406 GB, free: 25.69 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2545/5.782, allocations: 109.7 MB / 1.513 GB, free: 1.184 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.4709/6.253, allocations: 43.3 MB / 1.556 GB, free: 72.96 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03462/6.288, allocations: 16.19 MB / 1.571 GB, free: 72.8 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1268/6.414, allocations: 51.01 MB / 1.621 GB, free: 71.53 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002118/6.415, allocations: 178.4 kB / 1.621 GB, free: 71.48 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1576): time 2.822e-05/6.415, allocations: 0 / 1.621 GB, free: 71.48 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1588): time 0.1804/6.595, allocations: 62.89 MB / 1.683 GB, free: 45.75 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001241/6.595, allocations: 216 kB / 1.683 GB, free: 45.52 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01276/6.608, allocations: 4.838 MB / 1.688 GB, free: 41.25 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.003276/6.611, allocations: 27.48 kB / 1.688 GB, free: 41.21 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004592/6.616, allocations: 7.01 MB / 1.695 GB, free: 34.94 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.007643/6.624, allocations: 5.009 MB / 1.699 GB, free: 30.31 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003491/6.627, allocations: 1.406 kB / 1.699 GB, free: 30.31 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.00196/6.629, allocations: 0.909 MB / 1.7 GB, free: 29.56 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02083/6.65, allocations: 10.24 MB / 1.71 GB, free: 20.49 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02398/6.674, allocations: 12.36 MB / 1.722 GB, free: 8.855 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04681/6.721, allocations: 14.91 MB / 1.737 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001325/6.721, allocations: 13.94 kB / 1.737 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1865) (initialization): time 0.4986/7.22, allocations: 33.29 MB / 1.77 GB, free: 87.06 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 8.824e-05/7.22, allocations: 29.22 kB / 1.77 GB, free: 87.06 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001569/7.22, allocations: 50.59 kB / 1.77 GB, free: 87.06 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04117/7.261, allocations: 14.49 MB / 1.784 GB, free: 86.53 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0128/7.274, allocations: 2.165 MB / 1.786 GB, free: 86.53 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06614/7.34, allocations: 36.25 MB / 1.821 GB, free: 77.53 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01323/7.354, allocations: 467.3 kB / 1.822 GB, free: 77.53 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004386/7.358, allocations: 0.5248 MB / 1.822 GB, free: 77.53 MB / 0.5261 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: transformerQS.star1.plugToPins_p.pin_p[2].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] transformerQS.star1.plugToPins_p.pin_p[1].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] transformerQS.star1.plugToPins_p.pin_p[3].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] transformerQS.star1.plugToPins_p.pin_p[3].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] transformerQS.core.v1[1].im:VARIABLE(unit = "V" ) "Real part of complex voltage" type: Real [3] transformerQS.core.v1[1].re:VARIABLE(unit = "V" ) "Imaginary part of complex voltage" 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[2].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[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] transformerQS.r2.resistor[2].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] transformerQS.r2.resistor[2].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] transformerQS.r2.resistor[3].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] transformerQS.r2.resistor[3].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] transformerQS.r2.resistor[1].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] transformerQS.r2.resistor[1].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] transformerQS.l2sigma.inductor[1].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] transformerQS.l2sigma.inductor[1].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] transformerQS.l2sigma.inductor[2].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] transformerQS.l2sigma.inductor[2].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] transformerQS.l2sigma.inductor[3].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] transformerQS.l2sigma.inductor[3].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] transformerQS.l1sigma.inductor[2].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] transformerQS.l1sigma.inductor[2].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[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] transformerQS.r1.resistor[1].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] transformerQS.r1.resistor[1].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] transformerQS.r1.resistor[2].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] transformerQS.r1.resistor[2].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] transformerQS.r1.resistor[3].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] transformerQS.r1.resistor[3].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] transformerQS.l1sigma.inductor[3].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] transformerQS.l1sigma.inductor[3].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] transformerQS.l1sigma.inductor[1].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] transformerQS.l1sigma.inductor[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] idealCommutingSwitchQS.idealCommutingSwitch[1].s1.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real [3] idealCommutingSwitchQS.idealCommutingSwitch[1].s2.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real [3] idealCommutingSwitchQS.idealCommutingSwitch[3].s2.re:VARIABLE(unit = "1" protected = true ) "Real 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] idealCommutingSwitchQS.idealCommutingSwitch[3].s2.im:VARIABLE(unit = "1" protected = true ) "Imaginary 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] idealCommutingSwitchQS.idealCommutingSwitch[1].s2.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real [3] idealCloserQS.idealClosingSwitch[1].s.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real [3] idealCommutingSwitchQS.idealCommutingSwitch[2].s2.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] terminalBoxQS.delta.plugToPins_n.pin_n[2].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] terminalBoxQS.delta.plugToPins_n.pin_n[2].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] terminalBoxQS.delta.plugToPins_n.pin_n[1].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] terminalBoxQS.delta.plugToPins_n.pin_n[3].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] terminalBoxQS.delta.plugToPins_n.pin_n[3].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] terminalBoxQS.delta.plugToPins_n.pin_n[1].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] idealCommutingSwitchQS.idealCommutingSwitch[2].s2.im:VARIABLE(unit = "1" protected = true ) "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[1].s.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real [3] idealCommutingSwitchQS.idealCommutingSwitch[1].s1.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real [3] idealCommutingSwitchQS.idealCommutingSwitch[3].s1.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real [3] idealCommutingSwitchQS.idealCommutingSwitch[3].s1.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real [3] idealCommutingSwitchQS.idealCommutingSwitch[2].s1.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real [3] idealCommutingSwitchQS.idealCommutingSwitch[2].s1.re:VARIABLE(unit = "1" protected = true ) "Real 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[1].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[2].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] 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[1].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: transformerQS.star2.plugToPins_p.pin_p[1].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] transformerQS.star2.plugToPins_p.pin_p[1].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] transformerQS.star2.plugToPins_p.pin_p[3].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] transformerQS.star2.plugToPins_p.pin_p[3].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] transformerQS.star2.plugToPins_p.pin_p[2].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] transformerQS.star2.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: iSensorQS.currentSensor[1].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] 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] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: 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.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[1].i.re:VARIABLE(flow=true unit = "A" ) "Real 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[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: 230 * Number of states: 0 () * Number of discrete variables: 12 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y,booleanStep1QS[1].y,booleanStep1QS[2].y,booleanStep1QS[3].y,booleanStep2QS[1].y,booleanStep2QS[2].y,booleanStep2QS[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1058): * Single equations (assignments): 1018 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 29 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 10 * 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: 5 {(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 26,(1,100.0%) 13,(1,100.0%) 1} * Non-linear torn systems: 5 {6 9,6 9,6 9,6 9,66 432} Notification: Performance of prepare postOptimizeDAE: time 0.00865/7.367, allocations: 0.5947 MB / 1.823 GB, free: 77.36 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005692/7.373, allocations: 0.9437 MB / 1.824 GB, free: 77.35 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.09099/7.464, allocations: 33.31 MB / 1.856 GB, free: 69.84 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006316/7.464, allocations: 381.2 kB / 1.857 GB, free: 69.65 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.887e-05/7.464, allocations: 10.09 kB / 1.857 GB, free: 69.65 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003045/7.465, allocations: 65.81 kB / 1.857 GB, free: 69.65 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1487/7.613, allocations: 59.1 MB / 1.914 GB, free: 27.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001993/7.614, allocations: 4 kB / 1.914 GB, free: 27.12 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01041/7.624, allocations: 1.701 MB / 1.916 GB, free: 25.83 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03982/7.664, allocations: 14.55 MB / 1.93 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003652/7.668, allocations: 164.4 kB / 1.93 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4882/8.156, allocations: 40.34 MB / 1.97 GB, free: 78.02 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.26e-06/8.156, allocations: 3 kB / 1.97 GB, free: 78.02 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1192/8.275, allocations: 49.1 MB / 2.018 GB, free: 74.58 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01199/8.287, allocations: 3.472 MB / 2.021 GB, free: 73.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005339/8.292, allocations: 20.08 kB / 2.021 GB, free: 73.22 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0116/8.304, allocations: 494.2 kB / 2.022 GB, free: 73.22 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005452/8.31, allocations: 1.167 MB / 2.023 GB, free: 72.98 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003805/8.313, allocations: 422.2 kB / 2.023 GB, free: 72.88 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00976/8.323, allocations: 3.618 MB / 2.027 GB, free: 71.44 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.03e-06/8.323, allocations: 0 / 2.027 GB, free: 71.44 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.02199/8.345, allocations: 3.431 MB / 2.03 GB, free: 71.41 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 12 (imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.w,quadraticLoadTorqueQS.phi,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,transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 12 (booleanStep1QS[1].y,booleanStep1QS[2].y,booleanStep1QS[3].y,booleanStep2QS[1].y,booleanStep2QS[2].y,booleanStep2QS[3].y,booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (820): * Single equations (assignments): 779 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 29 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 1,(1,100.0%) 8,(3,88.9%) 25,(1,100.0%) 1,(1,100.0%) 8,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 5 {6 9,6 9,6 9,6 9,66 432} Notification: Performance of Backend phase and start with SimCode phase: time 0.00473/8.35, allocations: 0.5828 MB / 2.031 GB, free: 71.31 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0582/8.408, allocations: 26.04 MB / 2.056 GB, free: 60.8 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.05e-05/8.408, allocations: 0 / 2.056 GB, free: 60.8 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.03496/8.443, allocations: 14.9 MB / 2.071 GB, free: 48.19 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01482/8.458, allocations: 1.678 MB / 2.072 GB, free: 46.98 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.108/8.566, allocations: 39.9 MB / 2.111 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03522/8.601, allocations: 13.47 MB / 2.124 GB, free: 1.531 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006938/8.608, allocations: 0.6897 MB / 2.125 GB, free: 0.8867 MB / 0.5261 GB Notification: Performance of SimCode: time 2.309e-06/8.608, allocations: 0 / 2.125 GB, free: 0.8867 MB / 0.5261 GB Notification: Performance of Templates: time 5.923/14.53, allocations: 1.767 GB / 3.892 GB, free: 83.74 MB / 0.5886 GB make -j1 -f Modelica_3.2.2_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.makefile clang++ -fopenmp=libomp -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=2 -DSUNDIALS_MINOR_VERSION=5 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/include/omc/cpp/" -I. -I"." -I"." -I"." -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.2_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_TransformerCalcHelperMain.o OMCppModelica_3.2.2_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_TransformerCalcHelperMain.cpp In file included from OMCppModelica_3.2.2_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_TransformerCalcHelperMain.cpp:28: ./OMCppModelica_3.2.2_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_TransformerFunctions.cpp:587:43: error: use of undeclared identifier 'UNKNOWN_SUBSCRIPT' tmp376 = std::sqrt((std::pow(u_(UNKNOWN_SUBSCRIPT).re_, 2.0) + std::pow(u_(UNKNOWN_SUBSCRIPT).im_, 2.0))); ^ ./OMCppModelica_3.2.2_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_TransformerFunctions.cpp:587:86: error: use of undeclared identifier 'UNKNOWN_SUBSCRIPT' tmp376 = std::sqrt((std::pow(u_(UNKNOWN_SUBSCRIPT).re_, 2.0) + std::pow(u_(UNKNOWN_SUBSCRIPT).im_, 2.0))); ^ 2 errors generated. : recipe for target 'OMCppModelica_3.2.2_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_TransformerCalcHelperMain.o' failed make: *** [OMCppModelica_3.2.2_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_TransformerCalcHelperMain.o] Error 1