Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest.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.001284/0.001284, allocations: 118.5 kB / 18.41 MB, free: 4.555 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.00132/0.00132, allocations: 186.7 kB / 21.35 MB, free: 1.621 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.477/1.477, allocations: 222.9 MB / 247 MB, free: 4.219 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.2889/0.2889, allocations: 38.01 MB / 337.2 MB, free: 12.9 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.WindFarmGridTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest") translateModel(PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 63.3 kB / 467.5 MB, free: 27.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.1044, allocations: 58.07 MB / 0.5133 GB, free: 9.742 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest): time 0.005282/0.1097, allocations: 3.676 MB / 0.5169 GB, free: 6.043 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003102/0.1129, allocations: 2.035 MB / 0.5189 GB, free: 3.996 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001634/0.1131, allocations: 7.938 kB / 0.5189 GB, free: 3.988 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008443/0.1139, allocations: 246.2 kB / 0.5191 GB, free: 3.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006119/0.1145, allocations: 286.8 kB / 0.5194 GB, free: 3.469 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006749/0.1152, allocations: 287.2 kB / 0.5196 GB, free: 3.188 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006137/0.1158, allocations: 0.526 MB / 0.5202 GB, free: 2.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003845/0.1162, allocations: 219.5 kB / 0.5204 GB, free: 2.445 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004103/0.1167, allocations: 223.2 kB / 0.5206 GB, free: 2.227 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003093/0.117, allocations: 219.2 kB / 0.5208 GB, free: 2.012 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.913e-05/0.117, allocations: 36 kB / 0.5208 GB, free: 1.977 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006762/0.1177, allocations: 403.2 kB / 0.5212 GB, free: 1.582 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001423/0.1179, allocations: 127.6 kB / 0.5213 GB, free: 1.457 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002017/0.1181, allocations: 191 kB / 0.5215 GB, free: 1.27 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008436/0.1189, allocations: 0.6267 MB / 0.5221 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.119, allocations: 0 / 0.5221 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.119, allocations: 0 / 0.5221 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.119, allocations: 0 / 0.5221 GB, free: 0.6406 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001399/0.1204, allocations: 0.758 MB / 0.5229 GB, free: 15.82 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.1204, allocations: 11.89 kB / 0.5229 GB, free: 15.81 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008913/0.1213, allocations: 116.6 kB / 0.523 GB, free: 15.7 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006249/0.122, allocations: 427.8 kB / 0.5234 GB, free: 15.24 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.32e-05/0.122, allocations: 12.81 kB / 0.5234 GB, free: 15.23 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.934e-05/0.122, allocations: 28.12 kB / 0.5234 GB, free: 15.2 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008711/0.1229, allocations: 454.7 kB / 0.5239 GB, free: 14.73 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.1229, allocations: 0 / 0.5239 GB, free: 14.73 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.384e-05/0.123, allocations: 4 kB / 0.5239 GB, free: 14.72 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.556e-05/0.123, allocations: 24.42 kB / 0.5239 GB, free: 14.7 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001076/0.1241, allocations: 0.4934 MB / 0.5244 GB, free: 14.2 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002222/0.1263, allocations: 1.678 MB / 0.526 GB, free: 12.43 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009713/0.1273, allocations: 357.1 kB / 0.5264 GB, free: 12.06 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000365/0.1277, allocations: 146.8 kB / 0.5265 GB, free: 11.91 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.134e-05/0.1278, allocations: 8 kB / 0.5265 GB, free: 11.91 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005901/0.1284, allocations: 290.9 kB / 0.5268 GB, free: 11.58 MB / 398.1 MB Notification: Performance of pre-optimization done (n=31): time 2.084e-06/0.1284, allocations: 0 / 0.5268 GB, free: 11.58 MB / 398.1 MB Notification: Performance of matching and sorting (n=31): time 0.001424/0.1298, allocations: 0.5286 MB / 0.5273 GB, free: 11.05 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001955/0.13, allocations: 294.7 kB / 0.5276 GB, free: 10.69 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003998/0.1304, allocations: 340.8 kB / 0.5279 GB, free: 10.36 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.998e-05/0.1305, allocations: 33.7 kB / 0.5279 GB, free: 10.32 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001623/0.1306, allocations: 196.6 kB / 0.5281 GB, free: 10.12 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001056/0.1308, allocations: 115.1 kB / 0.5282 GB, free: 10.01 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001126/0.1309, allocations: 65.7 kB / 0.5283 GB, free: 9.938 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001648/0.131, allocations: 346.8 kB / 0.5286 GB, free: 9.59 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003887/0.1314, allocations: 139.9 kB / 0.5288 GB, free: 9.453 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004927/0.1319, allocations: 281 kB / 0.529 GB, free: 9.117 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000881/0.1328, allocations: 453.7 kB / 0.5295 GB, free: 8.609 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.1328, allocations: 4 kB / 0.5295 GB, free: 8.605 MB / 398.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001108/0.134, allocations: 0.5152 MB / 0.53 GB, free: 8.078 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.494e-05/0.134, allocations: 37.69 kB / 0.53 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.134, allocations: 4 kB / 0.53 GB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/0.1341, allocations: 4 kB / 0.53 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003372/0.1344, allocations: 87.83 kB / 0.5301 GB, free: 7.941 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.462e-05/0.1344, allocations: 8 kB / 0.5301 GB, free: 7.934 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002728/0.1347, allocations: 52.06 kB / 0.5301 GB, free: 7.883 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.523e-05/0.1347, allocations: 20 kB / 0.5302 GB, free: 7.863 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.windFarm.wind.nextTimeEvent,$whenCondition2,windFarm.disturbance.count,$PRE.windFarm.disturbance.count,windFarm.disturbance.T_start,$PRE.windFarm.disturbance.T_start,windFarm.wind.nextTimeEventScaled,$PRE.windFarm.wind.nextTimeEventScaled,windFarm.wind.nextTimeEvent,$whenCondition1,system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000234/0.135, allocations: 205.3 kB / 0.5304 GB, free: 7.652 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.475e-05/0.1351, allocations: 51.64 kB / 0.5304 GB, free: 7.602 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001084/0.1352, allocations: 47.16 kB / 0.5305 GB, free: 7.551 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.1352, allocations: 7.984 kB / 0.5305 GB, free: 7.543 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/0.1352, allocations: 4 kB / 0.5305 GB, free: 7.539 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.1352, allocations: 0 / 0.5305 GB, free: 7.539 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001018/0.1362, allocations: 1.038 MB / 0.5315 GB, free: 6.422 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.1363, allocations: 0 / 0.5315 GB, free: 6.422 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002428/0.1365, allocations: 52.16 kB / 0.5315 GB, free: 6.371 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.1365, allocations: 8 kB / 0.5315 GB, free: 6.363 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.954e-05/0.1366, allocations: 15.98 kB / 0.5316 GB, free: 6.348 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-05/0.1366, allocations: 7.938 kB / 0.5316 GB, free: 6.34 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1366, allocations: 0 / 0.5316 GB, free: 6.34 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000981/0.1376, allocations: 475.4 kB / 0.532 GB, free: 5.832 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.52e-05/0.1377, allocations: 116.8 kB / 0.5321 GB, free: 5.699 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.463e-05/0.1377, allocations: 23.98 kB / 0.5321 GB, free: 5.676 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000208/0.1379, allocations: 19.98 kB / 0.5322 GB, free: 5.656 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/0.1381, allocations: 39.89 kB / 0.5322 GB, free: 5.617 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.778e-05/0.1381, allocations: 11.98 kB / 0.5322 GB, free: 5.605 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002623/0.1384, allocations: 239.1 kB / 0.5324 GB, free: 5.371 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1384, allocations: 0 / 0.5324 GB, free: 5.371 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004007/0.1388, allocations: 95.88 kB / 0.5325 GB, free: 5.277 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 7 (system.initime,$whenCondition2,$whenCondition1,windFarm.wind.nextTimeEvent,windFarm.wind.nextTimeEventScaled,windFarm.disturbance.T_start,windFarm.disturbance.count) * Number of discrete states: 3 (windFarm.wind.nextTimeEventScaled,windFarm.disturbance.count,windFarm.wind.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001603/0.1404, allocations: 467.4 kB / 0.533 GB, free: 5.004 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009502/0.1414, allocations: 430.8 kB / 0.5334 GB, free: 4.57 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1414, allocations: 1.125 kB / 0.5334 GB, free: 4.57 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004623/0.1418, allocations: 188.1 kB / 0.5336 GB, free: 4.387 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004535/0.1423, allocations: 74.91 kB / 0.5336 GB, free: 4.32 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001261/0.1436, allocations: 0.7541 MB / 0.5344 GB, free: 3.508 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004824/0.1441, allocations: 0.8073 MB / 0.5352 GB, free: 2.672 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001293/0.1442, allocations: 43.42 kB / 0.5352 GB, free: 2.629 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1442, allocations: 0 / 0.5352 GB, free: 2.629 MB / 398.1 MB Notification: Performance of Templates: time 0.008516/0.1527, allocations: 5.418 MB / 0.5405 GB, free: 13.22 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest.sim & ./PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.893434167956002] Failed to read output from testmodel.py, exit status != 0: 0.1591744259931147 0.17235228600000002 0.050813747000000006 Calling exit ...