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.IMS_Start.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.IMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|Itr|Iqs|ims.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|ims.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|ims.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|ims.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imsQS.rotor.electroMagneticConverter.port_p.reference.gamma|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|Itr|Iqs|ims.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|ims.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|ims.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|ims.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imsQS.rotor.electroMagneticConverter.port_p.reference.gamma|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start") [: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.00256/0.002568, allocations: 176.9 kB / 8.152 MB, free: 2.117 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.877/1.877, allocations: 205.2 MB / 213.8 MB, free: 13.93 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.001288/0.001288, allocations: 88.8 kB / 261.8 MB, free: 13.64 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.134e-05/1.189e-05, allocations: 4 kB / 314.3 MB, free: 9.031 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2538/0.2539, allocations: 47.56 MB / 361.9 MB, free: 45.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4318/0.6857, allocations: 161.3 MB / 0.5109 GB, free: 81.66 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000315/0.6861, allocations: 94.81 kB / 0.511 GB, free: 81.66 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.509/3.195, allocations: 0.5625 GB / 1.073 GB, free: 40.14 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.002532/3.198, allocations: 430 kB / 1.074 GB, free: 40.07 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: 5087 * Number of variables: 5087 Notification: Performance of Generate backend data structure: time 0.09069/3.289, allocations: 16.99 MB / 1.09 GB, free: 34.82 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.917e-05/3.289, allocations: 14.22 kB / 1.09 GB, free: 34.81 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07694/3.366, allocations: 7.92 MB / 1.098 GB, free: 33.74 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06064/3.426, allocations: 14.58 MB / 1.112 GB, free: 31.98 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002455/3.429, allocations: 0.5922 MB / 1.113 GB, free: 31.98 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01173/3.441, allocations: 1.028 MB / 1.114 GB, free: 31.97 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.08855/3.529, allocations: 24.66 MB / 1.138 GB, free: 28.19 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1178/3.647, allocations: 27.95 MB / 1.165 GB, free: 4.715 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001351/3.649, allocations: 30.98 kB / 1.165 GB, free: 4.691 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01002/3.659, allocations: 19.91 kB / 1.165 GB, free: 4.672 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002202/3.661, allocations: 1.221 MB / 1.167 GB, free: 3.574 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5793/4.24, allocations: 97.85 MB / 1.262 GB, free: 79.57 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02908/4.269, allocations: 11 MB / 1.273 GB, free: 78.32 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0382/4.308, allocations: 13.12 MB / 1.286 GB, free: 72.9 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1374/4.445, allocations: 42.24 MB / 1.327 GB, free: 52.7 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002011/4.445, allocations: 165.4 kB / 1.327 GB, free: 52.57 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1370): time 1.988e-05/4.445, allocations: 0 / 1.327 GB, free: 52.57 MB / 490.7 MB Notification: Performance of matching and sorting (n=1378): time 0.1734/4.619, allocations: 51.33 MB / 1.377 GB, free: 15.43 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001174/4.619, allocations: 225.6 kB / 1.378 GB, free: 15.18 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01389/4.633, allocations: 4.28 MB / 1.382 GB, free: 11.43 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.003473/4.636, allocations: 33.17 kB / 1.382 GB, free: 11.4 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002807/4.639, allocations: 5.24 MB / 1.387 GB, free: 6.797 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.007771/4.647, allocations: 4.353 MB / 1.391 GB, free: 2.773 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003989/4.651, allocations: 0 / 1.391 GB, free: 2.773 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.002/4.653, allocations: 0.843 MB / 1.392 GB, free: 2.074 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3134/4.967, allocations: 10.5 MB / 1.402 GB, free: 85.33 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02818/4.995, allocations: 11.09 MB / 1.413 GB, free: 83.24 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.03426/5.029, allocations: 10.99 MB / 1.424 GB, free: 83.1 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001587/5.029, allocations: 15.94 kB / 1.424 GB, free: 83.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=1667) (initialization): time 0.08527/5.115, allocations: 26.27 MB / 1.449 GB, free: 82.48 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.548e-05/5.115, allocations: 4.875 kB / 1.449 GB, free: 82.48 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000181/5.115, allocations: 61.34 kB / 1.449 GB, free: 82.48 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03129/5.146, allocations: 8.846 MB / 1.458 GB, free: 82.32 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01962/5.166, allocations: 2.044 MB / 1.46 GB, free: 82.32 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06204/5.228, allocations: 31.63 MB / 1.491 GB, free: 69.73 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01289/5.241, allocations: 308.3 kB / 1.491 GB, free: 69.73 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004517/5.245, allocations: 497.9 kB / 1.492 GB, free: 69.63 MB / 490.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: imsQS.stator.resistor.resistor[2].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] currentQuasiRMSSensorQS.currentSensor[3].y.im:VARIABLE() "Imaginary part of complex number" type: Real [3] powerSensorQS.powerSensor[3].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] idealCloserQS.idealClosingSwitch[3].s.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real [3] rheostatQS.rheostat.resistor[1].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] rheostatQS.idealCommutingSwitch.idealCommutingSwitch[3].s2.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real [3] rheostatQS.rheostat.resistor[1].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] rheostatQS.rheostat.resistor[2].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] rheostatQS.rheostat.resistor[2].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] rheostatQS.idealCommutingSwitch.idealCommutingSwitch[3].s2.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real [3] rheostatQS.rheostat.resistor[3].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] imsQS.rotor.resistor.resistor[1].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] rheostatQS.idealCommutingSwitch.idealCommutingSwitch[2].s1.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real [3] rheostatQS.idealCommutingSwitch.idealCommutingSwitch[2].s2.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real [3] rheostatQS.idealCommutingSwitch.idealCommutingSwitch[3].s1.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real [3] rheostatQS.idealCommutingSwitch.idealCommutingSwitch[1].s1.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real [3] imsQS.rotor.resistor.resistor[2].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] imsQS.rotor.resistor.resistor[2].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] imsQS.rotor.resistor.resistor[3].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] imsQS.rotor.resistor.resistor[1].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] imsQS.rotor.resistor.resistor[3].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] rheostatQS.idealCommutingSwitch.idealCommutingSwitch[2].s1.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real [3] rheostatQS.idealCommutingSwitch.idealCommutingSwitch[2].s2.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real [3] rheostatQS.idealCommutingSwitch.idealCommutingSwitch[1].s1.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real [3] rheostatQS.idealCommutingSwitch.idealCommutingSwitch[1].s2.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real [3] rheostatQS.rheostat.resistor[3].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] rheostatQS.idealCommutingSwitch.idealCommutingSwitch[3].s1.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real [3] rheostatQS.idealCommutingSwitch.idealCommutingSwitch[1].s2.re:VARIABLE(unit = "1" protected = true ) "Real 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] idealCloserQS.idealClosingSwitch[2].s.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] 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] powerSensorQS.powerSensor[1].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] powerSensorQS.powerSensor[1].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] powerSensorQS.powerSensor[2].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] powerSensorQS.powerSensor[2].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] powerSensorQS.powerSensor[3].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] currentQuasiRMSSensorQS.currentSensor[2].y.re:VARIABLE() "Real part of complex number" type: Real [3] currentQuasiRMSSensorQS.currentSensor[1].y.re:VARIABLE() "Real part of complex number" type: Real [3] currentQuasiRMSSensorQS.currentSensor[1].y.im:VARIABLE() "Imaginary part of complex number" type: Real [3] currentQuasiRMSSensorQS.currentSensor[2].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] imsQS.stator.resistor.resistor[2].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] imsQS.stator.resistor.resistor[3].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] imsQS.stator.resistor.resistor[3].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] imsQS.stator.resistor.resistor[1].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] imsQS.stator.resistor.resistor[1].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: rheostatQS.starRheostat.plugToPins_p.pin_p[3].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] rheostatQS.starRheostat.plugToPins_p.pin_p[1].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] rheostatQS.starRheostat.plugToPins_p.pin_p[2].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] rheostatQS.starRheostat.plugToPins_p.pin_p[1].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] rheostatQS.starRheostat.plugToPins_p.pin_p[2].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] rheostatQS.starRheostat.plugToPins_p.pin_p[3].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: rheostatQS.star.plugToPins_p.pin_p[2].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] rheostatQS.star.plugToPins_p.pin_p[3].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] rheostatQS.star.plugToPins_p.pin_p[3].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] rheostatQS.star.plugToPins_p.pin_p[1].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] rheostatQS.star.plugToPins_p.pin_p[2].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] rheostatQS.star.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: 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[3].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] 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.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: terminalBoxQS.multiStar.plugToPins_p.pin_p[3].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] terminalBoxQS.multiStar.plugToPins_p.pin_p[2].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] terminalBoxQS.multiStar.plugToPins_p.pin_p[2].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] terminalBoxQS.multiStar.plugToPins_p.pin_p[1].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] terminalBoxQS.multiStar.plugToPins_p.pin_p[1].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] terminalBoxQS.multiStar.plugToPins_p.pin_p[3].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 250 * Number of states: 0 () * Number of discrete variables: 12 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y,rheostatQS.booleanStep[1].y,rheostatQS.booleanStep[2].y,rheostatQS.booleanStep[3].y,booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1085): * Single equations (assignments): 1021 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 51 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 12 * 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: 7 {(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(1,100.0%) 1} * Non-linear torn systems: 5 {6 9,6 9,6 9,6 9,48 259} Notification: Performance of prepare postOptimizeDAE: time 0.00853/5.254, allocations: 478.9 kB / 1.492 GB, free: 69.55 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005459/5.26, allocations: 0.8308 MB / 1.493 GB, free: 69.55 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.09276/5.352, allocations: 27.22 MB / 1.52 GB, free: 58.77 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.06561/5.418, allocations: 21.58 MB / 1.541 GB, free: 47.51 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001021/5.418, allocations: 12 kB / 1.541 GB, free: 47.5 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003904/5.419, allocations: 62.11 kB / 1.541 GB, free: 47.5 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1521/5.571, allocations: 49.96 MB / 1.59 GB, free: 5.645 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002124/5.571, allocations: 6.719 kB / 1.59 GB, free: 5.641 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01593/5.587, allocations: 1.507 MB / 1.591 GB, free: 4.465 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.2931/5.88, allocations: 9.397 MB / 1.6 GB, free: 78.05 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003664/5.884, allocations: 139.2 kB / 1.6 GB, free: 78.05 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06383/5.948, allocations: 36.94 MB / 1.636 GB, free: 63.22 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.358e-06/5.948, allocations: 9.188 kB / 1.636 GB, free: 63.22 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.1155/6.063, allocations: 41.14 MB / 1.677 GB, free: 61.15 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.01235/6.076, allocations: 2.931 MB / 1.679 GB, free: 61.06 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00576/6.081, allocations: 15.78 kB / 1.679 GB, free: 61.06 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01381/6.095, allocations: 331.6 kB / 1.68 GB, free: 61.06 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005469/6.101, allocations: 0.9409 MB / 1.681 GB, free: 61.05 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003685/6.105, allocations: 361.8 kB / 1.681 GB, free: 61.05 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.00946/6.114, allocations: 3.193 MB / 1.684 GB, free: 60.87 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.02048/6.135, allocations: 2.916 MB / 1.687 GB, free: 60.87 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 11 (imsQS.rotor.resistor.plug_p.reference.gamma,loadInertiaQS.w,quadraticLoadTorqueQS.phi,ims.stator.core.Phi.re,ims.stator.core.Phi.im,ims.stator.zeroInductor.i0,ims.rotor.core.Phi.re,ims.rotor.core.Phi.im,ims.rotor.zeroInductor.i0,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 12 (rheostatQS.booleanStep[1].y,rheostatQS.booleanStep[2].y,rheostatQS.booleanStep[3].y,booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y,booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (817): * Single equations (assignments): 751 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 51 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 15 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 10 {(1,100.0%) 1,(1,100.0%) 5,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 5 {6 9,6 9,6 9,6 9,42 268} Notification: Performance of Backend phase and start with SimCode phase: time 0.004477/6.139, allocations: 0.5665 MB / 1.688 GB, free: 60.77 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.064/6.203, allocations: 22.63 MB / 1.71 GB, free: 52.71 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.438e-05/6.203, allocations: 3.5 kB / 1.71 GB, free: 52.71 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.04194/6.245, allocations: 12.85 MB / 1.722 GB, free: 47.32 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01832/6.264, allocations: 1.445 MB / 1.724 GB, free: 47.02 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1285/6.392, allocations: 34.66 MB / 1.757 GB, free: 23.16 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.04061/6.433, allocations: 12.25 MB / 1.769 GB, free: 13.83 MB / 490.7 MB Notification: Performance of SimCode: time 2.264e-06/6.433, allocations: 0 / 1.769 GB, free: 13.83 MB / 490.7 MB Notification: Performance of Templates: time 5.52/11.95, allocations: 1.686 GB / 3.456 GB, free: 44.91 MB / 0.4948 GB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.makefile make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.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.IMS_StartCalcHelperMain.o OMCppModelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_StartCalcHelperMain.cpp\nIn file included from OMCppModelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_StartCalcHelperMain.cpp:29:\n./OMCppModelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_StartInitialize.cpp:1748:32: error: use of undeclared identifier \'u1_P_re_\'\n tmp436 = 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.IMS_StartInitialize.cpp:1748:58: error: use of undeclared identifier \'u1_P_im_\'\n tmp436 = 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.IMS_StartInitialize.cpp:1749:32: error: use of undeclared identifier \'u2_P_re_\'\n tmp437 = 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.IMS_StartInitialize.cpp:1749:58: error: use of undeclared identifier \'u2_P_im_\'\n tmp437 = 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.IMS_StartInitialize.cpp:1750:32: error: use of undeclared identifier \'u3_P_re_\'\n tmp438 = 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.IMS_StartInitialize.cpp:1750:58: error: use of undeclared identifier \'u3_P_im_\'\n tmp438 = 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.IMS_StartInitialize.cpp:1763:32: error: use of undeclared identifier \'u1_P_re_\'\n tmp439 = 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.IMS_StartInitialize.cpp:1763:58: error: use of undeclared identifier \'u1_P_im_\'\n tmp439 = 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.IMS_StartInitialize.cpp:1764:32: error: use of undeclared identifier \'u2_P_re_\'\n tmp440 = 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.IMS_StartInitialize.cpp:1764:58: error: use of undeclared identifier \'u2_P_im_\'\n tmp440 = 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.IMS_StartInitialize.cpp:1765:32: error: use of undeclared identifier \'u3_P_re_\'\n tmp441 = 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.IMS_StartInitialize.cpp:1765:58: error: use of undeclared identifier \'u3_P_im_\'\n tmp441 = 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.IMS_StartCalcHelperMain.o\' failed\nmake: *** [OMCppModelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_StartCalcHelperMain.o] Error 1\n'