Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OneBank.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.OneBank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.OneBank") translateModel(PowerSysPro.Tests.OneBank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.OneBank") [: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.001039/0.001039, allocations: 196.2 kB / 7.846 MB, free: 2.465 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.239/1.239, allocations: 221.4 MB / 229.7 MB, free: 3.086 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.0009084/0.0009084, allocations: 82.66 kB / 280.5 MB, free: 1.359 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.03748/0.03748, allocations: 8.083 MB / 339.4 MB, free: 6.441 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.871e-06/5.911e-06, allocations: 0 / 397.9 MB, free: 68.08 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09445/0.09448, allocations: 52.52 MB / 450.4 MB, free: 15.55 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.253/0.3475, allocations: 77.24 MB / 0.5153 GB, free: 1.281 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001683/0.3477, allocations: 61.72 kB / 0.5153 GB, free: 1.254 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.006981/0.3547, allocations: 2.579 MB / 0.5179 GB, free: 15.3 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.857e-06/0.3547, allocations: 4 kB / 0.5179 GB, free: 15.29 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000449/0.3552, allocations: 360.5 kB / 0.5182 GB, free: 14.9 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.12e-05/0.3553, allocations: 11.97 kB / 0.5182 GB, free: 14.89 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.997e-05/0.3553, allocations: 7.906 kB / 0.5182 GB, free: 14.88 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000176/0.3555, allocations: 171 kB / 0.5184 GB, free: 14.68 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/0.3555, allocations: 0 / 0.5184 GB, free: 14.68 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.735e-05/0.3555, allocations: 4 kB / 0.5184 GB, free: 14.67 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001669/0.3557, allocations: 61.14 kB / 0.5185 GB, free: 14.63 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001371/0.3559, allocations: 77.77 kB / 0.5185 GB, free: 14.57 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.3559, allocations: 0 / 0.5185 GB, free: 14.57 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.3559, allocations: 0 / 0.5185 GB, free: 14.57 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.752e-06/0.3559, allocations: 0 / 0.5185 GB, free: 14.57 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005676/0.3565, allocations: 326.6 kB / 0.5188 GB, free: 14.25 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001044/0.3566, allocations: 40.64 kB / 0.5189 GB, free: 14.21 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.319e-05/0.3567, allocations: 15.67 kB / 0.5189 GB, free: 14.2 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001624/0.3568, allocations: 81.11 kB / 0.519 GB, free: 14.1 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.998e-05/0.3569, allocations: 38.55 kB / 0.519 GB, free: 14.05 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.934e-06/0.3569, allocations: 3.938 kB / 0.519 GB, free: 14.05 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.000321/0.3573, allocations: 60.72 kB / 0.5191 GB, free: 13.99 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.838e-05/0.3573, allocations: 59.34 kB / 0.5191 GB, free: 13.92 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001075/0.3574, allocations: 96.62 kB / 0.5192 GB, free: 13.82 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.158e-05/0.3575, allocations: 25.7 kB / 0.5192 GB, free: 13.79 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000142/0.3576, allocations: 104 kB / 0.5193 GB, free: 13.69 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.345e-05/0.3576, allocations: 23.64 kB / 0.5194 GB, free: 13.66 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.09e-06/0.3577, allocations: 0 / 0.5194 GB, free: 13.66 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001662/0.3578, allocations: 313.8 kB / 0.5197 GB, free: 13.35 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.574e-05/0.3579, allocations: 7.625 kB / 0.5197 GB, free: 13.35 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.124e-05/0.3579, allocations: 11.62 kB / 0.5197 GB, free: 13.34 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001018/0.358, allocations: 15.42 kB / 0.5197 GB, free: 13.33 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.358, allocations: 4 kB / 0.5197 GB, free: 13.32 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001594/0.3582, allocations: 60.06 kB / 0.5198 GB, free: 13.27 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.265e-05/0.3582, allocations: 7.906 kB / 0.5198 GB, free: 13.26 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.3582, allocations: 3.984 kB / 0.5198 GB, free: 13.26 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.3583, allocations: 0 / 0.5198 GB, free: 13.26 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.84e-05/0.3583, allocations: 8 kB / 0.5198 GB, free: 13.25 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.3584, allocations: 6.375 kB / 0.5198 GB, free: 13.25 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.989e-05/0.3584, allocations: 0 / 0.5198 GB, free: 13.25 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.213e-05/0.3584, allocations: 8 kB / 0.5198 GB, free: 13.24 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 (5): * Single equations (assignments): 5 * 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 7.139e-05/0.3585, allocations: 107.5 kB / 0.5199 GB, free: 13.13 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.926e-05/0.3585, allocations: 3.906 kB / 0.5199 GB, free: 13.12 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002076/0.3587, allocations: 78.97 kB / 0.52 GB, free: 13.06 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/0.3588, allocations: 4 kB / 0.52 GB, free: 13.05 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.3588, allocations: 0 / 0.52 GB, free: 13.05 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.3588, allocations: 7.891 kB / 0.52 GB, free: 13.05 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001718/0.359, allocations: 153.1 kB / 0.5201 GB, free: 12.87 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.359, allocations: 0 / 0.5201 GB, free: 12.87 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.195e-05/0.359, allocations: 12 kB / 0.5201 GB, free: 12.86 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.683e-06/0.359, allocations: 0 / 0.5201 GB, free: 12.86 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.849e-06/0.3591, allocations: 7.922 kB / 0.5202 GB, free: 12.85 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.3591, allocations: 0 / 0.5202 GB, free: 12.85 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.3591, allocations: 0 / 0.5202 GB, free: 12.85 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001951/0.3593, allocations: 161 kB / 0.5203 GB, free: 12.69 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.319e-05/0.3593, allocations: 89 kB / 0.5204 GB, free: 12.58 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.498e-05/0.3594, allocations: 0 / 0.5204 GB, free: 12.58 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.049e-05/0.3594, allocations: 4 kB / 0.5204 GB, free: 12.58 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.833e-05/0.3594, allocations: 3.938 kB / 0.5204 GB, free: 12.57 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.383e-06/0.3595, allocations: 4 kB / 0.5204 GB, free: 12.57 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.328e-05/0.3595, allocations: 82.47 kB / 0.5205 GB, free: 12.49 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002556/0.3598, allocations: 23.83 kB / 0.5205 GB, free: 12.47 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 (6): * Single equations (assignments): 6 * 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.0001844/0.36, allocations: 110.8 kB / 0.5206 GB, free: 12.36 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001052/0.3601, allocations: 26.44 kB / 0.5206 GB, free: 12.34 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.3601, allocations: 0 / 0.5206 GB, free: 12.34 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.829e-05/0.3601, allocations: 18.44 kB / 0.5207 GB, free: 12.32 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001445/0.3603, allocations: 0 / 0.5207 GB, free: 12.32 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000317/0.3606, allocations: 97.98 kB / 0.5207 GB, free: 12.21 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003156/0.3609, allocations: 0.7104 MB / 0.5214 GB, free: 11.48 MB / 346.7 MB Notification: Performance of SimCode: time 2.21e-07/0.3609, allocations: 0 / 0.5214 GB, free: 11.48 MB / 346.7 MB Notification: Performance of Templates: time 0.002764/0.3637, allocations: 0.6341 MB / 0.5221 GB, free: 10.85 MB / 346.7 MB make -j1 -f PowerSysPro_PowerSysPro.Tests.OneBank.makefile (rm -f PowerSysPro_PowerSysPro.Tests.OneBank.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OneBank.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OneBank.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OneBank.sim & ./PowerSysPro_PowerSysPro.Tests.OneBank -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Tests.OneBank.pipe 2>&1)