Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2.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.PowerPlantTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2") translateModel(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 103 kB / 17.74 MB, free: 5.324 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.001199/0.0012, allocations: 198.5 kB / 18.68 MB, free: 4.395 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.393/1.393, 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.1771/0.1771, allocations: 37.98 MB / 309.9 MB, free: 5.953 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.002169/0.002169, allocations: 63.89 kB / 432.5 MB, free: 15.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.134, allocations: 55.24 MB / 487.8 MB, free: 8.352 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2): time 0.01051/0.1445, allocations: 5.472 MB / 493.3 MB, free: 2.848 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005581/0.1502, allocations: 2.308 MB / 495.6 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000831/0.151, allocations: 23.88 kB / 495.6 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001457/0.1525, allocations: 278.2 kB / 495.9 MB, free: 236 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001056/0.1536, allocations: 346 kB / 496.2 MB, free: 15.89 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001228/0.1548, allocations: 0.4991 MB / 496.7 MB, free: 15.39 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001449/0.1563, allocations: 1.061 MB / 497.8 MB, free: 14.33 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001015/0.1573, allocations: 0.6192 MB / 498.4 MB, free: 13.7 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007403/0.158, allocations: 410.4 kB / 498.8 MB, free: 13.29 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006845/0.1587, allocations: 410.1 kB / 499.2 MB, free: 12.89 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001655/0.1589, allocations: 83.94 kB / 499.3 MB, free: 12.81 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006672/0.1596, allocations: 355.2 kB / 499.6 MB, free: 12.46 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002619/0.1599, allocations: 219.3 kB / 499.8 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005118/0.1604, allocations: 401.8 kB / 0.4885 GB, free: 11.85 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001763/0.1622, allocations: 1.086 MB / 0.4895 GB, free: 10.76 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.216e-06/0.1622, allocations: 4 kB / 0.4896 GB, free: 10.76 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1622, allocations: 0 / 0.4896 GB, free: 10.76 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.3e-05/0.1622, allocations: 0 / 0.4896 GB, free: 10.76 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.002884/0.1651, allocations: 1.149 MB / 0.4907 GB, free: 9.555 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.202e-05/0.1652, allocations: 11.89 kB / 0.4907 GB, free: 9.543 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001234/0.1664, allocations: 163.8 kB / 0.4908 GB, free: 9.383 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001064/0.1675, allocations: 0.6163 MB / 0.4914 GB, free: 8.723 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.795e-05/0.1676, allocations: 45.69 kB / 0.4915 GB, free: 8.68 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001109/0.1677, allocations: 64.36 kB / 0.4915 GB, free: 8.617 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001339/0.169, allocations: 0.7681 MB / 0.4923 GB, free: 7.809 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.517e-05/0.1691, allocations: 7.906 kB / 0.4923 GB, free: 7.801 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.727e-05/0.1691, allocations: 20 kB / 0.4923 GB, free: 7.781 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.811e-05/0.1692, allocations: 33.3 kB / 0.4924 GB, free: 7.75 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00131/0.1705, allocations: 0.6608 MB / 0.493 GB, free: 7.09 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003865/0.1744, allocations: 2.903 MB / 0.4958 GB, free: 4.07 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001493/0.1759, allocations: 0.7427 MB / 0.4966 GB, free: 3.289 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005431/0.1764, allocations: 251 kB / 0.4968 GB, free: 3.039 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.756e-05/0.1765, allocations: 12.38 kB / 0.4968 GB, free: 3.027 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.242e-05/0.1765, allocations: 39 kB / 0.4969 GB, free: 2.98 MB / 382.1 MB Notification: Performance of pre-optimization done (n=50): time 1.934e-06/0.1766, allocations: 4 kB / 0.4969 GB, free: 2.977 MB / 382.1 MB Notification: Performance of matching and sorting (n=50): time 0.001703/0.1783, allocations: 0.7443 MB / 0.4976 GB, free: 2.227 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.192e-05/0.1783, allocations: 111.2 kB / 0.4977 GB, free: 2.09 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007844/0.1791, allocations: 0.5862 MB / 0.4983 GB, free: 1.496 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.297e-05/0.1792, allocations: 33.7 kB / 0.4983 GB, free: 1.457 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002669/0.1795, allocations: 360.4 kB / 0.4986 GB, free: 1.098 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001539/0.1796, allocations: 181.4 kB / 0.4988 GB, free: 0.918 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001699/0.1798, allocations: 106.2 kB / 0.4989 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002006/0.18, allocations: 378.8 kB / 0.4993 GB, free: 440 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005256/0.1805, allocations: 227.3 kB / 0.4995 GB, free: 208 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006358/0.1812, allocations: 361.5 kB / 0.4998 GB, free: 15.8 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001122/0.1823, allocations: 0.5822 MB / 0.5004 GB, free: 15.17 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.1823, allocations: 4 kB / 0.5004 GB, free: 15.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001796/0.1841, allocations: 0.819 MB / 0.5012 GB, free: 14.34 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.1842, allocations: 4 kB / 0.5012 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.1842, allocations: 7.984 kB / 0.5012 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000402/0.1846, allocations: 108.8 kB / 0.5013 GB, free: 14.21 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005853/0.1852, allocations: 147.7 kB / 0.5015 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003102/0.1883, allocations: 2.428 MB / 0.5038 GB, free: 11.51 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004737/0.1888, allocations: 83.33 kB / 0.5039 GB, free: 11.43 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.808e-05/0.1889, allocations: 24 kB / 0.5039 GB, free: 11.4 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006982/0.1896, allocations: 385.4 kB / 0.5043 GB, free: 11.02 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005671/0.1901, allocations: 349.5 kB / 0.5046 GB, free: 10.62 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001028/0.1912, allocations: 0.5588 MB / 0.5052 GB, free: 10.02 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.957e-06/0.1912, allocations: 4 kB / 0.5052 GB, free: 10.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.001519/0.1927, allocations: 0.729 MB / 0.5059 GB, free: 9.273 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.1927, allocations: 11.91 kB / 0.5059 GB, free: 9.262 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.1928, allocations: 7.984 kB / 0.5059 GB, free: 9.254 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002678/0.193, allocations: 108.7 kB / 0.506 GB, free: 9.145 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005767/0.1936, allocations: 136.4 kB / 0.5061 GB, free: 9.012 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002125/0.1958, allocations: 2.213 MB / 0.5083 GB, free: 6.656 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004798/0.1963, allocations: 75.48 kB / 0.5084 GB, free: 6.582 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.732e-05/0.1963, allocations: 24.06 kB / 0.5084 GB, free: 6.559 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 (61): * Single equations (assignments): 60 * 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.0002172/0.1965, allocations: 216.1 kB / 0.5086 GB, free: 6.34 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00012/0.1967, allocations: 67.16 kB / 0.5087 GB, free: 6.273 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00136/0.198, allocations: 0.5928 MB / 0.5093 GB, free: 5.672 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.154e-05/0.1981, allocations: 11.92 kB / 0.5093 GB, free: 5.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.1981, allocations: 0 / 0.5093 GB, free: 5.66 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002609/0.1983, allocations: 196.1 kB / 0.5095 GB, free: 5.449 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.109e-05/0.1984, allocations: 16 kB / 0.5095 GB, free: 5.434 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004206/0.1988, allocations: 40.14 kB / 0.5095 GB, free: 5.395 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00011/0.199, allocations: 44.38 kB / 0.5095 GB, free: 5.352 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002142/0.2011, allocations: 0.8539 MB / 0.5104 GB, free: 4.488 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001917/0.203, allocations: 1.142 MB / 0.5115 GB, free: 3.332 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005349/0.2036, allocations: 263.3 kB / 0.5117 GB, free: 3.074 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006481/0.2043, allocations: 423 kB / 0.5122 GB, free: 2.664 MB / 398.1 MB Notification: Performance of Backend: time 8.12e-07/0.2043, allocations: 0 / 0.5122 GB, free: 2.664 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002557/0.2068, allocations: 1.171 MB / 0.5133 GB, free: 1.461 MB / 398.1 MB Notification: Performance of SimCode: time 0.002618/0.2095, allocations: 1.898 MB / 0.5151 GB, free: 15.51 MB / 414.1 MB Notification: Performance of Templates: time 0.02138/0.2309, allocations: 12.44 MB / 0.5273 GB, free: 3.043 MB / 414.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2.makefile (rm -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2.pipe ; mkfifo PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2.pipe >> ../files/PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2.sim & ./PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2.pipe 2>&1)