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.001018/0.001018, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.004513/0.004513, allocations: 173 kB / 25 MB, free: 8.348 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 0.9584/0.9584, allocations: 177.1 MB / 205.3 MB, free: 5.668 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.2529/0.2529, allocations: 29.42 MB / 291.2 MB, free: 2.5 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.663e-06/1.663e-06, allocations: 0 / 369.6 MB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.171e-05/2.337e-05, allocations: 4.141 kB / 369.6 MB, free: 11.35 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest): time 0.003908/0.003932, allocations: 3.82 MB / 373.4 MB, free: 7.504 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002318/0.006249, allocations: 2.147 MB / 375.6 MB, free: 5.348 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001766/0.006426, allocations: 19.81 kB / 375.6 MB, free: 5.328 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006484/0.007074, allocations: 234.8 kB / 375.8 MB, free: 5.098 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006029/0.007677, allocations: 334.3 kB / 376.2 MB, free: 4.77 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004578/0.008135, allocations: 258.9 kB / 376.4 MB, free: 4.516 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004972/0.008632, allocations: 0.5454 MB / 377 MB, free: 3.969 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003078/0.00894, allocations: 207.7 kB / 377.2 MB, free: 3.766 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004393/0.00938, allocations: 319.1 kB / 377.5 MB, free: 3.453 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002514/0.009631, allocations: 203.5 kB / 377.7 MB, free: 3.254 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.314e-05/0.009674, allocations: 44 kB / 377.7 MB, free: 3.211 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004591/0.01013, allocations: 394.9 kB / 378.1 MB, free: 2.824 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001226/0.01026, allocations: 143.5 kB / 378.2 MB, free: 2.684 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001113/0.01037, allocations: 131.7 kB / 378.4 MB, free: 2.555 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006683/0.01104, allocations: 0.5491 MB / 378.9 MB, free: 2.004 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.01104, allocations: 0 / 378.9 MB, free: 2.004 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.01104, allocations: 0 / 378.9 MB, free: 2.004 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.01105, allocations: 0 / 378.9 MB, free: 2.004 MB / 346.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.0009755/0.01202, allocations: 0.7982 MB / 379.7 MB, free: 1.156 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.01207, allocations: 19.97 kB / 379.7 MB, free: 1.137 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000656/0.01272, allocations: 156.5 kB / 379.9 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004354/0.01316, allocations: 345 kB / 380.2 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.169e-05/0.01318, allocations: 16.88 kB / 380.2 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.452e-05/0.01321, allocations: 20.38 kB / 380.3 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004411/0.01365, allocations: 344.9 kB / 380.6 MB, free: 212 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.01367, allocations: 3.938 kB / 380.6 MB, free: 208 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.638e-05/0.01369, allocations: 12 kB / 380.6 MB, free: 196 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.051e-05/0.01372, allocations: 20.48 kB / 380.6 MB, free: 176 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003535/0.01408, allocations: 254.6 kB / 380.9 MB, free: 15.93 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001334/0.01541, allocations: 1.649 MB / 382.5 MB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004328/0.01584, allocations: 270.1 kB / 382.8 MB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.916e-05/0.01594, allocations: 63.34 kB / 382.9 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.724e-05/0.01596, allocations: 4 kB / 382.9 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002688/0.01623, allocations: 253.5 kB / 383.1 MB, free: 13.53 MB / 362.7 MB Notification: Performance of pre-optimization done (n=31): time 1.643e-06/0.01623, allocations: 0 / 383.1 MB, free: 13.53 MB / 362.7 MB Notification: Performance of matching and sorting (n=31): time 0.0005321/0.01676, allocations: 327.1 kB / 383.4 MB, free: 13.21 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001184/0.01688, allocations: 302.7 kB / 383.7 MB, free: 12.84 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002919/0.01717, allocations: 370.2 kB / 384.1 MB, free: 12.46 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.937e-05/0.0172, allocations: 38.7 kB / 384.1 MB, free: 12.42 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001234/0.01733, allocations: 255.3 kB / 384.4 MB, free: 12.16 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.571e-05/0.01739, allocations: 107.2 kB / 384.5 MB, free: 12.06 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.581e-05/0.01748, allocations: 79.3 kB / 384.6 MB, free: 11.97 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.01762, allocations: 0.5196 MB / 385.1 MB, free: 11.44 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001127/0.01773, allocations: 73.67 kB / 385.1 MB, free: 11.36 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001978/0.01793, allocations: 307.9 kB / 385.4 MB, free: 10.97 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003137/0.01824, allocations: 339.5 kB / 385.8 MB, free: 10.55 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.01825, allocations: 4 kB / 385.8 MB, free: 10.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0004672/0.01871, allocations: 412.1 kB / 386.2 MB, free: 10.12 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.309e-05/0.01875, allocations: 34.27 kB / 386.2 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/0.01876, allocations: 12 kB / 386.2 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.049e-05/0.01878, allocations: 11.94 kB / 386.2 MB, free: 10.06 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001901/0.01897, allocations: 79.89 kB / 386.3 MB, free: 9.984 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/0.01898, allocations: 15.92 kB / 386.3 MB, free: 9.969 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001325/0.01911, allocations: 39.77 kB / 386.4 MB, free: 9.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.113e-05/0.01913, allocations: 20 kB / 386.4 MB, free: 9.91 MB / 362.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.0001175/0.01925, allocations: 184.5 kB / 386.6 MB, free: 9.719 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.939e-05/0.01931, allocations: 55.69 kB / 386.6 MB, free: 9.664 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000383/0.01969, allocations: 300.7 kB / 386.9 MB, free: 9.363 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.0197, allocations: 11.94 kB / 386.9 MB, free: 9.352 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.0197, allocations: 4 kB / 386.9 MB, free: 9.348 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.01971, allocations: 0 / 386.9 MB, free: 9.348 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006673/0.02038, allocations: 1.21 MB / 388.1 MB, free: 8.066 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.02038, allocations: 4 kB / 388.1 MB, free: 8.062 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001475/0.02053, allocations: 75.88 kB / 388.2 MB, free: 7.988 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.02053, allocations: 4.188 kB / 388.2 MB, free: 7.984 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.726e-05/0.02055, allocations: 15.94 kB / 388.2 MB, free: 7.969 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.02055, allocations: 4 kB / 388.2 MB, free: 7.965 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.02056, allocations: 4 kB / 388.3 MB, free: 7.961 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000398/0.02095, allocations: 412.8 kB / 388.7 MB, free: 7.504 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.093e-05/0.02099, allocations: 43.7 kB / 388.7 MB, free: 7.461 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.608e-05/0.02104, allocations: 19.98 kB / 388.7 MB, free: 7.441 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.95e-05/0.02113, allocations: 15.98 kB / 388.7 MB, free: 7.426 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.866e-05/0.02121, allocations: 43.88 kB / 388.8 MB, free: 7.383 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.218e-05/0.02123, allocations: 23.94 kB / 388.8 MB, free: 7.359 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001639/0.02139, allocations: 251 kB / 389 MB, free: 7.117 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02139, allocations: 0 / 389 MB, free: 7.117 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003126/0.02171, allocations: 111.8 kB / 389.2 MB, free: 7.008 MB / 362.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.00105/0.02276, allocations: 0.4998 MB / 389.7 MB, free: 6.691 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003693/0.02313, allocations: 300.3 kB / 389.9 MB, free: 6.375 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.02313, allocations: 0 / 389.9 MB, free: 6.375 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001445/0.02327, allocations: 128.9 kB / 390.1 MB, free: 6.246 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003066/0.02358, allocations: 90.17 kB / 390.2 MB, free: 6.164 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001218/0.0248, allocations: 0.706 MB / 390.9 MB, free: 5.395 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.712e-05/0.02488, allocations: 122 kB / 391 MB, free: 5.254 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001582/0.02503, allocations: 87.19 kB / 391.1 MB, free: 5.164 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.929e-05/0.02512, allocations: 44.48 kB / 391.1 MB, free: 5.121 MB / 362.7 MB Notification: Performance of SimCode: time 8.11e-07/0.02512, allocations: 0 / 391.1 MB, free: 5.121 MB / 362.7 MB Notification: Performance of Templates: time 0.007339/0.03246, allocations: 5.598 MB / 396.7 MB, free: 15.58 MB / 378.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 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.146406033076346]