Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2.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.PowerPlantTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2") translateModel(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001571/0.001571, allocations: 185.3 kB / 13.19 MB, free: 2.125 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.02/2.02, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.001098/0.001097, allocations: 90.3 kB / 267.1 MB, free: 9.273 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.2745/0.2745, allocations: 37.97 MB / 353.1 MB, free: 3.051 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.05e-05/3.06e-05, allocations: 4 kB / 416.8 MB, free: 41.29 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1197, allocations: 56.31 MB / 473.1 MB, free: 0.918 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5373/0.6571, allocations: 103.5 MB / 0.5631 GB, free: 204 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003374/0.6575, allocations: 83.95 kB / 0.5632 GB, free: 120 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1009/0.7584, allocations: 22.57 MB / 0.5853 GB, free: 9.383 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.7585, allocations: 0 / 0.5853 GB, free: 9.383 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.989e-05/0.7586, allocations: 12 kB / 0.5853 GB, free: 9.371 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.003134/0.7617, allocations: 0.9638 MB / 0.5862 GB, free: 8.359 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.538e-05/0.7618, allocations: 12.03 kB / 0.5862 GB, free: 8.348 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001861/0.7637, allocations: 182.7 kB / 0.5864 GB, free: 8.168 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001922/0.7657, allocations: 0.5895 MB / 0.587 GB, free: 7.539 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.733e-05/0.7658, allocations: 45.31 kB / 0.587 GB, free: 7.496 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002178/0.766, allocations: 60 kB / 0.5871 GB, free: 7.438 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001944/0.768, allocations: 0.7055 MB / 0.5878 GB, free: 6.691 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.546e-05/0.768, allocations: 4 kB / 0.5878 GB, free: 6.688 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001038/0.7682, allocations: 20 kB / 0.5878 GB, free: 6.668 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-05/0.7683, allocations: 37.27 kB / 0.5878 GB, free: 6.629 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001727/0.77, allocations: 0.5712 MB / 0.5884 GB, free: 6.059 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007953/0.778, allocations: 2.969 MB / 0.5913 GB, free: 2.969 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002122/0.7802, allocations: 0.6561 MB / 0.5919 GB, free: 2.27 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005896/0.7808, allocations: 195.1 kB / 0.5921 GB, free: 2.074 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.126e-05/0.7809, allocations: 8.438 kB / 0.5921 GB, free: 2.066 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.51e-05/0.781, allocations: 39.03 kB / 0.5921 GB, free: 2.02 MB / 426.7 MB Notification: Performance of pre-optimization done (n=50): time 3.837e-06/0.781, allocations: 0 / 0.5921 GB, free: 2.02 MB / 426.7 MB Notification: Performance of matching and sorting (n=50): time 0.001509/0.7825, allocations: 473.3 kB / 0.5926 GB, free: 1.555 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001027/0.7826, allocations: 107.2 kB / 0.5927 GB, free: 1.426 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001086/0.7837, allocations: 0.4917 MB / 0.5932 GB, free: 0.9258 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001423/0.7839, allocations: 33.7 kB / 0.5932 GB, free: 0.8867 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003905/0.7843, allocations: 383.5 kB / 0.5936 GB, free: 0.5078 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002675/0.7846, allocations: 177.4 kB / 0.5937 GB, free: 340 kB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.541e-05/0.7847, allocations: 16 kB / 0.5938 GB, free: 324 kB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001999/0.7849, allocations: 334.9 kB / 0.5941 GB, free: 15.98 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005718/0.7855, allocations: 177.6 kB / 0.5942 GB, free: 15.81 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006794/0.7862, allocations: 298.9 kB / 0.5945 GB, free: 15.46 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006881/0.7869, allocations: 223.2 kB / 0.5947 GB, free: 15.25 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/0.7869, allocations: 0 / 0.5947 GB, free: 15.25 MB / 442.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.00229/0.7892, allocations: 0.6516 MB / 0.5954 GB, free: 14.59 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008046/0.79, allocations: 1.404 MB / 0.5968 GB, free: 13.07 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.68e-05/0.7901, allocations: 4 kB / 0.5968 GB, free: 13.07 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007611/0.7909, allocations: 116.7 kB / 0.5969 GB, free: 12.95 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001298/0.7922, allocations: 147.8 kB / 0.597 GB, free: 12.81 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001056/0.7933, allocations: 0.7006 MB / 0.5977 GB, free: 12.08 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001148/0.7945, allocations: 91.45 kB / 0.5978 GB, free: 11.99 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.312e-05/0.7946, allocations: 20 kB / 0.5978 GB, free: 11.97 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.7946, allocations: 4 kB / 0.5978 GB, free: 11.97 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001977/0.7966, allocations: 0.5759 MB / 0.5984 GB, free: 11.39 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.856e-05/0.7967, allocations: 7.984 kB / 0.5984 GB, free: 11.38 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004817/0.7972, allocations: 96.77 kB / 0.5985 GB, free: 11.29 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001283/0.7985, allocations: 148.2 kB / 0.5986 GB, free: 11.14 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003448/0.802, allocations: 1.987 MB / 0.6005 GB, free: 9.02 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007824/0.8028, allocations: 67.52 kB / 0.6006 GB, free: 8.953 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.015e-05/0.8029, allocations: 20 kB / 0.6006 GB, free: 8.934 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (61): * Single equations (assignments): 60 * 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 10} Notification: Performance of prepare postOptimizeDAE: time 0.0002872/0.8032, allocations: 141.4 kB / 0.6008 GB, free: 8.789 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002613/0.8035, allocations: 67.23 kB / 0.6008 GB, free: 8.723 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001601/0.8051, allocations: 0.5067 MB / 0.6013 GB, free: 8.203 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.239e-05/0.8051, allocations: 4 kB / 0.6013 GB, free: 8.199 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.8051, allocations: 4 kB / 0.6013 GB, free: 8.195 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.399e-05/0.8052, allocations: 3.984 kB / 0.6013 GB, free: 8.191 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003238/0.8084, allocations: 1.228 MB / 0.6025 GB, free: 6.91 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.043e-05/0.8085, allocations: 3.984 kB / 0.6025 GB, free: 6.906 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001314/0.8098, allocations: 119.9 kB / 0.6027 GB, free: 6.789 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.305e-05/0.8099, allocations: 0 / 0.6027 GB, free: 6.789 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.395e-05/0.81, allocations: 15.98 kB / 0.6027 GB, free: 6.773 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.133e-06/0.81, allocations: 4 kB / 0.6027 GB, free: 6.77 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.81, allocations: 4 kB / 0.6027 GB, free: 6.766 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002186/0.8122, allocations: 0.8288 MB / 0.6035 GB, free: 5.906 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004803/0.8127, allocations: 192.1 kB / 0.6037 GB, free: 5.699 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001387/0.8129, allocations: 12 kB / 0.6037 GB, free: 5.688 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008704/0.8138, allocations: 47.95 kB / 0.6037 GB, free: 5.641 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001907/0.814, allocations: 44.48 kB / 0.6038 GB, free: 5.598 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.177e-05/0.8141, allocations: 11.94 kB / 0.6038 GB, free: 5.586 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0009037/0.815, allocations: 395.1 kB / 0.6042 GB, free: 5.203 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.815, allocations: 0 / 0.6042 GB, free: 5.203 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001433/0.8164, allocations: 279.2 kB / 0.6044 GB, free: 4.93 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (powerPlant.rotor.phi,powerPlant.rotor.w,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 (51): * Single equations (assignments): 50 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002714/0.8167, allocations: 131.2 kB / 0.6045 GB, free: 4.793 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002635/0.8194, allocations: 0.8491 MB / 0.6054 GB, free: 3.938 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.8195, allocations: 0 / 0.6054 GB, free: 3.938 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006815/0.8201, allocations: 222.5 kB / 0.6056 GB, free: 3.719 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001192/0.8214, allocations: 134.8 kB / 0.6057 GB, free: 3.59 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004354/0.8257, allocations: 1.225 MB / 0.6069 GB, free: 2.32 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008552/0.8266, allocations: 0.9577 MB / 0.6079 GB, free: 1.336 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004093/0.8271, allocations: 47.42 kB / 0.6079 GB, free: 1.289 MB / 442.7 MB Notification: Performance of SimCode: time 1.122e-06/0.8271, allocations: 0 / 0.6079 GB, free: 1.289 MB / 442.7 MB Notification: Performance of Templates: time 0.024/0.8511, allocations: 9.516 MB / 0.6172 GB, free: 7.766 MB / 458.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2.sim & ./PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2 --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2.pipe 2>&1)