Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Introductory.Tables.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Introductory.Tables,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Introductory.Tables") translateModel(PowerSystems.Examples.Introductory.Tables,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002504/0.002504, allocations: 185.8 kB / 7.805 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.681/1.681, allocations: 205.2 MB / 213.4 MB, free: 13.93 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001248/0.001248, allocations: 95 kB / 261.4 MB, free: 13.64 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2783/0.2783, allocations: 37.97 MB / 347.3 MB, free: 7.551 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.957e-06/9.127e-06, allocations: 0 / 409.3 MB, free: 47.25 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1022, allocations: 56.32 MB / 465.6 MB, free: 6.859 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3272/0.4295, allocations: 86.39 MB / 0.5391 GB, free: 8.508 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.009725/0.4392, allocations: 2.139 MB / 0.5412 GB, free: 6.383 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.009648/0.4489, allocations: 2.066 MB / 0.5432 GB, free: 4.312 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.479e-05/0.449, allocations: 4 kB / 0.5432 GB, free: 4.309 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.0005277/0.4495, allocations: 390.2 kB / 0.5436 GB, free: 3.883 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.4496, allocations: 8.031 kB / 0.5436 GB, free: 3.875 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.855e-05/0.4496, allocations: 7.906 kB / 0.5436 GB, free: 3.867 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003333/0.45, allocations: 195 kB / 0.5438 GB, free: 3.637 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.45, allocations: 0 / 0.5438 GB, free: 3.637 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.636e-05/0.45, allocations: 4 kB / 0.5438 GB, free: 3.633 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.649e-05/0.4501, allocations: 19.92 kB / 0.5438 GB, free: 3.613 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001238/0.4503, allocations: 55.41 kB / 0.5438 GB, free: 3.547 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.4503, allocations: 0 / 0.5438 GB, free: 3.547 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/0.4503, allocations: 3.906 kB / 0.5438 GB, free: 3.543 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.4503, allocations: 0 / 0.5438 GB, free: 3.543 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004156/0.4508, allocations: 261.4 kB / 0.5441 GB, free: 3.25 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000106/0.4509, allocations: 38.5 kB / 0.5441 GB, free: 3.203 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.324e-05/0.4509, allocations: 8.922 kB / 0.5441 GB, free: 3.191 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.344e-05/0.451, allocations: 0 / 0.5441 GB, free: 3.191 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.585e-05/0.451, allocations: 38.56 kB / 0.5442 GB, free: 3.145 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.352e-06/0.451, allocations: 0 / 0.5442 GB, free: 3.145 MB / 378.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001927/0.4512, allocations: 49.69 kB / 0.5442 GB, free: 3.09 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.138e-05/0.4513, allocations: 77.11 kB / 0.5443 GB, free: 2.996 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001747/0.4515, allocations: 127.2 kB / 0.5444 GB, free: 2.867 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.846e-05/0.4515, allocations: 25.7 kB / 0.5444 GB, free: 2.836 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.959e-05/0.4516, allocations: 162.5 kB / 0.5446 GB, free: 2.676 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.229e-05/0.4516, allocations: 11.81 kB / 0.5446 GB, free: 2.664 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-06/0.4516, allocations: 0 / 0.5446 GB, free: 2.664 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.4518, allocations: 314.8 kB / 0.5449 GB, free: 2.348 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.091e-05/0.4518, allocations: 7.938 kB / 0.5449 GB, free: 2.34 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.077e-05/0.4519, allocations: 17.72 kB / 0.5449 GB, free: 2.316 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.557e-05/0.4519, allocations: 7.984 kB / 0.5449 GB, free: 2.309 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.4519, allocations: 3.938 kB / 0.5449 GB, free: 2.305 MB / 378.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001097/0.4521, allocations: 49.62 kB / 0.545 GB, free: 2.25 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.4521, allocations: 4 kB / 0.545 GB, free: 2.246 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.4521, allocations: 0 / 0.545 GB, free: 2.246 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.4521, allocations: 32 / 0.545 GB, free: 2.246 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.32e-05/0.4522, allocations: 12 kB / 0.545 GB, free: 2.234 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.4522, allocations: 3.906 kB / 0.545 GB, free: 2.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.19e-05/0.4523, allocations: 0 / 0.545 GB, free: 2.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.4523, allocations: 0 / 0.545 GB, free: 2.23 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 (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 prepare postOptimizeDAE: time 5.866e-05/0.4523, allocations: 29.64 kB / 0.545 GB, free: 2.195 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.431e-05/0.4524, allocations: 7.906 kB / 0.5451 GB, free: 2.188 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001718/0.4526, allocations: 61.84 kB / 0.5451 GB, free: 2.121 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.4526, allocations: 0 / 0.5451 GB, free: 2.121 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.758e-06/0.4526, allocations: 0 / 0.5451 GB, free: 2.121 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.4526, allocations: 4 kB / 0.5451 GB, free: 2.117 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002163/0.4528, allocations: 154.1 kB / 0.5453 GB, free: 1.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.644e-06/0.4529, allocations: 0 / 0.5453 GB, free: 1.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.908e-05/0.4529, allocations: 7.984 kB / 0.5453 GB, free: 1.922 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.4529, allocations: 0 / 0.5453 GB, free: 1.922 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.154e-06/0.453, allocations: 0 / 0.5453 GB, free: 1.922 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.453, allocations: 0 / 0.5453 GB, free: 1.922 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.57e-06/0.453, allocations: 4 kB / 0.5453 GB, free: 1.918 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001678/0.4532, allocations: 147.4 kB / 0.5454 GB, free: 1.758 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.052e-05/0.4532, allocations: 89.02 kB / 0.5455 GB, free: 1.652 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.749e-05/0.4533, allocations: 7.984 kB / 0.5455 GB, free: 1.645 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.63e-05/0.4534, allocations: 0 / 0.5455 GB, free: 1.645 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.845e-05/0.4534, allocations: 7.906 kB / 0.5455 GB, free: 1.637 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.179e-06/0.4534, allocations: 0 / 0.5455 GB, free: 1.637 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0001182/0.4535, allocations: 108.2 kB / 0.5456 GB, free: 1.531 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003369/0.4539, allocations: 27.92 kB / 0.5456 GB, free: 1.504 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.0008405/0.4547, allocations: 312.9 kB / 0.5459 GB, free: 1.227 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001243/0.4549, allocations: 19.94 kB / 0.546 GB, free: 1.207 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.4549, allocations: 0 / 0.546 GB, free: 1.207 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.613e-05/0.4549, allocations: 7.984 kB / 0.546 GB, free: 1.199 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003073/0.4553, allocations: 12 kB / 0.546 GB, free: 1.188 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000414/0.4557, allocations: 125.4 kB / 0.5461 GB, free: 1.031 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003979/0.4561, allocations: 0.711 MB / 0.5468 GB, free: 304 kB / 378.7 MB Notification: Performance of SimCode: time 9.02e-07/0.4561, allocations: 0 / 0.5468 GB, free: 304 kB / 378.7 MB Notification: Performance of Templates: time 0.004523/0.4606, allocations: 1.442 MB / 0.5482 GB, free: 14.86 MB / 394.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.Introductory.Tables.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.Introductory.Tables.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Introductory.Tables.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Introductory.Tables.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Introductory.Tables.sim & ./PowerSystems_cpp_PowerSystems.Examples.Introductory.Tables --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.Introductory.Tables.pipe 2>&1)