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.001308/0.001308, allocations: 108.2 kB / 21.08 MB, free: 0.8477 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.001308/0.001308, allocations: 186.1 kB / 24.33 MB, free: 4.238 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.406/1.406, 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.001541/0.001541, allocations: 51.92 kB / 371.4 MB, free: 9.422 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2138/0.2154, allocations: 52.17 MB / 423.6 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.01721/0.2326, allocations: 13.66 MB / 437.2 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009353/0.2419, allocations: 4.996 MB / 442.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001836/0.2438, allocations: 99.38 kB / 442.3 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003034/0.2468, allocations: 1.083 MB / 443.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003961/0.2508, allocations: 1.468 MB / 444.9 MB, free: 9.293 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002199/0.253, allocations: 0.9972 MB / 445.9 MB, free: 8.301 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005144/0.2581, allocations: 4.314 MB / 450.2 MB, free: 3.973 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002534/0.2606, allocations: 1.857 MB / 452.1 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002622/0.2633, allocations: 2.056 MB / 454.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003033/0.2663, allocations: 2.312 MB / 456.4 MB, free: 13.66 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000669/0.267, allocations: 0.5352 MB / 457 MB, free: 13.13 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00159/0.2685, allocations: 0.9096 MB / 457.9 MB, free: 12.22 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001298/0.2698, allocations: 1.383 MB / 459.3 MB, free: 10.83 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002328/0.2722, allocations: 2.349 MB / 461.6 MB, free: 8.473 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00781/0.28, allocations: 7.354 MB / 469 MB, free: 1.094 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.837e-06/0.28, allocations: 7.938 kB / 469 MB, free: 1.086 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.28, allocations: 4 kB / 469 MB, free: 1.082 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.823e-05/0.2801, allocations: 0 / 469 MB, free: 1.082 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.01166/0.2917, allocations: 5.017 MB / 474 MB, free: 12 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.2918, allocations: 8.031 kB / 474 MB, free: 11.99 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004548/0.2963, allocations: 0.896 MB / 474.9 MB, free: 11.09 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00515/0.3015, allocations: 2.74 MB / 477.6 MB, free: 8.285 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002088/0.3017, allocations: 254.6 kB / 477.9 MB, free: 8.035 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005304/0.3022, allocations: 335.9 kB / 478.2 MB, free: 7.707 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007979/0.3102, allocations: 4.547 MB / 482.8 MB, free: 3.113 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.439e-05/0.3103, allocations: 7.953 kB / 482.8 MB, free: 3.105 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003299/0.3106, allocations: 140 kB / 482.9 MB, free: 2.969 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001707/0.3108, allocations: 154.7 kB / 483 MB, free: 2.816 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007157/0.3179, allocations: 3.915 MB / 487 MB, free: 14.89 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02229/0.3402, allocations: 13.78 MB / 0.489 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006255/0.3465, allocations: 2.967 MB / 0.4919 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002983/0.3495, allocations: 1.575 MB / 0.4934 GB, free: 12.41 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007241/0.3567, allocations: 4 MB / 0.4973 GB, free: 8.387 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.615e-05/0.3568, allocations: 51.81 kB / 0.4974 GB, free: 8.328 MB / 414.1 MB Notification: Performance of pre-optimization done (n=165): time 3.616e-06/0.3568, allocations: 0 / 0.4974 GB, free: 8.328 MB / 414.1 MB Notification: Performance of matching and sorting (n=185): time 0.01673/0.3735, allocations: 7.412 MB / 0.5046 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.788e-05/0.3735, allocations: 73.39 kB / 0.5047 GB, free: 0.793 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00355/0.3771, allocations: 2.628 MB / 0.5073 GB, free: 14.14 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001101/0.3772, allocations: 53.7 kB / 0.5073 GB, free: 14.08 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001301/0.3785, allocations: 1.658 MB / 0.5089 GB, free: 12.41 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005492/0.3791, allocations: 0.6507 MB / 0.5096 GB, free: 11.75 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005688/0.3796, allocations: 339.4 kB / 0.5099 GB, free: 11.41 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.3797, allocations: 309 kB / 0.5102 GB, free: 11.11 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001673/0.3814, allocations: 0.9135 MB / 0.5111 GB, free: 10.2 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002013/0.3834, allocations: 1.298 MB / 0.5124 GB, free: 8.746 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003891/0.3873, allocations: 2.363 MB / 0.5147 GB, free: 6.238 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.149e-06/0.3873, allocations: 0 / 0.5147 GB, free: 6.238 MB / 430.1 MB Notification: Performance of matching and sorting (n=246) (initialization): time 0.005684/0.393, allocations: 3.066 MB / 0.5177 GB, free: 3.156 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.524e-05/0.393, allocations: 11.28 kB / 0.5177 GB, free: 3.148 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.888e-05/0.3931, allocations: 12 kB / 0.5177 GB, free: 3.137 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001536/0.3946, allocations: 0.5441 MB / 0.5182 GB, free: 2.586 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001871/0.3965, allocations: 435.3 kB / 0.5186 GB, free: 2.16 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01036/0.4068, allocations: 7.393 MB / 0.5258 GB, free: 10.53 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001221/0.4081, allocations: 92 kB / 0.5259 GB, free: 10.44 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001563/0.4082, allocations: 75.98 kB / 0.526 GB, free: 10.37 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.001819/0.41, allocations: 1.161 MB / 0.5271 GB, free: 9.195 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004148/0.4104, allocations: 274.2 kB / 0.5274 GB, free: 8.926 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005687/0.4161, allocations: 2.854 MB / 0.5302 GB, free: 6.047 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.863e-05/0.4161, allocations: 7.969 kB / 0.5302 GB, free: 6.039 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.4161, allocations: 0 / 0.5302 GB, free: 6.039 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001114/0.4173, allocations: 490.1 kB / 0.5307 GB, free: 5.559 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002825/0.4175, allocations: 51.98 kB / 0.5307 GB, free: 5.508 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00109/0.4186, allocations: 79.94 kB / 0.5308 GB, free: 5.43 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003071/0.4189, allocations: 165.6 kB / 0.5309 GB, free: 5.27 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007018/0.426, allocations: 3.043 MB / 0.5339 GB, free: 2.207 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.1782/0.6041, allocations: 3.625 MB / 0.5375 GB, free: 104.8 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001625/0.6057, allocations: 0.9754 MB / 0.5384 GB, free: 104.8 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00286/0.6086, allocations: 1.843 MB / 0.5402 GB, free: 104.1 MB / 446.1 MB Notification: Performance of Backend: time 4.61e-07/0.6086, allocations: 0 / 0.5402 GB, free: 104.1 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006145/0.6147, allocations: 2.534 MB / 0.5427 GB, free: 103.1 MB / 446.1 MB Notification: Performance of SimCode: time 0.008917/0.6237, allocations: 7.677 MB / 0.5502 GB, free: 99.25 MB / 446.1 MB Notification: Performance of Templates: time 0.05584/0.6795, allocations: 44.33 MB / 0.5935 GB, free: 59.3 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.038286126218736] 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.6871743379160762 0.6956559710000001 0.41338994500000004 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f5c81079810>