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.001645/0.001645, allocations: 107.3 kB / 21.23 MB, free: 448 kB / 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.001646/0.001646, allocations: 203.2 kB / 24.52 MB, free: 3.613 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.417/1.417, allocations: 225.7 MB / 253.3 MB, free: 12.78 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.001567/0.001567, allocations: 51.92 kB / 371.8 MB, free: 9.082 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.21/0.2116, allocations: 52.19 MB / 424 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.01562/0.2272, allocations: 11.94 MB / 435.9 MB, free: 2.414 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009014/0.2363, allocations: 4.712 MB / 440.6 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001665/0.2379, allocations: 99.44 kB / 440.7 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002539/0.2405, allocations: 1.029 MB / 441.7 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003504/0.244, allocations: 1.449 MB / 443.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002105/0.2461, allocations: 0.9551 MB / 444.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004594/0.2507, allocations: 4.302 MB / 448.4 MB, free: 5.828 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002501/0.2532, allocations: 1.771 MB / 450.2 MB, free: 3.988 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002511/0.2557, allocations: 2.076 MB / 452.3 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002939/0.2586, allocations: 2.175 MB / 454.5 MB, free: 15.72 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007283/0.2593, allocations: 0.539 MB / 455 MB, free: 15.18 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001589/0.2609, allocations: 0.89 MB / 455.9 MB, free: 14.29 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001286/0.2622, allocations: 1.367 MB / 457.3 MB, free: 12.92 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002006/0.2642, allocations: 1.855 MB / 459.1 MB, free: 11.06 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007544/0.2718, allocations: 7.397 MB / 466.5 MB, free: 3.637 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.2718, allocations: 0 / 466.5 MB, free: 3.637 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2718, allocations: 0 / 466.5 MB, free: 3.637 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.336e-05/0.2719, allocations: 0 / 466.5 MB, free: 3.637 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.01191/0.2838, allocations: 5.014 MB / 471.5 MB, free: 14.56 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.2838, allocations: 8.031 kB / 471.5 MB, free: 14.55 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004602/0.2884, allocations: 0.896 MB / 472.4 MB, free: 13.65 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005757/0.2942, allocations: 2.721 MB / 475.2 MB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002353/0.2944, allocations: 262.6 kB / 475.4 MB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005961/0.295, allocations: 335.9 kB / 475.7 MB, free: 10.28 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008277/0.3033, allocations: 4.694 MB / 480.4 MB, free: 5.5 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.562e-05/0.3033, allocations: 15.89 kB / 480.4 MB, free: 5.484 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003579/0.3037, allocations: 136 kB / 480.6 MB, free: 5.352 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001802/0.3039, allocations: 158.6 kB / 480.7 MB, free: 5.195 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007226/0.3111, allocations: 3.903 MB / 484.6 MB, free: 1.285 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02186/0.333, allocations: 12.1 MB / 496.7 MB, free: 4.902 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00652/0.3395, allocations: 2.967 MB / 499.7 MB, free: 2.082 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003027/0.3425, allocations: 1.571 MB / 0.4895 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007351/0.3499, allocations: 3.583 MB / 0.493 GB, free: 12.9 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.125e-05/0.3499, allocations: 51.88 kB / 0.4931 GB, free: 12.84 MB / 414.1 MB Notification: Performance of pre-optimization done (n=165): time 4.428e-06/0.3499, allocations: 0 / 0.4931 GB, free: 12.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=185): time 0.01728/0.3672, allocations: 7.4 MB / 0.5003 GB, free: 5.406 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.821e-05/0.3673, allocations: 69.41 kB / 0.5004 GB, free: 5.324 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003387/0.3706, allocations: 2.422 MB / 0.5027 GB, free: 2.867 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000135/0.3708, allocations: 57.7 kB / 0.5028 GB, free: 2.805 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00133/0.3721, allocations: 1.665 MB / 0.5044 GB, free: 1.121 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005632/0.3727, allocations: 0.6468 MB / 0.505 GB, free: 480 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005829/0.3733, allocations: 335.4 kB / 0.5054 GB, free: 140 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.3734, allocations: 313.1 kB / 0.5057 GB, free: 15.83 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001691/0.3751, allocations: 0.9058 MB / 0.5065 GB, free: 14.92 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002045/0.3771, allocations: 1.327 MB / 0.5078 GB, free: 13.44 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003921/0.381, allocations: 2.359 MB / 0.5101 GB, free: 10.93 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.516e-06/0.3811, allocations: 4 kB / 0.5101 GB, free: 10.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=246) (initialization): time 0.005883/0.3869, allocations: 3.043 MB / 0.5131 GB, free: 7.871 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.378e-05/0.387, allocations: 14.53 kB / 0.5131 GB, free: 7.859 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.861e-05/0.387, allocations: 12 kB / 0.5131 GB, free: 7.848 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001573/0.3886, allocations: 0.5438 MB / 0.5137 GB, free: 7.297 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001897/0.3905, allocations: 431.3 kB / 0.5141 GB, free: 6.875 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01031/0.4008, allocations: 7.223 MB / 0.5211 GB, free: 15.44 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001431/0.4022, allocations: 92 kB / 0.5212 GB, free: 15.35 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001606/0.4023, allocations: 75.98 kB / 0.5213 GB, free: 15.28 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.001956/0.4043, allocations: 1.157 MB / 0.5224 GB, free: 14.11 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004415/0.4047, allocations: 254.3 kB / 0.5227 GB, free: 13.86 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005725/0.4105, allocations: 2.837 MB / 0.5254 GB, free: 11 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-05/0.4105, allocations: 23.83 kB / 0.5255 GB, free: 10.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.578e-06/0.4105, allocations: 3.984 kB / 0.5255 GB, free: 10.97 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001183/0.4117, allocations: 462.2 kB / 0.5259 GB, free: 10.52 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002805/0.412, allocations: 43.98 kB / 0.526 GB, free: 10.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001115/0.4131, allocations: 79.94 kB / 0.526 GB, free: 10.4 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003142/0.4134, allocations: 165.6 kB / 0.5262 GB, free: 10.24 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00719/0.4206, allocations: 3.028 MB / 0.5291 GB, free: 7.188 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006144/0.4267, allocations: 3.619 MB / 0.5327 GB, free: 3.555 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001695/0.4284, allocations: 0.9799 MB / 0.5336 GB, free: 2.574 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002562/0.431, allocations: 1.682 MB / 0.5353 GB, free: 0.875 MB / 446.1 MB Notification: Performance of Backend: time 2.81e-07/0.431, allocations: 4 kB / 0.5353 GB, free: 0.8711 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.1678/0.5988, allocations: 2.549 MB / 0.5378 GB, free: 112.8 MB / 446.1 MB Notification: Performance of SimCode: time 0.01004/0.6088, allocations: 7.531 MB / 0.5451 GB, free: 109.6 MB / 446.1 MB Notification: Performance of Templates: time 0.05466/0.6635, allocations: 44.99 MB / 0.5891 GB, free: 69.02 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.142256634077057] 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.6712245200760663 0.680533383 0.40643550300000003 Calling exit ...