Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.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.PowerPlantTest1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1") translateModel(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001759/0.001759, allocations: 115.8 kB / 17.74 MB, free: 5.344 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.002096/0.002096, allocations: 189.5 kB / 18.67 MB, free: 4.422 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.428/1.428, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1741/0.1741, allocations: 37.98 MB / 309.9 MB, free: 5.965 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.001406/0.001406, allocations: 59.91 kB / 432.5 MB, free: 15.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1015, allocations: 55.25 MB / 487.8 MB, free: 8.355 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1): time 0.006854/0.1084, allocations: 5.437 MB / 493.2 MB, free: 2.887 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003871/0.1123, allocations: 2.296 MB / 495.5 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007338/0.1131, allocations: 27.81 kB / 495.5 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001206/0.1143, allocations: 270.2 kB / 495.8 MB, free: 292 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001156/0.1155, allocations: 350 kB / 496.1 MB, free: 15.94 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001289/0.1168, allocations: 0.503 MB / 496.7 MB, free: 15.44 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001413/0.1182, allocations: 1.05 MB / 497.7 MB, free: 14.39 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001011/0.1193, allocations: 0.6114 MB / 498.3 MB, free: 13.76 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006637/0.1199, allocations: 406.4 kB / 498.7 MB, free: 13.36 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005445/0.1205, allocations: 402.1 kB / 499.1 MB, free: 12.97 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001062/0.1206, allocations: 84 kB / 499.2 MB, free: 12.89 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006384/0.1213, allocations: 359.3 kB / 499.5 MB, free: 12.54 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001926/0.1215, allocations: 215.3 kB / 499.7 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003248/0.1218, allocations: 389.9 kB / 0.4884 GB, free: 11.94 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001168/0.123, allocations: 1.082 MB / 0.4895 GB, free: 10.86 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.123, allocations: 0 / 0.4895 GB, free: 10.86 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.123, allocations: 0 / 0.4895 GB, free: 10.86 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.141e-05/0.123, allocations: 0 / 0.4895 GB, free: 10.86 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: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.001986/0.125, allocations: 1.126 MB / 0.4906 GB, free: 9.676 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.1251, allocations: 15.89 kB / 0.4906 GB, free: 9.66 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008999/0.126, allocations: 163.6 kB / 0.4907 GB, free: 9.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009537/0.1269, allocations: 0.6163 MB / 0.4913 GB, free: 8.84 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.578e-05/0.127, allocations: 45.69 kB / 0.4914 GB, free: 8.797 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001045/0.1271, allocations: 64.28 kB / 0.4914 GB, free: 8.734 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001285/0.1284, allocations: 0.7603 MB / 0.4922 GB, free: 7.934 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.638e-05/0.1284, allocations: 7.938 kB / 0.4922 GB, free: 7.926 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.121e-05/0.1285, allocations: 20 kB / 0.4922 GB, free: 7.906 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-05/0.1285, allocations: 33.3 kB / 0.4922 GB, free: 7.875 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001154/0.1297, allocations: 0.6297 MB / 0.4929 GB, free: 7.246 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003849/0.1336, allocations: 2.891 MB / 0.4957 GB, free: 4.238 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001346/0.1349, allocations: 0.6956 MB / 0.4964 GB, free: 3.504 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004418/0.1354, allocations: 231 kB / 0.4966 GB, free: 3.273 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.197e-05/0.1354, allocations: 8.438 kB / 0.4966 GB, free: 3.266 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.969e-05/0.1355, allocations: 39 kB / 0.4966 GB, free: 3.219 MB / 382.1 MB Notification: Performance of pre-optimization done (n=49): time 2.445e-06/0.1355, allocations: 0 / 0.4966 GB, free: 3.219 MB / 382.1 MB Notification: Performance of matching and sorting (n=49): time 0.001508/0.137, allocations: 0.7057 MB / 0.4973 GB, free: 2.508 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001076/0.1371, allocations: 107.2 kB / 0.4974 GB, free: 2.375 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008295/0.138, allocations: 0.59 MB / 0.498 GB, free: 1.777 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.461e-05/0.138, allocations: 33.7 kB / 0.498 GB, free: 1.738 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002613/0.1383, allocations: 360.5 kB / 0.4984 GB, free: 1.379 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001475/0.1384, allocations: 177.4 kB / 0.4985 GB, free: 1.203 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001719/0.1386, allocations: 106.2 kB / 0.4986 GB, free: 1.094 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.1388, allocations: 374.8 kB / 0.499 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000446/0.1392, allocations: 211 kB / 0.4992 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005914/0.1398, allocations: 352.4 kB / 0.4995 GB, free: 116 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009684/0.1408, allocations: 0.549 MB / 0.5001 GB, free: 15.51 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.221e-06/0.1408, allocations: 7.938 kB / 0.5001 GB, free: 15.5 MB / 398.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001789/0.1426, allocations: 0.7807 MB / 0.5008 GB, free: 14.71 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.1426, allocations: 8 kB / 0.5008 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/0.1427, allocations: 4 kB / 0.5008 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000475/0.1431, allocations: 117.1 kB / 0.501 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005622/0.1437, allocations: 131.8 kB / 0.5011 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003106/0.1468, allocations: 2.416 MB / 0.5034 GB, free: 11.91 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005216/0.1474, allocations: 91.39 kB / 0.5035 GB, free: 11.82 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.002e-05/0.1474, allocations: 20 kB / 0.5036 GB, free: 11.8 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006656/0.1481, allocations: 365.1 kB / 0.5039 GB, free: 11.44 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000499/0.1486, allocations: 324.5 kB / 0.5042 GB, free: 11.07 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009293/0.1496, allocations: 0.5296 MB / 0.5047 GB, free: 10.49 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.492e-06/0.1496, allocations: 7.938 kB / 0.5047 GB, free: 10.48 MB / 398.1 MB Notification: Performance of matching and sorting (n=70) (initialization_lambda0): time 0.001442/0.151, allocations: 0.7026 MB / 0.5054 GB, free: 9.77 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.1511, allocations: 7.906 kB / 0.5054 GB, free: 9.762 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.1511, allocations: 7.984 kB / 0.5054 GB, free: 9.754 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002861/0.1514, allocations: 97.2 kB / 0.5055 GB, free: 9.656 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000539/0.1519, allocations: 135.8 kB / 0.5057 GB, free: 9.523 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002364/0.1543, allocations: 2.225 MB / 0.5078 GB, free: 7.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005001/0.1548, allocations: 63.56 kB / 0.5079 GB, free: 7.098 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.225e-05/0.1548, allocations: 20.06 kB / 0.5079 GB, free: 7.078 MB / 398.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * 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,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0002278/0.1551, allocations: 220.1 kB / 0.5081 GB, free: 6.855 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000135/0.1552, allocations: 71.09 kB / 0.5082 GB, free: 6.785 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001257/0.1565, allocations: 0.5655 MB / 0.5087 GB, free: 6.211 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.136e-05/0.1565, allocations: 12 kB / 0.5088 GB, free: 6.199 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.1565, allocations: 0 / 0.5088 GB, free: 6.199 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.742e-06/0.1565, allocations: 3.938 kB / 0.5088 GB, free: 6.195 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0022/0.1587, allocations: 1.31 MB / 0.51 GB, free: 4.824 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.1588, allocations: 0 / 0.51 GB, free: 4.824 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005703/0.1593, allocations: 107.9 kB / 0.5101 GB, free: 4.719 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.065e-06/0.1594, allocations: 7.938 kB / 0.5101 GB, free: 4.711 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.391e-05/0.1594, allocations: 15.98 kB / 0.5102 GB, free: 4.695 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.1594, allocations: 0 / 0.5102 GB, free: 4.695 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.1594, allocations: 4 kB / 0.5102 GB, free: 4.691 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001632/0.1611, allocations: 0.9024 MB / 0.511 GB, free: 3.77 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002511/0.1613, allocations: 196.4 kB / 0.5112 GB, free: 3.559 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.625e-05/0.1614, allocations: 12 kB / 0.5112 GB, free: 3.547 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003908/0.1618, allocations: 31.95 kB / 0.5113 GB, free: 3.516 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/0.1619, allocations: 36.42 kB / 0.5113 GB, free: 3.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.34e-05/0.162, allocations: 19.94 kB / 0.5113 GB, free: 3.461 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006502/0.1626, allocations: 427 kB / 0.5117 GB, free: 3.047 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1627, allocations: 0 / 0.5117 GB, free: 3.047 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0009446/0.1636, allocations: 263.3 kB / 0.512 GB, free: 2.789 MB / 398.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001616/0.1638, allocations: 115.2 kB / 0.5121 GB, free: 2.668 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002183/0.166, allocations: 1.088 MB / 0.5132 GB, free: 1.559 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/0.166, allocations: 0 / 0.5132 GB, free: 1.559 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005498/0.1665, allocations: 262.3 kB / 0.5134 GB, free: 1.301 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009118/0.1675, allocations: 151.4 kB / 0.5136 GB, free: 1.156 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003173/0.1707, allocations: 1.552 MB / 0.5151 GB, free: 15.56 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006171/0.1713, allocations: 0.9379 MB / 0.516 GB, free: 14.59 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002575/0.1716, allocations: 55.42 kB / 0.516 GB, free: 14.54 MB / 414.1 MB Notification: Performance of SimCode: time 7.01e-07/0.1716, allocations: 0 / 0.516 GB, free: 14.54 MB / 414.1 MB Notification: Performance of Templates: time 0.01501/0.1866, allocations: 9.894 MB / 0.5257 GB, free: 4.625 MB / 414.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.makefile (rm -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.pipe ; mkfifo PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.pipe >> ../files/PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.sim & ./PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.pipe 2>&1)