Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.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.001865/0.001865, allocations: 106.8 kB / 21.19 MB, free: 0.6406 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.00227/0.00227, allocations: 214.8 kB / 24.49 MB, free: 3.934 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.441/1.441, allocations: 230.6 MB / 258.3 MB, free: 7.789 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.Electrical.Machines.Examples.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|PI.x|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|PI.x|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001593/0.001593, allocations: 51.92 kB / 379 MB, free: 2.426 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2176/0.2192, allocations: 53.36 MB / 432.4 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses): time 0.01197/0.2312, allocations: 8.619 MB / 441 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00684/0.238, allocations: 3.557 MB / 444.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008079/0.2388, allocations: 59.62 kB / 444.6 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001621/0.2404, allocations: 0.6595 MB / 445.3 MB, free: 9.781 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002115/0.2425, allocations: 0.9285 MB / 446.2 MB, free: 8.848 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009849/0.2435, allocations: 485.3 kB / 446.7 MB, free: 8.375 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002782/0.2463, allocations: 2.662 MB / 449.3 MB, free: 5.699 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001512/0.2478, allocations: 1.113 MB / 450.4 MB, free: 4.527 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00149/0.2493, allocations: 1.234 MB / 451.7 MB, free: 3.289 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001957/0.2513, allocations: 1.549 MB / 453.2 MB, free: 1.734 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004359/0.2517, allocations: 308 kB / 453.5 MB, free: 1.434 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001041/0.2527, allocations: 0.562 MB / 454.1 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001065/0.2538, allocations: 1.044 MB / 455.1 MB, free: 15.82 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001303/0.2551, allocations: 1.194 MB / 456.3 MB, free: 14.62 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004682/0.2598, allocations: 4.347 MB / 460.7 MB, free: 10.26 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2598, allocations: 0 / 460.7 MB, free: 10.26 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2598, allocations: 0 / 460.7 MB, free: 10.26 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.903e-05/0.2599, allocations: 0 / 460.7 MB, free: 10.26 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.006063/0.2659, allocations: 3.181 MB / 463.9 MB, free: 7.027 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.266, allocations: 8.031 kB / 463.9 MB, free: 7.02 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001099/0.2671, allocations: 374.9 kB / 464.2 MB, free: 6.652 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003225/0.2703, allocations: 1.669 MB / 465.9 MB, free: 4.945 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001351/0.2704, allocations: 148 kB / 466 MB, free: 4.797 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003562/0.2708, allocations: 215.9 kB / 466.3 MB, free: 4.586 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004885/0.2757, allocations: 2.791 MB / 469.1 MB, free: 1.691 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.912e-05/0.2757, allocations: 11.89 kB / 469.1 MB, free: 1.68 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002105/0.2759, allocations: 80 kB / 469.1 MB, free: 1.602 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001278/0.2761, allocations: 95.92 kB / 469.2 MB, free: 1.508 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004195/0.2803, allocations: 2.276 MB / 471.5 MB, free: 15.23 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01283/0.2931, allocations: 7.072 MB / 478.6 MB, free: 7.973 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002949/0.296, allocations: 1.318 MB / 479.9 MB, free: 6.652 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002033/0.2981, allocations: 1.023 MB / 480.9 MB, free: 5.633 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002169/0.2983, allocations: 40.97 kB / 481 MB, free: 5.594 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.091e-05/0.2983, allocations: 51.5 kB / 481 MB, free: 5.531 MB / 382.1 MB Notification: Performance of pre-optimization done (n=116): time 3.567e-06/0.2983, allocations: 0 / 481 MB, free: 5.531 MB / 382.1 MB Notification: Performance of matching and sorting (n=132): time 0.0134/0.3117, allocations: 6.086 MB / 487.1 MB, free: 15.4 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.507e-05/0.3118, allocations: 68.7 kB / 487.2 MB, free: 15.32 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002782/0.3146, allocations: 2.039 MB / 489.2 MB, free: 13.28 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001081/0.3147, allocations: 49.7 kB / 489.3 MB, free: 13.22 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009736/0.3156, allocations: 1.152 MB / 490.4 MB, free: 12.06 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005197/0.3162, allocations: 475.9 kB / 490.9 MB, free: 11.59 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005726/0.3167, allocations: 243.5 kB / 491.1 MB, free: 11.35 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002084/0.3169, allocations: 361.9 kB / 491.5 MB, free: 10.99 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001408/0.3184, allocations: 0.7574 MB / 492.2 MB, free: 10.23 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001612/0.32, allocations: 1.018 MB / 493.2 MB, free: 9.125 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003091/0.3231, allocations: 1.857 MB / 495.1 MB, free: 7.176 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.444e-06/0.3231, allocations: 8 kB / 495.1 MB, free: 7.168 MB / 398.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.005374/0.3284, allocations: 2.742 MB / 497.8 MB, free: 4.406 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/0.3285, allocations: 8 kB / 497.9 MB, free: 4.398 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-05/0.3285, allocations: 4.25 kB / 497.9 MB, free: 4.395 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00212/0.3306, allocations: 0.7889 MB / 498.6 MB, free: 3.602 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00118/0.3318, allocations: 267.6 kB / 498.9 MB, free: 3.34 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01295/0.3447, allocations: 9.244 MB / 0.4962 GB, free: 9.887 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001356/0.3461, allocations: 91.89 kB / 0.4963 GB, free: 9.797 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001383/0.3462, allocations: 51.98 kB / 0.4964 GB, free: 9.746 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (126): * Single equations (assignments): 122 * 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%), (6,33,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001287/0.3475, allocations: 0.7395 MB / 0.4971 GB, free: 8.996 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003832/0.3479, allocations: 194.7 kB / 0.4973 GB, free: 8.805 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004996/0.3529, allocations: 2.476 MB / 0.4997 GB, free: 6.309 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.639e-05/0.3529, allocations: 7.969 kB / 0.4997 GB, free: 6.301 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/0.3529, allocations: 4 kB / 0.4997 GB, free: 6.297 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001039/0.3539, allocations: 366.6 kB / 0.5001 GB, free: 5.938 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002362/0.3542, allocations: 27.98 kB / 0.5001 GB, free: 5.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009326/0.3551, allocations: 95.83 kB / 0.5002 GB, free: 5.816 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002679/0.3554, allocations: 121 kB / 0.5003 GB, free: 5.699 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005989/0.3614, allocations: 2.558 MB / 0.5028 GB, free: 3.117 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005166/0.3665, allocations: 3.08 MB / 0.5058 GB, free: 24 kB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001393/0.3679, allocations: 0.8027 MB / 0.5066 GB, free: 15.21 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002113/0.37, allocations: 1.431 MB / 0.508 GB, free: 13.79 MB / 430.1 MB Notification: Performance of Backend: time 3.71e-07/0.37, allocations: 0 / 0.508 GB, free: 13.79 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005933/0.376, allocations: 2.21 MB / 0.5101 GB, free: 11.77 MB / 430.1 MB Notification: Performance of SimCode: time 0.008379/0.3844, allocations: 5.498 MB / 0.5155 GB, free: 6.223 MB / 430.1 MB Notification: Performance of Templates: time 0.2312/0.6156, allocations: 35.57 MB / 0.5503 GB, free: 97.28 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.637450144000468] Failed to read output from testmodel.py, exit status != 0: ['time', 'PI.x', 'aimc.is[1]', 'aimc.is[2]', 'aimc.idq_rr[1]', 'aimc.idq_rr[2]', 'aimc.idq_sr[1]', 'aimc.idq_sr[2]', 'loadInertia.w', 'powerSensor.flange_a.phi'] 0.6231592250042013 0.632677662 0.370629468 Calling exit ...