Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001334/0.001334, allocations: 110.4 kB / 21.19 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001447/0.001447, allocations: 204.7 kB / 24.49 MB, free: 3.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.452/1.452, allocations: 230.6 MB / 258.3 MB, free: 7.785 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001552/0.001552, allocations: 47.92 kB / 379 MB, free: 2.434 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2055/0.207, allocations: 53.36 MB / 432.4 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.0161/0.2231, allocations: 12.51 MB / 444.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00899/0.2321, allocations: 5.083 MB / 450 MB, free: 5.066 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001147/0.2333, allocations: 107.4 kB / 450.1 MB, free: 4.961 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002462/0.2357, allocations: 1.052 MB / 451.1 MB, free: 3.906 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003364/0.2391, allocations: 1.468 MB / 452.6 MB, free: 2.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002209/0.2413, allocations: 0.9988 MB / 453.6 MB, free: 1.434 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004674/0.246, allocations: 4.382 MB / 458 MB, free: 13.03 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002529/0.2485, allocations: 1.861 MB / 459.8 MB, free: 11.1 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00244/0.2509, allocations: 2.08 MB / 461.9 MB, free: 9.016 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003073/0.254, allocations: 2.441 MB / 464.4 MB, free: 6.566 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007309/0.2547, allocations: 0.5312 MB / 464.9 MB, free: 6.035 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001628/0.2564, allocations: 0.9174 MB / 465.8 MB, free: 5.117 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00129/0.2577, allocations: 1.375 MB / 467.2 MB, free: 3.738 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00198/0.2596, allocations: 1.863 MB / 469 MB, free: 1.867 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00757/0.2672, allocations: 7.436 MB / 476.5 MB, free: 10.41 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.2672, allocations: 8 kB / 476.5 MB, free: 10.4 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2672, allocations: 0 / 476.5 MB, free: 10.4 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.348e-05/0.2673, allocations: 0 / 476.5 MB, free: 10.4 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.01124/0.2785, allocations: 5.055 MB / 481.5 MB, free: 5.281 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.2786, allocations: 8.031 kB / 481.6 MB, free: 5.273 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004866/0.2834, allocations: 0.9116 MB / 482.5 MB, free: 4.359 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005265/0.2887, allocations: 2.756 MB / 485.2 MB, free: 1.535 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002183/0.2889, allocations: 254.6 kB / 485.5 MB, free: 1.285 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005637/0.2895, allocations: 335.9 kB / 485.8 MB, free: 0.957 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008082/0.2976, allocations: 4.702 MB / 490.5 MB, free: 12.17 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.877e-05/0.2976, allocations: 7.953 kB / 490.5 MB, free: 12.16 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003488/0.298, allocations: 140 kB / 490.6 MB, free: 12.03 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001777/0.2982, allocations: 158.6 kB / 490.8 MB, free: 11.87 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007074/0.3052, allocations: 3.907 MB / 494.7 MB, free: 7.957 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02087/0.3261, allocations: 12.11 MB / 0.4949 GB, free: 11.56 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006525/0.3326, allocations: 2.971 MB / 0.4978 GB, free: 8.727 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003045/0.3357, allocations: 1.564 MB / 0.4994 GB, free: 7.168 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007521/0.3432, allocations: 3.61 MB / 0.5029 GB, free: 3.531 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.873e-05/0.3432, allocations: 51.88 kB / 0.5029 GB, free: 3.473 MB / 414.1 MB Notification: Performance of pre-optimization done (n=165): time 3.987e-06/0.3432, allocations: 0 / 0.5029 GB, free: 3.473 MB / 414.1 MB Notification: Performance of matching and sorting (n=185): time 0.01734/0.3606, allocations: 7.418 MB / 0.5102 GB, free: 12.01 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.106e-05/0.3606, allocations: 81.41 kB / 0.5103 GB, free: 11.92 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003365/0.364, allocations: 2.46 MB / 0.5127 GB, free: 9.426 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001309/0.3641, allocations: 57.7 kB / 0.5127 GB, free: 9.363 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001354/0.3655, allocations: 1.684 MB / 0.5144 GB, free: 7.66 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005738/0.3661, allocations: 0.6506 MB / 0.515 GB, free: 7.004 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006035/0.3667, allocations: 339.4 kB / 0.5153 GB, free: 6.668 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.3668, allocations: 305.1 kB / 0.5156 GB, free: 6.367 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001718/0.3685, allocations: 0.9135 MB / 0.5165 GB, free: 5.453 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002062/0.3706, allocations: 1.331 MB / 0.5178 GB, free: 3.965 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003903/0.3745, allocations: 2.359 MB / 0.5201 GB, free: 1.461 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.646e-06/0.3745, allocations: 4 kB / 0.5201 GB, free: 1.457 MB / 430.1 MB Notification: Performance of matching and sorting (n=246) (initialization): time 0.005835/0.3803, allocations: 3.054 MB / 0.5231 GB, free: 14.39 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.346e-05/0.3803, allocations: 8 kB / 0.5231 GB, free: 14.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.834e-05/0.3804, allocations: 12 kB / 0.5231 GB, free: 14.37 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001589/0.382, allocations: 0.5519 MB / 0.5237 GB, free: 13.81 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001924/0.3839, allocations: 423.3 kB / 0.5241 GB, free: 13.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01024/0.3941, allocations: 7.231 MB / 0.5311 GB, free: 5.961 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00126/0.3954, allocations: 91.83 kB / 0.5312 GB, free: 5.871 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001666/0.3955, allocations: 75.98 kB / 0.5313 GB, free: 5.797 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.001822/0.3974, allocations: 1.157 MB / 0.5324 GB, free: 4.629 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004295/0.3978, allocations: 262.3 kB / 0.5327 GB, free: 4.371 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005754/0.4036, allocations: 2.853 MB / 0.5354 GB, free: 1.488 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.279e-05/0.4036, allocations: 11.91 kB / 0.5355 GB, free: 1.477 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/0.4036, allocations: 0 / 0.5355 GB, free: 1.477 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001101/0.4047, allocations: 474.2 kB / 0.5359 GB, free: 1.012 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000291/0.405, allocations: 40 kB / 0.5359 GB, free: 0.9727 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001092/0.4061, allocations: 79.94 kB / 0.536 GB, free: 0.8945 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000301/0.4064, allocations: 165.6 kB / 0.5362 GB, free: 0.7344 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.1712/0.5776, allocations: 3.017 MB / 0.5391 GB, free: 99.59 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005318/0.5829, allocations: 3.627 MB / 0.5427 GB, free: 98.12 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001325/0.5842, allocations: 0.9828 MB / 0.5436 GB, free: 97.72 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001858/0.5861, allocations: 1.71 MB / 0.5453 GB, free: 97.1 MB / 446.1 MB Notification: Performance of Backend: time 2.5e-07/0.5861, allocations: 0 / 0.5453 GB, free: 97.1 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005786/0.5919, allocations: 2.596 MB / 0.5478 GB, free: 96.09 MB / 446.1 MB Notification: Performance of SimCode: time 0.008203/0.6001, allocations: 7.569 MB / 0.5552 GB, free: 91.1 MB / 446.1 MB Notification: Performance of Templates: time 0.0543/0.6544, allocations: 46.51 MB / 0.6006 GB, free: 46.24 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.156029265999678] 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.661802558999625 0.670781195 0.401308569 Calling exit ...