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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001082/0.001082, allocations: 192.9 kB / 8.136 MB, free: 2.195 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.309/1.309, allocations: 194.2 MB / 202.8 MB, free: 8.664 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.0018/0.0018, allocations: 116 kB / 247.7 MB, free: 6.391 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1728/0.1728, allocations: 37.92 MB / 330.5 MB, free: 6.887 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.632e-06/6.662e-06, allocations: 4 kB / 389.8 MB, free: 78.09 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1095, allocations: 53.22 MB / 443 MB, free: 24.97 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3341/0.4437, allocations: 80.88 MB / 0.5116 GB, free: 11.04 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.005834/0.4496, allocations: 2.135 MB / 0.5137 GB, free: 10.96 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.004467/0.4541, allocations: 1.538 MB / 0.5152 GB, free: 10.86 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.271e-05/0.4541, allocations: 1.219 kB / 0.5152 GB, free: 10.86 MB / 346.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.0004184/0.4545, allocations: 409 kB / 0.5156 GB, free: 10.46 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.4546, allocations: 8.922 kB / 0.5156 GB, free: 10.46 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.456e-05/0.4546, allocations: 7.781 kB / 0.5156 GB, free: 10.45 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002358/0.4549, allocations: 184.4 kB / 0.5158 GB, free: 10.25 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.4549, allocations: 3.906 kB / 0.5158 GB, free: 10.25 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.823e-05/0.4549, allocations: 7.625 kB / 0.5158 GB, free: 10.25 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.471e-05/0.455, allocations: 19.53 kB / 0.5158 GB, free: 10.25 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001024/0.4551, allocations: 58.95 kB / 0.5159 GB, free: 10.2 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.4551, allocations: 0 / 0.5159 GB, free: 10.2 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.4552, allocations: 0 / 0.5159 GB, free: 10.2 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.4552, allocations: 1.359 kB / 0.5159 GB, free: 10.2 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003028/0.4555, allocations: 257.5 kB / 0.5161 GB, free: 9.961 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.094e-05/0.4556, allocations: 44.41 kB / 0.5162 GB, free: 9.93 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.495e-05/0.4556, allocations: 8.703 kB / 0.5162 GB, free: 9.922 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.302e-05/0.4556, allocations: 3.844 kB / 0.5162 GB, free: 9.922 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.169e-05/0.4557, allocations: 34.97 kB / 0.5162 GB, free: 9.883 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.203e-06/0.4557, allocations: 0 / 0.5162 GB, free: 9.883 MB / 346.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001783/0.4558, allocations: 47.88 kB / 0.5162 GB, free: 9.848 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.907e-05/0.4559, allocations: 80.95 kB / 0.5163 GB, free: 9.754 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001115/0.456, allocations: 124.1 kB / 0.5164 GB, free: 9.656 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.153e-05/0.456, allocations: 25.7 kB / 0.5165 GB, free: 9.625 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.475e-05/0.4561, allocations: 92.45 kB / 0.5166 GB, free: 9.539 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.648e-05/0.4561, allocations: 7.844 kB / 0.5166 GB, free: 9.531 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.526e-06/0.4561, allocations: 0 / 0.5166 GB, free: 9.531 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.262e-05/0.4562, allocations: 320.9 kB / 0.5169 GB, free: 9.219 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.82e-05/0.4562, allocations: 7.531 kB / 0.5169 GB, free: 9.219 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.501e-05/0.4562, allocations: 22.02 kB / 0.5169 GB, free: 9.203 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.791e-05/0.4563, allocations: 10.09 kB / 0.5169 GB, free: 9.199 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.4563, allocations: 0 / 0.5169 GB, free: 9.199 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.882e-05/0.4564, allocations: 64.12 kB / 0.517 GB, free: 9.16 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.4564, allocations: 3.969 kB / 0.517 GB, free: 9.16 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.4564, allocations: 3.938 kB / 0.517 GB, free: 9.156 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.4564, allocations: 3.75 kB / 0.517 GB, free: 9.156 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.943e-05/0.4565, allocations: 5.344 kB / 0.517 GB, free: 9.156 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.094e-06/0.4565, allocations: 0 / 0.517 GB, free: 9.156 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.276e-05/0.4565, allocations: 7.844 kB / 0.517 GB, free: 9.148 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.4566, allocations: 3.844 kB / 0.517 GB, free: 9.148 MB / 346.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 6.656e-05/0.4566, allocations: 105 kB / 0.5171 GB, free: 9.039 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.117e-05/0.4567, allocations: 9.25 kB / 0.5171 GB, free: 9.035 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001319/0.4568, allocations: 56.02 kB / 0.5172 GB, free: 9 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.4568, allocations: 5.531 kB / 0.5172 GB, free: 8.996 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.4568, allocations: 0 / 0.5172 GB, free: 8.996 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.4568, allocations: 0 / 0.5172 GB, free: 8.996 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001367/0.457, allocations: 153.3 kB / 0.5173 GB, free: 8.832 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.457, allocations: 0 / 0.5173 GB, free: 8.832 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.743e-05/0.457, allocations: 8.406 kB / 0.5173 GB, free: 8.832 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.457, allocations: 4 kB / 0.5173 GB, free: 8.828 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-06/0.457, allocations: 0 / 0.5173 GB, free: 8.828 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.457, allocations: 0 / 0.5173 GB, free: 8.828 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/0.4571, allocations: 3.844 kB / 0.5173 GB, free: 8.828 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001032/0.4572, allocations: 146.9 kB / 0.5175 GB, free: 8.691 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.43e-05/0.4572, allocations: 86.45 kB / 0.5175 GB, free: 8.594 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.993e-05/0.4572, allocations: 0 / 0.5175 GB, free: 8.594 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.276e-05/0.4573, allocations: 3.875 kB / 0.5175 GB, free: 8.594 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.989e-05/0.4573, allocations: 5.219 kB / 0.5176 GB, free: 8.59 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.486e-06/0.4573, allocations: 0 / 0.5176 GB, free: 8.59 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.344e-05/0.4574, allocations: 105.2 kB / 0.5177 GB, free: 8.512 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000243/0.4577, allocations: 25.09 kB / 0.5177 GB, free: 8.5 MB / 346.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.0005861/0.4582, allocations: 260 kB / 0.5179 GB, free: 8.34 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001119/0.4584, allocations: 53.28 kB / 0.518 GB, free: 8.305 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.4584, allocations: 0 / 0.518 GB, free: 8.305 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.482e-05/0.4584, allocations: 14.25 kB / 0.518 GB, free: 8.301 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001963/0.4586, allocations: 5.344 kB / 0.518 GB, free: 8.301 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002922/0.4589, allocations: 86.09 kB / 0.5181 GB, free: 8.227 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002367/0.4592, allocations: 0.7083 MB / 0.5188 GB, free: 7.523 MB / 346.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4592, allocations: 0 / 0.5188 GB, free: 7.523 MB / 346.7 MB Notification: Performance of Templates: time 0.003629/0.4628, allocations: 1.002 MB / 0.5197 GB, free: 7.301 MB / 346.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)