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.001554/0.001554, allocations: 106.3 kB / 17.74 MB, free: 5.359 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.001903/0.001903, allocations: 185.4 kB / 18.67 MB, free: 4.438 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.436/1.436, 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.1801/0.1801, allocations: 37.97 MB / 309.9 MB, free: 5.973 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.001486/0.001486, allocations: 71.89 kB / 432.5 MB, free: 15.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1018, allocations: 55.24 MB / 487.8 MB, free: 8.367 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1): time 0.006767/0.1086, allocations: 5.448 MB / 493.2 MB, free: 2.887 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003516/0.1122, allocations: 2.285 MB / 495.5 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003754/0.1126, allocations: 31.81 kB / 495.5 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009129/0.1135, allocations: 274.2 kB / 495.8 MB, free: 296 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007297/0.1142, allocations: 346 kB / 496.2 MB, free: 15.95 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009698/0.1152, allocations: 0.5068 MB / 496.7 MB, free: 15.44 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001025/0.1163, allocations: 1.046 MB / 497.7 MB, free: 14.39 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008273/0.1171, allocations: 0.6075 MB / 498.3 MB, free: 13.77 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005342/0.1176, allocations: 414.4 kB / 498.7 MB, free: 13.37 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004662/0.1181, allocations: 398.1 kB / 499.1 MB, free: 12.98 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001269/0.1182, allocations: 80 kB / 499.2 MB, free: 12.9 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005686/0.1188, allocations: 363.3 kB / 499.5 MB, free: 12.54 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001954/0.119, allocations: 215.3 kB / 499.8 MB, free: 12.33 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003335/0.1194, allocations: 386 kB / 0.4884 GB, free: 11.95 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001166/0.1206, allocations: 1.09 MB / 0.4895 GB, free: 10.86 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.1206, allocations: 0 / 0.4895 GB, free: 10.86 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.1206, allocations: 0 / 0.4895 GB, free: 10.86 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.405e-05/0.1206, 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.002135/0.1227, allocations: 1.126 MB / 0.4906 GB, free: 9.68 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.1228, allocations: 11.89 kB / 0.4906 GB, free: 9.668 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008455/0.1236, allocations: 159.7 kB / 0.4907 GB, free: 9.512 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001034/0.1247, allocations: 0.6163 MB / 0.4913 GB, free: 8.852 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.493e-05/0.1247, allocations: 45.69 kB / 0.4914 GB, free: 8.809 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001192/0.1249, allocations: 68.28 kB / 0.4914 GB, free: 8.742 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001321/0.1262, allocations: 0.7603 MB / 0.4922 GB, free: 7.941 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.843e-05/0.1262, allocations: 3.938 kB / 0.4922 GB, free: 7.938 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.287e-05/0.1263, allocations: 20 kB / 0.4922 GB, free: 7.918 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.182e-05/0.1264, allocations: 33.31 kB / 0.4922 GB, free: 7.887 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001187/0.1276, allocations: 0.6335 MB / 0.4929 GB, free: 7.254 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004304/0.1319, allocations: 2.891 MB / 0.4957 GB, free: 4.246 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001356/0.1333, allocations: 0.6917 MB / 0.4964 GB, free: 3.516 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004843/0.1338, allocations: 235 kB / 0.4966 GB, free: 3.281 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.82e-05/0.1338, allocations: 12.44 kB / 0.4966 GB, free: 3.27 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.039e-05/0.1338, allocations: 35 kB / 0.4966 GB, free: 3.227 MB / 382.1 MB Notification: Performance of pre-optimization done (n=49): time 3.466e-06/0.1339, allocations: 0 / 0.4966 GB, free: 3.227 MB / 382.1 MB Notification: Performance of matching and sorting (n=49): time 0.001482/0.1353, allocations: 0.7018 MB / 0.4973 GB, free: 2.52 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.947e-05/0.1354, allocations: 107.2 kB / 0.4974 GB, free: 2.387 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008482/0.1363, allocations: 0.5979 MB / 0.498 GB, free: 1.781 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.217e-05/0.1363, allocations: 29.7 kB / 0.498 GB, free: 1.746 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003104/0.1366, allocations: 352.5 kB / 0.4984 GB, free: 1.395 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001456/0.1368, allocations: 181.4 kB / 0.4985 GB, free: 1.215 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001535/0.137, allocations: 106.2 kB / 0.4986 GB, free: 1.105 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001685/0.1371, allocations: 374.8 kB / 0.499 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004578/0.1376, allocations: 215.1 kB / 0.4992 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005419/0.1382, allocations: 352.4 kB / 0.4995 GB, free: 124 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001136/0.1393, allocations: 0.5529 MB / 0.5001 GB, free: 15.52 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.1393, allocations: 4 kB / 0.5001 GB, free: 15.51 MB / 398.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001792/0.1411, allocations: 0.7807 MB / 0.5008 GB, free: 14.72 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/0.1412, allocations: 8.406 kB / 0.5009 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.858e-06/0.1412, allocations: 8 kB / 0.5009 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004335/0.1416, allocations: 112.7 kB / 0.501 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005766/0.1422, allocations: 131.8 kB / 0.5011 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002949/0.1452, allocations: 2.409 MB / 0.5034 GB, free: 11.92 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004698/0.1456, allocations: 91.39 kB / 0.5035 GB, free: 11.83 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.99e-05/0.1457, allocations: 20 kB / 0.5035 GB, free: 11.81 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000608/0.1463, allocations: 365.1 kB / 0.5039 GB, free: 11.45 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004722/0.1468, allocations: 328.5 kB / 0.5042 GB, free: 11.08 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008733/0.1477, allocations: 0.5257 MB / 0.5047 GB, free: 10.51 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.767e-06/0.1477, allocations: 7.938 kB / 0.5047 GB, free: 10.5 MB / 398.1 MB Notification: Performance of matching and sorting (n=70) (initialization_lambda0): time 0.001305/0.149, allocations: 0.6987 MB / 0.5054 GB, free: 9.789 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.149, allocations: 15.84 kB / 0.5054 GB, free: 9.773 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.149, allocations: 4 kB / 0.5054 GB, free: 9.77 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002716/0.1493, allocations: 101.1 kB / 0.5055 GB, free: 9.668 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005606/0.1499, allocations: 131.8 kB / 0.5057 GB, free: 9.539 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002201/0.1521, allocations: 2.225 MB / 0.5078 GB, free: 7.172 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004257/0.1525, allocations: 67.62 kB / 0.5079 GB, free: 7.105 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.828e-05/0.1526, allocations: 24 kB / 0.5079 GB, free: 7.082 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.0001861/0.1528, allocations: 212.3 kB / 0.5081 GB, free: 6.867 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001211/0.1529, allocations: 75.09 kB / 0.5082 GB, free: 6.793 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001178/0.1541, allocations: 0.5654 MB / 0.5087 GB, free: 6.219 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.827e-06/0.1541, allocations: 7.984 kB / 0.5087 GB, free: 6.211 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.1541, allocations: 0 / 0.5087 GB, free: 6.211 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002509/0.1544, allocations: 192.1 kB / 0.5089 GB, free: 6.004 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.122e-05/0.1545, allocations: 12 kB / 0.5089 GB, free: 5.992 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003807/0.1548, allocations: 39.91 kB / 0.509 GB, free: 5.953 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.558e-05/0.155, allocations: 40.38 kB / 0.509 GB, free: 5.914 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001865/0.1568, allocations: 0.8188 MB / 0.5098 GB, free: 5.086 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001647/0.1585, allocations: 1.079 MB / 0.5109 GB, free: 3.992 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004527/0.159, allocations: 251.4 kB / 0.5111 GB, free: 3.746 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006184/0.1596, allocations: 427 kB / 0.5115 GB, free: 3.332 MB / 398.1 MB Notification: Performance of Backend: time 7.61e-07/0.1596, allocations: 0 / 0.5115 GB, free: 3.332 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002457/0.1621, allocations: 1.134 MB / 0.5126 GB, free: 2.168 MB / 398.1 MB Notification: Performance of SimCode: time 0.002484/0.1646, allocations: 1.879 MB / 0.5145 GB, free: 244 kB / 398.1 MB Notification: Performance of Templates: time 0.02116/0.1857, allocations: 12.08 MB / 0.5263 GB, free: 4.137 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)