Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001281/0.001281, allocations: 114.3 kB / 21.18 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001378/0.001378, allocations: 210.9 kB / 24.48 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.402/1.402, allocations: 230.4 MB / 258.1 MB, free: 8.176 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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.1.0-beta.om_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.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001903/0.001903, allocations: 71.77 kB / 378.8 MB, free: 2.867 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2114/0.2133, allocations: 53.31 MB / 432.1 MB, free: 7.395 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.0173/0.2306, allocations: 14.39 MB / 446.5 MB, free: 8.934 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009571/0.2402, allocations: 5.401 MB / 451.9 MB, free: 3.516 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001566/0.2417, allocations: 83.69 kB / 452 MB, free: 3.434 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002608/0.2443, allocations: 1.099 MB / 453.1 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003593/0.2479, allocations: 1.472 MB / 454.5 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002261/0.2502, allocations: 1.038 MB / 455.6 MB, free: 15.81 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005115/0.2553, allocations: 4.362 MB / 459.9 MB, free: 11.44 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002614/0.2579, allocations: 1.861 MB / 461.8 MB, free: 9.504 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002632/0.2606, allocations: 2.029 MB / 463.8 MB, free: 7.469 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003511/0.2641, allocations: 2.437 MB / 466.3 MB, free: 5.023 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007361/0.2648, allocations: 0.5352 MB / 466.8 MB, free: 4.488 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001732/0.2665, allocations: 0.9369 MB / 467.7 MB, free: 3.551 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00132/0.2679, allocations: 1.383 MB / 469.1 MB, free: 2.164 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002426/0.2703, allocations: 2.361 MB / 471.5 MB, free: 15.79 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007807/0.2781, allocations: 7.416 MB / 478.9 MB, free: 8.352 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.2781, allocations: 4 kB / 478.9 MB, free: 8.348 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.2781, allocations: 0 / 478.9 MB, free: 8.348 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001177/0.2782, allocations: 3.938 kB / 478.9 MB, free: 8.344 MB / 382.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.01211/0.2903, allocations: 5.139 MB / 484.1 MB, free: 3.121 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.2904, allocations: 8.031 kB / 484.1 MB, free: 3.113 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00478/0.2951, allocations: 0.9116 MB / 485 MB, free: 2.199 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005156/0.3003, allocations: 2.84 MB / 487.8 MB, free: 15.28 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002003/0.3005, allocations: 246.7 kB / 488.1 MB, free: 15.04 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005517/0.3011, allocations: 347.8 kB / 488.4 MB, free: 14.7 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007639/0.3087, allocations: 4.547 MB / 492.9 MB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.519e-05/0.3088, allocations: 7.953 kB / 492.9 MB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003396/0.3091, allocations: 136 kB / 493.1 MB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001679/0.3093, allocations: 150.7 kB / 493.2 MB, free: 9.82 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007035/0.3163, allocations: 3.918 MB / 497.1 MB, free: 5.895 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0226/0.3389, allocations: 14.05 MB / 0.4992 GB, free: 7.547 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008274/0.3472, allocations: 6.838 MB / 0.5059 GB, free: 15.91 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002939/0.3501, allocations: 1.579 MB / 0.5074 GB, free: 14.33 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00754/0.3577, allocations: 4.499 MB / 0.5118 GB, free: 9.684 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.527e-05/0.3577, allocations: 47.88 kB / 0.5119 GB, free: 9.629 MB / 430.1 MB Notification: Performance of pre-optimization done (n=165): time 3.116e-06/0.3577, allocations: 0 / 0.5119 GB, free: 9.629 MB / 430.1 MB Notification: Performance of matching and sorting (n=185): time 0.01685/0.3746, allocations: 7.814 MB / 0.5195 GB, free: 1.684 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.4e-05/0.3746, allocations: 69.41 kB / 0.5196 GB, free: 1.602 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003646/0.3782, allocations: 2.665 MB / 0.5222 GB, free: 14.91 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001393/0.3784, allocations: 57.7 kB / 0.5222 GB, free: 14.85 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001345/0.3797, allocations: 1.67 MB / 0.5239 GB, free: 13.16 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005588/0.3803, allocations: 0.6506 MB / 0.5245 GB, free: 12.51 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005709/0.3809, allocations: 343.4 kB / 0.5248 GB, free: 12.17 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.381, allocations: 309.1 kB / 0.5251 GB, free: 11.86 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001685/0.3827, allocations: 0.9058 MB / 0.526 GB, free: 10.96 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002004/0.3847, allocations: 1.31 MB / 0.5273 GB, free: 9.496 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003835/0.3885, allocations: 2.355 MB / 0.5296 GB, free: 6.996 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.209e-06/0.3885, allocations: 0 / 0.5296 GB, free: 6.996 MB / 446.1 MB Notification: Performance of matching and sorting (n=246) (initialization): time 0.005845/0.3944, allocations: 3.078 MB / 0.5326 GB, free: 3.902 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.321e-05/0.3944, allocations: 10.66 kB / 0.5326 GB, free: 3.895 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.125e-05/0.3944, allocations: 15.98 kB / 0.5326 GB, free: 3.879 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001518/0.3959, allocations: 0.5518 MB / 0.5331 GB, free: 3.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001859/0.3978, allocations: 435.3 kB / 0.5336 GB, free: 2.895 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1794/0.5772, allocations: 7.601 MB / 0.541 GB, free: 95.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00165/0.5788, allocations: 86.42 kB / 0.5411 GB, free: 95.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001457/0.579, allocations: 77.28 kB / 0.5411 GB, free: 95.25 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.001652/0.5806, allocations: 1.167 MB / 0.5423 GB, free: 94.66 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003826/0.581, allocations: 273.6 kB / 0.5425 GB, free: 94.66 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004654/0.5857, allocations: 2.861 MB / 0.5453 GB, free: 93.46 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.937e-05/0.5857, allocations: 8.719 kB / 0.5453 GB, free: 93.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.5857, allocations: 1.719 kB / 0.5453 GB, free: 93.46 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009029/0.5866, allocations: 0.5541 MB / 0.5459 GB, free: 93.21 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002979/0.5869, allocations: 43.47 kB / 0.5459 GB, free: 93.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001085/0.588, allocations: 83.83 kB / 0.546 GB, free: 93.16 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000225/0.5882, allocations: 165.4 kB / 0.5462 GB, free: 93.14 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005625/0.5938, allocations: 3.046 MB / 0.5491 GB, free: 92.05 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004355/0.5982, allocations: 3.645 MB / 0.5527 GB, free: 90.58 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001246/0.5994, allocations: 0.9768 MB / 0.5537 GB, free: 90.18 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001751/0.6012, allocations: 1.871 MB / 0.5555 GB, free: 89.5 MB / 446.1 MB Notification: Performance of Backend: time 3.01e-07/0.6012, allocations: 3.156 kB / 0.5555 GB, free: 89.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005263/0.6064, allocations: 2.552 MB / 0.558 GB, free: 88.47 MB / 446.1 MB Notification: Performance of SimCode: time 0.007916/0.6144, allocations: 7.722 MB / 0.5655 GB, free: 81.79 MB / 446.1 MB Notification: Performance of Templates: time 0.05153/0.6659, allocations: 44.25 MB / 0.6087 GB, free: 37.91 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.9266184833832085] 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.6731913089752197 0.681429255 0.401139812 Calling exit ...