Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.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.PowerWorld.Test.PowerPlantTest3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3") translateModel(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001472/0.001472, allocations: 179.9 kB / 8.009 MB, free: 1.066 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 2.056/2.056, allocations: 205.3 MB / 213.7 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001102/0.001101, allocations: 78.66 kB / 261.8 MB, free: 1.676 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.2715/0.2715, allocations: 38 MB / 347.7 MB, free: 5.754 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.721e-05/1.728e-05, allocations: 4 kB / 409.9 MB, free: 35.13 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1104, allocations: 56.33 MB / 466.2 MB, free: 10.81 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5617/0.6722, allocations: 104.7 MB / 0.5575 GB, free: 7.324 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002698/0.6725, allocations: 89.94 kB / 0.5576 GB, free: 7.277 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1193/0.7918, allocations: 28.09 MB / 0.585 GB, free: 228 kB / 378.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.7919, allocations: 0 / 0.585 GB, free: 228 kB / 378.7 MB Notification: Performance of Transformations before backend: time 8.809e-05/0.792, allocations: 20 kB / 0.5851 GB, free: 208 kB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.003097/0.7951, allocations: 0.9973 MB / 0.586 GB, free: 15.21 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/0.7951, allocations: 8.031 kB / 0.586 GB, free: 15.2 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002245/0.7974, allocations: 217.7 kB / 0.5862 GB, free: 14.99 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001811/0.7992, allocations: 0.6182 MB / 0.5869 GB, free: 14.44 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.549e-05/0.7993, allocations: 23.98 kB / 0.5869 GB, free: 14.42 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000174/0.7995, allocations: 46.91 kB / 0.5869 GB, free: 14.38 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001585/0.8011, allocations: 0.5625 MB / 0.5875 GB, free: 14.03 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001781/0.8029, allocations: 0.7304 MB / 0.5882 GB, free: 13.46 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.5e-05/0.8029, allocations: 7.875 kB / 0.5882 GB, free: 13.45 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001167/0.8031, allocations: 0 / 0.5882 GB, free: 13.45 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001683/0.8032, allocations: 45.28 kB / 0.5882 GB, free: 13.41 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007692/0.8109, allocations: 3.138 MB / 0.5913 GB, free: 10.82 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001861/0.8129, allocations: 0.8348 MB / 0.5921 GB, free: 10.12 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006022/0.8135, allocations: 248.8 kB / 0.5923 GB, free: 9.965 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.477e-05/0.8136, allocations: 8.562 kB / 0.5924 GB, free: 9.957 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.086e-05/0.8137, allocations: 41.5 kB / 0.5924 GB, free: 9.914 MB / 394.7 MB Notification: Performance of pre-optimization done (n=59): time 3.497e-06/0.8137, allocations: 0 / 0.5924 GB, free: 9.914 MB / 394.7 MB Notification: Performance of matching and sorting (n=63): time 0.005/0.8187, allocations: 1.826 MB / 0.5942 GB, free: 8.383 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.427e-05/0.8188, allocations: 111.4 kB / 0.5943 GB, free: 8.25 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007834/0.8196, allocations: 406.8 kB / 0.5947 GB, free: 7.938 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000104/0.8197, allocations: 25.7 kB / 0.5947 GB, free: 7.906 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003554/0.8201, allocations: 404.8 kB / 0.5951 GB, free: 7.598 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002798/0.8204, allocations: 205.3 kB / 0.5953 GB, free: 7.422 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.835e-05/0.8205, allocations: 4.031 kB / 0.5953 GB, free: 7.418 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001638/0.8206, allocations: 338.4 kB / 0.5956 GB, free: 7.086 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005431/0.8212, allocations: 209.3 kB / 0.5958 GB, free: 6.969 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006723/0.8219, allocations: 347.3 kB / 0.5961 GB, free: 6.668 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006371/0.8225, allocations: 259.5 kB / 0.5964 GB, free: 6.508 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.035e-06/0.8226, allocations: 4 kB / 0.5964 GB, free: 6.504 MB / 394.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001835/0.8244, allocations: 0.6483 MB / 0.597 GB, free: 6.016 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007104/0.8251, allocations: 1.484 MB / 0.5985 GB, free: 4.445 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.911e-05/0.8252, allocations: 7.984 kB / 0.5985 GB, free: 4.438 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000408/0.8256, allocations: 54.27 kB / 0.5985 GB, free: 4.391 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001466/0.8271, allocations: 193.2 kB / 0.5987 GB, free: 4.207 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002112/0.8292, allocations: 1.538 MB / 0.6002 GB, free: 2.594 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001006/0.8302, allocations: 52 kB / 0.6003 GB, free: 2.543 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.758e-05/0.8303, allocations: 24 kB / 0.6003 GB, free: 2.52 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.8304, allocations: 4 kB / 0.6003 GB, free: 2.516 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001814/0.8322, allocations: 0.5799 MB / 0.6009 GB, free: 1.93 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/0.8322, allocations: 4 kB / 0.6009 GB, free: 1.926 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003036/0.8325, allocations: 53.33 kB / 0.6009 GB, free: 1.871 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001387/0.834, allocations: 179.7 kB / 0.6011 GB, free: 1.695 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002198/0.8362, allocations: 1.56 MB / 0.6026 GB, free: 20 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007634/0.837, allocations: 31.92 kB / 0.6026 GB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.076e-05/0.8371, allocations: 28 kB / 0.6027 GB, free: 15.96 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 (system.initime,powerPlant.throttleCosts.local_reset,powerPlant.hotwellLevel.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 79 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0002589/0.8374, allocations: 124.8 kB / 0.6028 GB, free: 15.83 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002369/0.8376, allocations: 63.25 kB / 0.6028 GB, free: 15.77 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001963/0.8396, allocations: 0.6316 MB / 0.6035 GB, free: 15.12 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.338e-05/0.8396, allocations: 4 kB / 0.6035 GB, free: 15.12 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.8396, allocations: 0 / 0.6035 GB, free: 15.12 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.6e-05/0.8397, allocations: 11.98 kB / 0.6035 GB, free: 15.11 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006011/0.8457, allocations: 1.918 MB / 0.6054 GB, free: 13.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.651e-05/0.8458, allocations: 12.73 kB / 0.6054 GB, free: 13.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001175/0.8469, allocations: 139.8 kB / 0.6055 GB, free: 12.92 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000333/0.8473, allocations: 56.81 kB / 0.6056 GB, free: 12.86 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.407e-05/0.8474, allocations: 15.94 kB / 0.6056 GB, free: 12.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002041/0.8495, allocations: 1.517 MB / 0.607 GB, free: 11.21 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.62e-05/0.8495, allocations: 11.98 kB / 0.6071 GB, free: 11.2 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002993/0.8525, allocations: 1.435 MB / 0.6085 GB, free: 9.516 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005084/0.8531, allocations: 196.2 kB / 0.6086 GB, free: 9.305 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001342/0.8532, allocations: 15.94 kB / 0.6087 GB, free: 9.289 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009017/0.8541, allocations: 47.89 kB / 0.6087 GB, free: 9.242 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002287/0.8544, allocations: 67.81 kB / 0.6088 GB, free: 9.176 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.52e-05/0.8545, allocations: 27.98 kB / 0.6088 GB, free: 9.148 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006245/0.8551, allocations: 310.9 kB / 0.6091 GB, free: 8.848 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.8551, allocations: 0 / 0.6091 GB, free: 8.848 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001676/0.8568, allocations: 227.9 kB / 0.6093 GB, free: 8.625 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 7 (powerPlant.evaporator.y,powerPlant.superheater1.y,powerPlant.superheater2.y,powerPlant.transferFunction.x_scaled[1],powerPlant.hotwellLevel.y,powerPlant.throttleDynamics.y,powerPlant.throttleCosts.y) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.000282/0.8571, allocations: 123 kB / 0.6094 GB, free: 8.492 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002889/0.86, allocations: 1.067 MB / 0.6105 GB, free: 7.406 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.012e-05/0.8601, allocations: 0 / 0.6105 GB, free: 7.406 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001125/0.8612, allocations: 415.4 kB / 0.6109 GB, free: 6.992 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001311/0.8626, allocations: 138 kB / 0.611 GB, free: 6.859 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003898/0.8665, allocations: 1.325 MB / 0.6123 GB, free: 5.414 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009259/0.8675, allocations: 1.005 MB / 0.6133 GB, free: 4.383 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004139/0.8679, allocations: 47.44 kB / 0.6133 GB, free: 4.336 MB / 410.7 MB Notification: Performance of SimCode: time 1.332e-06/0.8679, allocations: 0 / 0.6133 GB, free: 4.336 MB / 410.7 MB Notification: Performance of Templates: time 0.027/0.8949, allocations: 11.77 MB / 0.6248 GB, free: 8.566 MB / 426.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.sim & ./PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3 --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.pipe 2>&1)