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.001801/0.001801, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002402/0.002402, allocations: 215.9 kB / 23.73 MB, free: 4.16 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.578/1.578, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.1888/0.1888, allocations: 38.55 MB / 352.5 MB, free: 12.29 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.002115/0.002115, allocations: 71.89 kB / 493 MB, free: 4.191 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.419/0.4211, allocations: 62.46 MB / 0.5424 GB, free: 404 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Display): time 0.01087/0.4319, allocations: 6.333 MB / 0.5486 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005075/0.437, allocations: 1.92 MB / 0.5505 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006383/0.4377, allocations: 30.72 kB / 0.5505 GB, free: 10.05 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002221/0.4399, allocations: 0.7082 MB / 0.5512 GB, free: 9.516 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002065/0.4419, allocations: 0.5761 MB / 0.5517 GB, free: 9.062 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001092/0.443, allocations: 249.7 kB / 0.552 GB, free: 8.875 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002104/0.4451, allocations: 1.147 MB / 0.5531 GB, free: 8.234 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001023/0.4462, allocations: 473 kB / 0.5536 GB, free: 7.934 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001145/0.4473, allocations: 0.5433 MB / 0.5541 GB, free: 7.613 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001136/0.4484, allocations: 0.6268 MB / 0.5547 GB, free: 7.25 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000164/0.4486, allocations: 68.56 kB / 0.5548 GB, free: 7.25 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007389/0.4493, allocations: 288.1 kB / 0.555 GB, free: 7.133 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005639/0.4499, allocations: 490.4 kB / 0.5555 GB, free: 6.754 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005348/0.4504, allocations: 410.1 kB / 0.5559 GB, free: 6.352 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001702/0.4521, allocations: 1.195 MB / 0.5571 GB, free: 5.152 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.4522, allocations: 3.938 kB / 0.5571 GB, free: 5.148 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.4522, allocations: 0 / 0.5571 GB, free: 5.148 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.745e-05/0.4522, allocations: 4 kB / 0.5571 GB, free: 5.145 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.002695/0.4549, allocations: 1.166 MB / 0.5582 GB, free: 3.941 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.06e-05/0.4549, allocations: 11.98 kB / 0.5582 GB, free: 3.93 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001043/0.456, allocations: 168.2 kB / 0.5584 GB, free: 3.766 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001376/0.4573, allocations: 0.5549 MB / 0.5589 GB, free: 3.184 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.7e-05/0.4574, allocations: 66.38 kB / 0.559 GB, free: 3.117 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002617/0.4577, allocations: 108 kB / 0.5591 GB, free: 3.012 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001897/0.4596, allocations: 1.157 MB / 0.5602 GB, free: 1.801 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.345e-05/0.4596, allocations: 3.938 kB / 0.5602 GB, free: 1.797 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.56e-05/0.4597, allocations: 35.98 kB / 0.5603 GB, free: 1.762 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001844/0.4599, allocations: 81.95 kB / 0.5603 GB, free: 1.68 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00172/0.4616, allocations: 0.9952 MB / 0.5613 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005593/0.4672, allocations: 3.764 MB / 0.565 GB, free: 12.76 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001179/0.4684, allocations: 0.5794 MB / 0.5656 GB, free: 12.16 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004892/0.4689, allocations: 288.8 kB / 0.5658 GB, free: 11.88 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.574e-05/0.4689, allocations: 12.5 kB / 0.5658 GB, free: 11.86 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.082e-05/0.469, allocations: 39.06 kB / 0.5659 GB, free: 11.82 MB / 414.1 MB Notification: Performance of pre-optimization done (n=63): time 3.767e-06/0.469, allocations: 0 / 0.5659 GB, free: 11.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=64): time 0.003191/0.4722, allocations: 1.681 MB / 0.5675 GB, free: 10.1 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.244e-05/0.4722, allocations: 85.77 kB / 0.5676 GB, free: 9.996 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006426/0.4729, allocations: 0.557 MB / 0.5681 GB, free: 9.43 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.076e-05/0.4729, allocations: 37.69 kB / 0.5682 GB, free: 9.387 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003587/0.4733, allocations: 460 kB / 0.5686 GB, free: 8.93 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002177/0.4735, allocations: 226.3 kB / 0.5688 GB, free: 8.707 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002546/0.4738, allocations: 186.5 kB / 0.569 GB, free: 8.52 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002487/0.474, allocations: 378.8 kB / 0.5694 GB, free: 8.141 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005081/0.4745, allocations: 285.8 kB / 0.5696 GB, free: 7.859 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000834/0.4754, allocations: 0.6154 MB / 0.5702 GB, free: 7.098 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001328/0.4767, allocations: 0.9671 MB / 0.5712 GB, free: 5.98 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.4767, allocations: 0 / 0.5712 GB, free: 5.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.00218/0.4789, allocations: 1.17 MB / 0.5723 GB, free: 4.793 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/0.4789, allocations: 12 kB / 0.5723 GB, free: 4.781 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001438/0.4803, allocations: 0.7114 MB / 0.573 GB, free: 4.062 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007406/0.4811, allocations: 214.3 kB / 0.5732 GB, free: 3.844 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007588/0.4818, allocations: 219.7 kB / 0.5735 GB, free: 3.629 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005184/0.487, allocations: 4.975 MB / 0.5783 GB, free: 14.35 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005285/0.4875, allocations: 36.12 kB / 0.5783 GB, free: 14.31 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-05/0.4876, allocations: 43.94 kB / 0.5784 GB, free: 14.27 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.0005192/0.4881, allocations: 357.4 kB / 0.5787 GB, free: 13.91 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001487/0.4883, allocations: 67.58 kB / 0.5788 GB, free: 13.84 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001159/0.4894, allocations: 0.6598 MB / 0.5794 GB, free: 13.17 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.235e-06/0.4894, allocations: 4 kB / 0.5794 GB, free: 13.17 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.4895, allocations: 7.938 kB / 0.5794 GB, free: 13.16 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.475e-06/0.4895, allocations: 3.984 kB / 0.5795 GB, free: 13.16 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002429/0.4919, allocations: 1.327 MB / 0.5807 GB, free: 11.78 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.4919, allocations: 0 / 0.5807 GB, free: 11.78 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007627/0.4927, allocations: 171.8 kB / 0.5809 GB, free: 11.61 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.013e-06/0.4927, allocations: 4 kB / 0.5809 GB, free: 11.61 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.727e-05/0.4927, allocations: 27.92 kB / 0.5809 GB, free: 11.58 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.4927, allocations: 8.156 kB / 0.581 GB, free: 11.57 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.4927, allocations: 0 / 0.581 GB, free: 11.57 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001477/0.4942, allocations: 1.021 MB / 0.5819 GB, free: 10.51 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002794/0.4945, allocations: 107.5 kB / 0.582 GB, free: 10.41 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.746e-05/0.4946, allocations: 19.94 kB / 0.5821 GB, free: 10.39 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002863/0.4948, allocations: 15.98 kB / 0.5821 GB, free: 10.37 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001418/0.495, allocations: 56.34 kB / 0.5821 GB, free: 10.32 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.256e-05/0.495, allocations: 16 kB / 0.5822 GB, free: 10.3 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004179/0.4955, allocations: 350.8 kB / 0.5825 GB, free: 9.961 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4955, allocations: 0 / 0.5825 GB, free: 9.961 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008284/0.4963, allocations: 224 kB / 0.5827 GB, free: 9.742 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.0001774/0.4965, allocations: 119.2 kB / 0.5828 GB, free: 9.617 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001768/0.4982, allocations: 1.074 MB / 0.5839 GB, free: 8.508 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.4982, allocations: 0 / 0.5839 GB, free: 8.508 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004838/0.4987, allocations: 295 kB / 0.5841 GB, free: 8.223 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007805/0.4995, allocations: 167 kB / 0.5843 GB, free: 8.066 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003083/0.5026, allocations: 1.969 MB / 0.5862 GB, free: 6.047 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005569/0.5031, allocations: 478.6 kB / 0.5867 GB, free: 5.555 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005762/0.5037, allocations: 229.5 kB / 0.5869 GB, free: 5.328 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001629/0.5039, allocations: 51.44 kB / 0.587 GB, free: 5.277 MB / 430.1 MB Notification: Performance of SimCode: time 7.61e-07/0.5039, allocations: 0 / 0.587 GB, free: 5.277 MB / 430.1 MB Notification: Performance of Templates: time 0.01837/0.5222, allocations: 9.424 MB / 0.5962 GB, free: 11.96 MB / 446.1 MB " [Timeout remaining time 659] 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.644264630973339] Failed to read output from testmodel.py, exit status != 0: 0.5323728881776333 0.547740946 0.09237913 Calling exit ...