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.001001/0.001001, allocations: 80.92 kB / 21.5 MB, free: 2.992 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.001063/0.001063, allocations: 171.9 kB / 24.91 MB, free: 8.773 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 1.01/1.01, allocations: 177.1 MB / 205.3 MB, free: 5.48 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.289/0.289, allocations: 29.41 MB / 291.2 MB, free: 2.418 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 2.705e-06/2.705e-06, allocations: 3.984 kB / 316.8 MB, free: 4 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.199e-05/1.47e-05, allocations: 2.312 kB / 316.8 MB, free: 0 / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Display): time 0.00468/0.004695, allocations: 5.507 MB / 322.3 MB, free: 10.46 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002594/0.007289, allocations: 2.014 MB / 324.3 MB, free: 8.445 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000273/0.007562, allocations: 27.75 kB / 324.4 MB, free: 8.418 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004832/0.008045, allocations: 186.8 kB / 324.5 MB, free: 8.234 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008943/0.008939, allocations: 0.5905 MB / 325.1 MB, free: 7.641 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000495/0.009434, allocations: 259.3 kB / 325.4 MB, free: 7.387 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009002/0.01033, allocations: 1.164 MB / 326.6 MB, free: 6.219 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004714/0.01081, allocations: 0.5073 MB / 327.1 MB, free: 5.707 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000692/0.0115, allocations: 0.7753 MB / 327.8 MB, free: 4.93 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004891/0.01199, allocations: 0.5141 MB / 328.4 MB, free: 4.414 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.285e-05/0.01206, allocations: 64 kB / 328.4 MB, free: 4.352 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003518/0.01241, allocations: 279.6 kB / 328.7 MB, free: 4.078 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000303/0.01271, allocations: 0.5027 MB / 329.2 MB, free: 3.574 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002382/0.01295, allocations: 343.1 kB / 329.5 MB, free: 3.238 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006528/0.01361, allocations: 0.8876 MB / 330.4 MB, free: 2.348 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.563e-06/0.01361, allocations: 4 kB / 330.4 MB, free: 2.344 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.01361, allocations: 0 / 330.4 MB, free: 2.344 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.01362, allocations: 0 / 330.4 MB, free: 2.344 MB / 298.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.001085/0.0147, allocations: 1.086 MB / 331.5 MB, free: 1.227 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.01473, allocations: 15.98 kB / 331.5 MB, free: 1.211 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005153/0.01525, allocations: 208.7 kB / 331.7 MB, free: 1.004 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004814/0.01573, allocations: 490.9 kB / 332.2 MB, free: 0.4961 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.173e-05/0.01577, allocations: 66.36 kB / 332.3 MB, free: 444 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001262/0.0159, allocations: 92.84 kB / 332.4 MB, free: 352 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000621/0.01652, allocations: 0.7226 MB / 333.1 MB, free: 15.56 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.085e-05/0.01654, allocations: 11.89 kB / 333.1 MB, free: 15.55 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.661e-05/0.01659, allocations: 35.98 kB / 333.1 MB, free: 15.51 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-05/0.01668, allocations: 81.95 kB / 333.2 MB, free: 15.43 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004145/0.01709, allocations: 384.2 kB / 333.6 MB, free: 15.05 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002328/0.01942, allocations: 3.141 MB / 336.7 MB, free: 11.77 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004223/0.01984, allocations: 375.4 kB / 337.1 MB, free: 11.38 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001214/0.01996, allocations: 113.1 kB / 337.2 MB, free: 11.27 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.17e-05/0.01999, allocations: 16.5 kB / 337.2 MB, free: 11.25 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.257e-05/0.02002, allocations: 39.06 kB / 337.3 MB, free: 11.2 MB / 314.7 MB Notification: Performance of pre-optimization done (n=63): time 2.164e-06/0.02002, allocations: 3.938 kB / 337.3 MB, free: 11.2 MB / 314.7 MB Notification: Performance of matching and sorting (n=64): time 0.001022/0.02104, allocations: 0.7818 MB / 338 MB, free: 10.38 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.872e-05/0.02108, allocations: 89.89 kB / 338.1 MB, free: 10.27 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002704/0.02135, allocations: 490.7 kB / 338.6 MB, free: 9.781 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.283e-05/0.02138, allocations: 37.7 kB / 338.6 MB, free: 9.738 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001708/0.02155, allocations: 408.9 kB / 339 MB, free: 9.328 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001079/0.02166, allocations: 222.1 kB / 339.3 MB, free: 9.109 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001376/0.0218, allocations: 182.4 kB / 339.4 MB, free: 8.926 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001033/0.0219, allocations: 390.5 kB / 339.8 MB, free: 8.535 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001114/0.02201, allocations: 92.78 kB / 339.9 MB, free: 8.445 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002449/0.02226, allocations: 426.5 kB / 340.3 MB, free: 7.879 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004578/0.02272, allocations: 0.621 MB / 340.9 MB, free: 7.105 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.678e-06/0.02272, allocations: 4 kB / 340.9 MB, free: 7.102 MB / 314.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.0007503/0.02347, allocations: 0.6742 MB / 341.6 MB, free: 6.406 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.02349, allocations: 11.94 kB / 341.6 MB, free: 6.395 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003796/0.02387, allocations: 312.9 kB / 341.9 MB, free: 6.074 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004035/0.02427, allocations: 189.7 kB / 342.1 MB, free: 5.875 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004032/0.02467, allocations: 227.6 kB / 342.3 MB, free: 5.652 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002189/0.02686, allocations: 4.14 MB / 346.5 MB, free: 1.215 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002024/0.02706, allocations: 35.97 kB / 346.5 MB, free: 1.18 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.393e-05/0.0271, allocations: 32 kB / 346.6 MB, free: 1.148 MB / 314.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.0001738/0.02727, allocations: 200.3 kB / 346.8 MB, free: 0.9453 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.84e-05/0.02734, allocations: 55.95 kB / 346.8 MB, free: 0.8906 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003341/0.02768, allocations: 340 kB / 347.1 MB, free: 0.5508 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.02768, allocations: 11.94 kB / 347.1 MB, free: 0.5391 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-06/0.02768, allocations: 3.984 kB / 347.2 MB, free: 0.5352 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.02769, allocations: 0 / 347.2 MB, free: 0.5352 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008692/0.02856, allocations: 0.8328 MB / 348 MB, free: 15.65 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.02856, allocations: 7.938 kB / 348 MB, free: 15.64 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003892/0.02895, allocations: 187.9 kB / 348.2 MB, free: 15.46 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.02895, allocations: 4 kB / 348.2 MB, free: 15.46 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.384e-05/0.02898, allocations: 19.98 kB / 348.2 MB, free: 15.44 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.02898, allocations: 4 kB / 348.2 MB, free: 15.43 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.02898, allocations: 4 kB / 348.2 MB, free: 15.43 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005/0.02948, allocations: 0.5607 MB / 348.8 MB, free: 14.84 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001343/0.02962, allocations: 91.48 kB / 348.9 MB, free: 14.75 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.058e-05/0.02968, allocations: 16 kB / 348.9 MB, free: 14.73 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000185/0.02986, allocations: 20.05 kB / 348.9 MB, free: 14.71 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.298e-05/0.02995, allocations: 44.42 kB / 348.9 MB, free: 14.67 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.669e-05/0.02997, allocations: 15.98 kB / 349 MB, free: 14.65 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001644/0.03014, allocations: 192.4 kB / 349.1 MB, free: 14.46 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03014, allocations: 0 / 349.1 MB, free: 14.46 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006337/0.03077, allocations: 216 kB / 349.4 MB, free: 14.25 MB / 330.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 0.0001282/0.0309, allocations: 109 kB / 349.5 MB, free: 14.14 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008372/0.03174, allocations: 0.7821 MB / 350.2 MB, free: 13.31 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.75e-05/0.03175, allocations: 12.5 kB / 350.3 MB, free: 13.3 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002015/0.03195, allocations: 161.9 kB / 350.4 MB, free: 13.14 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005685/0.03252, allocations: 176.2 kB / 350.6 MB, free: 12.98 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002163/0.03469, allocations: 1.51 MB / 352.1 MB, free: 11.41 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001947/0.03488, allocations: 239.4 kB / 352.3 MB, free: 11.16 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002581/0.03514, allocations: 101.7 kB / 352.4 MB, free: 11.05 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003028/0.03544, allocations: 185.3 kB / 352.6 MB, free: 10.87 MB / 330.7 MB Notification: Performance of SimCode: time 5.51e-07/0.03544, allocations: 0 / 352.6 MB, free: 10.87 MB / 330.7 MB Notification: Performance of Templates: time 0.01368/0.04912, allocations: 9.002 MB / 361.6 MB, free: 2.012 MB / 330.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=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.Display.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.1810608017258346]