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.001751/0.001751, allocations: 181.7 kB / 16.39 MB, free: 5.762 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.215/1.215, allocations: 194.5 MB / 211.6 MB, free: 3.039 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.001633/0.001633, allocations: 120.1 kB / 256.9 MB, free: 4.359 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1595/0.1595, allocations: 37.99 MB / 340.1 MB, free: 1.359 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003533/0.0003535, allocations: 8 kB / 403.8 MB, free: 68.81 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07583/0.0762, allocations: 53.24 MB / 457 MB, free: 15.57 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2843/0.3606, allocations: 95.02 MB / 0.5391 GB, free: 424 kB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001742/0.3608, allocations: 93.69 kB / 0.5392 GB, free: 376 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07203/0.4328, allocations: 26.19 MB / 0.5648 GB, free: 9.84 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.4328, allocations: 0 / 0.5648 GB, free: 9.84 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.183e-05/0.4329, allocations: 20 kB / 0.5648 GB, free: 9.82 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.001987/0.4349, allocations: 1.099 MB / 0.5658 GB, free: 8.727 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.4349, allocations: 12.02 kB / 0.5659 GB, free: 8.715 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000855/0.4358, allocations: 162.6 kB / 0.566 GB, free: 8.555 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003198/0.439, allocations: 1.307 MB / 0.5673 GB, free: 7.418 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.941e-05/0.4391, allocations: 60.56 kB / 0.5673 GB, free: 7.379 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001305/0.4392, allocations: 84.7 kB / 0.5674 GB, free: 7.32 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001608/0.4408, allocations: 1.153 MB / 0.5686 GB, free: 6.418 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.751e-05/0.4409, allocations: 4 kB / 0.5686 GB, free: 6.414 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.219e-05/0.441, allocations: 37.62 kB / 0.5686 GB, free: 6.398 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.777e-05/0.4411, allocations: 81.16 kB / 0.5687 GB, free: 6.324 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00148/0.4426, allocations: 0.9972 MB / 0.5696 GB, free: 5.602 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005145/0.4477, allocations: 4.379 MB / 0.5739 GB, free: 1.645 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001099/0.4488, allocations: 0.6359 MB / 0.5745 GB, free: 1.156 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.201e-05/0.4489, allocations: 8.625 kB / 0.5745 GB, free: 1.148 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.349e-05/0.4489, allocations: 34.81 kB / 0.5746 GB, free: 1.109 MB / 378.7 MB Notification: Performance of pre-optimization done (n=63): time 2.565e-06/0.4489, allocations: 0 / 0.5746 GB, free: 1.109 MB / 378.7 MB Notification: Performance of matching and sorting (n=64): time 0.002693/0.4516, allocations: 1.779 MB / 0.5763 GB, free: 15.66 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.025e-05/0.4517, allocations: 89.61 kB / 0.5764 GB, free: 15.56 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004805/0.4522, allocations: 493.5 kB / 0.5769 GB, free: 15.17 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.026e-05/0.4522, allocations: 33.52 kB / 0.5769 GB, free: 15.14 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002398/0.4525, allocations: 434.8 kB / 0.5773 GB, free: 14.79 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001571/0.4526, allocations: 223.5 kB / 0.5775 GB, free: 14.6 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.414e-05/0.4527, allocations: 19.62 kB / 0.5776 GB, free: 14.6 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.4528, allocations: 381.4 kB / 0.5779 GB, free: 14.24 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004108/0.4532, allocations: 289.6 kB / 0.5782 GB, free: 14.04 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000631/0.4539, allocations: 0.6082 MB / 0.5788 GB, free: 13.39 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005253/0.4544, allocations: 411.2 kB / 0.5792 GB, free: 13.11 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.4544, allocations: 4 kB / 0.5792 GB, free: 13.11 MB / 394.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.001864/0.4563, allocations: 1.174 MB / 0.5803 GB, free: 12.18 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.4563, allocations: 8 kB / 0.5803 GB, free: 12.17 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001224/0.4576, allocations: 0.7316 MB / 0.5811 GB, free: 11.62 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007177/0.4583, allocations: 214.9 kB / 0.5813 GB, free: 11.44 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006788/0.459, allocations: 210.7 kB / 0.5815 GB, free: 11.24 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004409/0.4634, allocations: 4.993 MB / 0.5863 GB, free: 6.316 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005313/0.464, allocations: 45.88 kB / 0.5864 GB, free: 6.285 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.868e-05/0.464, allocations: 42.81 kB / 0.5864 GB, free: 6.25 MB / 394.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 () * 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 (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.0005063/0.4645, allocations: 345.8 kB / 0.5867 GB, free: 5.98 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.645e-05/0.4646, allocations: 63.25 kB / 0.5868 GB, free: 5.918 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001109/0.4658, allocations: 0.6676 MB / 0.5875 GB, free: 5.445 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.714e-06/0.4658, allocations: 8 kB / 0.5875 GB, free: 5.438 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.824e-06/0.4658, allocations: 0 / 0.5875 GB, free: 5.438 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.887e-06/0.4658, allocations: 7.938 kB / 0.5875 GB, free: 5.43 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002606/0.4684, allocations: 1.614 MB / 0.5891 GB, free: 3.758 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.4684, allocations: 4 kB / 0.5891 GB, free: 3.754 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007455/0.4692, allocations: 163.7 kB / 0.5892 GB, free: 3.594 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.226e-06/0.4692, allocations: 7.984 kB / 0.5892 GB, free: 3.586 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.681e-05/0.4692, allocations: 20 kB / 0.5892 GB, free: 3.566 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-05/0.4693, allocations: 4 kB / 0.5892 GB, free: 3.562 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.4693, allocations: 0 / 0.5892 GB, free: 3.562 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00146/0.4707, allocations: 1.132 MB / 0.5903 GB, free: 2.336 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002769/0.471, allocations: 192.2 kB / 0.5905 GB, free: 2.129 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.207e-05/0.4711, allocations: 12 kB / 0.5905 GB, free: 2.117 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003094/0.4714, allocations: 23.98 kB / 0.5906 GB, free: 2.094 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001021/0.4715, allocations: 52.39 kB / 0.5906 GB, free: 2.043 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.513e-05/0.4716, allocations: 20 kB / 0.5906 GB, free: 2.023 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003772/0.472, allocations: 358.8 kB / 0.591 GB, free: 1.676 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.472, allocations: 0 / 0.591 GB, free: 1.676 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008228/0.4728, allocations: 233.8 kB / 0.5912 GB, free: 1.449 MB / 394.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 () * 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 (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.0002142/0.473, allocations: 143.7 kB / 0.5913 GB, free: 1.301 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001704/0.4747, allocations: 1.114 MB / 0.5924 GB, free: 152 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.157e-06/0.4748, allocations: 4 kB / 0.5924 GB, free: 148 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004738/0.4752, allocations: 328.1 kB / 0.5927 GB, free: 15.82 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006218/0.4759, allocations: 138.3 kB / 0.5929 GB, free: 15.69 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002997/0.4789, allocations: 2.374 MB / 0.5952 GB, free: 13.26 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006754/0.4796, allocations: 1.088 MB / 0.5963 GB, free: 12.14 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005977/0.4802, allocations: 217.6 kB / 0.5965 GB, free: 11.93 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001496/0.4803, allocations: 55.42 kB / 0.5965 GB, free: 11.87 MB / 410.7 MB Notification: Performance of SimCode: time 7.31e-07/0.4803, allocations: 0 / 0.5965 GB, free: 11.87 MB / 410.7 MB Notification: Performance of Templates: time 0.01394/0.4943, allocations: 7.957 MB / 0.6043 GB, free: 3.918 MB / 410.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)