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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000993/0.0009933, allocations: 171.5 kB / 16.8 MB, free: 5.012 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.413/1.413, allocations: 223.3 MB / 240.8 MB, free: 11.7 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007824/0.0007824, allocations: 103.5 kB / 292 MB, free: 10.79 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04272/0.04272, allocations: 8.101 MB / 351.2 MB, free: 15.57 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004413/0.0004416, allocations: 8 kB / 414.4 MB, free: 57.28 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08465/0.08511, allocations: 52.52 MB / 466.9 MB, free: 4.758 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.276/0.3611, allocations: 77.74 MB / 0.5319 GB, free: 7.699 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001454/0.3613, allocations: 67.91 kB / 0.5319 GB, free: 7.664 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006707/0.368, allocations: 2.929 MB / 0.5348 GB, free: 5.293 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.368, allocations: 0 / 0.5348 GB, free: 5.293 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.3681, allocations: 0 / 0.5348 GB, free: 5.293 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.0003901/0.3685, allocations: 369.4 kB / 0.5351 GB, free: 4.887 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.159e-05/0.3685, allocations: 12.03 kB / 0.5351 GB, free: 4.875 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.245e-05/0.3685, allocations: 8.844 kB / 0.5352 GB, free: 4.867 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001258/0.3687, allocations: 175.4 kB / 0.5353 GB, free: 4.66 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.3687, allocations: 384 / 0.5353 GB, free: 4.66 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.294e-05/0.3687, allocations: 11.97 kB / 0.5353 GB, free: 4.652 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000137/0.3689, allocations: 81.62 kB / 0.5354 GB, free: 4.586 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.3689, allocations: 192 / 0.5354 GB, free: 4.586 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.3689, allocations: 6.438 kB / 0.5354 GB, free: 4.582 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.3689, allocations: 4 kB / 0.5354 GB, free: 4.578 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001001/0.369, allocations: 65.84 kB / 0.5355 GB, free: 4.539 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004733/0.3695, allocations: 357.9 kB / 0.5358 GB, free: 4.18 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.26e-05/0.3696, allocations: 49.02 kB / 0.5359 GB, free: 4.133 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.343e-05/0.3696, allocations: 14.86 kB / 0.5359 GB, free: 4.121 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001098/0.3698, allocations: 85.09 kB / 0.536 GB, free: 4.02 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.321e-05/0.3698, allocations: 34.56 kB / 0.536 GB, free: 3.977 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.182e-06/0.3698, allocations: 0 / 0.536 GB, free: 3.977 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001858/0.37, allocations: 69.69 kB / 0.5361 GB, free: 3.918 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.588e-05/0.37, allocations: 59.34 kB / 0.5361 GB, free: 3.848 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.737e-05/0.3701, allocations: 116.5 kB / 0.5362 GB, free: 3.73 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.624e-05/0.3702, allocations: 25.7 kB / 0.5363 GB, free: 3.699 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.81e-05/0.3702, allocations: 103.5 kB / 0.5364 GB, free: 3.598 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.355e-05/0.3702, allocations: 14.81 kB / 0.5364 GB, free: 3.586 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.596e-06/0.3702, allocations: 0 / 0.5364 GB, free: 3.586 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.3704, allocations: 314.6 kB / 0.5367 GB, free: 3.273 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.546e-05/0.3704, allocations: 15.05 kB / 0.5367 GB, free: 3.262 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.78e-05/0.3704, allocations: 7.625 kB / 0.5367 GB, free: 3.258 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.68e-05/0.3705, allocations: 30.61 kB / 0.5367 GB, free: 3.234 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.3705, allocations: 0 / 0.5367 GB, free: 3.234 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.265e-05/0.3706, allocations: 66.81 kB / 0.5368 GB, free: 3.176 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.3706, allocations: 6.5 kB / 0.5368 GB, free: 3.172 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.3706, allocations: 11.94 kB / 0.5368 GB, free: 3.16 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.818e-06/0.3707, allocations: 0 / 0.5368 GB, free: 3.16 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.396e-05/0.3707, allocations: 4 kB / 0.5368 GB, free: 3.156 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.779e-06/0.3707, allocations: 11.92 kB / 0.5368 GB, free: 3.145 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.54e-05/0.3708, allocations: 3.906 kB / 0.5368 GB, free: 3.141 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.563e-06/0.3708, allocations: 0 / 0.5368 GB, free: 3.141 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 () * Number of clocked 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.505e-05/0.3709, allocations: 119.8 kB / 0.5369 GB, free: 3.02 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.224e-05/0.3709, allocations: 3.938 kB / 0.5369 GB, free: 3.016 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001462/0.3711, allocations: 81.7 kB / 0.537 GB, free: 2.949 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-06/0.3711, allocations: 3.984 kB / 0.537 GB, free: 2.945 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.3711, allocations: 3.938 kB / 0.537 GB, free: 2.941 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.3711, allocations: 0 / 0.537 GB, free: 2.941 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001687/0.3713, allocations: 182.8 kB / 0.5372 GB, free: 2.727 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-06/0.3713, allocations: 0 / 0.5372 GB, free: 2.727 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.003e-05/0.3713, allocations: 15.98 kB / 0.5372 GB, free: 2.711 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.3713, allocations: 0 / 0.5372 GB, free: 2.711 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.3713, allocations: 0 / 0.5372 GB, free: 2.711 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.3714, allocations: 4 kB / 0.5372 GB, free: 2.707 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.3714, allocations: 3.938 kB / 0.5372 GB, free: 2.703 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001209/0.3715, allocations: 159.1 kB / 0.5374 GB, free: 2.547 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.041e-05/0.3715, allocations: 81.11 kB / 0.5375 GB, free: 2.449 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.161e-05/0.3716, allocations: 0 / 0.5375 GB, free: 2.449 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.354e-05/0.3716, allocations: 7.375 kB / 0.5375 GB, free: 2.445 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.839e-05/0.3716, allocations: 15.86 kB / 0.5375 GB, free: 2.43 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.537e-06/0.3716, allocations: 0 / 0.5375 GB, free: 2.43 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.044e-05/0.3717, allocations: 86.41 kB / 0.5376 GB, free: 2.348 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3717, allocations: 0 / 0.5376 GB, free: 2.348 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002257/0.3719, allocations: 23.14 kB / 0.5376 GB, free: 2.328 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 () * Number of clocked 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.0001469/0.3721, allocations: 103.4 kB / 0.5377 GB, free: 2.219 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001059/0.3722, allocations: 36.36 kB / 0.5377 GB, free: 2.191 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3722, allocations: 0 / 0.5377 GB, free: 2.191 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.86e-05/0.3722, allocations: 22.5 kB / 0.5377 GB, free: 2.176 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002028/0.3724, allocations: 3.5 kB / 0.5377 GB, free: 2.176 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003771/0.3728, allocations: 212.9 kB / 0.5379 GB, free: 1.949 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002763/0.3731, allocations: 0.6887 MB / 0.5386 GB, free: 1.234 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.269e-05/0.3732, allocations: 4 kB / 0.5386 GB, free: 1.23 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.264e-05/0.3732, allocations: 11.44 kB / 0.5386 GB, free: 1.219 MB / 346.7 MB Notification: Performance of SimCode: time 2e-07/0.3732, allocations: 0 / 0.5386 GB, free: 1.219 MB / 346.7 MB Notification: Performance of Templates: time 0.002706/0.3759, allocations: 0.6539 MB / 0.5393 GB, free: 0.5781 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)