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.002253/0.002253, allocations: 183.8 kB / 15.76 MB, free: 6.359 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.045/2.045, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.001123/0.001122, allocations: 106.8 kB / 270.3 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2818/0.2818, allocations: 38.07 MB / 356.6 MB, free: 0.7852 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004375/0.0004378, allocations: 12 kB / 422.7 MB, free: 26.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1096, allocations: 56.32 MB / 479 MB, free: 2.043 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.517/0.6266, allocations: 105.5 MB / 0.5708 GB, free: 10.87 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003203/0.627, allocations: 89.14 kB / 0.5709 GB, free: 10.82 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1199/0.747, allocations: 28.38 MB / 0.5986 GB, free: 3.227 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.148e-06/0.747, allocations: 0 / 0.5986 GB, free: 3.227 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.135e-05/0.7471, allocations: 20 kB / 0.5986 GB, free: 3.207 MB / 394.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.003797/0.751, allocations: 1.121 MB / 0.5997 GB, free: 2.098 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.751, allocations: 11.97 kB / 0.5997 GB, free: 2.086 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002307/0.7533, allocations: 210.6 kB / 0.5999 GB, free: 1.879 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002046/0.7554, allocations: 0.6454 MB / 0.6006 GB, free: 1.305 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.386e-05/0.7555, allocations: 56.12 kB / 0.6006 GB, free: 1.27 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001898/0.7557, allocations: 70.95 kB / 0.6007 GB, free: 1.219 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002457/0.7582, allocations: 0.8782 MB / 0.6015 GB, free: 0.5547 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.05e-05/0.7583, allocations: 0 / 0.6015 GB, free: 0.5547 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001162/0.7584, allocations: 35.25 kB / 0.6016 GB, free: 0.5391 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001739/0.7586, allocations: 37.3 kB / 0.6016 GB, free: 0.5039 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002896/0.7615, allocations: 0.7894 MB / 0.6024 GB, free: 15.96 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008626/0.7702, allocations: 3.272 MB / 0.6056 GB, free: 13.27 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00294/0.7732, allocations: 0.9945 MB / 0.6066 GB, free: 12.41 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.392e-05/0.7733, allocations: 8.625 kB / 0.6066 GB, free: 12.41 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.148e-05/0.7734, allocations: 37.88 kB / 0.6066 GB, free: 12.37 MB / 410.7 MB Notification: Performance of pre-optimization done (n=59): time 3.837e-06/0.7734, allocations: 0 / 0.6066 GB, free: 12.37 MB / 410.7 MB Notification: Performance of matching and sorting (n=63): time 0.008662/0.7821, allocations: 2.604 MB / 0.6091 GB, free: 10.25 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.685e-05/0.7822, allocations: 111.4 kB / 0.6092 GB, free: 10.11 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001307/0.7836, allocations: 0.5212 MB / 0.6098 GB, free: 9.691 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001794/0.7838, allocations: 32.89 kB / 0.6098 GB, free: 9.66 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003052/0.7841, allocations: 393.7 kB / 0.6102 GB, free: 9.379 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003043/0.7844, allocations: 217.2 kB / 0.6104 GB, free: 9.191 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.285e-05/0.7845, allocations: 12.75 kB / 0.6104 GB, free: 9.191 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.7846, allocations: 336.8 kB / 0.6107 GB, free: 8.863 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001088/0.7857, allocations: 276.8 kB / 0.611 GB, free: 8.68 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001168/0.7869, allocations: 428.3 kB / 0.6114 GB, free: 8.305 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001196/0.7881, allocations: 325.2 kB / 0.6117 GB, free: 8.078 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.879e-06/0.7882, allocations: 4 kB / 0.6117 GB, free: 8.074 MB / 410.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.002855/0.7911, allocations: 0.8116 MB / 0.6125 GB, free: 7.254 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006213/0.7917, allocations: 1.484 MB / 0.6139 GB, free: 5.652 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/0.7917, allocations: 4 kB / 0.6139 GB, free: 5.648 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004292/0.7922, allocations: 64.81 kB / 0.614 GB, free: 5.582 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00155/0.7937, allocations: 187.7 kB / 0.6142 GB, free: 5.398 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002427/0.7962, allocations: 1.648 MB / 0.6158 GB, free: 3.613 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001078/0.7973, allocations: 51.95 kB / 0.6158 GB, free: 3.562 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001193/0.7975, allocations: 28 kB / 0.6159 GB, free: 3.535 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.7975, allocations: 8 kB / 0.6159 GB, free: 3.527 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00264/0.8001, allocations: 0.7325 MB / 0.6166 GB, free: 2.793 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/0.8002, allocations: 8.062 kB / 0.6166 GB, free: 2.785 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000309/0.8005, allocations: 56.77 kB / 0.6166 GB, free: 2.727 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001412/0.8019, allocations: 175.8 kB / 0.6168 GB, free: 2.555 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0024/0.8044, allocations: 1.662 MB / 0.6184 GB, free: 0.7656 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007392/0.8051, allocations: 43.97 kB / 0.6185 GB, free: 0.7227 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.402e-05/0.8052, allocations: 27.98 kB / 0.6185 GB, free: 0.6953 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 () * Number of clocked 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.0007161/0.806, allocations: 324.9 kB / 0.6188 GB, free: 376 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000233/0.8062, allocations: 71.16 kB / 0.6189 GB, free: 304 kB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002892/0.8091, allocations: 0.7958 MB / 0.6197 GB, free: 15.48 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.572e-05/0.8092, allocations: 12 kB / 0.6197 GB, free: 15.47 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.8092, allocations: 0 / 0.6197 GB, free: 15.47 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.449e-05/0.8092, allocations: 7.938 kB / 0.6197 GB, free: 15.46 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007249/0.8165, allocations: 2.183 MB / 0.6218 GB, free: 13.14 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.329e-05/0.8165, allocations: 4 kB / 0.6218 GB, free: 13.14 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00119/0.8177, allocations: 144.2 kB / 0.622 GB, free: 13 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000343/0.8181, allocations: 56.81 kB / 0.622 GB, free: 12.94 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-05/0.8182, allocations: 23.94 kB / 0.622 GB, free: 12.92 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002247/0.8205, allocations: 1.604 MB / 0.6236 GB, free: 11.18 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.897e-06/0.8205, allocations: 4 kB / 0.6236 GB, free: 11.18 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004533/0.8251, allocations: 1.65 MB / 0.6252 GB, free: 9.266 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006603/0.8258, allocations: 204.2 kB / 0.6254 GB, free: 9.047 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001867/0.826, allocations: 19.98 kB / 0.6254 GB, free: 9.027 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009552/0.827, allocations: 59.95 kB / 0.6255 GB, free: 8.969 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000227/0.8272, allocations: 75.77 kB / 0.6256 GB, free: 8.895 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.229e-05/0.8273, allocations: 28 kB / 0.6256 GB, free: 8.867 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001063/0.8284, allocations: 415 kB / 0.626 GB, free: 8.469 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.91e-07/0.8284, allocations: 0 / 0.626 GB, free: 8.469 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001618/0.83, allocations: 263.9 kB / 0.6262 GB, free: 8.211 MB / 426.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 () * Number of clocked 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.0003/0.8303, allocations: 147.8 kB / 0.6264 GB, free: 8.059 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004314/0.8347, allocations: 1.294 MB / 0.6276 GB, free: 6.738 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.241e-05/0.8347, allocations: 0 / 0.6276 GB, free: 6.738 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001607/0.8364, allocations: 495.8 kB / 0.6281 GB, free: 6.242 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001346/0.8377, allocations: 146.9 kB / 0.6282 GB, free: 6.094 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005044/0.8428, allocations: 2.063 MB / 0.6303 GB, free: 3.914 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009296/0.8438, allocations: 1.01 MB / 0.6312 GB, free: 2.875 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004335/0.8442, allocations: 51.42 kB / 0.6313 GB, free: 2.828 MB / 426.7 MB Notification: Performance of SimCode: time 9.82e-07/0.8443, allocations: 0 / 0.6313 GB, free: 2.828 MB / 426.7 MB Notification: Performance of Templates: time 0.02652/0.8708, allocations: 12.06 MB / 0.6431 GB, free: 6.758 MB / 442.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)