Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Transformer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.96/1.96, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.272e-05/2.285e-05, allocations: 0 / 249.7 MB, free: 15.17 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3033/0.3034, allocations: 44.49 MB / 294.2 MB, free: 14.2 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5225/0.8259, allocations: 161.1 MB / 455.4 MB, free: 68.87 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003063/0.8263, allocations: 98.98 kB / 455.5 MB, free: 68.86 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.484/5.311, allocations: 0.8532 GB / 1.298 GB, free: 26.2 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.024e-06/5.311, allocations: 3.938 kB / 1.298 GB, free: 26.19 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.001793/5.312, allocations: 478.1 kB / 1.298 GB, free: 26.12 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.09883/5.411, allocations: 19.56 MB / 1.318 GB, free: 20.34 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.566e-05/5.411, allocations: 9.781 kB / 1.318 GB, free: 20.34 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08666/5.498, allocations: 10.3 MB / 1.328 GB, free: 19.15 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05612/5.554, allocations: 15.83 MB / 1.343 GB, free: 17.34 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002034/5.556, allocations: 0.6777 MB / 1.344 GB, free: 17.34 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01102/5.567, allocations: 1.189 MB / 1.345 GB, free: 17.32 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.1098/5.677, allocations: 28.87 MB / 1.373 GB, free: 1.684 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5885/6.266, allocations: 32.7 MB / 1.405 GB, free: 32.25 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001227/6.267, allocations: 31.77 kB / 1.405 GB, free: 32.25 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009326/6.276, allocations: 18.12 kB / 1.405 GB, free: 32.25 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00226/6.279, allocations: 1.389 MB / 1.406 GB, free: 32.2 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2936/6.572, allocations: 109.7 MB / 1.514 GB, free: 5.047 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0756/6.648, allocations: 43.27 MB / 1.556 GB, free: 9.059 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.04076/6.689, allocations: 16.19 MB / 1.572 GB, free: 2.195 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6318/7.321, allocations: 51.04 MB / 1.621 GB, free: 84.69 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002531/7.321, allocations: 179.5 kB / 1.622 GB, free: 84.64 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1576): time 2.202e-05/7.321, allocations: 0 / 1.622 GB, free: 84.64 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1588): time 0.2076/7.529, allocations: 62.89 MB / 1.683 GB, free: 79.35 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001844/7.529, allocations: 216.4 kB / 1.683 GB, free: 79.24 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01444/7.543, allocations: 4.837 MB / 1.688 GB, free: 78.83 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.003809/7.547, allocations: 29.17 kB / 1.688 GB, free: 78.8 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.005874/7.553, allocations: 7.013 MB / 1.695 GB, free: 73.41 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.008987/7.562, allocations: 5.012 MB / 1.7 GB, free: 69.42 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003382/7.566, allocations: 0 / 1.7 GB, free: 69.42 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.001808/7.567, allocations: 0.9078 MB / 1.701 GB, free: 68.85 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02474/7.592, allocations: 10.24 MB / 1.711 GB, free: 64.46 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02736/7.62, allocations: 12.36 MB / 1.723 GB, free: 57.89 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04085/7.66, allocations: 14.38 MB / 1.737 GB, free: 52.36 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001563/7.661, allocations: 15.88 kB / 1.737 GB, free: 52.36 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1865) (initialization): time 0.09319/7.754, allocations: 32.46 MB / 1.768 GB, free: 30.45 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.932e-05/7.754, allocations: 24 kB / 1.768 GB, free: 30.42 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001615/7.754, allocations: 52 kB / 1.769 GB, free: 30.37 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04497/7.799, allocations: 14.48 MB / 1.783 GB, free: 17.97 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0182/7.817, allocations: 2.162 MB / 1.785 GB, free: 16.32 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5549/8.372, allocations: 36.69 MB / 1.821 GB, free: 77.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01628/8.389, allocations: 459.5 kB / 1.821 GB, free: 77.73 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004937/8.394, allocations: 0.5265 MB / 1.822 GB, free: 77.73 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.008856/8.402, allocations: 0.5914 MB / 1.822 GB, free: 77.57 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.09583/8.498, allocations: 31.07 MB / 1.852 GB, free: 76.86 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006701/8.505, allocations: 0.9394 MB / 1.853 GB, free: 76.86 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1096/8.615, allocations: 33.3 MB / 1.886 GB, free: 72.48 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0007349/8.616, allocations: 390.9 kB / 1.886 GB, free: 72.29 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.522e-05/8.616, allocations: 12.41 kB / 1.886 GB, free: 72.29 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003629/8.616, allocations: 67.03 kB / 1.886 GB, free: 72.29 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1674/8.783, allocations: 59.08 MB / 1.944 GB, free: 37.49 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000202/8.784, allocations: 6.562 kB / 1.944 GB, free: 37.48 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01544/8.799, allocations: 1.7 MB / 1.946 GB, free: 36.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04707/8.846, allocations: 14.56 MB / 1.96 GB, free: 23.7 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004206/8.85, allocations: 163.8 kB / 1.96 GB, free: 23.57 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5594/9.41, allocations: 40.45 MB / 2 GB, free: 78.25 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.748e-06/9.41, allocations: 8.125 kB / 2 GB, free: 78.25 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1363/9.546, allocations: 49.1 MB / 2.048 GB, free: 76.31 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01431/9.561, allocations: 3.469 MB / 2.051 GB, free: 76.22 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006792/9.568, allocations: 22.55 kB / 2.051 GB, free: 76.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01546/9.583, allocations: 498.1 kB / 2.051 GB, free: 76.21 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.006466/9.59, allocations: 1.169 MB / 2.053 GB, free: 76.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004376/9.594, allocations: 418.7 kB / 2.053 GB, free: 76.2 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.01058/9.605, allocations: 3.628 MB / 2.057 GB, free: 75.98 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.513e-06/9.605, allocations: 2.844 kB / 2.057 GB, free: 75.98 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.02605/9.631, allocations: 3.423 MB / 2.06 GB, free: 75.98 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.141/9.772, allocations: 50.8 MB / 2.11 GB, free: 51.33 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.06972/9.842, allocations: 26.04 MB / 2.135 GB, free: 28.26 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.39e-05/9.842, allocations: 0 / 2.135 GB, free: 28.26 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.04451/9.886, allocations: 14.9 MB / 2.149 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02057/9.907, allocations: 1.681 MB / 2.151 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6276/10.53, allocations: 45.55 MB / 2.196 GB, free: 91.33 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03793/10.57, allocations: 13.47 MB / 2.209 GB, free: 90.23 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02541/10.6, allocations: 7.983 MB / 2.217 GB, free: 90.23 MB / 0.5417 GB Notification: Performance of SimCode: time 1.793e-06/10.6, allocations: 0 / 2.217 GB, free: 90.23 MB / 0.5417 GB Error: Error building simulator. Build log: clang++ -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DSUNDIALS_MAJOR_VERSION=2 -DSUNDIALS_MINOR_VERSION=7 -DPMC_USE_SUNDIALS -DFMU_BUILD -DRUNTIME_STATIC_LINKING -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/cpp" -I"." -I"." -I"." -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))); ^ In file included from OMCppModelica_3_2_2_cpp_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_TransformerCalcHelperMain.cpp:35: In file included from ./OMCppModelica_3_2_2_cpp_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_TransformerFMU.cpp:11: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/cpp/FMU2/FMU2Wrapper.cpp:93:11: warning: 6 enumeration values not handled in switch: 'LC_INIT', 'LC_LS', 'LC_SOLVER'... [-Wswitch] switch (cat) { ^ 1 warning and 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