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.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.001466/0.001466, allocations: 109.5 kB / 20.43 MB, free: 1.457 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.001731/0.001731, allocations: 183.5 kB / 23.71 MB, free: 4.695 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.471/1.471, allocations: 225.6 MB / 252.5 MB, free: 12.99 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.1882/0.1882, allocations: 38.53 MB / 346.3 MB, free: 2.062 MB / 270.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(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: Performance of FrontEnd - loaded program: time 0.002062/0.002062, allocations: 63.89 kB / 484.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3473/0.3494, allocations: 61.29 MB / 0.533 GB, free: 5.547 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Display): time 0.00799/0.3574, allocations: 6.82 MB / 0.5397 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004234/0.3616, allocations: 2.053 MB / 0.5417 GB, free: 14.84 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004938/0.3621, allocations: 31.06 kB / 0.5417 GB, free: 14.83 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002123/0.3642, allocations: 0.7367 MB / 0.5424 GB, free: 14.26 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001742/0.366, allocations: 0.5754 MB / 0.543 GB, free: 13.8 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008613/0.3668, allocations: 256 kB / 0.5432 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001768/0.3686, allocations: 1.138 MB / 0.5443 GB, free: 12.98 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007462/0.3693, allocations: 412.7 kB / 0.5447 GB, free: 12.73 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009671/0.3703, allocations: 0.5359 MB / 0.5453 GB, free: 12.41 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001147/0.3714, allocations: 0.6548 MB / 0.5459 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001426/0.3716, allocations: 67.31 kB / 0.546 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007069/0.3723, allocations: 289.4 kB / 0.5462 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005764/0.3729, allocations: 495.2 kB / 0.5467 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006566/0.3735, allocations: 0.4922 MB / 0.5472 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00166/0.3752, allocations: 1.176 MB / 0.5483 GB, free: 10.5 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.3752, allocations: 4 kB / 0.5483 GB, free: 10.5 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3752, allocations: 1.562 kB / 0.5483 GB, free: 10.5 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.535e-05/0.3752, allocations: 0 / 0.5483 GB, free: 10.5 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.002374/0.3776, allocations: 1.159 MB / 0.5495 GB, free: 9.637 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.3776, allocations: 18.39 kB / 0.5495 GB, free: 9.629 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001063/0.3787, allocations: 165.2 kB / 0.5497 GB, free: 9.547 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00135/0.38, allocations: 0.5522 MB / 0.5502 GB, free: 9.145 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.658e-05/0.3801, allocations: 70.62 kB / 0.5503 GB, free: 9.109 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002624/0.3804, allocations: 100.7 kB / 0.5504 GB, free: 9.07 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002151/0.3825, allocations: 1.153 MB / 0.5515 GB, free: 8.348 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.711e-05/0.3826, allocations: 2.469 kB / 0.5515 GB, free: 8.348 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.686e-05/0.3827, allocations: 31.47 kB / 0.5515 GB, free: 8.324 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002001/0.3829, allocations: 87.77 kB / 0.5516 GB, free: 8.297 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001942/0.3848, allocations: 1.004 MB / 0.5526 GB, free: 7.82 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006438/0.3913, allocations: 4.285 MB / 0.5568 GB, free: 3.438 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001239/0.3925, allocations: 0.5841 MB / 0.5573 GB, free: 2.832 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004932/0.393, allocations: 290.3 kB / 0.5576 GB, free: 2.547 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.9e-05/0.393, allocations: 12.44 kB / 0.5576 GB, free: 2.531 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.745e-05/0.3931, allocations: 39.06 kB / 0.5577 GB, free: 2.484 MB / 398.1 MB Notification: Performance of pre-optimization done (n=63): time 2.645e-06/0.3931, allocations: 0 / 0.5577 GB, free: 2.484 MB / 398.1 MB Notification: Performance of matching and sorting (n=64): time 0.003147/0.3962, allocations: 1.681 MB / 0.5593 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.172e-05/0.3963, allocations: 89.83 kB / 0.5594 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006424/0.3969, allocations: 0.5534 MB / 0.5599 GB, free: 104 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.827e-05/0.397, allocations: 41.69 kB / 0.56 GB, free: 56 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003733/0.3974, allocations: 448 kB / 0.5604 GB, free: 15.61 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002302/0.3976, allocations: 234.1 kB / 0.5606 GB, free: 15.38 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002773/0.3979, allocations: 182.5 kB / 0.5608 GB, free: 15.2 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002254/0.3981, allocations: 378.8 kB / 0.5612 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005958/0.3987, allocations: 285.8 kB / 0.5614 GB, free: 14.54 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007775/0.3995, allocations: 0.6154 MB / 0.562 GB, free: 13.77 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001378/0.4008, allocations: 0.9749 MB / 0.563 GB, free: 12.64 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.672e-06/0.4008, allocations: 0 / 0.563 GB, free: 12.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002469/0.4033, allocations: 1.163 MB / 0.5641 GB, free: 11.46 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.749e-05/0.4033, allocations: 16.03 kB / 0.5641 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001449/0.4048, allocations: 0.7144 MB / 0.5648 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007997/0.4056, allocations: 222.3 kB / 0.565 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008125/0.4064, allocations: 215.7 kB / 0.5652 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00552/0.4119, allocations: 5.063 MB / 0.5702 GB, free: 4.883 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006127/0.4125, allocations: 32.06 kB / 0.5702 GB, free: 4.852 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.346e-05/0.4126, allocations: 48.12 kB / 0.5703 GB, free: 4.805 MB / 414.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.000545/0.4132, allocations: 345.4 kB / 0.5706 GB, free: 4.457 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001157/0.4133, allocations: 75.47 kB / 0.5707 GB, free: 4.383 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001216/0.4145, allocations: 0.6638 MB / 0.5713 GB, free: 3.711 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.614e-06/0.4145, allocations: 8 kB / 0.5713 GB, free: 3.703 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/0.4145, allocations: 0 / 0.5713 GB, free: 3.703 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.213e-05/0.4145, allocations: 7.984 kB / 0.5713 GB, free: 3.695 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00267/0.4172, allocations: 1.498 MB / 0.5728 GB, free: 2.137 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.992e-06/0.4172, allocations: 4 kB / 0.5728 GB, free: 2.133 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000853/0.418, allocations: 175.8 kB / 0.573 GB, free: 1.961 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.268e-06/0.418, allocations: 4 kB / 0.573 GB, free: 1.957 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.487e-05/0.4181, allocations: 16.16 kB / 0.573 GB, free: 1.941 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.4181, allocations: 4 kB / 0.573 GB, free: 1.938 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.4181, allocations: 8 kB / 0.573 GB, free: 1.93 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00154/0.4196, allocations: 1.028 MB / 0.574 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002895/0.4199, allocations: 107.5 kB / 0.5741 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.978e-05/0.42, allocations: 23.92 kB / 0.5741 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003163/0.4203, allocations: 16 kB / 0.5741 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001338/0.4205, allocations: 52.34 kB / 0.5742 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.271e-05/0.4205, allocations: 16 kB / 0.5742 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004985/0.421, allocations: 366.8 kB / 0.5746 GB, free: 300 kB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.421, allocations: 4 kB / 0.5746 GB, free: 296 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009769/0.422, allocations: 220 kB / 0.5748 GB, free: 76 kB / 414.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.0001678/0.4222, allocations: 119.1 kB / 0.5749 GB, free: 15.95 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001848/0.424, allocations: 1.077 MB / 0.5759 GB, free: 14.84 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.424, allocations: 4.062 kB / 0.5759 GB, free: 14.84 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005003/0.4245, allocations: 294.6 kB / 0.5762 GB, free: 14.55 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008801/0.4254, allocations: 164.7 kB / 0.5764 GB, free: 14.39 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003279/0.4287, allocations: 1.968 MB / 0.5783 GB, free: 12.38 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008021/0.4295, allocations: 1.067 MB / 0.5793 GB, free: 11.29 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0006431/0.4301, allocations: 229.6 kB / 0.5796 GB, free: 11.06 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001716/0.4303, allocations: 55.44 kB / 0.5796 GB, free: 11 MB / 430.1 MB Notification: Performance of SimCode: time 5.61e-07/0.4303, allocations: 3.938 kB / 0.5796 GB, free: 11 MB / 430.1 MB Notification: Performance of Templates: time 0.01865/0.4489, allocations: 9.136 MB / 0.5885 GB, free: 1.898 MB / 430.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: 5.3904905477538705] Failed to read output from testmodel.py, exit status != 0: 0.4583085747435689 0.47373858300000005 0.095276737 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fa741d517b0>