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.001432/0.001432, allocations: 74.33 kB / 21.24 MB, free: 0.5469 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.001603/0.001603, allocations: 159 kB / 24.5 MB, free: 3.719 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.56/1.56, allocations: 177.2 MB / 204.9 MB, free: 9.012 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.1799/0.1799, allocations: 29.43 MB / 290.7 MB, free: 3.273 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: 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.002173/0.002173, allocations: 63.89 kB / 431.2 MB, free: 3.234 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3551/0.3573, allocations: 62.43 MB / 493.6 MB, free: 37.97 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Display): time 0.007039/0.3643, allocations: 6.339 MB / 499.9 MB, free: 33.71 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003374/0.3677, allocations: 1.928 MB / 0.4901 GB, free: 32.42 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004259/0.3681, allocations: 31.94 kB / 0.4901 GB, free: 32.41 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00175/0.3699, allocations: 0.7056 MB / 0.4908 GB, free: 32 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001387/0.3713, allocations: 0.5852 MB / 0.4914 GB, free: 31.69 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006718/0.3719, allocations: 254.1 kB / 0.4916 GB, free: 31.57 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00086/0.3728, allocations: 1.135 MB / 0.4927 GB, free: 31.09 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005946/0.3734, allocations: 480.6 kB / 0.4932 GB, free: 30.87 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006154/0.374, allocations: 0.5339 MB / 0.4937 GB, free: 30.63 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007389/0.3747, allocations: 0.6295 MB / 0.4943 GB, free: 30.42 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001032/0.3748, allocations: 67.31 kB / 0.4944 GB, free: 30.42 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00051/0.3754, allocations: 291.7 kB / 0.4947 GB, free: 30.37 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000351/0.3757, allocations: 486.5 kB / 0.4952 GB, free: 30.21 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003836/0.3761, allocations: 415.6 kB / 0.4955 GB, free: 30 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00111/0.3772, allocations: 1.199 MB / 0.4967 GB, free: 29.55 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.3772, allocations: 0 / 0.4967 GB, free: 29.55 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3772, allocations: 0 / 0.4967 GB, free: 29.55 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.124e-05/0.3772, allocations: 0 / 0.4967 GB, free: 29.55 MB / 446.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.00192/0.3791, allocations: 1.163 MB / 0.4979 GB, free: 28.8 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/0.3792, allocations: 9.656 kB / 0.4979 GB, free: 28.8 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000966/0.3802, allocations: 173 kB / 0.498 GB, free: 28.74 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001075/0.3812, allocations: 0.5502 MB / 0.4986 GB, free: 28.41 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.013e-05/0.3813, allocations: 75.16 kB / 0.4986 GB, free: 28.38 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002216/0.3815, allocations: 93.81 kB / 0.4987 GB, free: 28.34 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001418/0.3829, allocations: 1.151 MB / 0.4999 GB, free: 27.85 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.264e-05/0.383, allocations: 7.891 kB / 0.4999 GB, free: 27.84 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.247e-05/0.383, allocations: 41.08 kB / 0.4999 GB, free: 27.81 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001533/0.3832, allocations: 83.48 kB / 0.5 GB, free: 27.8 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001327/0.3845, allocations: 0.9922 MB / 0.5009 GB, free: 27.5 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004254/0.3888, allocations: 3.766 MB / 0.5046 GB, free: 24.95 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001006/0.3898, allocations: 0.5891 MB / 0.5052 GB, free: 24.73 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003523/0.3901, allocations: 281.3 kB / 0.5055 GB, free: 24.63 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.533e-05/0.3902, allocations: 10.56 kB / 0.5055 GB, free: 24.62 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.598e-05/0.3902, allocations: 48.5 kB / 0.5055 GB, free: 24.58 MB / 446.1 MB Notification: Performance of pre-optimization done (n=63): time 2.465e-06/0.3902, allocations: 0 / 0.5055 GB, free: 24.58 MB / 446.1 MB Notification: Performance of matching and sorting (n=64): time 0.002453/0.3926, allocations: 1.676 MB / 0.5072 GB, free: 23.73 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.022e-05/0.3927, allocations: 91.02 kB / 0.5072 GB, free: 23.64 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004389/0.3931, allocations: 0.5515 MB / 0.5078 GB, free: 23.37 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.221e-05/0.3932, allocations: 41.05 kB / 0.5078 GB, free: 23.33 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002093/0.3934, allocations: 454 kB / 0.5083 GB, free: 22.97 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001226/0.3935, allocations: 228.1 kB / 0.5085 GB, free: 22.79 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001929/0.3937, allocations: 189.1 kB / 0.5087 GB, free: 22.7 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.007e-05/0.3938, allocations: 379.9 kB / 0.509 GB, free: 22.36 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003847/0.3941, allocations: 284.6 kB / 0.5093 GB, free: 22.27 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005118/0.3947, allocations: 0.6073 MB / 0.5099 GB, free: 21.77 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009616/0.3956, allocations: 0.9706 MB / 0.5108 GB, free: 21.09 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.3956, allocations: 3.031 kB / 0.5108 GB, free: 21.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002119/0.3977, allocations: 1.175 MB / 0.512 GB, free: 20.62 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.3978, allocations: 15.69 kB / 0.512 GB, free: 20.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0012/0.399, allocations: 0.7123 MB / 0.5127 GB, free: 20.37 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006875/0.3997, allocations: 213.7 kB / 0.5129 GB, free: 20.31 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007253/0.4004, allocations: 225.4 kB / 0.5131 GB, free: 20.28 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003639/0.404, allocations: 4.977 MB / 0.518 GB, free: 16.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000574/0.4046, allocations: 30.59 kB / 0.518 GB, free: 16.01 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.311e-05/0.4047, allocations: 46.31 kB / 0.518 GB, free: 16 MB / 446.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.0004813/0.4052, allocations: 346 kB / 0.5184 GB, free: 15.79 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001286/0.4053, allocations: 66.2 kB / 0.5184 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001063/0.4063, allocations: 0.6564 MB / 0.5191 GB, free: 15.47 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.141e-06/0.4064, allocations: 7.719 kB / 0.5191 GB, free: 15.47 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.4064, allocations: 0 / 0.5191 GB, free: 15.47 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.4064, allocations: 4.734 kB / 0.5191 GB, free: 15.47 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002378/0.4087, allocations: 1.332 MB / 0.5204 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.4087, allocations: 1.125 kB / 0.5204 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00079/0.4095, allocations: 173.6 kB / 0.5206 GB, free: 14.83 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.024e-05/0.4095, allocations: 7.938 kB / 0.5206 GB, free: 14.82 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.494e-05/0.4096, allocations: 19.59 kB / 0.5206 GB, free: 14.81 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.29e-06/0.4096, allocations: 4 kB / 0.5206 GB, free: 14.81 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.4096, allocations: 5.031 kB / 0.5206 GB, free: 14.81 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00135/0.411, allocations: 1.026 MB / 0.5216 GB, free: 14.31 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002801/0.4112, allocations: 103.7 kB / 0.5217 GB, free: 14.26 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001003/0.4113, allocations: 18.66 kB / 0.5217 GB, free: 14.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003256/0.4117, allocations: 20.69 kB / 0.5217 GB, free: 14.23 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001186/0.4118, allocations: 50.48 kB / 0.5218 GB, free: 14.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.167e-05/0.4118, allocations: 21.59 kB / 0.5218 GB, free: 14.22 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003839/0.4122, allocations: 359.1 kB / 0.5221 GB, free: 14.06 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4122, allocations: 0 / 0.5221 GB, free: 14.06 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009489/0.4132, allocations: 217.2 kB / 0.5223 GB, free: 14.04 MB / 446.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.0001296/0.4133, allocations: 123.2 kB / 0.5225 GB, free: 13.93 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001676/0.415, allocations: 1.071 MB / 0.5235 GB, free: 13.36 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.415, allocations: 4.062 kB / 0.5235 GB, free: 13.36 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004489/0.4154, allocations: 294.2 kB / 0.5238 GB, free: 13.27 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008124/0.4162, allocations: 154.7 kB / 0.5239 GB, free: 13.21 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002972/0.4192, allocations: 1.966 MB / 0.5259 GB, free: 12.11 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006767/0.4199, allocations: 471.9 kB / 0.5263 GB, free: 11.98 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006488/0.4205, allocations: 229.3 kB / 0.5265 GB, free: 11.94 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001752/0.4207, allocations: 63.84 kB / 0.5266 GB, free: 11.93 MB / 446.1 MB Notification: Performance of SimCode: time 7.11e-07/0.4207, allocations: 0 / 0.5266 GB, free: 11.93 MB / 446.1 MB Notification: Performance of Templates: time 0.01993/0.4406, allocations: 8.384 MB / 0.5348 GB, free: 10.95 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 -s ida -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.Display.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.323169759009033] Failed to read output from testmodel.py, exit status != 0: 0.4500563049223274 0.46156713899999996 0.082046567 Calling exit ...