Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.QfURegulation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSysPro.Tests.QfURegulation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.QfURegulation") translateModel(PowerSysPro.Tests.QfURegulation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.QfURegulation") [: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 4.0.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 193.3 kB / 7.843 MB, free: 2.316 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.171/1.171, allocations: 221.4 MB / 229.7 MB, free: 3.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009001/0.0009001, allocations: 90.11 kB / 280.5 MB, free: 1.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04003/0.04003, allocations: 8.091 MB / 339.4 MB, free: 6.355 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.723e-06/6.763e-06, allocations: 0 / 397.9 MB, free: 68.05 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09198/0.092, allocations: 52.52 MB / 450.4 MB, free: 15.54 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2428/0.3348, allocations: 76.73 MB / 0.5148 GB, free: 1.461 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001522/0.335, allocations: 55.98 kB / 0.5148 GB, free: 1.438 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.003988/0.339, allocations: 1.056 MB / 0.5159 GB, free: 0.5195 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.183e-06/0.339, allocations: 4 kB / 0.5159 GB, free: 0.5156 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005955/0.3396, allocations: 428.9 kB / 0.5163 GB, free: 60 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.3397, allocations: 11.97 kB / 0.5163 GB, free: 48 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.43e-05/0.3397, allocations: 11.41 kB / 0.5163 GB, free: 40 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001691/0.3399, allocations: 174.9 kB / 0.5165 GB, free: 15.83 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001824/0.3401, allocations: 57.69 kB / 0.5165 GB, free: 15.75 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.484e-05/0.3401, allocations: 4 kB / 0.5165 GB, free: 15.75 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001677/0.3403, allocations: 80.03 kB / 0.5166 GB, free: 15.7 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003871/0.3407, allocations: 271.7 kB / 0.5169 GB, free: 15.47 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.3407, allocations: 0 / 0.5169 GB, free: 15.47 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.47e-05/0.3407, allocations: 0 / 0.5169 GB, free: 15.47 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.3407, allocations: 7.938 kB / 0.5169 GB, free: 15.46 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00035/0.3411, allocations: 344.2 kB / 0.5172 GB, free: 15.09 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002546/0.3414, allocations: 188.9 kB / 0.5174 GB, free: 14.93 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001312/0.3415, allocations: 108.9 kB / 0.5175 GB, free: 14.84 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.318e-05/0.3415, allocations: 3.984 kB / 0.5175 GB, free: 14.84 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.927e-05/0.3416, allocations: 44.62 kB / 0.5175 GB, free: 14.79 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 1.193e-06/0.3416, allocations: 0 / 0.5175 GB, free: 14.79 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.0002961/0.3419, allocations: 145.8 kB / 0.5177 GB, free: 14.67 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.611e-05/0.342, allocations: 122.1 kB / 0.5178 GB, free: 14.53 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.915e-05/0.342, allocations: 89 kB / 0.5179 GB, free: 14.44 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/0.342, allocations: 29.64 kB / 0.5179 GB, free: 14.4 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.679e-05/0.3421, allocations: 87.45 kB / 0.518 GB, free: 14.32 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.936e-05/0.3421, allocations: 11.14 kB / 0.518 GB, free: 14.31 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-06/0.3421, allocations: 0 / 0.518 GB, free: 14.31 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.17e-05/0.3422, allocations: 317.9 kB / 0.5183 GB, free: 13.99 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.57e-05/0.3423, allocations: 15.05 kB / 0.5183 GB, free: 13.98 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.834e-05/0.3423, allocations: 96.22 kB / 0.5184 GB, free: 13.86 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.368e-05/0.3424, allocations: 41.83 kB / 0.5184 GB, free: 13.82 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3424, allocations: 0 / 0.5184 GB, free: 13.82 MB / 346.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001541/0.3426, allocations: 110.8 kB / 0.5185 GB, free: 13.71 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.3426, allocations: 7.125 kB / 0.5186 GB, free: 13.71 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.331e-06/0.3426, allocations: 7.906 kB / 0.5186 GB, free: 13.7 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.3426, allocations: 4 kB / 0.5186 GB, free: 13.7 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.569e-05/0.3427, allocations: 27.92 kB / 0.5186 GB, free: 13.67 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.3427, allocations: 4.219 kB / 0.5186 GB, free: 13.67 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.298e-05/0.3428, allocations: 11.59 kB / 0.5186 GB, free: 13.66 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.3428, allocations: 11.94 kB / 0.5186 GB, free: 13.65 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 6.849e-05/0.3429, allocations: 113.8 kB / 0.5187 GB, free: 13.53 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002254/0.3431, allocations: 141.7 kB / 0.5189 GB, free: 13.42 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001066/0.3432, allocations: 56.25 kB / 0.5189 GB, free: 13.37 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.3432, allocations: 4 kB / 0.5189 GB, free: 13.36 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.3432, allocations: 0 / 0.5189 GB, free: 13.36 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.3433, allocations: 3.984 kB / 0.5189 GB, free: 13.36 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001836/0.3434, allocations: 157 kB / 0.5191 GB, free: 13.18 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3435, allocations: 0 / 0.5191 GB, free: 13.18 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002638/0.3437, allocations: 52 kB / 0.5191 GB, free: 13.12 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.3437, allocations: 4 kB / 0.5191 GB, free: 13.12 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.521e-05/0.3438, allocations: 7.984 kB / 0.5191 GB, free: 13.11 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.3438, allocations: 3.938 kB / 0.5191 GB, free: 13.11 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.3438, allocations: 0 / 0.5191 GB, free: 13.11 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002786/0.3441, allocations: 365 kB / 0.5195 GB, free: 12.76 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.83e-05/0.3441, allocations: 88.95 kB / 0.5196 GB, free: 12.66 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.247e-05/0.3441, allocations: 0 / 0.5196 GB, free: 12.66 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002467/0.3444, allocations: 31.97 kB / 0.5196 GB, free: 12.62 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.057e-05/0.3444, allocations: 3.938 kB / 0.5196 GB, free: 12.62 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/0.3444, allocations: 4 kB / 0.5196 GB, free: 12.62 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.318e-05/0.3445, allocations: 82.47 kB / 0.5197 GB, free: 12.54 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000291/0.3448, allocations: 16 kB / 0.5197 GB, free: 12.52 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * 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 8.294e-05/0.3448, allocations: 95.17 kB / 0.5198 GB, free: 12.42 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001565/0.345, allocations: 100.8 kB / 0.5199 GB, free: 12.35 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.345, allocations: 0 / 0.5199 GB, free: 12.35 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.454e-05/0.345, allocations: 19.86 kB / 0.5199 GB, free: 12.33 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003257/0.3454, allocations: 78.28 kB / 0.52 GB, free: 12.28 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00137/0.3468, allocations: 315.3 kB / 0.5203 GB, free: 11.97 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002852/0.347, allocations: 0.7154 MB / 0.521 GB, free: 11.23 MB / 346.7 MB Notification: Performance of SimCode: time 2.61e-07/0.3471, allocations: 0 / 0.521 GB, free: 11.23 MB / 346.7 MB Notification: Performance of Templates: time 0.002504/0.3496, allocations: 0.8829 MB / 0.5218 GB, free: 10.35 MB / 346.7 MB make -j1 -f PowerSysPro_PowerSysPro.Tests.QfURegulation.makefile (rm -f PowerSysPro_PowerSysPro.Tests.QfURegulation.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.QfURegulation.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.QfURegulation.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.QfURegulation.sim & ./PowerSysPro_PowerSysPro.Tests.QfURegulation -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Tests.QfURegulation.pipe 2>&1)