Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001771/0.001771, allocations: 112 kB / 21.07 MB, free: 0.8672 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002026/0.002026, allocations: 195.3 kB / 24.33 MB, free: 4.266 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.394/1.394, allocations: 225.6 MB / 253 MB, free: 13.07 MB / 206.1 MB
"
[Timeout remaining time 178]
Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo)
Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|PI.x|aimc.airGap.V_mrr.im|aimc.airGap.V_mrr.re|aimc.airGap.V_msr.im|aimc.airGap.V_msr.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.core.Phi.im|aimc.stator.core.Phi.re|aimc.stator.port_p.V_m.im|aimc.stator.port_p.V_m.re|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses")
translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|PI.x|aimc.airGap.V_mrr.im|aimc.airGap.V_mrr.re|aimc.airGap.V_msr.im|aimc.airGap.V_msr.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.core.Phi.im|aimc.stator.core.Phi.re|aimc.stator.port_p.V_m.im|aimc.stator.port_p.V_m.re|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001516/0.001516, allocations: 51.91 kB / 371.4 MB, free: 9.418 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2029/0.2044, allocations: 52.18 MB / 423.6 MB, free: 14.69 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.01625/0.2207, allocations: 13.66 MB / 437.2 MB, free: 0.9609 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.008088/0.2288, allocations: 5 MB / 442.2 MB, free: 11.95 MB / 350.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0008468/0.2296, allocations: 95.44 kB / 442.3 MB, free: 11.85 MB / 350.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.002216/0.2318, allocations: 1.087 MB / 443.4 MB, free: 10.76 MB / 350.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.002942/0.2348, allocations: 1.471 MB / 444.9 MB, free: 9.285 MB / 350.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001997/0.2368, allocations: 0.9868 MB / 445.9 MB, free: 8.301 MB / 350.1 MB
Notification: Performance of NFFlatten.flatten: time 0.00467/0.2414, allocations: 4.312 MB / 450.2 MB, free: 3.973 MB / 350.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.002517/0.2439, allocations: 1.861 MB / 452 MB, free: 2.043 MB / 350.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.00245/0.2464, allocations: 2.06 MB / 454.1 MB, free: 15.98 MB / 366.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.002886/0.2493, allocations: 2.312 MB / 456.4 MB, free: 13.66 MB / 366.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0006601/0.2499, allocations: 0.5352 MB / 457 MB, free: 13.12 MB / 366.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.001481/0.2514, allocations: 0.9135 MB / 457.9 MB, free: 12.21 MB / 366.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.001287/0.2527, allocations: 1.371 MB / 459.2 MB, free: 10.83 MB / 366.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.002247/0.2549, allocations: 2.357 MB / 461.6 MB, free: 8.465 MB / 366.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.007324/0.2623, allocations: 7.361 MB / 469 MB, free: 1.078 MB / 366.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.2623, allocations: 0 / 469 MB, free: 1.078 MB / 366.1 MB
Notification: Performance of FrontEnd: time 1.183e-06/0.2623, allocations: 4 kB / 469 MB, free: 1.074 MB / 366.1 MB
Notification: Performance of Transformations before backend: time 5.529e-05/0.2623, allocations: 0 / 469 MB, free: 1.074 MB / 366.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 877
 * Number of variables: 877
Notification: Performance of Generate backend data structure: time 0.01187/0.2742, allocations: 5.018 MB / 474 MB, free: 11.99 MB / 382.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.2742, allocations: 8.031 kB / 474 MB, free: 11.98 MB / 382.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004525/0.2788, allocations: 0.8921 MB / 474.9 MB, free: 11.09 MB / 382.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.004698/0.2835, allocations: 2.744 MB / 477.6 MB, free: 8.273 MB / 382.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002051/0.2837, allocations: 254.6 kB / 477.9 MB, free: 8.023 MB / 382.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005372/0.2842, allocations: 339.9 kB / 478.2 MB, free: 7.691 MB / 382.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.007787/0.292, allocations: 4.547 MB / 482.8 MB, free: 3.098 MB / 382.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 7.54e-05/0.2921, allocations: 7.891 kB / 482.8 MB, free: 3.09 MB / 382.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003471/0.2924, allocations: 140 kB / 482.9 MB, free: 2.953 MB / 382.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001752/0.2926, allocations: 150.7 kB / 483 MB, free: 2.805 MB / 382.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007144/0.2997, allocations: 3.915 MB / 487 MB, free: 14.88 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02157/0.3213, allocations: 13.78 MB / 0.489 GB, free: 0.7969 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.006556/0.3279, allocations: 2.962 MB / 0.4919 GB, free: 13.98 MB / 414.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.003071/0.3309, allocations: 1.579 MB / 0.4934 GB, free: 12.41 MB / 414.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.007274/0.3382, allocations: 4 MB / 0.4973 GB, free: 8.379 MB / 414.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.409e-05/0.3382, allocations: 59.8 kB / 0.4974 GB, free: 8.312 MB / 414.1 MB
Notification: Performance of pre-optimization done (n=165): time 3.277e-06/0.3383, allocations: 0 / 0.4974 GB, free: 8.312 MB / 414.1 MB
Notification: Performance of matching and sorting (n=185): time 0.01703/0.3553, allocations: 7.408 MB / 0.5046 GB, free: 0.8672 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.652e-05/0.3553, allocations: 73.34 kB / 0.5047 GB, free: 0.7812 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003628/0.359, allocations: 2.628 MB / 0.5073 GB, free: 14.13 MB / 430.1 MB
Notification: Performance of collectPreVariables (initialization): time 0.0001241/0.3591, allocations: 53.7 kB / 0.5073 GB, free: 14.07 MB / 430.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.001319/0.3604, allocations: 1.658 MB / 0.5089 GB, free: 12.39 MB / 430.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0005531/0.361, allocations: 0.6506 MB / 0.5096 GB, free: 11.74 MB / 430.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005842/0.3615, allocations: 339.4 kB / 0.5099 GB, free: 11.4 MB / 430.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001207/0.3617, allocations: 305.1 kB / 0.5102 GB, free: 11.1 MB / 430.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.001726/0.3634, allocations: 0.9136 MB / 0.5111 GB, free: 10.19 MB / 430.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.002059/0.3654, allocations: 1.302 MB / 0.5124 GB, free: 8.734 MB / 430.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.003938/0.3694, allocations: 2.355 MB / 0.5147 GB, free: 6.234 MB / 430.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.026e-05/0.3694, allocations: 4 kB / 0.5147 GB, free: 6.23 MB / 430.1 MB
Notification: Performance of matching and sorting (n=246) (initialization): time 0.005828/0.3752, allocations: 3.058 MB / 0.5176 GB, free: 3.156 MB / 430.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.509e-05/0.3752, allocations: 12 kB / 0.5177 GB, free: 3.145 MB / 430.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.864e-05/0.3753, allocations: 8 kB / 0.5177 GB, free: 3.137 MB / 430.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.001622/0.3769, allocations: 0.5557 MB / 0.5182 GB, free: 2.574 MB / 430.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001886/0.3788, allocations: 427.3 kB / 0.5186 GB, free: 2.156 MB / 430.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01049/0.3893, allocations: 7.405 MB / 0.5258 GB, free: 10.52 MB / 446.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001277/0.3905, allocations: 79.94 kB / 0.5259 GB, free: 10.44 MB / 446.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001689/0.3907, allocations: 79.98 kB / 0.526 GB, free: 10.36 MB / 446.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 48
 * Number of states: 0 ()
 * Number of discrete variables: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (198):
 * Single equations (assignments): 194
 * Array equations: 2
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 2
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 2 systems
   {(1,6,100.0%), (7,34,75.5%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.001812/0.3925, allocations: 1.157 MB / 0.5271 GB, free: 9.191 MB / 446.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004339/0.393, allocations: 274.2 kB / 0.5274 GB, free: 8.922 MB / 446.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005624/0.3986, allocations: 2.858 MB / 0.5302 GB, free: 6.039 MB / 446.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.226e-05/0.3986, allocations: 11.95 kB / 0.5302 GB, free: 6.027 MB / 446.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.141e-06/0.3986, allocations: 4.062 kB / 0.5302 GB, free: 6.023 MB / 446.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.001017/0.3996, allocations: 490.1 kB / 0.5307 GB, free: 5.543 MB / 446.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000329/0.3999, allocations: 40 kB / 0.5307 GB, free: 5.504 MB / 446.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001174/0.4011, allocations: 79.92 kB / 0.5308 GB, free: 5.426 MB / 446.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003267/0.4014, allocations: 161.6 kB / 0.5309 GB, free: 5.27 MB / 446.1 MB
Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007332/0.4088, allocations: 3.05 MB / 0.5339 GB, free: 2.199 MB / 446.1 MB
Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.1736/0.5824, allocations: 3.622 MB / 0.5374 GB, free: 104.9 MB / 446.1 MB
Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001485/0.5839, allocations: 0.977 MB / 0.5384 GB, free: 104.8 MB / 446.1 MB
Notification: Performance of sorting global known variables: time 0.002446/0.5863, allocations: 1.842 MB / 0.5402 GB, free: 104.1 MB / 446.1 MB
Notification: Performance of Backend: time 2.7e-07/0.5863, allocations: 0 / 0.5402 GB, free: 104.1 MB / 446.1 MB
Notification: Performance of simCode: created initialization part: time 0.005857/0.5922, allocations: 2.531 MB / 0.5427 GB, free: 103.1 MB / 446.1 MB
Notification: Performance of SimCode: time 0.008724/0.6009, allocations: 7.675 MB / 0.5502 GB, free: 99.29 MB / 446.1 MB
Notification: Performance of Templates: time 0.05365/0.6545, allocations: 44.35 MB / 0.5935 GB, free: 59.32 MB / 446.1 MB
"
[Timeout remaining time 659]
make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile [Timeout 660]
(rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 480]
[Calling os._exit(0), Time elapsed: 6.1384362815879285]
Failed to read output from testmodel.py, exit status != 0:
['time', 'PI.x', 'aimc.airGap.V_mrr.im', 'aimc.airGap.V_mrr.re', 'aimc.airGap.V_msr.im', 'aimc.airGap.V_msr.re', 'aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re', 'aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im', 'aimc.stator.core.Phi.im', 'aimc.stator.core.Phi.re', 'aimc.stator.port_p.V_m.im', 'aimc.stator.port_p.V_m.re', '// aimc.stator.zeroInductor.i0', 'aimc.is[1]', 'aimc.is[2]', 'loadInertia.w', 'powerSensor.flange_a.phi']
0.6618130719289184 0.670345298 0.40586805
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7fbbab735810>