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.00154/0.00154, allocations: 117 kB / 18.41 MB, free: 4.555 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.001369/0.00137, allocations: 186.9 kB / 21.35 MB, free: 1.621 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.416/1.416, allocations: 222.9 MB / 247.1 MB, free: 4.215 MB / 190.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.3017/0.3017, allocations: 38 MB / 337.2 MB, free: 12.91 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.001973/0.001974, allocations: 71.44 kB / 467.5 MB, free: 27.58 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1122, allocations: 58.07 MB / 0.5133 GB, free: 9.777 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Display): time 0.008584/0.1208, allocations: 6.642 MB / 0.5197 GB, free: 3.102 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003693/0.1245, allocations: 2.01 MB / 0.5217 GB, free: 1.086 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000366/0.1249, allocations: 23.88 kB / 0.5217 GB, free: 1.062 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001887/0.1268, allocations: 0.7197 MB / 0.5224 GB, free: 348 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001451/0.1283, allocations: 0.5755 MB / 0.523 GB, free: 15.76 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006728/0.129, allocations: 247.5 kB / 0.5232 GB, free: 15.52 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001346/0.1303, allocations: 1.141 MB / 0.5243 GB, free: 14.38 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008541/0.1312, allocations: 0.5992 MB / 0.5249 GB, free: 13.77 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007368/0.132, allocations: 0.5057 MB / 0.5254 GB, free: 13.26 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009473/0.1329, allocations: 0.6152 MB / 0.526 GB, free: 12.64 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001338/0.1331, allocations: 68 kB / 0.5261 GB, free: 12.58 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000534/0.1336, allocations: 259.7 kB / 0.5263 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004691/0.1341, allocations: 482.8 kB / 0.5268 GB, free: 11.85 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005064/0.1346, allocations: 497.5 kB / 0.5273 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001344/0.1359, allocations: 1.183 MB / 0.5284 GB, free: 10.18 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.136, allocations: 0 / 0.5284 GB, free: 10.18 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.136, allocations: 0 / 0.5284 GB, free: 10.18 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.331e-05/0.136, allocations: 4 kB / 0.5284 GB, free: 10.17 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.002136/0.1381, allocations: 1.241 MB / 0.5296 GB, free: 8.875 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.1382, allocations: 11.89 kB / 0.5297 GB, free: 8.863 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009485/0.1391, allocations: 168.1 kB / 0.5298 GB, free: 8.699 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001081/0.1402, allocations: 0.6283 MB / 0.5304 GB, free: 8.031 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.144e-05/0.1403, allocations: 66.36 kB / 0.5305 GB, free: 7.965 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002189/0.1405, allocations: 100.1 kB / 0.5306 GB, free: 7.867 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001805/0.1423, allocations: 1.157 MB / 0.5317 GB, free: 6.656 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.143e-05/0.1424, allocations: 7.984 kB / 0.5317 GB, free: 6.648 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.029e-05/0.1425, allocations: 32 kB / 0.5318 GB, free: 6.617 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000172/0.1427, allocations: 85.89 kB / 0.5318 GB, free: 6.531 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001726/0.1444, allocations: 1.003 MB / 0.5328 GB, free: 5.531 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005735/0.1501, allocations: 4.351 MB / 0.5371 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001297/0.1515, allocations: 0.642 MB / 0.5377 GB, free: 292 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000515/0.152, allocations: 307.3 kB / 0.538 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.435e-05/0.152, allocations: 8.562 kB / 0.538 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.896e-05/0.1521, allocations: 39.12 kB / 0.538 GB, free: 15.93 MB / 414.1 MB Notification: Performance of pre-optimization done (n=63): time 2.235e-06/0.1521, allocations: 4 kB / 0.538 GB, free: 15.92 MB / 414.1 MB Notification: Performance of matching and sorting (n=64): time 0.003187/0.1553, allocations: 1.752 MB / 0.5397 GB, free: 14.12 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.15e-05/0.1554, allocations: 89.61 kB / 0.5398 GB, free: 14.01 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000666/0.1561, allocations: 0.5495 MB / 0.5404 GB, free: 13.45 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.518e-05/0.1561, allocations: 33.7 kB / 0.5404 GB, free: 13.41 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003656/0.1565, allocations: 452.2 kB / 0.5408 GB, free: 12.96 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002143/0.1567, allocations: 238 kB / 0.5411 GB, free: 12.73 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002747/0.157, allocations: 186.5 kB / 0.5412 GB, free: 12.54 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002072/0.1572, allocations: 378.8 kB / 0.5416 GB, free: 12.16 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000502/0.1577, allocations: 285.8 kB / 0.5419 GB, free: 11.88 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008235/0.1585, allocations: 0.6036 MB / 0.5425 GB, free: 11.13 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001405/0.16, allocations: 0.9808 MB / 0.5434 GB, free: 9.996 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.889e-06/0.16, allocations: 4 kB / 0.5434 GB, free: 9.992 MB / 414.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002235/0.1622, allocations: 1.172 MB / 0.5446 GB, free: 8.805 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.333e-05/0.1622, allocations: 10.19 kB / 0.5446 GB, free: 8.797 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001418/0.1637, allocations: 0.7207 MB / 0.5453 GB, free: 8.066 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007576/0.1644, allocations: 218.4 kB / 0.5455 GB, free: 7.844 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000791/0.1652, allocations: 223.6 kB / 0.5457 GB, free: 7.625 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005592/0.1708, allocations: 5.361 MB / 0.5509 GB, free: 1.836 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005807/0.1715, allocations: 35.95 kB / 0.551 GB, free: 1.801 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.397e-05/0.1715, allocations: 47.98 kB / 0.551 GB, free: 1.754 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.0005366/0.1721, allocations: 345.4 kB / 0.5513 GB, free: 1.41 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001242/0.1722, allocations: 71.56 kB / 0.5514 GB, free: 1.34 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001178/0.1734, allocations: 0.6462 MB / 0.552 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.367e-06/0.1734, allocations: 11.98 kB / 0.5521 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.365e-06/0.1734, allocations: 0 / 0.5521 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.07e-05/0.1734, allocations: 7.984 kB / 0.5521 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002627/0.1761, allocations: 1.543 MB / 0.5536 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.309e-06/0.1761, allocations: 4.156 kB / 0.5536 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007875/0.1769, allocations: 171.8 kB / 0.5537 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.526e-06/0.1769, allocations: 8 kB / 0.5537 GB, free: 14.87 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.537e-05/0.177, allocations: 15.98 kB / 0.5538 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.633e-06/0.177, allocations: 7.938 kB / 0.5538 GB, free: 14.85 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/0.177, allocations: 4 kB / 0.5538 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001584/0.1786, allocations: 1.026 MB / 0.5548 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002916/0.1789, allocations: 192.5 kB / 0.555 GB, free: 13.58 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.435e-05/0.179, allocations: 16 kB / 0.555 GB, free: 13.56 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002896/0.1793, allocations: 24.11 kB / 0.555 GB, free: 13.54 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001334/0.1794, allocations: 48.44 kB / 0.555 GB, free: 13.49 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.865e-05/0.1795, allocations: 23.98 kB / 0.5551 GB, free: 13.47 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004643/0.1799, allocations: 358.8 kB / 0.5554 GB, free: 13.12 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1799, allocations: 0 / 0.5554 GB, free: 13.12 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009356/0.1809, allocations: 216 kB / 0.5556 GB, free: 12.91 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.0001836/0.1811, allocations: 131.1 kB / 0.5557 GB, free: 12.77 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001878/0.183, allocations: 1.107 MB / 0.5568 GB, free: 11.63 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.183, allocations: 0 / 0.5568 GB, free: 11.63 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004827/0.1835, allocations: 311.9 kB / 0.5571 GB, free: 11.32 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008174/0.1843, allocations: 164.3 kB / 0.5573 GB, free: 11.17 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003187/0.1875, allocations: 2.024 MB / 0.5593 GB, free: 9.09 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000761/0.1883, allocations: 1.071 MB / 0.5603 GB, free: 7.992 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002114/0.1885, allocations: 67.42 kB / 0.5604 GB, free: 7.926 MB / 430.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1885, allocations: 0 / 0.5604 GB, free: 7.926 MB / 430.1 MB Notification: Performance of Templates: time 0.02124/0.2097, allocations: 14.08 MB / 0.5741 GB, free: 9.84 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.146213438012637] Failed to read output from testmodel.py, exit status != 0: 0.21709149493835866 0.43725195399999994 0.29786884499999994 Calling exit ...