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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) 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=3000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Display") translateModel(PowerSystems.Examples.Introductory.Display,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Display") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001247/0.001248, allocations: 115 kB / 16.63 MB, free: 6.812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00116/0.00116, allocations: 186 kB / 17.55 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 222.9 MB / 241.2 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.174/0.174, allocations: 38.03 MB / 329.4 MB, free: 8.98 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002081/0.002081, allocations: 57.64 kB / 398.3 MB, free: 34.4 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1426/0.1448, allocations: 58.06 MB / 456.3 MB, free: 8.426 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Display): time 0.008766/0.1536, allocations: 7.673 MB / 464 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004483/0.1581, allocations: 2.329 MB / 466.3 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005489/0.1587, allocations: 43.69 kB / 466.4 MB, free: 14.33 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001745/0.1604, allocations: 0.6773 MB / 467.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001492/0.1619, allocations: 0.5175 MB / 467.6 MB, free: 13.13 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006573/0.1626, allocations: 223.6 kB / 467.8 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001085/0.1637, allocations: 1.145 MB / 468.9 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008978/0.1646, allocations: 0.6499 MB / 469.6 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006746/0.1653, allocations: 0.5174 MB / 470.1 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008228/0.1661, allocations: 0.662 MB / 470.8 MB, free: 9.926 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.658e-05/0.1662, allocations: 68 kB / 470.8 MB, free: 9.859 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004878/0.1667, allocations: 267.7 kB / 471.1 MB, free: 9.598 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004342/0.1672, allocations: 494.8 kB / 471.6 MB, free: 9.113 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005014/0.1677, allocations: 0.4898 MB / 472.1 MB, free: 8.621 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001229/0.1689, allocations: 1.164 MB / 473.2 MB, free: 7.453 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.1689, allocations: 0 / 473.2 MB, free: 7.453 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.169, allocations: 0 / 473.2 MB, free: 7.453 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.761e-05/0.169, allocations: 0 / 473.2 MB, free: 7.453 MB / 350.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.002108/0.1711, allocations: 1.215 MB / 474.4 MB, free: 6.188 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.351e-05/0.1711, allocations: 11.89 kB / 474.5 MB, free: 6.176 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009636/0.1721, allocations: 163.6 kB / 474.6 MB, free: 6.016 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009257/0.1731, allocations: 0.5889 MB / 475.2 MB, free: 5.383 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.622e-05/0.1731, allocations: 66.38 kB / 475.3 MB, free: 5.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002105/0.1733, allocations: 100.1 kB / 475.4 MB, free: 5.223 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001673/0.175, allocations: 1.157 MB / 476.5 MB, free: 4.008 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.013e-05/0.1751, allocations: 7.906 kB / 476.5 MB, free: 4 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.798e-05/0.1751, allocations: 35.97 kB / 476.6 MB, free: 3.965 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001805/0.1753, allocations: 81.95 kB / 476.6 MB, free: 3.887 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001591/0.1769, allocations: 1.011 MB / 477.7 MB, free: 2.875 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005126/0.1821, allocations: 4.354 MB / 482 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001146/0.1832, allocations: 0.6295 MB / 482.6 MB, free: 13.64 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000499/0.1838, allocations: 313.3 kB / 482.9 MB, free: 13.33 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.705e-05/0.1838, allocations: 4.562 kB / 483 MB, free: 13.32 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.257e-05/0.1839, allocations: 43.11 kB / 483 MB, free: 13.27 MB / 366.1 MB Notification: Performance of pre-optimization done (n=63): time 3.066e-06/0.1839, allocations: 4 kB / 483 MB, free: 13.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=64): time 0.002913/0.1868, allocations: 1.734 MB / 484.7 MB, free: 11.48 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.282e-05/0.1869, allocations: 97.48 kB / 484.8 MB, free: 11.36 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005569/0.1874, allocations: 0.5455 MB / 485.4 MB, free: 10.81 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.929e-05/0.1875, allocations: 33.7 kB / 485.4 MB, free: 10.77 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002639/0.1878, allocations: 446.7 kB / 485.8 MB, free: 10.32 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001493/0.1879, allocations: 221 kB / 486.1 MB, free: 10.11 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002233/0.1881, allocations: 186.5 kB / 486.2 MB, free: 9.918 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002032/0.1884, allocations: 378.8 kB / 486.6 MB, free: 9.539 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004525/0.1888, allocations: 285.8 kB / 486.9 MB, free: 9.258 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006513/0.1895, allocations: 0.6075 MB / 487.5 MB, free: 8.504 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001201/0.1907, allocations: 0.973 MB / 488.5 MB, free: 7.383 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.521e-06/0.1907, allocations: 8 kB / 488.5 MB, free: 7.375 MB / 366.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002066/0.1928, allocations: 1.168 MB / 489.6 MB, free: 6.188 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.1928, allocations: 8 kB / 489.7 MB, free: 6.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001331/0.1941, allocations: 0.7228 MB / 490.4 MB, free: 5.445 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007401/0.1949, allocations: 206.4 kB / 490.6 MB, free: 5.234 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007917/0.1957, allocations: 231.6 kB / 490.8 MB, free: 5.008 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005277/0.201, allocations: 5.365 MB / 496.2 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006115/0.2016, allocations: 43.91 kB / 496.2 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.223e-05/0.2017, allocations: 43.98 kB / 496.3 MB, free: 15.14 MB / 382.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.0005114/0.2022, allocations: 345.5 kB / 496.6 MB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/0.2023, allocations: 63.25 kB / 496.7 MB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001106/0.2034, allocations: 0.6615 MB / 497.3 MB, free: 14.06 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.204e-06/0.2034, allocations: 8 kB / 497.3 MB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.923e-06/0.2035, allocations: 0 / 497.3 MB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.728e-06/0.2035, allocations: 3.984 kB / 497.3 MB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002666/0.2061, allocations: 1.539 MB / 498.9 MB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.2062, allocations: 4 kB / 498.9 MB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007524/0.2069, allocations: 167.8 kB / 499 MB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.681e-06/0.2069, allocations: 4.156 kB / 499 MB, free: 12.26 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.527e-05/0.207, allocations: 27.98 kB / 499.1 MB, free: 12.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.622e-06/0.207, allocations: 7.938 kB / 499.1 MB, free: 12.23 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.207, allocations: 4 kB / 499.1 MB, free: 12.22 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001362/0.2084, allocations: 1.022 MB / 0.4884 GB, free: 11.16 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00022/0.2086, allocations: 180.3 kB / 0.4885 GB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.753e-05/0.2087, allocations: 16 kB / 0.4886 GB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003044/0.209, allocations: 15.98 kB / 0.4886 GB, free: 10.93 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001275/0.2091, allocations: 52.44 kB / 0.4886 GB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-05/0.2092, allocations: 16 kB / 0.4886 GB, free: 10.87 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004352/0.2096, allocations: 370.8 kB / 0.489 GB, free: 10.51 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2096, allocations: 0 / 0.489 GB, free: 10.51 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000962/0.2106, allocations: 220 kB / 0.4892 GB, free: 10.29 MB / 382.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.0001988/0.2108, allocations: 119.9 kB / 0.4893 GB, free: 10.17 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002425/0.2132, allocations: 1.289 MB / 0.4906 GB, free: 8.844 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.617e-06/0.2133, allocations: 4.125 kB / 0.4906 GB, free: 8.84 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004969/0.2138, allocations: 318.9 kB / 0.4909 GB, free: 8.527 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009478/0.2147, allocations: 163.8 kB / 0.491 GB, free: 8.375 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003533/0.2183, allocations: 2.296 MB / 0.4933 GB, free: 6.035 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008536/0.2192, allocations: 1.067 MB / 0.4943 GB, free: 4.941 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006883/0.2198, allocations: 225.6 kB / 0.4945 GB, free: 4.719 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000164/0.22, allocations: 63.42 kB / 0.4946 GB, free: 4.656 MB / 382.1 MB Notification: Performance of SimCode: time 1.002e-06/0.22, allocations: 0 / 0.4946 GB, free: 4.656 MB / 382.1 MB Notification: Performance of Templates: time 0.01511/0.2351, allocations: 8.3 MB / 0.5027 GB, free: 12.39 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.Display.makefile (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)