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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001343/0.001343, allocations: 123.5 kB / 18.41 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001333/0.001333, allocations: 192.3 kB / 21.35 MB, free: 1.734 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.465/1.465, allocations: 222.9 MB / 247 MB, free: 4.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.2879/0.2879, allocations: 38 MB / 337.2 MB, free: 12.91 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2") translateModel(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00192/0.00192, allocations: 68.05 kB / 467.5 MB, free: 27.62 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1118, allocations: 58.08 MB / 0.5133 GB, free: 9.723 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2): time 0.007565/0.1194, allocations: 5.44 MB / 0.5186 GB, free: 4.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003986/0.1234, allocations: 2.253 MB / 0.5208 GB, free: 1.988 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004655/0.1239, allocations: 27.88 kB / 0.5208 GB, free: 1.961 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009433/0.1249, allocations: 278.2 kB / 0.5211 GB, free: 1.688 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000805/0.1257, allocations: 350 kB / 0.5214 GB, free: 1.344 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001094/0.1268, allocations: 0.4948 MB / 0.5219 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001225/0.1281, allocations: 1.061 MB / 0.5229 GB, free: 15.79 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009079/0.129, allocations: 0.6152 MB / 0.5235 GB, free: 15.16 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005402/0.1296, allocations: 402.4 kB / 0.5239 GB, free: 14.77 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005126/0.1301, allocations: 410 kB / 0.5243 GB, free: 14.37 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001254/0.1302, allocations: 80 kB / 0.5244 GB, free: 14.29 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006257/0.1308, allocations: 363.2 kB / 0.5247 GB, free: 13.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002476/0.1311, allocations: 215.3 kB / 0.5249 GB, free: 13.72 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003972/0.1315, allocations: 397.8 kB / 0.5253 GB, free: 13.33 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001409/0.1329, allocations: 1.093 MB / 0.5264 GB, free: 12.23 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.1329, allocations: 4 kB / 0.5264 GB, free: 12.23 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1329, allocations: 0 / 0.5264 GB, free: 12.23 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.104e-05/0.133, allocations: 4 kB / 0.5264 GB, free: 12.23 MB / 398.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.002291/0.1353, allocations: 1.164 MB / 0.5275 GB, free: 11.01 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.1353, allocations: 15.89 kB / 0.5275 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008814/0.1362, allocations: 164.3 kB / 0.5277 GB, free: 10.83 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001052/0.1373, allocations: 0.613 MB / 0.5283 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.407e-05/0.1373, allocations: 49.69 kB / 0.5283 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001075/0.1374, allocations: 60.38 kB / 0.5284 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001454/0.1389, allocations: 0.772 MB / 0.5292 GB, free: 9.258 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.176e-05/0.1389, allocations: 4 kB / 0.5292 GB, free: 9.254 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.427e-05/0.139, allocations: 24 kB / 0.5292 GB, free: 9.23 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.392e-05/0.1391, allocations: 25.31 kB / 0.5292 GB, free: 9.207 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00144/0.1405, allocations: 0.6608 MB / 0.5299 GB, free: 8.547 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004404/0.1449, allocations: 2.911 MB / 0.5327 GB, free: 5.512 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001635/0.1466, allocations: 0.7411 MB / 0.5334 GB, free: 4.738 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000582/0.1472, allocations: 247 kB / 0.5337 GB, free: 4.488 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.007e-05/0.1472, allocations: 12.38 kB / 0.5337 GB, free: 4.477 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.832e-05/0.1473, allocations: 46.98 kB / 0.5337 GB, free: 4.422 MB / 398.1 MB Notification: Performance of pre-optimization done (n=50): time 2.365e-06/0.1473, allocations: 0 / 0.5337 GB, free: 4.422 MB / 398.1 MB Notification: Performance of matching and sorting (n=50): time 0.001877/0.1492, allocations: 0.7524 MB / 0.5344 GB, free: 3.664 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.563e-05/0.1493, allocations: 107.2 kB / 0.5346 GB, free: 3.535 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008632/0.1501, allocations: 0.5784 MB / 0.5351 GB, free: 2.949 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.846e-05/0.1502, allocations: 37.7 kB / 0.5352 GB, free: 2.906 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003271/0.1505, allocations: 361.7 kB / 0.5355 GB, free: 2.547 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002017/0.1507, allocations: 186.4 kB / 0.5357 GB, free: 2.363 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001917/0.1509, allocations: 110.3 kB / 0.5358 GB, free: 2.25 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002268/0.1512, allocations: 378.8 kB / 0.5361 GB, free: 1.871 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005685/0.1518, allocations: 231.3 kB / 0.5364 GB, free: 1.641 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006731/0.1524, allocations: 357.5 kB / 0.5367 GB, free: 1.234 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001231/0.1537, allocations: 0.586 MB / 0.5373 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/0.1537, allocations: 4 kB / 0.5373 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002054/0.1558, allocations: 0.8191 MB / 0.5381 GB, free: 15.77 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.1558, allocations: 11.98 kB / 0.5381 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.457e-06/0.1558, allocations: 4 kB / 0.5381 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004367/0.1562, allocations: 112.7 kB / 0.5382 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006231/0.1569, allocations: 140.2 kB / 0.5383 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003388/0.1603, allocations: 2.421 MB / 0.5407 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005118/0.1608, allocations: 87.52 kB / 0.5408 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.58e-05/0.1609, allocations: 20 kB / 0.5408 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007533/0.1616, allocations: 389.4 kB / 0.5412 GB, free: 12.46 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006397/0.1623, allocations: 345.5 kB / 0.5415 GB, free: 12.07 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001145/0.1634, allocations: 0.5627 MB / 0.5421 GB, free: 11.46 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.084e-06/0.1634, allocations: 0 / 0.5421 GB, free: 11.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.001577/0.165, allocations: 0.7333 MB / 0.5428 GB, free: 10.71 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.165, allocations: 8 kB / 0.5428 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.1651, allocations: 11.92 kB / 0.5428 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002933/0.1654, allocations: 101.2 kB / 0.5429 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005925/0.166, allocations: 139.8 kB / 0.543 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002476/0.1685, allocations: 2.226 MB / 0.5452 GB, free: 8.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004775/0.1689, allocations: 75.75 kB / 0.5453 GB, free: 8.016 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.409e-05/0.169, allocations: 20 kB / 0.5453 GB, free: 7.996 MB / 414.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.000224/0.1692, allocations: 227.9 kB / 0.5455 GB, free: 7.766 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001136/0.1694, allocations: 67.58 kB / 0.5456 GB, free: 7.699 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001453/0.1708, allocations: 0.5966 MB / 0.5461 GB, free: 7.094 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/0.1708, allocations: 4 kB / 0.5462 GB, free: 7.09 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.1708, allocations: 3.984 kB / 0.5462 GB, free: 7.086 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.356e-06/0.1709, allocations: 4 kB / 0.5462 GB, free: 7.082 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002429/0.1733, allocations: 1.357 MB / 0.5475 GB, free: 5.672 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.1733, allocations: 0 / 0.5475 GB, free: 5.672 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006301/0.1739, allocations: 123.8 kB / 0.5476 GB, free: 5.551 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.963e-06/0.174, allocations: 4 kB / 0.5476 GB, free: 5.547 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.443e-05/0.174, allocations: 8 kB / 0.5476 GB, free: 5.539 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.174, allocations: 0 / 0.5476 GB, free: 5.539 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/0.174, allocations: 7.938 kB / 0.5476 GB, free: 5.531 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001987/0.176, allocations: 0.9652 MB / 0.5486 GB, free: 4.547 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00026/0.1763, allocations: 196.5 kB / 0.5488 GB, free: 4.336 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.439e-05/0.1764, allocations: 12 kB / 0.5488 GB, free: 4.324 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004103/0.1768, allocations: 35.95 kB / 0.5488 GB, free: 4.289 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001062/0.1769, allocations: 36.39 kB / 0.5488 GB, free: 4.254 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.83e-05/0.177, allocations: 19.98 kB / 0.5488 GB, free: 4.234 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006701/0.1776, allocations: 419 kB / 0.5492 GB, free: 3.828 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.214e-06/0.1776, allocations: 112 / 0.5492 GB, free: 3.828 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009374/0.1786, allocations: 279.4 kB / 0.5495 GB, free: 3.555 MB / 414.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 (51): * Single equations (assignments): 50 * 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.0001452/0.1787, allocations: 111.2 kB / 0.5496 GB, free: 3.438 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002447/0.1812, allocations: 1.143 MB / 0.5507 GB, free: 2.27 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.1812, allocations: 0 / 0.5507 GB, free: 2.27 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006262/0.1818, allocations: 275.1 kB / 0.551 GB, free: 2 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000808/0.1827, allocations: 156.1 kB / 0.5511 GB, free: 1.855 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003113/0.1858, allocations: 1.589 MB / 0.5527 GB, free: 232 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006809/0.1865, allocations: 0.9418 MB / 0.5536 GB, free: 15.26 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000192/0.1867, allocations: 51.44 kB / 0.5537 GB, free: 15.21 MB / 430.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1867, allocations: 0 / 0.5537 GB, free: 15.21 MB / 430.1 MB Notification: Performance of Templates: time 0.01493/0.2016, allocations: 10.01 MB / 0.5634 GB, free: 5.207 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.185937517904676] Failed to read output from testmodel.py, exit status != 0: 0.2081151370657608 0.22159197299999994 0.08609599400000001 Calling exit ...