Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_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.001775/0.001775, allocations: 112.1 kB / 20.89 MB, free: 0.9648 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.002065/0.002065, allocations: 198.9 kB / 24.13 MB, free: 4.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.371/1.371, allocations: 207.6 MB / 234.8 MB, free: 11.05 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_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_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_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_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001709/0.001709, allocations: 51.92 kB / 347 MB, free: 10.08 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.224/0.2258, allocations: 49.11 MB / 396.1 MB, free: 9.812 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses): time 0.009151/0.2349, allocations: 9.717 MB / 405.8 MB, free: 2.93 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005236/0.2401, allocations: 3.507 MB / 409.3 MB, free: 416 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007737/0.2409, allocations: 44.69 kB / 409.4 MB, free: 400 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001463/0.2424, allocations: 0.7158 MB / 410.1 MB, free: 8 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002003/0.2444, allocations: 0.8675 MB / 410.9 MB, free: 15.46 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001011/0.2454, allocations: 452.2 kB / 411.4 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002849/0.2482, allocations: 2.673 MB / 414.1 MB, free: 13.74 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001442/0.2497, allocations: 1.067 MB / 415.1 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00158/0.2513, allocations: 1.184 MB / 416.3 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002134/0.2534, allocations: 1.538 MB / 417.8 MB, free: 11.31 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004216/0.2538, allocations: 309.6 kB / 418.2 MB, free: 11.31 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001082/0.2549, allocations: 0.5836 MB / 418.7 MB, free: 11.14 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00109/0.256, allocations: 1.04 MB / 419.8 MB, free: 10.39 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001619/0.2576, allocations: 1.484 MB / 421.3 MB, free: 9.312 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004865/0.2625, allocations: 4.297 MB / 425.6 MB, free: 6.156 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.2625, allocations: 5.281 kB / 425.6 MB, free: 6.152 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.2625, allocations: 0 / 425.6 MB, free: 6.152 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.959e-05/0.2625, allocations: 0 / 425.6 MB, free: 6.152 MB / 334.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.006206/0.2687, allocations: 3.236 MB / 428.8 MB, free: 3.012 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.2688, allocations: 12.03 kB / 428.8 MB, free: 3 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007959/0.2696, allocations: 338.9 kB / 429.1 MB, free: 2.668 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002626/0.2722, allocations: 1.625 MB / 430.8 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001412/0.2724, allocations: 155.9 kB / 430.9 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003716/0.2727, allocations: 208 kB / 431.1 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004811/0.2775, allocations: 2.69 MB / 433.8 MB, free: 13.86 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.633e-05/0.2776, allocations: 7.953 kB / 433.8 MB, free: 13.85 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002093/0.2778, allocations: 83.91 kB / 433.9 MB, free: 13.77 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001251/0.2779, allocations: 99.92 kB / 434 MB, free: 13.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004238/0.2822, allocations: 2.276 MB / 436.3 MB, free: 11.4 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01316/0.2953, allocations: 8.16 MB / 444.4 MB, free: 3.039 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003074/0.2984, allocations: 1.552 MB / 446 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002051/0.3004, allocations: 1.027 MB / 447 MB, free: 400 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002681/0.3007, allocations: 130 kB / 447.1 MB, free: 252 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.48e-05/0.3008, allocations: 47.5 kB / 447.2 MB, free: 196 kB / 350.1 MB Notification: Performance of pre-optimization done (n=116): time 3.607e-06/0.3008, allocations: 0 / 447.2 MB, free: 196 kB / 350.1 MB Notification: Performance of matching and sorting (n=132): time 0.0136/0.3144, allocations: 6.237 MB / 453.4 MB, free: 9.859 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.777e-05/0.3144, allocations: 64.72 kB / 453.5 MB, free: 9.785 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003413/0.3178, allocations: 2.152 MB / 455.6 MB, free: 7.586 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001798/0.318, allocations: 45.7 kB / 455.7 MB, free: 7.535 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001029/0.319, allocations: 1.137 MB / 456.8 MB, free: 6.387 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004894/0.3195, allocations: 475.9 kB / 457.3 MB, free: 5.918 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004692/0.32, allocations: 243.5 kB / 457.5 MB, free: 5.676 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002163/0.3202, allocations: 361.9 kB / 457.9 MB, free: 5.316 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001448/0.3217, allocations: 0.7574 MB / 458.6 MB, free: 4.559 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0016/0.3233, allocations: 1.009 MB / 459.6 MB, free: 3.461 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003137/0.3264, allocations: 1.861 MB / 461.5 MB, free: 1.508 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.018e-05/0.3264, allocations: 7.938 kB / 461.5 MB, free: 1.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.005631/0.332, allocations: 2.746 MB / 464.3 MB, free: 14.73 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.783e-05/0.3321, allocations: 8 kB / 464.3 MB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.341e-05/0.3321, allocations: 4 kB / 464.3 MB, free: 14.72 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002152/0.3342, allocations: 0.7892 MB / 465.1 MB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001182/0.3354, allocations: 275.5 kB / 465.3 MB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01345/0.3489, allocations: 9.593 MB / 474.9 MB, free: 3.777 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001426/0.3503, allocations: 99.97 kB / 475 MB, free: 3.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001422/0.3504, allocations: 51.98 kB / 475.1 MB, free: 3.629 MB / 382.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.001431/0.3519, allocations: 0.7473 MB / 475.8 MB, free: 2.871 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000425/0.3523, allocations: 214.6 kB / 476 MB, free: 2.66 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004957/0.3572, allocations: 2.473 MB / 478.5 MB, free: 168 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.652e-05/0.3573, allocations: 7.969 kB / 478.5 MB, free: 160 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.3573, allocations: 0 / 478.5 MB, free: 160 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009223/0.3582, allocations: 459.5 kB / 479 MB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002317/0.3584, allocations: 24 kB / 479 MB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009526/0.3594, allocations: 91.88 kB / 479.1 MB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002501/0.3596, allocations: 117.1 kB / 479.2 MB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006013/0.3656, allocations: 2.581 MB / 481.8 MB, free: 12.86 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005381/0.371, allocations: 3.103 MB / 484.9 MB, free: 9.738 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001451/0.3725, allocations: 0.8065 MB / 485.7 MB, free: 8.934 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002428/0.3749, allocations: 1.515 MB / 487.2 MB, free: 7.395 MB / 398.1 MB Notification: Performance of Backend: time 2.6e-07/0.3749, allocations: 0 / 487.2 MB, free: 7.395 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00604/0.3809, allocations: 2.132 MB / 489.3 MB, free: 5.223 MB / 398.1 MB Notification: Performance of SimCode: time 0.009221/0.3902, allocations: 5.565 MB / 494.9 MB, free: 15.59 MB / 414.1 MB Notification: Performance of Templates: time 0.05763/0.4478, allocations: 33.25 MB / 0.5158 GB, free: 14.28 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.40984232199844] 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.45608824596274644 0.47073712 0.20511053 Calling exit ...