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.0008926/0.0008926, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 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.004414/0.004414, allocations: 160.4 kB / 24.7 MB, free: 9.43 MB / 18.57 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 0.8812/0.8812, allocations: 177.2 MB / 205 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.2166/0.2166, allocations: 29.4 MB / 290.8 MB, free: 2.422 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 431.5 MB, free: 13.11 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.763e-05/1.925e-05, allocations: 2.281 kB / 431.5 MB, free: 13.11 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Display): time 0.00477/0.00479, allocations: 6.285 MB / 437.7 MB, free: 6.789 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001919/0.006709, allocations: 1.924 MB / 439.7 MB, free: 4.859 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001879/0.006897, allocations: 31.75 kB / 439.7 MB, free: 4.828 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008758/0.007773, allocations: 0.7039 MB / 440.4 MB, free: 4.121 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006728/0.008445, allocations: 0.5905 MB / 441 MB, free: 3.527 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003321/0.008778, allocations: 263.2 kB / 441.3 MB, free: 3.27 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006913/0.009469, allocations: 1.18 MB / 442.4 MB, free: 2.086 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004477/0.009917, allocations: 477.5 kB / 442.9 MB, free: 1.609 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005419/0.01046, allocations: 0.6971 MB / 443.6 MB, free: 0.9102 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004985/0.01096, allocations: 0.5883 MB / 444.2 MB, free: 328 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.749e-05/0.01102, allocations: 68 kB / 444.2 MB, free: 260 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1699/0.1809, allocations: 284.6 kB / 444.5 MB, free: 45.2 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005498/0.1815, allocations: 0.4993 MB / 445 MB, free: 45.2 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003423/0.1818, allocations: 340.7 kB / 445.4 MB, free: 45.2 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008715/0.1827, allocations: 1.199 MB / 446.6 MB, free: 45.17 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.1827, allocations: 0 / 446.6 MB, free: 45.17 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.1827, allocations: 0 / 446.6 MB, free: 45.17 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.207e-06/0.1827, allocations: 0 / 446.6 MB, free: 45.17 MB / 410.7 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.001096/0.1838, allocations: 1.149 MB / 447.7 MB, free: 44.59 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.1839, allocations: 13.95 kB / 447.7 MB, free: 44.58 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004727/0.1843, allocations: 168.8 kB / 447.9 MB, free: 44.53 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005745/0.1849, allocations: 0.5574 MB / 448.4 MB, free: 44.3 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.452e-05/0.1849, allocations: 62.95 kB / 448.5 MB, free: 44.3 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001279/0.1851, allocations: 98 kB / 448.6 MB, free: 44.3 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008892/0.186, allocations: 1.164 MB / 449.8 MB, free: 44.11 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.044e-05/0.186, allocations: 3.953 kB / 449.8 MB, free: 44.11 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.366e-05/0.186, allocations: 33.78 kB / 449.8 MB, free: 44.11 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.993e-05/0.1861, allocations: 88.06 kB / 449.9 MB, free: 44.11 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008575/0.187, allocations: 0.9892 MB / 450.9 MB, free: 44.1 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002357/0.1893, allocations: 3.75 MB / 454.6 MB, free: 42.23 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006183/0.1899, allocations: 0.5948 MB / 455.2 MB, free: 42.11 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002331/0.1902, allocations: 279.7 kB / 455.5 MB, free: 42 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.5e-05/0.1902, allocations: 6.688 kB / 455.5 MB, free: 42 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.628e-05/0.1902, allocations: 45.7 kB / 455.5 MB, free: 41.95 MB / 410.7 MB Notification: Performance of pre-optimization done (n=63): time 1.543e-06/0.1902, allocations: 0 / 455.5 MB, free: 41.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=64): time 0.001507/0.1917, allocations: 1.686 MB / 457.2 MB, free: 41.12 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.705e-05/0.1917, allocations: 84.08 kB / 457.3 MB, free: 41.03 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002804/0.192, allocations: 0.5531 MB / 457.9 MB, free: 40.77 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.351e-05/0.192, allocations: 37.3 kB / 457.9 MB, free: 40.73 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001142/0.1922, allocations: 443.9 kB / 458.3 MB, free: 40.39 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.407e-05/0.1922, allocations: 243 kB / 458.6 MB, free: 40.21 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001166/0.1923, allocations: 181.5 kB / 458.8 MB, free: 40.12 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.276e-05/0.1924, allocations: 382.9 kB / 459.1 MB, free: 39.77 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002449/0.1926, allocations: 281.8 kB / 459.4 MB, free: 39.7 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003173/0.193, allocations: 0.6191 MB / 460 MB, free: 39.2 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006171/0.1936, allocations: 0.9707 MB / 461 MB, free: 38.55 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.1936, allocations: 3.406 kB / 461 MB, free: 38.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.001062/0.1946, allocations: 1.174 MB / 462.2 MB, free: 38.16 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.1947, allocations: 11.5 kB / 462.2 MB, free: 38.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006631/0.1953, allocations: 0.7082 MB / 462.9 MB, free: 37.92 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000352/0.1957, allocations: 214.6 kB / 463.1 MB, free: 37.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003557/0.196, allocations: 225.6 kB / 463.3 MB, free: 37.86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001984/0.198, allocations: 4.96 MB / 468.3 MB, free: 33.65 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002226/0.1982, allocations: 39.14 kB / 468.3 MB, free: 33.63 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.681e-05/0.1983, allocations: 47.77 kB / 468.4 MB, free: 33.62 MB / 410.7 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.0002169/0.1985, allocations: 350.6 kB / 468.7 MB, free: 33.43 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.844e-05/0.1985, allocations: 67.61 kB / 468.8 MB, free: 33.39 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005456/0.1991, allocations: 0.6502 MB / 469.4 MB, free: 33.12 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/0.1991, allocations: 13.11 kB / 469.4 MB, free: 33.12 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.263e-06/0.1991, allocations: 0 / 469.4 MB, free: 33.12 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.1991, allocations: 3.469 kB / 469.4 MB, free: 33.12 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001111/0.2002, allocations: 1.332 MB / 470.8 MB, free: 32.51 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.2002, allocations: 6.016 kB / 470.8 MB, free: 32.51 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003484/0.2006, allocations: 174.9 kB / 470.9 MB, free: 32.51 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.544e-06/0.2006, allocations: 6.688 kB / 471 MB, free: 32.51 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.093e-05/0.2006, allocations: 17.75 kB / 471 MB, free: 32.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.2006, allocations: 6.234 kB / 471 MB, free: 32.5 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.2006, allocations: 6.312 kB / 471 MB, free: 32.5 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007104/0.2013, allocations: 1.023 MB / 472 MB, free: 32 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000111/0.2014, allocations: 104.5 kB / 472.1 MB, free: 31.95 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.554e-05/0.2014, allocations: 18 kB / 472.1 MB, free: 31.94 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001308/0.2016, allocations: 18.17 kB / 472.1 MB, free: 31.93 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.51e-05/0.2016, allocations: 51.59 kB / 472.2 MB, free: 31.92 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.937e-05/0.2017, allocations: 20.22 kB / 472.2 MB, free: 31.91 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001788/0.2018, allocations: 353 kB / 472.6 MB, free: 31.76 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2018, allocations: 0 / 472.6 MB, free: 31.76 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004052/0.2022, allocations: 218.7 kB / 472.8 MB, free: 31.73 MB / 410.7 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 8.121e-05/0.2023, allocations: 121.4 kB / 472.9 MB, free: 31.63 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007924/0.2031, allocations: 1.074 MB / 474 MB, free: 31.1 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.2031, allocations: 0 / 474 MB, free: 31.1 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002359/0.2034, allocations: 299.9 kB / 474.3 MB, free: 31.03 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004289/0.2038, allocations: 144.6 kB / 474.4 MB, free: 30.98 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001455/0.2052, allocations: 1.889 MB / 476.3 MB, free: 30 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002561/0.2055, allocations: 475.3 kB / 476.8 MB, free: 29.86 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001144/0.2056, allocations: 65.16 kB / 476.8 MB, free: 29.85 MB / 410.7 MB Notification: Performance of SimCode: time 5.01e-07/0.2056, allocations: 6.844 kB / 476.8 MB, free: 29.85 MB / 410.7 MB Notification: Performance of Templates: time 0.0126/0.2182, allocations: 14.54 MB / 491.4 MB, free: 28.67 MB / 410.7 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: 6.046821650117636] Failed to read output from testmodel.py, exit status != 0: 0.22351408284157515 0.23060444000000002 0.046457519 Calling exit ...