Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest1.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.001865/0.001873, allocations: 119.4 kB / 18.41 MB, free: 4.648 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.002146/0.002146, allocations: 192.3 kB / 21.35 MB, free: 1.711 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.514/1.514, allocations: 222.9 MB / 247 MB, free: 4.195 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.2846/0.2846, allocations: 37.99 MB / 337.2 MB, free: 12.94 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.HydroPlantTest1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest1") translateModel(PowerSystems.Examples.PowerWorld.Test.HydroPlantTest1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 68.05 kB / 467.5 MB, free: 27.54 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09742/0.0994, allocations: 58.08 MB / 0.5133 GB, free: 9.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.HydroPlantTest1): time 0.006995/0.1064, allocations: 5.132 MB / 0.5183 GB, free: 4.453 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003513/0.11, allocations: 2.124 MB / 0.5204 GB, free: 2.324 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003872/0.1104, allocations: 23.88 kB / 0.5204 GB, free: 2.301 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009245/0.1113, allocations: 274.3 kB / 0.5206 GB, free: 2.031 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007712/0.1121, allocations: 330.2 kB / 0.521 GB, free: 1.707 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008815/0.113, allocations: 402.6 kB / 0.5213 GB, free: 1.316 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001064/0.1141, allocations: 0.9165 MB / 0.5222 GB, free: 408 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000846/0.1149, allocations: 0.5044 MB / 0.5227 GB, free: 15.89 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005444/0.1155, allocations: 346.6 kB / 0.5231 GB, free: 15.55 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004705/0.116, allocations: 346.5 kB / 0.5234 GB, free: 15.21 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001034/0.1161, allocations: 72 kB / 0.5235 GB, free: 15.14 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005906/0.1167, allocations: 347.2 kB / 0.5238 GB, free: 14.8 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002115/0.1169, allocations: 191.5 kB / 0.524 GB, free: 14.62 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003374/0.1173, allocations: 330.2 kB / 0.5243 GB, free: 14.29 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001164/0.1184, allocations: 0.9378 MB / 0.5252 GB, free: 13.35 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.1184, allocations: 0 / 0.5252 GB, free: 13.35 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1185, allocations: 0 / 0.5252 GB, free: 13.35 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.408e-06/0.1185, allocations: 4 kB / 0.5252 GB, free: 13.35 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: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.002079/0.1206, allocations: 1.045 MB / 0.5262 GB, free: 12.24 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.1206, allocations: 15.89 kB / 0.5262 GB, free: 12.23 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008699/0.1215, allocations: 144.4 kB / 0.5264 GB, free: 12.09 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009014/0.1224, allocations: 0.5369 MB / 0.5269 GB, free: 11.51 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.947e-05/0.1225, allocations: 41.36 kB / 0.5269 GB, free: 11.47 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.676e-05/0.1226, allocations: 52.38 kB / 0.527 GB, free: 11.42 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001314/0.1239, allocations: 0.6749 MB / 0.5277 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.126e-05/0.1239, allocations: 0 / 0.5277 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.675e-05/0.124, allocations: 23.98 kB / 0.5277 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.491e-05/0.124, allocations: 28.98 kB / 0.5277 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001397/0.1254, allocations: 0.6049 MB / 0.5283 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003799/0.1292, allocations: 2.681 MB / 0.5309 GB, free: 7.223 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001449/0.1307, allocations: 0.6165 MB / 0.5315 GB, free: 6.574 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005309/0.1313, allocations: 218.3 kB / 0.5317 GB, free: 6.355 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.719e-05/0.1313, allocations: 4.328 kB / 0.5317 GB, free: 6.352 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006822/0.132, allocations: 313.6 kB / 0.532 GB, free: 6.023 MB / 398.1 MB Notification: Performance of pre-optimization done (n=41): time 2.124e-06/0.132, allocations: 0 / 0.532 GB, free: 6.023 MB / 398.1 MB Notification: Performance of matching and sorting (n=41): time 0.002002/0.134, allocations: 0.7526 MB / 0.5328 GB, free: 5.242 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.935e-05/0.1341, allocations: 136.5 kB / 0.5329 GB, free: 5.078 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007766/0.1349, allocations: 498.2 kB / 0.5334 GB, free: 4.578 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.282e-05/0.135, allocations: 37.86 kB / 0.5334 GB, free: 4.535 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002776/0.1352, allocations: 316.4 kB / 0.5337 GB, free: 4.223 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00014/0.1354, allocations: 142.8 kB / 0.5338 GB, free: 4.082 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001634/0.1356, allocations: 90.2 kB / 0.5339 GB, free: 3.988 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002019/0.1358, allocations: 366.8 kB / 0.5343 GB, free: 3.621 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005449/0.1363, allocations: 195 kB / 0.5345 GB, free: 3.43 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006262/0.137, allocations: 315.2 kB / 0.5348 GB, free: 3.07 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001124/0.1381, allocations: 0.5178 MB / 0.5353 GB, free: 2.5 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.1381, allocations: 0 / 0.5353 GB, free: 2.5 MB / 398.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001945/0.1401, allocations: 0.7764 MB / 0.536 GB, free: 1.707 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.119e-05/0.1401, allocations: 33.7 kB / 0.5361 GB, free: 1.668 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.1401, allocations: 0 / 0.5361 GB, free: 1.668 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005098/0.1406, allocations: 141.1 kB / 0.5362 GB, free: 1.527 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004009/0.1411, allocations: 96.06 kB / 0.5363 GB, free: 1.434 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003719/0.1448, allocations: 2.65 MB / 0.5389 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004908/0.1453, allocations: 79.56 kB / 0.5389 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.902e-05/0.1453, allocations: 20 kB / 0.539 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006606/0.146, allocations: 333.2 kB / 0.5393 GB, free: 14.22 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005485/0.1466, allocations: 299.2 kB / 0.5396 GB, free: 13.88 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001024/0.1476, allocations: 0.5025 MB / 0.5401 GB, free: 13.33 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.119e-06/0.1476, allocations: 4 kB / 0.5401 GB, free: 13.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.001584/0.1492, allocations: 0.6826 MB / 0.5407 GB, free: 12.62 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.776e-05/0.1493, allocations: 33.7 kB / 0.5408 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.1493, allocations: 4 kB / 0.5408 GB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003671/0.1497, allocations: 129.3 kB / 0.5409 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003803/0.15, allocations: 87.89 kB / 0.541 GB, free: 12.37 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002903/0.153, allocations: 2.456 MB / 0.5434 GB, free: 9.773 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004729/0.1534, allocations: 67.8 kB / 0.5434 GB, free: 9.707 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.319e-05/0.1535, allocations: 19.98 kB / 0.5435 GB, free: 9.688 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 7 (system.initime,trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1,hydroPlant.reservoirLevel.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 1 * 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,13)} Notification: Performance of prepare postOptimizeDAE: time 0.0002067/0.1537, allocations: 216 kB / 0.5437 GB, free: 9.469 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.433e-05/0.1538, allocations: 55.62 kB / 0.5437 GB, free: 9.414 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001303/0.1551, allocations: 0.5122 MB / 0.5442 GB, free: 8.887 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-06/0.1551, allocations: 4 kB / 0.5442 GB, free: 8.883 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.1552, allocations: 7.938 kB / 0.5442 GB, free: 8.875 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.1552, allocations: 0 / 0.5442 GB, free: 8.875 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002131/0.1573, allocations: 1.175 MB / 0.5454 GB, free: 7.641 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.097e-06/0.1573, allocations: 7.922 kB / 0.5454 GB, free: 7.633 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004748/0.1578, allocations: 87.88 kB / 0.5455 GB, free: 7.547 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001064/0.1579, allocations: 32.84 kB / 0.5455 GB, free: 7.512 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.816e-05/0.158, allocations: 12 kB / 0.5455 GB, free: 7.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001239/0.1592, allocations: 1.453 MB / 0.5469 GB, free: 5.906 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/0.1592, allocations: 12.08 kB / 0.5469 GB, free: 5.895 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001791/0.161, allocations: 0.8349 MB / 0.5478 GB, free: 5.035 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000224/0.1613, allocations: 172.7 kB / 0.5479 GB, free: 4.848 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.288e-05/0.1614, allocations: 11.94 kB / 0.5479 GB, free: 4.836 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004243/0.1618, allocations: 39.95 kB / 0.548 GB, free: 4.797 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/0.1619, allocations: 35.95 kB / 0.548 GB, free: 4.762 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.329e-05/0.1619, allocations: 16 kB / 0.548 GB, free: 4.746 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005856/0.1625, allocations: 362.8 kB / 0.5484 GB, free: 4.395 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.1625, allocations: 0 / 0.5484 GB, free: 4.395 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009005/0.1634, allocations: 247.5 kB / 0.5486 GB, free: 4.152 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (hydroPlant.reservoirLevel.y,hydroPlant.rotor.phi,hydroPlant.rotor.w,hydroPlant.controlDynamics.x_scaled[1]) * Number of discrete variables: 4 (system.initime,$whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001556/0.1636, allocations: 111.2 kB / 0.5487 GB, free: 4.035 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002325/0.1659, allocations: 1.149 MB / 0.5498 GB, free: 2.836 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.166, allocations: 0 / 0.5498 GB, free: 2.836 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006845/0.1667, allocations: 347.4 kB / 0.5502 GB, free: 2.484 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007012/0.1674, allocations: 118.3 kB / 0.5503 GB, free: 2.371 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002378/0.1698, allocations: 1.284 MB / 0.5515 GB, free: 1.047 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006155/0.1704, allocations: 0.8979 MB / 0.5524 GB, free: 124 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001565/0.1705, allocations: 43.42 kB / 0.5524 GB, free: 80 kB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1706, allocations: 4 kB / 0.5524 GB, free: 76 kB / 414.1 MB Notification: Performance of Templates: time 0.01424/0.1848, allocations: 9.624 MB / 0.5618 GB, free: 6.457 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest1.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest1.pipe ; mkfifo PowerSystems_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest1.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest1.pipe >> ../files/PowerSystems_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest1.sim & ./PowerSystems_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.215098113985732] Failed to read output from testmodel.py, exit status != 0: 0.19117231597192585 0.204746487 0.083656189 Calling exit ...