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.001237/0.001237, allocations: 113.8 kB / 20.38 MB, free: 1.426 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.001283/0.001283, allocations: 199.7 kB / 23.67 MB, free: 4.723 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.398/1.398, allocations: 225.6 MB / 252.4 MB, free: 13.29 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.001626/0.001626, allocations: 51.92 kB / 370.8 MB, free: 9.477 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2197/0.2213, allocations: 52.13 MB / 422.9 MB, free: 14.98 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.01689/0.2382, allocations: 13.75 MB / 436.7 MB, free: 1.16 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009545/0.2477, allocations: 5.008 MB / 441.7 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001985/0.2497, allocations: 75.75 kB / 441.8 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002861/0.2526, allocations: 1.083 MB / 442.8 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004184/0.2567, allocations: 1.452 MB / 444.3 MB, free: 9.516 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002291/0.259, allocations: 0.9808 MB / 445.3 MB, free: 8.535 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005268/0.2643, allocations: 4.301 MB / 449.6 MB, free: 4.219 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002553/0.2669, allocations: 1.861 MB / 451.4 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002694/0.2695, allocations: 2.021 MB / 453.5 MB, free: 264 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003174/0.2727, allocations: 2.308 MB / 455.8 MB, free: 13.94 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007001/0.2734, allocations: 0.5352 MB / 456.3 MB, free: 13.41 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001647/0.2751, allocations: 0.9408 MB / 457.2 MB, free: 12.46 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001282/0.2763, allocations: 1.375 MB / 458.6 MB, free: 11.09 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002428/0.2788, allocations: 2.353 MB / 461 MB, free: 8.723 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008078/0.2869, allocations: 7.381 MB / 468.4 MB, free: 1.316 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.2869, allocations: 0 / 468.4 MB, free: 1.316 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.2869, allocations: 0 / 468.4 MB, free: 1.316 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001189/0.287, allocations: 0 / 468.4 MB, free: 1.316 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.0123/0.2993, allocations: 5.104 MB / 473.5 MB, free: 12.13 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.126e-05/0.2993, allocations: 8.031 kB / 473.5 MB, free: 12.12 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004548/0.3039, allocations: 0.8921 MB / 474.4 MB, free: 11.23 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005527/0.3094, allocations: 2.797 MB / 477.2 MB, free: 8.355 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002146/0.3096, allocations: 250.6 kB / 477.4 MB, free: 8.109 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005885/0.3102, allocations: 339.9 kB / 477.7 MB, free: 7.777 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008212/0.3184, allocations: 4.547 MB / 482.3 MB, free: 3.184 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.539e-05/0.3185, allocations: 7.953 kB / 482.3 MB, free: 3.176 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003371/0.3188, allocations: 140 kB / 482.4 MB, free: 3.039 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000173/0.319, allocations: 150.7 kB / 482.6 MB, free: 2.891 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007173/0.3262, allocations: 3.911 MB / 486.5 MB, free: 14.97 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02324/0.3494, allocations: 14.04 MB / 0.4888 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008432/0.3578, allocations: 6.82 MB / 0.4955 GB, free: 9.012 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003042/0.3609, allocations: 1.583 MB / 0.497 GB, free: 7.434 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007938/0.3688, allocations: 4.246 MB / 0.5011 GB, free: 3.098 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.15e-05/0.3689, allocations: 47.88 kB / 0.5012 GB, free: 3.043 MB / 414.1 MB Notification: Performance of pre-optimization done (n=165): time 3.407e-06/0.3689, allocations: 0 / 0.5012 GB, free: 3.043 MB / 414.1 MB Notification: Performance of matching and sorting (n=185): time 0.01779/0.3867, allocations: 7.81 MB / 0.5088 GB, free: 11.1 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.763e-05/0.3867, allocations: 69.41 kB / 0.5089 GB, free: 11.02 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003903/0.3906, allocations: 2.624 MB / 0.5114 GB, free: 8.371 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001671/0.3908, allocations: 57.7 kB / 0.5115 GB, free: 8.309 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001428/0.3922, allocations: 1.65 MB / 0.5131 GB, free: 6.641 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006264/0.3928, allocations: 0.6545 MB / 0.5138 GB, free: 5.98 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006397/0.3935, allocations: 335.4 kB / 0.5141 GB, free: 5.648 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.3936, allocations: 305.1 kB / 0.5144 GB, free: 5.348 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001802/0.3954, allocations: 0.9136 MB / 0.5153 GB, free: 4.434 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002053/0.3975, allocations: 1.302 MB / 0.5165 GB, free: 2.98 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0039/0.4014, allocations: 2.355 MB / 0.5188 GB, free: 492 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.029e-05/0.4014, allocations: 7.984 kB / 0.5188 GB, free: 484 kB / 430.1 MB Notification: Performance of matching and sorting (n=246) (initialization): time 0.006153/0.4076, allocations: 3.051 MB / 0.5218 GB, free: 13.41 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.781e-05/0.4076, allocations: 12 kB / 0.5218 GB, free: 13.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.02e-05/0.4076, allocations: 11.94 kB / 0.5218 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00162/0.4092, allocations: 0.5519 MB / 0.5224 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001959/0.4112, allocations: 431.3 kB / 0.5228 GB, free: 12.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01057/0.4218, allocations: 7.611 MB / 0.5302 GB, free: 4.508 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001749/0.4235, allocations: 84 kB / 0.5303 GB, free: 4.426 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000175/0.4237, allocations: 75.98 kB / 0.5304 GB, free: 4.352 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.00203/0.4257, allocations: 1.171 MB / 0.5315 GB, free: 3.172 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006028/0.4263, allocations: 266.3 kB / 0.5318 GB, free: 2.91 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006064/0.4324, allocations: 2.854 MB / 0.5346 GB, free: 32 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.235e-05/0.4324, allocations: 11.97 kB / 0.5346 GB, free: 20 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/0.4324, allocations: 8 kB / 0.5346 GB, free: 12 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.1868/0.6192, allocations: 0.5458 MB / 0.5351 GB, free: 106.3 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003466/0.6195, allocations: 36.23 kB / 0.5351 GB, free: 106.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001236/0.6207, allocations: 86.8 kB / 0.5352 GB, free: 106.3 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003722/0.6211, allocations: 155.4 kB / 0.5354 GB, free: 106.3 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006846/0.628, allocations: 3.048 MB / 0.5384 GB, free: 105.7 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004972/0.6329, allocations: 3.634 MB / 0.5419 GB, free: 104.2 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00131/0.6342, allocations: 0.9836 MB / 0.5429 GB, free: 103.8 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002238/0.6365, allocations: 1.834 MB / 0.5447 GB, free: 103.2 MB / 446.1 MB Notification: Performance of Backend: time 5.51e-07/0.6365, allocations: 0.9375 kB / 0.5447 GB, free: 103.2 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00604/0.6425, allocations: 2.532 MB / 0.5471 GB, free: 102.2 MB / 446.1 MB Notification: Performance of SimCode: time 0.01008/0.6526, allocations: 7.669 MB / 0.5546 GB, free: 97.56 MB / 446.1 MB Notification: Performance of Templates: time 0.05758/0.7102, allocations: 43.68 MB / 0.5973 GB, free: 54.86 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.006545686163008] 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.718478768132627 0.726639335 0.437556474 Calling exit ...