Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.Display.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.001356/0.001356, allocations: 103.6 kB / 21.19 MB, free: 0.5156 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.001745/0.001745, allocations: 209.2 kB / 24.48 MB, free: 3.836 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.513/1.513, allocations: 230.6 MB / 258.2 MB, free: 7.812 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.2026/0.2026, allocations: 38.56 MB / 353.2 MB, free: 12.34 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.Introductory.Display,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Display") translateModel(PowerSystems.Examples.Introductory.Display,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Display") [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.002427/0.002427, allocations: 63.91 kB / 493.7 MB, free: 4.246 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3295/0.3319, allocations: 62.47 MB / 0.5432 GB, free: 420 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Display): time 0.008473/0.3404, allocations: 6.325 MB / 0.5493 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003836/0.3442, allocations: 1.921 MB / 0.5512 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004593/0.3447, allocations: 30.81 kB / 0.5512 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001983/0.3467, allocations: 0.7073 MB / 0.5519 GB, free: 9.535 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001548/0.3482, allocations: 0.5802 MB / 0.5525 GB, free: 9.078 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007483/0.349, allocations: 253.1 kB / 0.5527 GB, free: 8.887 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00139/0.3504, allocations: 1.141 MB / 0.5538 GB, free: 8.254 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007373/0.3511, allocations: 480.9 kB / 0.5543 GB, free: 7.945 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009036/0.352, allocations: 0.5303 MB / 0.5548 GB, free: 7.637 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001034/0.353, allocations: 0.6316 MB / 0.5554 GB, free: 7.27 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001283/0.3532, allocations: 67.91 kB / 0.5555 GB, free: 7.27 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006176/0.3538, allocations: 288.8 kB / 0.5558 GB, free: 7.152 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005208/0.3543, allocations: 486.8 kB / 0.5562 GB, free: 6.797 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004986/0.3548, allocations: 410.1 kB / 0.5566 GB, free: 6.395 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001485/0.3563, allocations: 1.195 MB / 0.5578 GB, free: 5.195 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.3563, allocations: 3.984 kB / 0.5578 GB, free: 5.191 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.3563, allocations: 0 / 0.5578 GB, free: 5.191 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.806e-05/0.3563, allocations: 0 / 0.5578 GB, free: 5.191 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.002217/0.3585, allocations: 1.166 MB / 0.5589 GB, free: 3.988 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.3586, allocations: 11.98 kB / 0.559 GB, free: 3.977 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009662/0.3595, allocations: 164.2 kB / 0.5591 GB, free: 3.816 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00131/0.3608, allocations: 0.5626 MB / 0.5597 GB, free: 3.227 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.572e-05/0.3609, allocations: 62.38 kB / 0.5597 GB, free: 3.164 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002416/0.3612, allocations: 108 kB / 0.5598 GB, free: 3.059 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001857/0.363, allocations: 1.153 MB / 0.561 GB, free: 1.852 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.36e-05/0.3631, allocations: 7.938 kB / 0.561 GB, free: 1.844 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.114e-05/0.3631, allocations: 43.97 kB / 0.561 GB, free: 1.801 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001876/0.3633, allocations: 85.95 kB / 0.5611 GB, free: 1.715 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001755/0.3651, allocations: 0.9912 MB / 0.5621 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00576/0.3708, allocations: 3.752 MB / 0.5657 GB, free: 12.81 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00122/0.3721, allocations: 0.595 MB / 0.5663 GB, free: 12.2 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004966/0.3726, allocations: 280.6 kB / 0.5666 GB, free: 11.92 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.624e-05/0.3726, allocations: 4.5 kB / 0.5666 GB, free: 11.91 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4e-05/0.3726, allocations: 46.98 kB / 0.5666 GB, free: 11.86 MB / 414.1 MB Notification: Performance of pre-optimization done (n=63): time 2.976e-06/0.3726, allocations: 0 / 0.5666 GB, free: 11.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=64): time 0.003228/0.3759, allocations: 1.681 MB / 0.5683 GB, free: 10.14 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.322e-05/0.3759, allocations: 85.7 kB / 0.5683 GB, free: 10.04 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007002/0.3766, allocations: 0.5533 MB / 0.5689 GB, free: 9.477 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.243e-05/0.3767, allocations: 41.7 kB / 0.5689 GB, free: 9.43 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004453/0.3771, allocations: 456 kB / 0.5694 GB, free: 8.977 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002799/0.3774, allocations: 234.1 kB / 0.5696 GB, free: 8.746 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003597/0.3778, allocations: 182.5 kB / 0.5697 GB, free: 8.562 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002544/0.378, allocations: 378.8 kB / 0.5701 GB, free: 8.184 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007246/0.3788, allocations: 285.8 kB / 0.5704 GB, free: 7.902 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00116/0.3799, allocations: 0.6154 MB / 0.571 GB, free: 7.141 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001992/0.3819, allocations: 0.9749 MB / 0.5719 GB, free: 6.016 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.798e-06/0.3819, allocations: 4 kB / 0.5719 GB, free: 6.012 MB / 414.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.003331/0.3852, allocations: 1.159 MB / 0.5731 GB, free: 4.836 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.145e-05/0.3853, allocations: 15.98 kB / 0.5731 GB, free: 4.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002007/0.3873, allocations: 0.7145 MB / 0.5738 GB, free: 4.098 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001012/0.3883, allocations: 218.4 kB / 0.574 GB, free: 3.875 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001116/0.3894, allocations: 223.6 kB / 0.5742 GB, free: 3.656 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007617/0.397, allocations: 4.955 MB / 0.579 GB, free: 14.39 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008794/0.3979, allocations: 47.86 kB / 0.5791 GB, free: 14.35 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001492/0.3981, allocations: 40 kB / 0.5791 GB, free: 14.31 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 33 (system.initime,phasor_cap.color_n[3],phasor_cap.color_n[1],phasor_cap.color_p[3],phasor_cap.color_p[1],phasor_ind.color_n[3],phasor_ind.color_n[1],phasor_ind.color_p[3],phasor_ind.color_p[1],phasor_cap.color2[3],phasor_cap.color2[2],phasor_cap.color2[1],phasor_cap.color1[3],phasor_cap.color1[2],phasor_cap.color1[1],phasor_cap.colorR[3],phasor_cap.colorR[2],phasor_cap.colorR[1],phasor_cap.colorL[3],phasor_cap.colorL[2],phasor_cap.colorL[1],phasor_ind.color2[3],phasor_ind.color2[2],phasor_ind.color2[1],phasor_ind.color1[3],phasor_ind.color1[2],phasor_ind.color1[1],phasor_ind.colorR[3],phasor_ind.colorR[2],phasor_ind.colorR[1],phasor_ind.colorL[3],phasor_ind.colorL[2],phasor_ind.colorL[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (2,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007475/0.3988, allocations: 357.6 kB / 0.5795 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002007/0.399, allocations: 63.58 kB / 0.5795 GB, free: 13.89 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00174/0.4008, allocations: 0.6559 MB / 0.5802 GB, free: 13.22 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.448e-06/0.4008, allocations: 8 kB / 0.5802 GB, free: 13.21 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.4008, allocations: 0 / 0.5802 GB, free: 13.21 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.403e-05/0.4008, allocations: 7.938 kB / 0.5802 GB, free: 13.2 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003682/0.4045, allocations: 1.323 MB / 0.5815 GB, free: 11.83 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.4045, allocations: 4 kB / 0.5815 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001146/0.4056, allocations: 175.9 kB / 0.5816 GB, free: 11.65 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.688e-05/0.4056, allocations: 15.88 kB / 0.5817 GB, free: 11.64 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.017e-05/0.4057, allocations: 19.98 kB / 0.5817 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.137e-06/0.4057, allocations: 4 kB / 0.5817 GB, free: 11.61 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.4057, allocations: 0 / 0.5817 GB, free: 11.61 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002471/0.4082, allocations: 1.021 MB / 0.5827 GB, free: 10.55 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004335/0.4086, allocations: 111.5 kB / 0.5828 GB, free: 10.45 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001489/0.4088, allocations: 19.94 kB / 0.5828 GB, free: 10.43 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004778/0.4093, allocations: 15.98 kB / 0.5828 GB, free: 10.41 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001697/0.4094, allocations: 52.36 kB / 0.5829 GB, free: 10.36 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-05/0.4095, allocations: 23.98 kB / 0.5829 GB, free: 10.34 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007015/0.4102, allocations: 350.8 kB / 0.5832 GB, free: 9.996 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4102, allocations: 0 / 0.5832 GB, free: 9.996 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001455/0.4116, allocations: 216 kB / 0.5834 GB, free: 9.785 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (ind.i[1],ind.i[2],ind.i[3],cap.v[1],cap.v[2],cap.v[3]) * Number of discrete variables: 9 (system.initime,phasor_ind.color_p[1],phasor_ind.color_p[3],phasor_ind.color_n[1],phasor_ind.color_n[3],phasor_cap.color_p[1],phasor_cap.color_p[3],phasor_cap.color_n[1],phasor_cap.color_n[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002108/0.4119, allocations: 119.1 kB / 0.5836 GB, free: 9.66 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002632/0.4145, allocations: 1.078 MB / 0.5846 GB, free: 8.547 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.4145, allocations: 4.125 kB / 0.5846 GB, free: 8.543 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007241/0.4152, allocations: 294.6 kB / 0.5849 GB, free: 8.258 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001248/0.4165, allocations: 165.2 kB / 0.585 GB, free: 8.102 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0048/0.4213, allocations: 2.048 MB / 0.587 GB, free: 5.996 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000877/0.4221, allocations: 482.6 kB / 0.5875 GB, free: 5.5 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003054/0.4224, allocations: 55.44 kB / 0.5876 GB, free: 5.445 MB / 430.1 MB Notification: Performance of SimCode: time 5.71e-07/0.4224, allocations: 4 kB / 0.5876 GB, free: 5.441 MB / 430.1 MB Notification: Performance of Templates: time 0.02747/0.4499, allocations: 14.43 MB / 0.6017 GB, free: 7.004 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.Display.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Introductory.Display.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.Display.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.Display.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.Display.sim & ./PowerSystems_PowerSystems.Examples.Introductory.Display -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.Display.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.30430394411087] Failed to read output from testmodel.py, exit status != 0: 0.45937540708109736 0.474175652 0.114709688 Calling exit ...