Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.conf.json 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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3") translateModel(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001178/0.001178, allocations: 106.1 kB / 17.74 MB, free: 5.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001243/0.001243, allocations: 188.2 kB / 18.67 MB, free: 4.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.387/1.387, allocations: 205.1 MB / 224.5 MB, free: 12.2 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1704/0.1704, allocations: 37.98 MB / 309.9 MB, free: 5.938 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001396, allocations: 67.91 kB / 432.5 MB, free: 15.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0974/0.0988, allocations: 55.24 MB / 487.8 MB, free: 8.332 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3): time 0.00797/0.1068, allocations: 5.928 MB / 493.7 MB, free: 2.371 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004807/0.1117, allocations: 2.778 MB / 496.5 MB, free: 15.58 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000904/0.1126, allocations: 27.88 kB / 496.5 MB, free: 15.55 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001486/0.1141, allocations: 381.8 kB / 496.9 MB, free: 15.18 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001528/0.1156, allocations: 477.6 kB / 497.4 MB, free: 14.71 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001581/0.1172, allocations: 0.5536 MB / 497.9 MB, free: 14.15 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0018/0.119, allocations: 1.206 MB / 499.1 MB, free: 12.95 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001144/0.1202, allocations: 0.7013 MB / 499.8 MB, free: 12.22 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007339/0.1209, allocations: 482.1 kB / 0.4886 GB, free: 11.75 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007449/0.1217, allocations: 477.9 kB / 0.489 GB, free: 11.28 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001767/0.1219, allocations: 84 kB / 0.4891 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009028/0.1228, allocations: 0.5301 MB / 0.4896 GB, free: 10.67 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002808/0.1231, allocations: 259.2 kB / 0.4899 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005019/0.1236, allocations: 437.6 kB / 0.4903 GB, free: 9.984 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001606/0.1252, allocations: 1.242 MB / 0.4915 GB, free: 8.738 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1252, allocations: 4 kB / 0.4915 GB, free: 8.734 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1252, allocations: 0 / 0.4915 GB, free: 8.734 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.72e-05/0.1253, allocations: 4 kB / 0.4915 GB, free: 8.73 MB / 382.1 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.002614/0.1279, allocations: 1.204 MB / 0.4927 GB, free: 7.473 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.128, allocations: 15.89 kB / 0.4927 GB, free: 7.457 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001312/0.1293, allocations: 207.6 kB / 0.4929 GB, free: 7.254 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001094/0.1304, allocations: 0.6436 MB / 0.4935 GB, free: 6.566 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.426e-05/0.1305, allocations: 45.69 kB / 0.4936 GB, free: 6.523 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001365/0.1306, allocations: 76.27 kB / 0.4936 GB, free: 6.449 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001602/0.1322, allocations: 0.8821 MB / 0.4945 GB, free: 5.527 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.132e-05/0.1323, allocations: 7.938 kB / 0.4945 GB, free: 5.52 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.427e-05/0.1323, allocations: 35.92 kB / 0.4945 GB, free: 5.484 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.741e-05/0.1324, allocations: 37.3 kB / 0.4946 GB, free: 5.449 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00155/0.134, allocations: 0.778 MB / 0.4953 GB, free: 4.668 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004808/0.1388, allocations: 3.229 MB / 0.4985 GB, free: 1.312 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001721/0.1405, allocations: 0.9612 MB / 0.4994 GB, free: 288 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005975/0.1411, allocations: 307.4 kB / 0.4997 GB, free: 15.97 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.048e-05/0.1412, allocations: 8.5 kB / 0.4997 GB, free: 15.96 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.178e-05/0.1412, allocations: 39.12 kB / 0.4998 GB, free: 15.92 MB / 398.1 MB Notification: Performance of pre-optimization done (n=59): time 2.204e-06/0.1412, allocations: 0 / 0.4998 GB, free: 15.92 MB / 398.1 MB Notification: Performance of matching and sorting (n=63): time 0.005149/0.1464, allocations: 2.544 MB / 0.5022 GB, free: 13.27 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.747e-05/0.1465, allocations: 111.4 kB / 0.5023 GB, free: 13.14 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000784/0.1473, allocations: 0.59 MB / 0.5029 GB, free: 12.54 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.77e-05/0.1473, allocations: 37.7 kB / 0.503 GB, free: 12.5 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002673/0.1476, allocations: 368.2 kB / 0.5033 GB, free: 12.13 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001854/0.1478, allocations: 224.8 kB / 0.5035 GB, free: 11.91 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001845/0.148, allocations: 114.7 kB / 0.5036 GB, free: 11.79 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001643/0.1481, allocations: 382.8 kB / 0.504 GB, free: 11.41 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005808/0.1487, allocations: 280.6 kB / 0.5043 GB, free: 11.13 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006685/0.1494, allocations: 413.8 kB / 0.5047 GB, free: 10.68 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001277/0.1507, allocations: 0.6966 MB / 0.5053 GB, free: 9.926 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.1507, allocations: 4 kB / 0.5053 GB, free: 9.922 MB / 398.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001645/0.1524, allocations: 0.8309 MB / 0.5062 GB, free: 9.082 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.1524, allocations: 8 kB / 0.5062 GB, free: 9.074 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/0.1524, allocations: 4 kB / 0.5062 GB, free: 9.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002773/0.1527, allocations: 60.75 kB / 0.5062 GB, free: 9.008 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00074/0.1535, allocations: 179.8 kB / 0.5064 GB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001844/0.1553, allocations: 1.81 MB / 0.5082 GB, free: 6.875 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005006/0.1558, allocations: 51.94 kB / 0.5082 GB, free: 6.824 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.068e-05/0.1559, allocations: 27.94 kB / 0.5082 GB, free: 6.797 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007687/0.1567, allocations: 446 kB / 0.5087 GB, free: 6.359 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006364/0.1573, allocations: 401.8 kB / 0.5091 GB, free: 5.914 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001234/0.1586, allocations: 0.6733 MB / 0.5097 GB, free: 5.191 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.122e-06/0.1586, allocations: 4 kB / 0.5097 GB, free: 5.188 MB / 398.1 MB Notification: Performance of matching and sorting (n=83) (initialization_lambda0): time 0.001554/0.1602, allocations: 0.7994 MB / 0.5105 GB, free: 4.375 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/0.1602, allocations: 11.94 kB / 0.5105 GB, free: 4.363 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.1602, allocations: 4 kB / 0.5105 GB, free: 4.359 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002006/0.1604, allocations: 65.19 kB / 0.5106 GB, free: 4.293 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006808/0.1611, allocations: 171.7 kB / 0.5107 GB, free: 4.125 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001543/0.1626, allocations: 1.81 MB / 0.5125 GB, free: 2.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000492/0.1631, allocations: 47.95 kB / 0.5125 GB, free: 2.133 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.199e-05/0.1632, allocations: 24 kB / 0.5126 GB, free: 2.109 MB / 398.1 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0002228/0.1634, allocations: 224 kB / 0.5128 GB, free: 1.883 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001139/0.1636, allocations: 71.16 kB / 0.5129 GB, free: 1.812 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001646/0.1652, allocations: 0.7723 MB / 0.5136 GB, free: 1.016 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.826e-06/0.1652, allocations: 12 kB / 0.5136 GB, free: 1.004 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.1652, allocations: 0 / 0.5136 GB, free: 1.004 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.158e-06/0.1653, allocations: 3.984 kB / 0.5136 GB, free: 1 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004114/0.1694, allocations: 2.143 MB / 0.5157 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.108e-05/0.1694, allocations: 8 kB / 0.5157 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005914/0.17, allocations: 128.6 kB / 0.5158 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002064/0.1702, allocations: 60.75 kB / 0.5159 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.982e-05/0.1703, allocations: 23.98 kB / 0.5159 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001612/0.1719, allocations: 1.76 MB / 0.5176 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.566e-06/0.1719, allocations: 11.94 kB / 0.5177 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002315/0.1743, allocations: 1.319 MB / 0.5189 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002932/0.1746, allocations: 200.1 kB / 0.5191 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001095/0.1747, allocations: 23.98 kB / 0.5192 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005172/0.1752, allocations: 47.95 kB / 0.5192 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001423/0.1754, allocations: 83.45 kB / 0.5193 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-05/0.1754, allocations: 27.98 kB / 0.5193 GB, free: 10.79 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006316/0.1761, allocations: 423 kB / 0.5197 GB, free: 10.38 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1761, allocations: 0 / 0.5197 GB, free: 10.38 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001051/0.1771, allocations: 251.9 kB / 0.52 GB, free: 10.14 MB / 414.1 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001798/0.1773, allocations: 131.9 kB / 0.5201 GB, free: 10 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002503/0.1798, allocations: 1.266 MB / 0.5213 GB, free: 8.711 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/0.1799, allocations: 0 / 0.5213 GB, free: 8.711 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008858/0.1807, allocations: 495.8 kB / 0.5218 GB, free: 8.215 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000988/0.1817, allocations: 175.5 kB / 0.522 GB, free: 8.043 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002815/0.1846, allocations: 1.747 MB / 0.5237 GB, free: 6.176 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005964/0.1852, allocations: 0.9939 MB / 0.5246 GB, free: 5.156 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002158/0.1854, allocations: 55.42 kB / 0.5247 GB, free: 5.102 MB / 414.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1854, allocations: 4 kB / 0.5247 GB, free: 5.098 MB / 414.1 MB Notification: Performance of Templates: time 0.232/0.4174, allocations: 12.61 MB / 0.537 GB, free: 47.48 MB / 414.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.makefile (rm -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.pipe ; mkfifo PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.pipe >> ../files/PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.sim & ./PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.pipe 2>&1)