Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.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.00127/0.00127, allocations: 112.2 kB / 21.19 MB, free: 0.7734 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: 210.1 kB / 24.49 MB, free: 4.156 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.413/1.413, allocations: 230.6 MB / 258.3 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1813/0.1813, allocations: 38.52 MB / 353.2 MB, free: 12.56 MB / 286.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) 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(PowerSystems.Examples.AC3ph.Elementary.Machines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines") translateModel(PowerSystems.Examples.AC3ph.Elementary.Machines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines") [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002043/0.002043, allocations: 67.89 kB / 493.8 MB, free: 4.406 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3265/0.3286, allocations: 62.47 MB / 0.5432 GB, free: 0.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Machines): time 0.007598/0.3362, allocations: 5.57 MB / 0.5487 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006843/0.343, allocations: 4.228 MB / 0.5528 GB, free: 8.934 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005135/0.3435, allocations: 24.12 kB / 0.5528 GB, free: 8.922 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01133/0.3549, allocations: 5.488 MB / 0.5582 GB, free: 5.164 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001098/0.3559, allocations: 338.4 kB / 0.5585 GB, free: 4.832 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007314/0.3567, allocations: 259.4 kB / 0.5588 GB, free: 4.578 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002644/0.3593, allocations: 1.649 MB / 0.5604 GB, free: 2.926 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005835/0.3599, allocations: 328.3 kB / 0.5607 GB, free: 2.598 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005567/0.3605, allocations: 386.6 kB / 0.561 GB, free: 2.219 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006861/0.3612, allocations: 482.2 kB / 0.5615 GB, free: 1.746 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.31e-05/0.3612, allocations: 48 kB / 0.5615 GB, free: 1.699 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002966/0.3615, allocations: 131.8 kB / 0.5617 GB, free: 1.57 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003792/0.3619, allocations: 283.2 kB / 0.5619 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003563/0.3623, allocations: 322.3 kB / 0.5623 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001106/0.3634, allocations: 0.747 MB / 0.563 GB, free: 232 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.3634, allocations: 0 / 0.563 GB, free: 232 kB / 398.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.3634, allocations: 0 / 0.563 GB, free: 232 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.088e-05/0.3634, allocations: 0 / 0.563 GB, free: 232 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.00194/0.3653, allocations: 0.8569 MB / 0.5638 GB, free: 15.34 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.974e-05/0.3654, allocations: 15.98 kB / 0.5638 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000478/0.3659, allocations: 92.47 kB / 0.5639 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00113/0.367, allocations: 496.5 kB / 0.5644 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.417e-05/0.367, allocations: 36.98 kB / 0.5644 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.964e-05/0.3671, allocations: 48 kB / 0.5645 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001056/0.3682, allocations: 0.6492 MB / 0.5651 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.9e-05/0.3682, allocations: 11.92 kB / 0.5651 GB, free: 13.94 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.094e-05/0.3683, allocations: 20 kB / 0.5651 GB, free: 13.92 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001374/0.3684, allocations: 48.97 kB / 0.5652 GB, free: 13.87 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007962/0.3692, allocations: 495.6 kB / 0.5657 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003771/0.373, allocations: 2.447 MB / 0.568 GB, free: 10.81 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005295/0.3735, allocations: 299.5 kB / 0.5683 GB, free: 10.49 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002624/0.3738, allocations: 170.5 kB / 0.5685 GB, free: 10.32 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.382e-05/0.3738, allocations: 7.938 kB / 0.5685 GB, free: 10.31 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.073e-05/0.3738, allocations: 38.56 kB / 0.5685 GB, free: 10.26 MB / 414.1 MB Notification: Performance of pre-optimization done (n=32): time 2.124e-06/0.3738, allocations: 0 / 0.5685 GB, free: 10.26 MB / 414.1 MB Notification: Performance of matching and sorting (n=33): time 0.002534/0.3764, allocations: 1.278 MB / 0.5698 GB, free: 8.941 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.168e-05/0.3764, allocations: 114.7 kB / 0.5699 GB, free: 8.805 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005115/0.377, allocations: 429.8 kB / 0.5703 GB, free: 8.379 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.797e-05/0.377, allocations: 29.7 kB / 0.5703 GB, free: 8.344 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000292/0.3773, allocations: 308.2 kB / 0.5706 GB, free: 8.039 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000121/0.3774, allocations: 130.9 kB / 0.5708 GB, free: 7.91 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001502/0.3776, allocations: 90.22 kB / 0.5708 GB, free: 7.816 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001804/0.3777, allocations: 362.7 kB / 0.5712 GB, free: 7.453 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002783/0.378, allocations: 164.9 kB / 0.5713 GB, free: 7.293 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003823/0.3784, allocations: 305.2 kB / 0.5716 GB, free: 6.934 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007046/0.3791, allocations: 487.7 kB / 0.5721 GB, free: 6.398 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.905e-06/0.3791, allocations: 8 kB / 0.5721 GB, free: 6.391 MB / 414.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001375/0.3805, allocations: 0.7167 MB / 0.5728 GB, free: 5.66 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.3805, allocations: 7.984 kB / 0.5728 GB, free: 5.652 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.3805, allocations: 4 kB / 0.5728 GB, free: 5.648 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006739/0.3812, allocations: 205.5 kB / 0.573 GB, free: 5.441 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003229/0.3815, allocations: 75.83 kB / 0.5731 GB, free: 5.367 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005177/0.3867, allocations: 4.022 MB / 0.577 GB, free: 1.121 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003409/0.387, allocations: 19.92 kB / 0.577 GB, free: 1.102 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.127e-05/0.3871, allocations: 20 kB / 0.5771 GB, free: 1.082 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * Array equations: 0 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0003633/0.3874, allocations: 229.6 kB / 0.5773 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001031/0.3875, allocations: 51.67 kB / 0.5773 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009545/0.3885, allocations: 499 kB / 0.5778 GB, free: 308 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.203e-06/0.3885, allocations: 4 kB / 0.5778 GB, free: 304 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.3885, allocations: 4.031 kB / 0.5778 GB, free: 300 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.227e-06/0.3885, allocations: 7.984 kB / 0.5778 GB, free: 292 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001799/0.3903, allocations: 1.02 MB / 0.5788 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.3903, allocations: 0 / 0.5788 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004375/0.3908, allocations: 75.89 kB / 0.5789 GB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001623/0.3909, allocations: 49.67 kB / 0.5789 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.089e-05/0.3909, allocations: 12 kB / 0.5789 GB, free: 15.06 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002297/0.3932, allocations: 2.64 MB / 0.5815 GB, free: 12.19 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.3932, allocations: 0 / 0.5815 GB, free: 12.19 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0012/0.3944, allocations: 0.8026 MB / 0.5823 GB, free: 11.36 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001848/0.3946, allocations: 79.56 kB / 0.5824 GB, free: 11.28 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.607e-05/0.3947, allocations: 8 kB / 0.5824 GB, free: 11.27 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002567/0.3949, allocations: 11.98 kB / 0.5824 GB, free: 11.26 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.201e-05/0.395, allocations: 23.95 kB / 0.5824 GB, free: 11.23 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.003e-05/0.395, allocations: 16 kB / 0.5824 GB, free: 11.22 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003463/0.3954, allocations: 295.1 kB / 0.5827 GB, free: 10.93 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3954, allocations: 0 / 0.5827 GB, free: 10.93 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006197/0.396, allocations: 135.9 kB / 0.5828 GB, free: 10.8 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 7 (asynchron.i[3],asynchron.phi_el,asynchron.psi_s[1],asynchron.psi_s[2],asynchron.psi_rd[1],asynchron.psi_rq[1],rotor.w) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001532/0.3962, allocations: 110 kB / 0.583 GB, free: 10.68 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001469/0.3976, allocations: 0.7238 MB / 0.5837 GB, free: 9.934 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.3976, allocations: 0 / 0.5837 GB, free: 9.934 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005708/0.3982, allocations: 414 kB / 0.5841 GB, free: 9.504 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007468/0.3989, allocations: 109.8 kB / 0.5842 GB, free: 9.395 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002552/0.4015, allocations: 1.575 MB / 0.5857 GB, free: 7.773 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000624/0.4021, allocations: 0.9366 MB / 0.5866 GB, free: 6.809 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001406/0.4023, allocations: 47.42 kB / 0.5867 GB, free: 6.762 MB / 430.1 MB Notification: Performance of SimCode: time 8.01e-07/0.4023, allocations: 0 / 0.5867 GB, free: 6.762 MB / 430.1 MB Notification: Performance of Templates: time 0.01666/0.4189, allocations: 11.36 MB / 0.5977 GB, free: 11.41 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.653019770048559] Failed to read output from testmodel.py, exit status != 0: 0.42813965305685997 0.44231810099999996 0.07567011 Calling exit ...