Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.Tables.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.Tables,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Tables") translateModel(PowerSystems.Examples.Introductory.Tables,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Tables") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001821/0.001821, allocations: 185.8 kB / 8.352 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.579/1.579, allocations: 194.3 MB / 203.1 MB, free: 13.03 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.001776/0.001776, allocations: 112.7 kB / 248.1 MB, free: 20 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1564/0.1564, allocations: 37.93 MB / 330.9 MB, free: 2.652 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.565e-05/1.564e-05, allocations: 4 kB / 390.4 MB, free: 7.098 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2479/0.2479, allocations: 53.22 MB / 443.6 MB, free: 17.78 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09933/0.3473, allocations: 80.9 MB / 0.5122 GB, free: 0.7695 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.001342/0.3487, allocations: 0.5582 MB / 0.5127 GB, free: 216 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004729/0.3534, allocations: 1.848 MB / 0.5145 GB, free: 14.36 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.288e-06/0.3535, allocations: 0 / 0.5145 GB, free: 14.36 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.786e-06/0.3535, allocations: 3.938 kB / 0.5145 GB, free: 14.36 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003834/0.3539, allocations: 380.1 kB / 0.5149 GB, free: 13.94 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.3539, allocations: 12.03 kB / 0.5149 GB, free: 13.93 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.136e-05/0.354, allocations: 15.84 kB / 0.5149 GB, free: 13.91 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002597/0.3542, allocations: 183 kB / 0.5151 GB, free: 13.69 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.3543, allocations: 0 / 0.5151 GB, free: 13.69 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.181e-05/0.3543, allocations: 4 kB / 0.5151 GB, free: 13.69 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.027e-05/0.3544, allocations: 15.98 kB / 0.5151 GB, free: 13.67 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001171/0.3545, allocations: 67.34 kB / 0.5152 GB, free: 13.59 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.3545, allocations: 3.938 kB / 0.5152 GB, free: 13.59 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.3545, allocations: 3.953 kB / 0.5152 GB, free: 13.59 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.3545, allocations: 8 kB / 0.5152 GB, free: 13.58 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000326/0.3549, allocations: 253.4 kB / 0.5154 GB, free: 13.29 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.4e-05/0.355, allocations: 38.5 kB / 0.5155 GB, free: 13.25 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.194e-05/0.355, allocations: 12.92 kB / 0.5155 GB, free: 13.23 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.874e-05/0.355, allocations: 0 / 0.5155 GB, free: 13.23 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.177e-05/0.3551, allocations: 38.56 kB / 0.5155 GB, free: 13.18 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.3551, allocations: 0 / 0.5155 GB, free: 13.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=3): time 0.000154/0.3552, allocations: 49.73 kB / 0.5156 GB, free: 13.13 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.816e-05/0.3553, allocations: 77.11 kB / 0.5157 GB, free: 13.04 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001195/0.3554, allocations: 117 kB / 0.5158 GB, free: 12.91 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/0.3554, allocations: 25.7 kB / 0.5158 GB, free: 12.88 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.258e-05/0.3555, allocations: 100 kB / 0.5159 GB, free: 12.78 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.406e-05/0.3555, allocations: 7.844 kB / 0.5159 GB, free: 12.77 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.666e-06/0.3555, allocations: 4 kB / 0.5159 GB, free: 12.77 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.3556, allocations: 314.8 kB / 0.5162 GB, free: 12.45 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.284e-05/0.3557, allocations: 12 kB / 0.5162 GB, free: 12.44 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.386e-05/0.3557, allocations: 21.66 kB / 0.5162 GB, free: 12.41 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.945e-05/0.3557, allocations: 11.98 kB / 0.5162 GB, free: 12.4 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3557, allocations: 0 / 0.5162 GB, free: 12.4 MB / 378.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.89e-05/0.3559, allocations: 57.59 kB / 0.5163 GB, free: 12.34 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.032e-05/0.3559, allocations: 33.7 kB / 0.5163 GB, free: 12.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.3559, allocations: 4.031 kB / 0.5163 GB, free: 12.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.3559, allocations: 0 / 0.5163 GB, free: 12.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.589e-05/0.356, allocations: 7.953 kB / 0.5163 GB, free: 12.29 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.356, allocations: 7.922 kB / 0.5163 GB, free: 12.28 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.344e-05/0.356, allocations: 4 kB / 0.5164 GB, free: 12.28 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.433e-06/0.356, allocations: 0 / 0.5164 GB, free: 12.28 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.635e-05/0.3561, allocations: 101 kB / 0.5164 GB, free: 12.17 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.846e-05/0.3562, allocations: 7.906 kB / 0.5165 GB, free: 12.16 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001248/0.3563, allocations: 61.95 kB / 0.5165 GB, free: 12.09 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.3563, allocations: 4 kB / 0.5165 GB, free: 12.09 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/0.3563, allocations: 3.953 kB / 0.5165 GB, free: 12.08 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.3563, allocations: 240 / 0.5165 GB, free: 12.08 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001559/0.3565, allocations: 146.2 kB / 0.5167 GB, free: 11.9 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.3565, allocations: 4 kB / 0.5167 GB, free: 11.9 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.585e-05/0.3565, allocations: 7.984 kB / 0.5167 GB, free: 11.89 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.3565, allocations: 0 / 0.5167 GB, free: 11.89 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.33e-06/0.3565, allocations: 0 / 0.5167 GB, free: 11.89 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.3566, allocations: 0 / 0.5167 GB, free: 11.89 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.3566, allocations: 0 / 0.5167 GB, free: 11.89 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001135/0.3567, allocations: 159.4 kB / 0.5168 GB, free: 11.72 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.034e-05/0.3567, allocations: 85.02 kB / 0.5169 GB, free: 11.62 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.446e-05/0.3567, allocations: 0 / 0.5169 GB, free: 11.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.023e-05/0.3568, allocations: 4 kB / 0.5169 GB, free: 11.61 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.32e-05/0.3568, allocations: 0 / 0.5169 GB, free: 11.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.3568, allocations: 4 kB / 0.5169 GB, free: 11.61 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.106e-05/0.3569, allocations: 99.27 kB / 0.517 GB, free: 11.51 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3569, allocations: 0 / 0.517 GB, free: 11.51 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002555/0.3572, allocations: 31.92 kB / 0.517 GB, free: 11.48 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005777/0.3578, allocations: 281.8 kB / 0.5173 GB, free: 11.21 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001144/0.3579, allocations: 79.33 kB / 0.5174 GB, free: 11.12 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3579, allocations: 0 / 0.5174 GB, free: 11.12 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.517e-05/0.3579, allocations: 8 kB / 0.5174 GB, free: 11.11 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001734/0.3581, allocations: 19.8 kB / 0.5174 GB, free: 11.09 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002429/0.3583, allocations: 95.98 kB / 0.5175 GB, free: 10.97 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002767/0.3586, allocations: 0.6885 MB / 0.5182 GB, free: 10.26 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.166e-05/0.3587, allocations: 11.98 kB / 0.5182 GB, free: 10.25 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.87e-05/0.3587, allocations: 15.44 kB / 0.5182 GB, free: 10.23 MB / 378.7 MB Notification: Performance of SimCode: time 2.9e-07/0.3587, allocations: 0 / 0.5182 GB, free: 10.23 MB / 378.7 MB Notification: Performance of Templates: time 0.003096/0.3618, allocations: 0.97 MB / 0.5191 GB, free: 9.262 MB / 378.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.Tables.makefile (rm -f PowerSystems_PowerSystems.Examples.Introductory.Tables.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.Tables.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.Tables.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.Tables.sim & ./PowerSystems_PowerSystems.Examples.Introductory.Tables -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.Tables.pipe 2>&1)