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.001978/0.001978, allocations: 84.7 kB / 20.68 MB, free: 1.023 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.001749/0.001749, allocations: 164.4 kB / 23.95 MB, free: 4.156 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.493/1.493, allocations: 177.1 MB / 204.3 MB, free: 9.176 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.1806/0.1806, allocations: 29.43 MB / 290.1 MB, free: 3.27 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.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 2.846e-06/2.846e-06, allocations: 0 / 430.7 MB, free: 1.965 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.449e-05/4.734e-05, allocations: 6.219 kB / 430.7 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Display): time 0.009444/0.009491, allocations: 6.281 MB / 437 MB, free: 11.64 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00412/0.01361, allocations: 1.924 MB / 438.9 MB, free: 9.707 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004349/0.01405, allocations: 31.75 kB / 438.9 MB, free: 9.676 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002229/0.01628, allocations: 0.7118 MB / 439.6 MB, free: 8.961 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001682/0.01796, allocations: 0.5866 MB / 440.2 MB, free: 8.371 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008198/0.01878, allocations: 263.2 kB / 440.5 MB, free: 8.113 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001556/0.02033, allocations: 1.16 MB / 441.6 MB, free: 6.949 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007962/0.02113, allocations: 477.5 kB / 442.1 MB, free: 6.477 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001181/0.02231, allocations: 0.701 MB / 442.8 MB, free: 5.773 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001033/0.02334, allocations: 0.5883 MB / 443.4 MB, free: 5.184 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001482/0.02349, allocations: 68 kB / 443.5 MB, free: 5.117 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007102/0.0242, allocations: 283.5 kB / 443.7 MB, free: 4.84 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005849/0.02479, allocations: 0.5065 MB / 444.2 MB, free: 4.332 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000499/0.02529, allocations: 343.2 kB / 444.6 MB, free: 3.996 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001725/0.02701, allocations: 1.199 MB / 445.8 MB, free: 2.793 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.02702, allocations: 0 / 445.8 MB, free: 2.793 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.02702, allocations: 0 / 445.8 MB, free: 2.793 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.762e-05/0.02703, allocations: 0 / 445.8 MB, free: 2.793 MB / 366.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.002273/0.02931, allocations: 1.158 MB / 446.9 MB, free: 1.605 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/0.02936, allocations: 11.98 kB / 447 MB, free: 1.594 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001048/0.0304, allocations: 168.2 kB / 447.1 MB, free: 1.43 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001313/0.03172, allocations: 0.5581 MB / 447.7 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.263e-05/0.03179, allocations: 66.36 kB / 447.7 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002631/0.03205, allocations: 100.9 kB / 447.8 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.23/0.262, allocations: 1.153 MB / 449 MB, free: 29.96 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.846e-05/0.2621, allocations: 6.531 kB / 449 MB, free: 29.96 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.602e-05/0.2622, allocations: 35.41 kB / 449 MB, free: 29.96 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002167/0.2624, allocations: 87.22 kB / 449.1 MB, free: 29.95 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00182/0.2642, allocations: 0.9967 MB / 450.1 MB, free: 29.69 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005391/0.2696, allocations: 3.745 MB / 453.9 MB, free: 27.29 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001273/0.2709, allocations: 0.5914 MB / 454.5 MB, free: 27.07 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004964/0.2714, allocations: 288.3 kB / 454.7 MB, free: 26.96 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.014e-05/0.2714, allocations: 10.91 kB / 454.7 MB, free: 26.96 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.947e-05/0.2714, allocations: 39.48 kB / 454.8 MB, free: 26.92 MB / 366.1 MB Notification: Performance of pre-optimization done (n=63): time 3.827e-06/0.2715, allocations: 0 / 454.8 MB, free: 26.92 MB / 366.1 MB Notification: Performance of matching and sorting (n=64): time 0.003399/0.2749, allocations: 1.68 MB / 456.5 MB, free: 26.11 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.941e-05/0.2749, allocations: 85.39 kB / 456.5 MB, free: 26.02 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007328/0.2756, allocations: 0.5493 MB / 457.1 MB, free: 25.77 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001115/0.2757, allocations: 39.8 kB / 457.1 MB, free: 25.73 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002865/0.276, allocations: 459.1 kB / 457.6 MB, free: 25.42 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002073/0.2762, allocations: 228.5 kB / 457.8 MB, free: 25.26 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000292/0.2765, allocations: 185.2 kB / 458 MB, free: 25.17 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.2767, allocations: 381.2 kB / 458.4 MB, free: 24.82 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005425/0.2772, allocations: 286.4 kB / 458.6 MB, free: 24.74 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006687/0.2779, allocations: 0.614 MB / 459.3 MB, free: 24.23 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001245/0.2791, allocations: 0.9659 MB / 460.2 MB, free: 23.57 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.646e-06/0.2791, allocations: 4.469 kB / 460.2 MB, free: 23.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002712/0.2818, allocations: 1.173 MB / 461.4 MB, free: 23.11 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.346e-05/0.2819, allocations: 10.59 kB / 461.4 MB, free: 23.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001655/0.2835, allocations: 0.7068 MB / 462.1 MB, free: 22.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008477/0.2844, allocations: 216.3 kB / 462.3 MB, free: 22.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008434/0.2852, allocations: 222.3 kB / 462.5 MB, free: 22.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004416/0.2896, allocations: 4.964 MB / 467.5 MB, free: 18.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006901/0.2903, allocations: 37.72 kB / 467.5 MB, free: 18.53 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-05/0.2904, allocations: 44.77 kB / 467.6 MB, free: 18.52 MB / 366.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.0005773/0.291, allocations: 358 kB / 467.9 MB, free: 18.3 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001305/0.2911, allocations: 66.03 kB / 468 MB, free: 18.26 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001219/0.2923, allocations: 0.6557 MB / 468.7 MB, free: 17.99 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/0.2923, allocations: 7.344 kB / 468.7 MB, free: 17.99 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.2923, allocations: 5.406 kB / 468.7 MB, free: 17.98 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.128e-05/0.2924, allocations: 4.938 kB / 468.7 MB, free: 17.98 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002406/0.2948, allocations: 1.329 MB / 470 MB, free: 17.37 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.2948, allocations: 2.438 kB / 470 MB, free: 17.37 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008582/0.2956, allocations: 176.3 kB / 470.2 MB, free: 17.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.408e-06/0.2956, allocations: 4.375 kB / 470.2 MB, free: 17.36 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.288e-05/0.2957, allocations: 16.47 kB / 470.2 MB, free: 17.35 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.488e-06/0.2957, allocations: 8.844 kB / 470.2 MB, free: 17.34 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.2957, allocations: 2.344 kB / 470.2 MB, free: 17.34 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001426/0.2971, allocations: 1.024 MB / 471.2 MB, free: 16.84 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002677/0.2974, allocations: 99.75 kB / 471.3 MB, free: 16.8 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.942e-05/0.2975, allocations: 20.78 kB / 471.3 MB, free: 16.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003141/0.2978, allocations: 27.97 kB / 471.4 MB, free: 16.77 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001341/0.2979, allocations: 48.97 kB / 471.4 MB, free: 16.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.266e-05/0.298, allocations: 18.95 kB / 471.4 MB, free: 16.75 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004142/0.2984, allocations: 354.7 kB / 471.8 MB, free: 16.6 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2984, allocations: 0 / 471.8 MB, free: 16.6 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001004/0.2994, allocations: 221.5 kB / 472 MB, free: 16.57 MB / 366.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.0001406/0.2995, allocations: 115.6 kB / 472.1 MB, free: 16.47 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001723/0.3012, allocations: 1.073 MB / 473.2 MB, free: 15.9 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3012, allocations: 0 / 473.2 MB, free: 15.9 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004655/0.3017, allocations: 299.5 kB / 473.5 MB, free: 15.82 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008613/0.3026, allocations: 166.9 kB / 473.6 MB, free: 15.76 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002798/0.3054, allocations: 1.808 MB / 475.5 MB, free: 14.81 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004379/0.3058, allocations: 478 kB / 475.9 MB, free: 14.65 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005469/0.3064, allocations: 228.1 kB / 476.1 MB, free: 14.55 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001656/0.3065, allocations: 56.5 kB / 476.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of SimCode: time 9.41e-07/0.3065, allocations: 4 kB / 476.2 MB, free: 14.53 MB / 366.1 MB Notification: Performance of Templates: time 0.01422/0.3207, allocations: 8.333 MB / 484.5 MB, free: 7.414 MB / 366.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.247618600726128] Failed to read output from testmodel.py, exit status != 0: 0.32958852499723434 0.341545187 0.31133099599999997 Calling exit ...