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.001295/0.001295, allocations: 108.7 kB / 17.75 MB, free: 5.223 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.001343/0.001344, allocations: 190.4 kB / 18.67 MB, free: 4.305 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.364/1.364, 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.2034/0.2034, allocations: 37.98 MB / 309.9 MB, free: 5.961 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.001673/0.001673, allocations: 63.91 kB / 432.5 MB, free: 15.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1064, allocations: 55.24 MB / 487.8 MB, free: 8.367 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3): time 0.008164/0.1146, allocations: 5.94 MB / 493.7 MB, free: 2.395 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004735/0.1193, allocations: 2.774 MB / 496.5 MB, free: 15.61 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007906/0.1202, allocations: 27.88 kB / 496.5 MB, free: 15.58 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001292/0.1215, allocations: 385.8 kB / 496.9 MB, free: 15.2 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001323/0.1228, allocations: 477.6 kB / 497.4 MB, free: 14.73 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001347/0.1242, allocations: 0.5497 MB / 497.9 MB, free: 14.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001557/0.1257, allocations: 1.209 MB / 499.1 MB, free: 12.97 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001053/0.1268, allocations: 0.7013 MB / 499.8 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007273/0.1275, allocations: 474.1 kB / 0.4886 GB, free: 11.78 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006888/0.1282, allocations: 481.9 kB / 0.489 GB, free: 11.31 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002115/0.1285, allocations: 88 kB / 0.4891 GB, free: 11.22 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00111/0.1296, allocations: 0.5223 MB / 0.4896 GB, free: 10.7 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003417/0.1299, allocations: 263.2 kB / 0.4899 GB, free: 10.44 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005063/0.1304, allocations: 437.7 kB / 0.4903 GB, free: 10.01 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001532/0.132, allocations: 1.242 MB / 0.4915 GB, free: 8.766 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.132, allocations: 0 / 0.4915 GB, free: 8.766 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.132, allocations: 0 / 0.4915 GB, free: 8.766 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.056e-05/0.132, allocations: 4 kB / 0.4915 GB, free: 8.762 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.002405/0.1345, allocations: 1.204 MB / 0.4927 GB, free: 7.504 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.1345, allocations: 11.89 kB / 0.4927 GB, free: 7.492 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001302/0.1358, allocations: 199.7 kB / 0.4929 GB, free: 7.297 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001163/0.137, allocations: 0.6552 MB / 0.4935 GB, free: 6.598 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.011e-05/0.137, allocations: 49.69 kB / 0.4936 GB, free: 6.551 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001188/0.1372, allocations: 72.22 kB / 0.4936 GB, free: 6.48 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001484/0.1387, allocations: 0.8821 MB / 0.4945 GB, free: 5.559 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.596e-05/0.1387, allocations: 4 kB / 0.4945 GB, free: 5.555 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.745e-05/0.1388, allocations: 28 kB / 0.4945 GB, free: 5.527 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.609e-05/0.1388, allocations: 45.17 kB / 0.4946 GB, free: 5.484 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001448/0.1403, allocations: 0.778 MB / 0.4953 GB, free: 4.703 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004545/0.1449, allocations: 3.226 MB / 0.4985 GB, free: 1.352 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001548/0.1464, allocations: 0.9729 MB / 0.4994 GB, free: 316 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000539/0.147, allocations: 307.3 kB / 0.4997 GB, free: 4 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.482e-05/0.147, allocations: 12.64 kB / 0.4997 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.915e-05/0.1471, allocations: 39.12 kB / 0.4998 GB, free: 15.94 MB / 398.1 MB Notification: Performance of pre-optimization done (n=59): time 2.335e-06/0.1471, allocations: 0 / 0.4998 GB, free: 15.94 MB / 398.1 MB Notification: Performance of matching and sorting (n=63): time 0.005018/0.1521, allocations: 2.54 MB / 0.5022 GB, free: 13.3 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.754e-05/0.1522, allocations: 107.4 kB / 0.5024 GB, free: 13.17 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008264/0.153, allocations: 0.59 MB / 0.5029 GB, free: 12.57 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.63e-05/0.1531, allocations: 37.7 kB / 0.503 GB, free: 12.53 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002624/0.1534, allocations: 368.2 kB / 0.5033 GB, free: 12.16 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001893/0.1536, allocations: 224.7 kB / 0.5035 GB, free: 11.94 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002002/0.1538, allocations: 118.7 kB / 0.5036 GB, free: 11.82 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001977/0.154, allocations: 382.8 kB / 0.504 GB, free: 11.44 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005792/0.1546, allocations: 276.7 kB / 0.5043 GB, free: 11.16 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007241/0.1553, allocations: 417.8 kB / 0.5047 GB, free: 10.7 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001228/0.1566, allocations: 0.7006 MB / 0.5054 GB, free: 9.949 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/0.1566, allocations: 3.938 kB / 0.5054 GB, free: 9.945 MB / 398.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001611/0.1582, allocations: 0.8305 MB / 0.5062 GB, free: 9.105 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.1582, allocations: 8.5 kB / 0.5062 GB, free: 9.098 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.1582, allocations: 8 kB / 0.5062 GB, free: 9.09 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002897/0.1585, allocations: 60.8 kB / 0.5062 GB, free: 9.027 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007401/0.1593, allocations: 179.7 kB / 0.5064 GB, free: 8.852 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001756/0.161, allocations: 1.806 MB / 0.5082 GB, free: 6.898 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004913/0.1616, allocations: 47.95 kB / 0.5082 GB, free: 6.852 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.884e-05/0.1616, allocations: 24 kB / 0.5082 GB, free: 6.828 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008071/0.1624, allocations: 453.9 kB / 0.5087 GB, free: 6.383 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005989/0.163, allocations: 401.8 kB / 0.5091 GB, free: 5.938 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001187/0.1642, allocations: 0.6733 MB / 0.5097 GB, free: 5.215 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.384e-06/0.1642, allocations: 0 / 0.5097 GB, free: 5.215 MB / 398.1 MB Notification: Performance of matching and sorting (n=83) (initialization_lambda0): time 0.001521/0.1658, allocations: 0.7994 MB / 0.5105 GB, free: 4.402 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.1658, allocations: 8 kB / 0.5105 GB, free: 4.395 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.1658, allocations: 7.984 kB / 0.5105 GB, free: 4.387 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002059/0.166, allocations: 61.33 kB / 0.5106 GB, free: 4.324 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006886/0.1667, allocations: 179.7 kB / 0.5107 GB, free: 4.148 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001744/0.1685, allocations: 1.802 MB / 0.5125 GB, free: 2.211 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000477/0.169, allocations: 55.95 kB / 0.5126 GB, free: 2.156 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.501e-05/0.169, allocations: 27.98 kB / 0.5126 GB, free: 2.129 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.0002023/0.1692, allocations: 216.1 kB / 0.5128 GB, free: 1.91 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001188/0.1694, allocations: 71.16 kB / 0.5129 GB, free: 1.84 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001739/0.1711, allocations: 0.7724 MB / 0.5136 GB, free: 1.043 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.929e-06/0.1711, allocations: 3.984 kB / 0.5136 GB, free: 1.039 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.1711, allocations: 4.141 kB / 0.5136 GB, free: 1.035 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000259/0.1714, allocations: 208.1 kB / 0.5138 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.392e-05/0.1715, allocations: 19.92 kB / 0.5138 GB, free: 0.793 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004375/0.172, allocations: 47.89 kB / 0.5139 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001218/0.1721, allocations: 52.42 kB / 0.5139 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002334/0.1744, allocations: 1.026 MB / 0.5149 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002065/0.1765, allocations: 1.275 MB / 0.5162 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006819/0.1772, allocations: 324.3 kB / 0.5165 GB, free: 14.05 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006784/0.1779, allocations: 419 kB / 0.5169 GB, free: 13.65 MB / 414.1 MB Notification: Performance of Backend: time 6.42e-07/0.1779, allocations: 0 / 0.5169 GB, free: 13.65 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00312/0.181, allocations: 1.315 MB / 0.5182 GB, free: 12.3 MB / 414.1 MB Notification: Performance of SimCode: time 0.00299/0.184, allocations: 1.934 MB / 0.5201 GB, free: 10.32 MB / 414.1 MB Notification: Performance of Templates: time 0.2159/0.4, allocations: 13.72 MB / 0.5335 GB, free: 51.68 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)