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_Transformer.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_Transformer,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|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer,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|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer") [: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.002497/0.002497, allocations: 174.5 kB / 8.147 MB, free: 2.164 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.009/2.009, allocations: 205.2 MB / 213.7 MB, free: 13.86 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.001283/0.001283, allocations: 99.91 kB / 261.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.265e-05/1.288e-05, allocations: 4 kB / 314.3 MB, free: 9.027 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2636/0.2636, allocations: 47.57 MB / 361.9 MB, free: 45.65 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.515/0.7787, allocations: 166.4 MB / 0.5159 GB, free: 82.86 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003575/0.7791, allocations: 104.7 kB / 0.516 GB, free: 82.86 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.252/5.032, allocations: 0.8461 GB / 1.362 GB, free: 14.87 MB / 490.8 MB Notification: Performance of Transformations before backend: time 0.002457/5.034, allocations: 482 kB / 1.363 GB, free: 14.87 MB / 490.8 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.1048/5.139, allocations: 19.56 MB / 1.382 GB, free: 11.92 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/5.139, allocations: 9.25 kB / 1.382 GB, free: 11.92 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09309/5.232, allocations: 9.616 MB / 1.391 GB, free: 10.68 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06145/5.294, allocations: 15.87 MB / 1.407 GB, free: 8.887 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002288/5.296, allocations: 0.6776 MB / 1.407 GB, free: 8.887 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01221/5.308, allocations: 1.186 MB / 1.408 GB, free: 8.875 MB / 490.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.1002/5.409, allocations: 29.46 MB / 1.437 GB, free: 8.785 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1325/5.541, allocations: 32.69 MB / 1.469 GB, free: 6.43 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001528/5.543, allocations: 25.42 kB / 1.469 GB, free: 6.422 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0101/5.553, allocations: 14.56 kB / 1.469 GB, free: 6.422 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00268/5.556, allocations: 1.437 MB / 1.471 GB, free: 6.371 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7228/6.278, allocations: 112.3 MB / 1.58 GB, free: 78.71 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03631/6.315, allocations: 13.8 MB / 1.594 GB, free: 78.68 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.04864/6.363, allocations: 17.17 MB / 1.611 GB, free: 78.53 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1741/6.538, allocations: 52.22 MB / 1.662 GB, free: 74.2 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002372/6.538, allocations: 188.4 kB / 1.662 GB, free: 74.05 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=1685): time 2.461e-05/6.538, allocations: 0 / 1.662 GB, free: 74.05 MB / 0.5262 GB Notification: Performance of matching and sorting (n=1697): time 0.2231/6.761, allocations: 61.25 MB / 1.722 GB, free: 48.77 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001497/6.761, allocations: 232.3 kB / 1.722 GB, free: 48.66 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01837/6.78, allocations: 4.947 MB / 1.727 GB, free: 45.03 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 0.004864/6.785, allocations: 25.7 kB / 1.727 GB, free: 45 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.003845/6.789, allocations: 5.811 MB / 1.732 GB, free: 39.91 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.01083/6.799, allocations: 5.355 MB / 1.737 GB, free: 34.96 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005029/6.804, allocations: 3.375 kB / 1.737 GB, free: 34.96 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 0.002648/6.807, allocations: 0.9413 MB / 1.738 GB, free: 34.19 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03141/6.839, allocations: 11.09 MB / 1.749 GB, free: 24.32 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03461/6.873, allocations: 13.26 MB / 1.762 GB, free: 11.84 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04154/6.915, allocations: 13.54 MB / 1.775 GB, free: 384 kB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001561/6.915, allocations: 16 kB / 1.775 GB, free: 368 kB / 0.5262 GB Notification: Performance of matching and sorting (n=1974) (initialization): time 0.4421/7.357, allocations: 33.21 MB / 1.808 GB, free: 87.09 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 2.702e-05/7.357, allocations: 5.969 kB / 1.808 GB, free: 87.09 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000211/7.358, allocations: 50.62 kB / 1.808 GB, free: 87.09 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0471/7.405, allocations: 12.86 MB / 1.82 GB, free: 86.75 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02267/7.427, allocations: 2.259 MB / 1.823 GB, free: 86.75 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09189/7.519, allocations: 38.74 MB / 1.861 GB, free: 77.82 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01603/7.535, allocations: 342.8 kB / 1.861 GB, free: 77.82 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005706/7.541, allocations: 0.5504 MB / 1.861 GB, free: 77.82 MB / 0.5262 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: imcQS.rotorCage.strayReluctance.Phi.re:VARIABLE(unit = "Wb" ) "Real part of complex magnetic flux" type: Real imcQS.rotorCage.strayReluctance.Phi.im:VARIABLE(unit = "Wb" ) "Imaginary part of complex magnetic flux" type: Real imcQS.stator.strayReluctance.Phi.re:VARIABLE(unit = "Wb" ) "Real part of complex magnetic flux" type: Real imcQS.stator.electroMagneticConverter.Phi.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 imcQS.airGap.Phi_r.im:VARIABLE(unit = "Wb" ) "Imaginary part of complex magnetic flux" type: Real transformerQS.star1.plugToPins_p.pin_p[1].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] transformerQS.star1.plugToPins_p.pin_p[2].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.v2[3].im:VARIABLE(unit = "V" ) "Real part of complex voltage" type: Real [3] transformerQS.core.v3[3].re:VARIABLE(unit = "V" ) "Imaginary part of complex voltage" type: Real [3] transformerQS.core.v2[1].re:VARIABLE(unit = "V" ) "Imaginary part of complex voltage" type: Real [3] transformerQS.core.v2[1].im:VARIABLE(unit = "V" ) "Real part of complex voltage" type: Real [3] transformerQS.core.v2[2].im:VARIABLE(unit = "V" ) "Real part of complex voltage" type: Real [3] transformerQS.core.v2[2].re:VARIABLE(unit = "V" ) "Imaginary part of complex voltage" type: Real [3] transformerQS.starpoint1.v.re:VARIABLE(unit = "V" ) "Imaginary part of complex electric potential" type: Real transformerQS.starpoint1.v.im:VARIABLE(unit = "V" ) "Real part of complex electrical potential" type: Real idealCloserQS.idealClosingSwitch[2].s.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real [3] idealCommutingSwitchQS.idealCommutingSwitch[2].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] idealCommutingSwitchQS.idealCommutingSwitch[1].s1.im:VARIABLE(unit = "1" protected = true ) "Imaginary 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] idealCloserQS.idealClosingSwitch[3].s.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real [3] transformerQS.r1.resistor[1].i.re:VARIABLE(unit = "A" ) "Real 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.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.im:VARIABLE(unit = "A" ) "Imaginary 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.r2.resistor[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[3].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.l1sigma.inductor[1].i.im:VARIABLE(unit = "A" ) "Imaginary 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.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] transformerQS.l1sigma.inductor[1].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.l2sigma.inductor[2].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[1].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.l2sigma.inductor[1].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.r2.resistor[3].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] transformerQS.r2.resistor[2].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] idealCommutingSwitchQS.idealCommutingSwitch[2].s1.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real [3] imcQS.stator.resistor.resistor[1].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" 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] idealCommutingSwitchQS.idealCommutingSwitch[3].s2.re:VARIABLE(unit = "1" protected = true ) "Real 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] 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.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] terminalBoxQS.delta.plugToPins_n.pin_n[2].i.re:VARIABLE(flow=true unit = "A" ) "Real 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[3].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] imcQS.stator.resistor.resistor[3].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] imcQS.stator.resistor.resistor[2].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" 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] idealCloserQS.idealClosingSwitch[3].s.re:VARIABLE(unit = "1" protected = true ) "Real 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] idealCloserQS.idealClosingSwitch[1].s.re:VARIABLE(unit = "1" protected = true ) "Real 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] idealCommutingSwitchQS.idealCommutingSwitch[1].s2.im:VARIABLE(unit = "1" protected = true ) "Imaginary 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] idealCommutingSwitchQS.idealCommutingSwitch[2].s2.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" 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[1].i.re:VARIABLE(unit = "A" ) "Real 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] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: 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.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.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] imcQS.rotorCage.multiStar.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: transformerQS.star2.plugToPins_p.pin_p[2].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[1].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary 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] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: iSensorQS.currentSensor[3].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.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[1].y.im:VARIABLE() "Imaginary part of complex number" type: Real [3] iSensorQS.currentSensor[3].y.re:VARIABLE() "Real part of complex number" type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: starQS.plugToPins_p.pin_p[2].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary 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[3].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] starQS.plugToPins_p.pin_p[2].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] starQS.plugToPins_p.pin_p[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] 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 (1167): * Single equations (assignments): 1127 * 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 {(7,42.9%) 21,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 1} * Non-linear torn systems: 5 {6 9,6 9,6 9,6 9,78 402} Notification: Performance of prepare postOptimizeDAE: time 0.01207/7.553, allocations: 0.5416 MB / 1.862 GB, free: 77.75 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007536/7.561, allocations: 0.9641 MB / 1.863 GB, free: 77.75 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1193/7.68, allocations: 34.15 MB / 1.896 GB, free: 74.53 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0007207/7.681, allocations: 396.2 kB / 1.897 GB, free: 74.34 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001018/7.681, allocations: 11.34 kB / 1.897 GB, free: 74.34 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003891/7.682, allocations: 74.45 kB / 1.897 GB, free: 74.34 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1971/7.879, allocations: 61.8 MB / 1.957 GB, free: 36.24 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002786/7.879, allocations: 4 kB / 1.957 GB, free: 36.23 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01904/7.898, allocations: 1.778 MB / 1.959 GB, free: 34.84 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05196/7.95, allocations: 14.86 MB / 1.973 GB, free: 21.98 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005115/7.955, allocations: 162.2 kB / 1.973 GB, free: 21.86 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4701/8.425, allocations: 42.28 MB / 2.015 GB, free: 76.69 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.808e-06/8.425, allocations: 6.719 kB / 2.015 GB, free: 76.69 MB / 0.5262 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.1579/8.583, allocations: 51.31 MB / 2.065 GB, free: 74.79 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01735/8.601, allocations: 3.605 MB / 2.068 GB, free: 74.69 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0083/8.609, allocations: 21.36 kB / 2.068 GB, free: 74.69 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01922/8.628, allocations: 384.4 kB / 2.069 GB, free: 74.69 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.007851/8.636, allocations: 1.136 MB / 2.07 GB, free: 74.68 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.005609/8.642, allocations: 449.3 kB / 2.07 GB, free: 74.68 MB / 0.5262 GB Notification: Performance of sort global known variables: time 0.01353/8.656, allocations: 3.707 MB / 2.074 GB, free: 74.46 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.03207/8.688, allocations: 3.483 MB / 2.077 GB, free: 74.46 MB / 0.5262 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 (929): * Single equations (assignments): 888 * 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,(2,100.0%) 26,(1,100.0%) 13,(1,100.0%) 1,(1,100.0%) 8,(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.007207/8.695, allocations: 0.5851 MB / 2.078 GB, free: 74.36 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.08971/8.785, allocations: 27.8 MB / 2.105 GB, free: 73.32 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 2.788e-05/8.785, allocations: 5.312 kB / 2.105 GB, free: 73.32 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.0547/8.84, allocations: 15.67 MB / 2.12 GB, free: 69.16 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02263/8.862, allocations: 1.595 MB / 2.122 GB, free: 68.83 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1645/9.027, allocations: 41.51 MB / 2.162 GB, free: 44.53 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.04757/9.074, allocations: 14.24 MB / 2.176 GB, free: 33.7 MB / 0.5262 GB Notification: Performance of SimCode: time 2.174e-06/9.075, allocations: 0 / 2.176 GB, free: 33.7 MB / 0.5262 GB Notification: Performance of Templates: time 5.699/14.77, allocations: 1.692 GB / 3.868 GB, free: 28.15 MB / 0.5418 GB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.makefile make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.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_TransformerCalcHelperMain.o OMCppModelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_TransformerCalcHelperMain.cpp\nIn file included from OMCppModelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_TransformerCalcHelperMain.cpp:29:\n./OMCppModelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_TransformerInitialize.cpp:1760:32: error: use of undeclared identifier \'u1_P_re_\'\n tmp411 = 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_TransformerInitialize.cpp:1760:58: error: use of undeclared identifier \'u1_P_im_\'\n tmp411 = 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_TransformerInitialize.cpp:1761:32: error: use of undeclared identifier \'u2_P_re_\'\n tmp412 = 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_TransformerInitialize.cpp:1761:58: error: use of undeclared identifier \'u2_P_im_\'\n tmp412 = 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_TransformerInitialize.cpp:1762:32: error: use of undeclared identifier \'u3_P_re_\'\n tmp413 = 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_TransformerInitialize.cpp:1762:58: error: use of undeclared identifier \'u3_P_im_\'\n tmp413 = 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_TransformerInitialize.cpp:1775:32: error: use of undeclared identifier \'u1_P_re_\'\n tmp414 = 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_TransformerInitialize.cpp:1775:58: error: use of undeclared identifier \'u1_P_im_\'\n tmp414 = 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_TransformerInitialize.cpp:1776:32: error: use of undeclared identifier \'u2_P_re_\'\n tmp415 = 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_TransformerInitialize.cpp:1776:58: error: use of undeclared identifier \'u2_P_im_\'\n tmp415 = 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_TransformerInitialize.cpp:1777:32: error: use of undeclared identifier \'u3_P_re_\'\n tmp416 = 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_TransformerInitialize.cpp:1777:58: error: use of undeclared identifier \'u3_P_im_\'\n tmp416 = 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_TransformerCalcHelperMain.o\' failed\nmake: *** [OMCppModelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_TransformerCalcHelperMain.o] Error 1\n'