Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// imc.stator.zeroInductor.i0|imcQS.rotorCage.port_p.reference.gamma|loadInertia.phi|loadInertia.w|loadInertiaQS.phi|loadInertiaQS.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// imc.stator.zeroInductor.i0|imcQS.rotorCage.port_p.reference.gamma|loadInertia.phi|loadInertia.w|loadInertiaQS.phi|loadInertiaQS.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002402/0.002402, allocations: 178.3 kB / 8.152 MB, free: 2.203 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.809/1.809, allocations: 205.2 MB / 213.8 MB, free: 13.92 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001926/0.001925, allocations: 95.17 kB / 261.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.605e-05/1.624e-05, allocations: 4 kB / 314.3 MB, free: 9.023 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3439/0.3439, allocations: 47.55 MB / 361.9 MB, free: 45.69 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4209/0.7649, allocations: 152.4 MB / 0.5022 GB, free: 77.51 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000318/0.7652, allocations: 101 kB / 0.5023 GB, free: 77.51 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.781/2.547, allocations: 459.2 MB / 0.9507 GB, free: 35.64 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.002042/2.549, allocations: 329.3 kB / 0.951 GB, free: 35.59 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3951 * Number of variables: 3951 Notification: Performance of Generate backend data structure: time 0.09512/2.644, allocations: 13.54 MB / 0.9642 GB, free: 27.68 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/2.644, allocations: 8.031 kB / 0.9642 GB, free: 27.67 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06186/2.706, allocations: 6.303 MB / 0.9704 GB, free: 22.08 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0461/2.752, allocations: 11.48 MB / 0.9816 GB, free: 10.67 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001553/2.754, allocations: 468 kB / 0.982 GB, free: 10.21 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008179/2.762, allocations: 0.8122 MB / 0.9828 GB, free: 9.398 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.3827/3.145, allocations: 19.71 MB / 1.002 GB, free: 65.54 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09035/3.235, allocations: 21.94 MB / 1.023 GB, free: 63.95 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009994/3.236, allocations: 27.69 kB / 1.024 GB, free: 63.95 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007116/3.243, allocations: 12.12 kB / 1.024 GB, free: 63.95 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001483/3.245, allocations: 0.9583 MB / 1.024 GB, free: 63.91 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2232/3.468, allocations: 77.59 MB / 1.1 GB, free: 37.66 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02177/3.49, allocations: 8.796 MB / 1.109 GB, free: 33.97 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0308/3.521, allocations: 10.89 MB / 1.119 GB, free: 29.45 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1074/3.628, allocations: 35.01 MB / 1.154 GB, free: 9.242 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001868/3.628, allocations: 134.6 kB / 1.154 GB, free: 9.102 MB / 442.7 MB Notification: Performance of pre-optimization done (n=1111): time 1.68e-05/3.628, allocations: 0 / 1.154 GB, free: 9.102 MB / 442.7 MB Notification: Performance of matching and sorting (n=1119): time 0.3917/4.02, allocations: 41.13 MB / 1.194 GB, free: 60.47 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001182/4.02, allocations: 180.5 kB / 1.194 GB, free: 60.37 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01237/4.033, allocations: 3.715 MB / 1.198 GB, free: 60.06 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002945/4.036, allocations: 25.7 kB / 1.198 GB, free: 60.03 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002622/4.038, allocations: 4.059 MB / 1.202 GB, free: 57.41 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.006605/4.045, allocations: 3.525 MB / 1.205 GB, free: 55.03 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003098/4.048, allocations: 0 / 1.205 GB, free: 55.03 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.001631/4.05, allocations: 0.7403 MB / 1.206 GB, free: 54.7 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02074/4.071, allocations: 7.37 MB / 1.213 GB, free: 54.67 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02304/4.094, allocations: 9.086 MB / 1.222 GB, free: 53 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02717/4.121, allocations: 9.027 MB / 1.231 GB, free: 52.9 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001379/4.121, allocations: 10.72 kB / 1.231 GB, free: 52.9 MB / 442.7 MB Notification: Performance of matching and sorting (n=1351) (initialization): time 0.07114/4.192, allocations: 22.27 MB / 1.253 GB, free: 49.09 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.543e-05/4.192, allocations: 3.781 kB / 1.253 GB, free: 49.09 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001704/4.193, allocations: 47.36 kB / 1.253 GB, free: 49.09 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02962/4.222, allocations: 8.279 MB / 1.261 GB, free: 46.58 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01562/4.238, allocations: 1.555 MB / 1.262 GB, free: 46.54 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06248/4.3, allocations: 28.89 MB / 1.29 GB, free: 29.69 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01058/4.311, allocations: 246 kB / 1.291 GB, free: 29.69 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003615/4.315, allocations: 404.3 kB / 1.291 GB, free: 29.61 MB / 442.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: imcQS.stator.strayReluctance.Phi.im:VARIABLE(unit = "Wb" ) "Imaginary part of complex magnetic flux" type: Real imcQS.rotorCage.strayReluctance.Phi.im:VARIABLE(unit = "Wb" ) "Imaginary part of complex magnetic flux" type: Real imcQS.rotorCage.strayReluctance.Phi.re:VARIABLE(unit = "Wb" ) "Real part of complex magnetic flux" type: Real imcQS.stator.strayReluctance.Phi.re:VARIABLE(unit = "Wb" ) "Real part of complex magnetic flux" type: Real imcQS.airGap.Phi_r.im:VARIABLE(unit = "Wb" ) "Imaginary part of complex magnetic flux" type: Real imcQS.airGap.Phi_r.re:VARIABLE(unit = "Wb" ) "Real part of complex magnetic flux" type: Real switchYDQS.star.plugToPins_p.pin_p[2].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] switchYDQS.star.plugToPins_p.pin_p[1].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] switchYDQS.star.plugToPins_p.pin_p[3].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] switchYDQS.star.plugToPins_p.pin_p[3].i.re:VARIABLE(flow=true 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.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[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] switchYDQS.idealCommutingSwitch.idealCommutingSwitch[3].s1.im:VARIABLE(unit = "1" protected = true ) "Imaginary 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] currentQuasiRMSSensorQS.currentSensor[1].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] idealCloserQS.idealClosingSwitch[1].s.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real [3] switchYDQS.idealCommutingSwitch.idealCommutingSwitch[3].s1.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real [3] switchYDQS.idealCommutingSwitch.idealCommutingSwitch[3].s2.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real [3] switchYDQS.delta.plugToPins_n.pin_n[1].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] currentQuasiRMSSensorQS.currentSensor[1].y.re:VARIABLE() "Real part of complex number" type: Real [3] imcQS.stator.resistor.resistor[3].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] currentQuasiRMSSensorQS.currentSensor[2].y.im:VARIABLE() "Imaginary part of complex number" type: Real [3] switchYDQS.delta.plugToPins_n.pin_n[3].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] switchYDQS.delta.plugToPins_n.pin_n[2].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] switchYDQS.idealCommutingSwitch.idealCommutingSwitch[1].s1.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real [3] switchYDQS.idealCommutingSwitch.idealCommutingSwitch[2].s2.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real [3] switchYDQS.idealCommutingSwitch.idealCommutingSwitch[2].s1.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real [3] switchYDQS.idealCommutingSwitch.idealCommutingSwitch[2].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] switchYDQS.idealCommutingSwitch.idealCommutingSwitch[3].s2.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] switchYDQS.delta.plugToPins_n.pin_n[2].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] switchYDQS.delta.plugToPins_n.pin_n[1].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] currentQuasiRMSSensorQS.currentSensor[2].y.re:VARIABLE() "Real part of complex number" type: Real [3] switchYDQS.delta.plugToPins_n.pin_n[3].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] switchYDQS.idealCommutingSwitch.idealCommutingSwitch[2].s1.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real [3] switchYDQS.idealCommutingSwitch.idealCommutingSwitch[1].s2.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real [3] switchYDQS.idealCommutingSwitch.idealCommutingSwitch[1].s1.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real [3] switchYDQS.idealCommutingSwitch.idealCommutingSwitch[1].s2.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" 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[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[1].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] idealCloserQS.idealClosingSwitch[3].s.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] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: 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[2].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[3].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[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: 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.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[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: 199 * Number of states: 0 () * Number of discrete variables: 12 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y,booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y,booleanStepYDQS[1].y,booleanStepYDQS[2].y,booleanStepYDQS[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (827): * Single equations (assignments): 798 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 20 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 8 * 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%) 8,(9,33.3%) 19,(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 1} * Non-linear torn systems: 3 {6 9,6 9,52 254} Notification: Performance of prepare postOptimizeDAE: time 0.006382/4.321, allocations: 401.9 kB / 1.291 GB, free: 29.51 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004284/4.325, allocations: 0.6802 MB / 1.292 GB, free: 29.14 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07519/4.401, allocations: 22.71 MB / 1.314 GB, free: 12.81 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005034/4.401, allocations: 258.5 kB / 1.314 GB, free: 12.58 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.16e-05/4.401, allocations: 12 kB / 1.315 GB, free: 12.57 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002978/4.402, allocations: 46.73 kB / 1.315 GB, free: 12.57 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.376/4.778, allocations: 42.14 MB / 1.356 GB, free: 59.66 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001807/4.778, allocations: 7.328 kB / 1.356 GB, free: 59.66 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01212/4.79, allocations: 1.117 MB / 1.357 GB, free: 59.66 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03272/4.823, allocations: 8.534 MB / 1.365 GB, free: 59.46 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003146/4.826, allocations: 107.8 kB / 1.365 GB, free: 59.46 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06689/4.893, allocations: 32.45 MB / 1.397 GB, free: 49.18 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.969e-06/4.893, allocations: 7.031 kB / 1.397 GB, free: 49.18 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.1004/4.993, allocations: 34.23 MB / 1.43 GB, free: 40.43 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.01087/5.004, allocations: 2.469 MB / 1.433 GB, free: 39.43 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004902/5.009, allocations: 17.17 kB / 1.433 GB, free: 39.43 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01177/5.021, allocations: 250.8 kB / 1.433 GB, free: 39.42 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00473/5.026, allocations: 0.7607 MB / 1.434 GB, free: 39.26 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003249/5.029, allocations: 291.1 kB / 1.434 GB, free: 39.19 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.009302/5.039, allocations: 2.768 MB / 1.437 GB, free: 38.1 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0169/5.056, allocations: 2.384 MB / 1.439 GB, free: 38.08 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 10 (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,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 12 (booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y,booleanStepYDQS[1].y,booleanStepYDQS[2].y,booleanStepYDQS[3].y,booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (610): * Single equations (assignments): 580 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 20 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 10 * 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%) 13,(1,100.0%) 1,(1,100.0%) 8,(9,33.3%) 19,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 3 {6 9,6 9,46 263} Notification: Performance of Backend phase and start with SimCode phase: time 0.003752/5.059, allocations: 479.4 kB / 1.44 GB, free: 37.96 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.05333/5.113, allocations: 18.77 MB / 1.458 GB, free: 27.38 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.189e-05/5.113, allocations: 3.844 kB / 1.458 GB, free: 27.38 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.03331/5.146, allocations: 10.72 MB / 1.468 GB, free: 17.84 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01439/5.161, allocations: 1.155 MB / 1.469 GB, free: 16.99 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3685/5.529, allocations: 28.66 MB / 1.497 GB, free: 50.62 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03021/5.559, allocations: 9.784 MB / 1.507 GB, free: 49.65 MB / 442.7 MB Notification: Performance of SimCode: time 1.553e-06/5.559, allocations: 2.875 kB / 1.507 GB, free: 49.65 MB / 442.7 MB Notification: Performance of Templates: time 3.135/8.694, allocations: 1.004 GB / 2.511 GB, free: 82.29 MB / 474.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.makefile make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.makefile b'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=6 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YDCalcHelperMain.o OMCppModelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YDCalcHelperMain.cpp\nIn file included from OMCppModelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YDCalcHelperMain.cpp:29:\n./OMCppModelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YDInitialize.cpp:1359:32: error: use of undeclared identifier \'u1_P_re_\'\n tmp282 = std::sqrt((std::pow(u1_P_re_, 2.0) + std::pow(u1_P_im_, 2.0)));\n ^\n./OMCppModelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YDInitialize.cpp:1359:58: error: use of undeclared identifier \'u1_P_im_\'\n tmp282 = std::sqrt((std::pow(u1_P_re_, 2.0) + std::pow(u1_P_im_, 2.0)));\n ^\n./OMCppModelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YDInitialize.cpp:1360:32: error: use of undeclared identifier \'u2_P_re_\'\n tmp283 = std::sqrt((std::pow(u2_P_re_, 2.0) + std::pow(u2_P_im_, 2.0)));\n ^\n./OMCppModelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YDInitialize.cpp:1360:58: error: use of undeclared identifier \'u2_P_im_\'\n tmp283 = std::sqrt((std::pow(u2_P_re_, 2.0) + std::pow(u2_P_im_, 2.0)));\n ^\n./OMCppModelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YDInitialize.cpp:1361:32: error: use of undeclared identifier \'u3_P_re_\'\n tmp284 = std::sqrt((std::pow(u3_P_re_, 2.0) + std::pow(u3_P_im_, 2.0)));\n ^\n./OMCppModelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YDInitialize.cpp:1361:58: error: use of undeclared identifier \'u3_P_im_\'\n tmp284 = std::sqrt((std::pow(u3_P_re_, 2.0) + std::pow(u3_P_im_, 2.0)));\n ^\n./OMCppModelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YDInitialize.cpp:1374:32: error: use of undeclared identifier \'u1_P_re_\'\n tmp285 = std::sqrt((std::pow(u1_P_re_, 2.0) + std::pow(u1_P_im_, 2.0)));\n ^\n./OMCppModelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YDInitialize.cpp:1374:58: error: use of undeclared identifier \'u1_P_im_\'\n tmp285 = std::sqrt((std::pow(u1_P_re_, 2.0) + std::pow(u1_P_im_, 2.0)));\n ^\n./OMCppModelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YDInitialize.cpp:1375:32: error: use of undeclared identifier \'u2_P_re_\'\n tmp286 = std::sqrt((std::pow(u2_P_re_, 2.0) + std::pow(u2_P_im_, 2.0)));\n ^\n./OMCppModelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YDInitialize.cpp:1375:58: error: use of undeclared identifier \'u2_P_im_\'\n tmp286 = std::sqrt((std::pow(u2_P_re_, 2.0) + std::pow(u2_P_im_, 2.0)));\n ^\n./OMCppModelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YDInitialize.cpp:1376:32: error: use of undeclared identifier \'u3_P_re_\'\n tmp287 = std::sqrt((std::pow(u3_P_re_, 2.0) + std::pow(u3_P_im_, 2.0)));\n ^\n./OMCppModelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YDInitialize.cpp:1376:58: error: use of undeclared identifier \'u3_P_im_\'\n tmp287 = std::sqrt((std::pow(u3_P_re_, 2.0) + std::pow(u3_P_im_, 2.0)));\n ^\n12 errors generated.\n: recipe for target \'OMCppModelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YDCalcHelperMain.o\' failed\nmake: *** [OMCppModelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YDCalcHelperMain.o] Error 1\n'