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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009707/0.0009707, allocations: 80.92 kB / 21.5 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 171.8 kB / 24.92 MB, free: 8.727 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.032/1.032, allocations: 177.1 MB / 205.3 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] 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.2403/0.2403, allocations: 29.42 MB / 291.2 MB, free: 2.469 MB / 266.7 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 1.272e-06/1.272e-06, allocations: 0 / 316.9 MB, free: 15.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.272e-05/2.399e-05, allocations: 5.75 kB / 316.9 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest): time 0.004177/0.004201, allocations: 3.759 MB / 320.6 MB, free: 12.17 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002241/0.006442, allocations: 1.784 MB / 322.4 MB, free: 10.38 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002548/0.006696, allocations: 11.88 kB / 322.4 MB, free: 10.37 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006689/0.007365, allocations: 187 kB / 322.6 MB, free: 10.18 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006034/0.007969, allocations: 278.5 kB / 322.9 MB, free: 9.91 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004981/0.008467, allocations: 258.9 kB / 323.1 MB, free: 9.656 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005131/0.00898, allocations: 0.5379 MB / 323.7 MB, free: 9.117 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003034/0.009283, allocations: 202.4 kB / 323.9 MB, free: 8.918 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004749/0.009758, allocations: 319.1 kB / 324.2 MB, free: 8.605 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002788/0.01004, allocations: 199.5 kB / 324.4 MB, free: 8.41 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.918e-05/0.01009, allocations: 44 kB / 324.4 MB, free: 8.367 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005775/0.01066, allocations: 347.1 kB / 324.8 MB, free: 8.027 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001234/0.01079, allocations: 139.6 kB / 324.9 MB, free: 7.891 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001016/0.01089, allocations: 127.7 kB / 325 MB, free: 7.766 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007019/0.01159, allocations: 0.5296 MB / 325.6 MB, free: 7.234 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.0116, allocations: 3.984 kB / 325.6 MB, free: 7.23 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.0116, allocations: 0 / 325.6 MB, free: 7.23 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.612e-06/0.0116, allocations: 3.938 kB / 325.6 MB, free: 7.227 MB / 298.7 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.0008104/0.01241, allocations: 0.6537 MB / 326.2 MB, free: 6.539 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.123e-05/0.01245, allocations: 11.98 kB / 326.2 MB, free: 6.527 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006006/0.01305, allocations: 148.7 kB / 326.4 MB, free: 6.383 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003801/0.01343, allocations: 310.3 kB / 326.7 MB, free: 6.051 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.042e-05/0.01345, allocations: 16.88 kB / 326.7 MB, free: 6.035 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.985e-05/0.01348, allocations: 20.38 kB / 326.7 MB, free: 6.016 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003673/0.01384, allocations: 311.9 kB / 327 MB, free: 5.68 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.01386, allocations: 11.92 kB / 327 MB, free: 5.668 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.222e-05/0.01388, allocations: 15.98 kB / 327 MB, free: 5.652 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.76e-05/0.01391, allocations: 12.5 kB / 327.1 MB, free: 5.637 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002223/0.01413, allocations: 178 kB / 327.2 MB, free: 5.461 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001181/0.01531, allocations: 1.19 MB / 328.4 MB, free: 4.203 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003602/0.01567, allocations: 259.2 kB / 328.7 MB, free: 3.93 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.462e-05/0.01573, allocations: 46.16 kB / 328.7 MB, free: 3.879 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.583e-05/0.01576, allocations: 11.98 kB / 328.7 MB, free: 3.867 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002192/0.01598, allocations: 213.6 kB / 328.9 MB, free: 3.617 MB / 298.7 MB Notification: Performance of pre-optimization done (n=31): time 2.054e-06/0.01598, allocations: 0 / 328.9 MB, free: 3.617 MB / 298.7 MB Notification: Performance of matching and sorting (n=31): time 0.0003117/0.01629, allocations: 210.9 kB / 329.1 MB, free: 3.406 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001065/0.0164, allocations: 298.7 kB / 329.4 MB, free: 3.047 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002215/0.01662, allocations: 304.6 kB / 329.7 MB, free: 2.734 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.945e-05/0.01665, allocations: 41.69 kB / 329.8 MB, free: 2.688 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.343e-05/0.01672, allocations: 173.2 kB / 329.9 MB, free: 2.516 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.488e-05/0.01678, allocations: 103.1 kB / 330 MB, free: 2.414 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.51e-05/0.01685, allocations: 69.66 kB / 330.1 MB, free: 2.34 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.121e-05/0.01695, allocations: 359.2 kB / 330.5 MB, free: 1.98 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.406e-05/0.01703, allocations: 61.23 kB / 330.5 MB, free: 1.914 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001381/0.01717, allocations: 232.4 kB / 330.8 MB, free: 1.613 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000242/0.01741, allocations: 279.9 kB / 331 MB, free: 1.273 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.01741, allocations: 0 / 331 MB, free: 1.273 MB / 298.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0003118/0.01772, allocations: 291.2 kB / 331.3 MB, free: 0.9648 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.269e-05/0.01777, allocations: 37.7 kB / 331.3 MB, free: 0.9219 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.01778, allocations: 4 kB / 331.3 MB, free: 0.918 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.058e-05/0.0178, allocations: 4 kB / 331.4 MB, free: 0.9141 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002604/0.01806, allocations: 92.38 kB / 331.4 MB, free: 0.8242 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.794e-06/0.01807, allocations: 11.94 kB / 331.5 MB, free: 0.8125 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000136/0.0182, allocations: 47.77 kB / 331.5 MB, free: 0.7656 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.845e-05/0.01822, allocations: 11.98 kB / 331.5 MB, free: 0.7539 MB / 298.7 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.0001137/0.01833, allocations: 140.5 kB / 331.7 MB, free: 0.6055 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.706e-05/0.01838, allocations: 39.89 kB / 331.7 MB, free: 0.5664 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000258/0.01864, allocations: 208.7 kB / 331.9 MB, free: 364 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.01865, allocations: 7.938 kB / 331.9 MB, free: 356 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.01865, allocations: 8 kB / 331.9 MB, free: 348 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.01865, allocations: 4 kB / 331.9 MB, free: 344 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005373/0.01919, allocations: 0.8033 MB / 332.7 MB, free: 15.48 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.0192, allocations: 7.938 kB / 332.7 MB, free: 15.48 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001693/0.01936, allocations: 67.89 kB / 332.8 MB, free: 15.41 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.01937, allocations: 4 kB / 332.8 MB, free: 15.41 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.295e-05/0.01939, allocations: 15.98 kB / 332.8 MB, free: 15.39 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.0194, allocations: 4 kB / 332.8 MB, free: 15.39 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.0194, allocations: 4.188 kB / 332.8 MB, free: 15.38 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000242/0.01964, allocations: 272.6 kB / 333.1 MB, free: 15.07 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.56e-05/0.01968, allocations: 43.64 kB / 333.1 MB, free: 15.03 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.783e-05/0.01971, allocations: 15.98 kB / 333.1 MB, free: 15.02 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.866e-05/0.0198, allocations: 19.98 kB / 333.2 MB, free: 15 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.805e-05/0.01987, allocations: 43.88 kB / 333.2 MB, free: 14.95 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.794e-05/0.01989, allocations: 11.98 kB / 333.2 MB, free: 14.94 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001043/0.01999, allocations: 123.4 kB / 333.3 MB, free: 14.82 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01999, allocations: 0 / 333.3 MB, free: 14.82 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003287/0.02032, allocations: 115.8 kB / 333.4 MB, free: 14.7 MB / 314.7 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.disturbance.count,windFarm.wind.nextTimeEvent,windFarm.wind.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 35 * 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.001666/0.02199, allocations: 0.6547 MB / 334.1 MB, free: 14.4 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003133/0.0223, allocations: 254.5 kB / 334.4 MB, free: 14.13 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.065e-06/0.02231, allocations: 4 kB / 334.4 MB, free: 14.12 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001165/0.02243, allocations: 100.8 kB / 334.5 MB, free: 14.02 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002856/0.02271, allocations: 83.84 kB / 334.5 MB, free: 13.95 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001259/0.02397, allocations: 0.6732 MB / 335.2 MB, free: 13.22 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.807e-05/0.02405, allocations: 122.1 kB / 335.3 MB, free: 13.08 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001374/0.02419, allocations: 63.22 kB / 335.4 MB, free: 13.02 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001854/0.02437, allocations: 123.3 kB / 335.5 MB, free: 12.9 MB / 314.7 MB Notification: Performance of SimCode: time 1.022e-06/0.02437, allocations: 3.938 kB / 335.5 MB, free: 12.9 MB / 314.7 MB Notification: Performance of Templates: time 0.008222/0.03259, allocations: 6.024 MB / 341.5 MB, free: 6.949 MB / 314.7 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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0554062868468463]