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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Introductory.Display,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Display") translateModel(PowerSystems.Examples.Introductory.Display,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Display") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001496/0.001496, allocations: 181.9 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.626/1.626, allocations: 194.2 MB / 208.4 MB, free: 6.719 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001383/0.001384, allocations: 120.6 kB / 253.5 MB, free: 9.586 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1755/0.1755, allocations: 37.9 MB / 336.4 MB, free: 14.26 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.895e-05/3.908e-05, allocations: 4 kB / 397.5 MB, free: 1.039 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2999/0.3, allocations: 53.22 MB / 450.8 MB, free: 13.48 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3636/0.6636, allocations: 94.94 MB / 0.5329 GB, free: 88 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002827/0.664, allocations: 80.83 kB / 0.533 GB, free: 88 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06852/0.7325, allocations: 26.19 MB / 0.5586 GB, free: 70.05 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.7325, allocations: 0 / 0.5586 GB, free: 70.05 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.25e-05/0.7326, allocations: 20 kB / 0.5586 GB, free: 70.03 MB / 378.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.001544/0.7341, allocations: 1.006 MB / 0.5596 GB, free: 68.97 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.7342, allocations: 12.03 kB / 0.5596 GB, free: 68.96 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008444/0.735, allocations: 162.6 kB / 0.5597 GB, free: 68.8 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002858/0.7379, allocations: 1.294 MB / 0.561 GB, free: 67.46 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.145e-05/0.738, allocations: 69.97 kB / 0.5611 GB, free: 67.39 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001166/0.7381, allocations: 76 kB / 0.5611 GB, free: 67.32 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001367/0.7395, allocations: 1.137 MB / 0.5622 GB, free: 66.13 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.97e-05/0.7395, allocations: 7.906 kB / 0.5622 GB, free: 66.12 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.653e-05/0.7396, allocations: 39.94 kB / 0.5623 GB, free: 66.08 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.175e-05/0.7397, allocations: 73.95 kB / 0.5624 GB, free: 66.01 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001188/0.7409, allocations: 0.9797 MB / 0.5633 GB, free: 65.03 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004194/0.7451, allocations: 4.362 MB / 0.5676 GB, free: 60.44 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008529/0.7459, allocations: 0.6255 MB / 0.5682 GB, free: 59.79 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000336/0.7463, allocations: 315.4 kB / 0.5685 GB, free: 59.48 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.838e-05/0.7463, allocations: 8.562 kB / 0.5685 GB, free: 59.47 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/0.7464, allocations: 43.11 kB / 0.5685 GB, free: 59.42 MB / 378.7 MB Notification: Performance of pre-optimization done (n=63): time 3.126e-06/0.7464, allocations: 0 / 0.5685 GB, free: 59.42 MB / 378.7 MB Notification: Performance of matching and sorting (n=64): time 0.002028/0.7484, allocations: 1.539 MB / 0.57 GB, free: 57.83 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.493e-05/0.7485, allocations: 85.67 kB / 0.5701 GB, free: 57.72 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004224/0.7489, allocations: 484.5 kB / 0.5706 GB, free: 57.25 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.436e-05/0.7489, allocations: 33.7 kB / 0.5706 GB, free: 57.21 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001886/0.7491, allocations: 450.7 kB / 0.571 GB, free: 56.76 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001085/0.7492, allocations: 216.8 kB / 0.5712 GB, free: 56.54 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.368e-05/0.7493, allocations: 20 kB / 0.5713 GB, free: 56.52 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.753e-05/0.7494, allocations: 382.7 kB / 0.5716 GB, free: 56.14 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003454/0.7497, allocations: 281.9 kB / 0.5719 GB, free: 55.86 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005027/0.7502, allocations: 0.5998 MB / 0.5725 GB, free: 55.11 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005254/0.7508, allocations: 395 kB / 0.5729 GB, free: 54.73 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.7508, allocations: 4 kB / 0.5729 GB, free: 54.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.00197/0.7528, allocations: 1.16 MB / 0.574 GB, free: 53.55 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.319e-05/0.7528, allocations: 15.94 kB / 0.574 GB, free: 53.53 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001259/0.7541, allocations: 0.7117 MB / 0.5747 GB, free: 52.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007524/0.7548, allocations: 214.4 kB / 0.5749 GB, free: 52.6 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007595/0.7556, allocations: 211.6 kB / 0.5751 GB, free: 52.39 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003675/0.7593, allocations: 4.919 MB / 0.5799 GB, free: 47.06 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005943/0.7599, allocations: 47.77 kB / 0.58 GB, free: 47.01 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.425e-05/0.76, allocations: 36 kB / 0.58 GB, free: 46.98 MB / 378.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_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],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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(2,100.0%) 6,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001627/0.7602, allocations: 199.8 kB / 0.5802 GB, free: 46.77 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.942e-05/0.7602, allocations: 59.25 kB / 0.5802 GB, free: 46.71 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008892/0.7611, allocations: 0.6576 MB / 0.5809 GB, free: 46.05 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.7612, allocations: 8 kB / 0.5809 GB, free: 46.04 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.7612, allocations: 0 / 0.5809 GB, free: 46.04 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.585e-06/0.7612, allocations: 7.938 kB / 0.5809 GB, free: 46.04 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002104/0.7633, allocations: 1.601 MB / 0.5825 GB, free: 44.35 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/0.7633, allocations: 4 kB / 0.5825 GB, free: 44.35 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006461/0.764, allocations: 159.8 kB / 0.5826 GB, free: 44.19 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.925e-06/0.764, allocations: 4 kB / 0.5826 GB, free: 44.19 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.779e-05/0.764, allocations: 19.98 kB / 0.5826 GB, free: 44.17 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.45e-06/0.764, allocations: 4 kB / 0.5826 GB, free: 44.16 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.764, allocations: 7.938 kB / 0.5827 GB, free: 44.16 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001053/0.7651, allocations: 1.116 MB / 0.5837 GB, free: 42.95 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002538/0.7654, allocations: 188.2 kB / 0.5839 GB, free: 42.75 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.028e-05/0.7654, allocations: 16.12 kB / 0.5839 GB, free: 42.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002861/0.7657, allocations: 27.98 kB / 0.584 GB, free: 42.7 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/0.7658, allocations: 48.45 kB / 0.584 GB, free: 42.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.394e-05/0.7659, allocations: 20 kB / 0.584 GB, free: 42.64 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003403/0.7662, allocations: 349.5 kB / 0.5844 GB, free: 42.3 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.7662, allocations: 0 / 0.5844 GB, free: 42.3 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008875/0.7671, allocations: 233.9 kB / 0.5846 GB, free: 42.07 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002102/0.7674, allocations: 148.6 kB / 0.5847 GB, free: 41.92 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001313/0.7687, allocations: 1.095 MB / 0.5858 GB, free: 40.79 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.7687, allocations: 4 kB / 0.5858 GB, free: 40.79 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003785/0.7691, allocations: 320.2 kB / 0.5861 GB, free: 40.47 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006087/0.7697, allocations: 134 kB / 0.5862 GB, free: 40.34 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00201/0.7717, allocations: 1.579 MB / 0.5878 GB, free: 38.71 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004584/0.7722, allocations: 1.088 MB / 0.5888 GB, free: 37.59 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005375/0.7727, allocations: 225.6 kB / 0.5891 GB, free: 37.37 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001338/0.7729, allocations: 51.44 kB / 0.5891 GB, free: 37.32 MB / 378.7 MB Notification: Performance of SimCode: time 4.41e-07/0.7729, allocations: 0 / 0.5891 GB, free: 37.32 MB / 378.7 MB Notification: Performance of Templates: time 0.01225/0.7851, allocations: 7.95 MB / 0.5969 GB, free: 29.38 MB / 378.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.Display.makefile (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)