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.001254/0.001254, allocations: 112.2 kB / 19.04 MB, free: 3.254 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.00126/0.00126, allocations: 196.4 kB / 22.22 MB, free: 72 kB / 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.412/1.412, allocations: 225.6 MB / 250.8 MB, free: 13.37 MB / 206.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.1803/0.1803, allocations: 38.51 MB / 344.4 MB, free: 2.543 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.001997/0.001997, allocations: 59.89 kB / 482 MB, free: 12.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3409/0.3429, allocations: 61.24 MB / 0.5305 GB, free: 5.512 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest): time 0.004906/0.3478, allocations: 3.79 MB / 0.5343 GB, free: 2.855 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002803/0.3506, allocations: 2.081 MB / 0.5363 GB, free: 1.41 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001668/0.3507, allocations: 10.81 kB / 0.5363 GB, free: 1.406 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007806/0.3515, allocations: 233.3 kB / 0.5365 GB, free: 1.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004958/0.352, allocations: 287.9 kB / 0.5368 GB, free: 1.008 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005404/0.3525, allocations: 289.2 kB / 0.5371 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004558/0.353, allocations: 0.5247 MB / 0.5376 GB, free: 492 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002696/0.3533, allocations: 159.2 kB / 0.5377 GB, free: 384 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003606/0.3536, allocations: 237.8 kB / 0.538 GB, free: 232 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002468/0.3539, allocations: 222.9 kB / 0.5382 GB, free: 84 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.538e-05/0.3539, allocations: 37.12 kB / 0.5382 GB, free: 84 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005946/0.3545, allocations: 404.6 kB / 0.5386 GB, free: 15.88 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001564/0.3547, allocations: 133.1 kB / 0.5387 GB, free: 15.79 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001944/0.3549, allocations: 185.1 kB / 0.5389 GB, free: 15.65 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008463/0.3557, allocations: 0.6384 MB / 0.5395 GB, free: 15.23 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3557, allocations: 3.938 kB / 0.5395 GB, free: 15.22 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3557, allocations: 0 / 0.5395 GB, free: 15.22 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.182e-05/0.3557, allocations: 0 / 0.5395 GB, free: 15.22 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.00135/0.3571, allocations: 0.7592 MB / 0.5403 GB, free: 14.54 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.3571, allocations: 12.55 kB / 0.5403 GB, free: 14.54 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008747/0.358, allocations: 108.2 kB / 0.5404 GB, free: 14.49 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006263/0.3586, allocations: 426 kB / 0.5408 GB, free: 14.1 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.695e-05/0.3587, allocations: 13.5 kB / 0.5408 GB, free: 14.1 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.185e-05/0.3587, allocations: 26.78 kB / 0.5408 GB, free: 14.09 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008756/0.3596, allocations: 451.1 kB / 0.5413 GB, free: 13.79 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.3596, allocations: 0 / 0.5413 GB, free: 13.79 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.666e-05/0.3596, allocations: 7.719 kB / 0.5413 GB, free: 13.79 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.369e-05/0.3597, allocations: 21.42 kB / 0.5413 GB, free: 13.78 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00107/0.3608, allocations: 0.4962 MB / 0.5418 GB, free: 13.54 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002392/0.3631, allocations: 1.679 MB / 0.5434 GB, free: 12.1 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001026/0.3642, allocations: 356.1 kB / 0.5437 GB, free: 11.9 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000375/0.3645, allocations: 126.7 kB / 0.5439 GB, free: 11.83 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.824e-05/0.3646, allocations: 13.78 kB / 0.5439 GB, free: 11.82 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000602/0.3652, allocations: 294 kB / 0.5442 GB, free: 11.59 MB / 398.1 MB Notification: Performance of pre-optimization done (n=31): time 2.024e-06/0.3652, allocations: 1.062 kB / 0.5442 GB, free: 11.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=31): time 0.001362/0.3666, allocations: 0.5309 MB / 0.5447 GB, free: 11.32 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001986/0.3668, allocations: 300.4 kB / 0.545 GB, free: 10.96 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004108/0.3672, allocations: 329 kB / 0.5453 GB, free: 10.75 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.249e-05/0.3672, allocations: 37.42 kB / 0.5453 GB, free: 10.71 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001643/0.3674, allocations: 199.1 kB / 0.5455 GB, free: 10.54 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000111/0.3675, allocations: 106.3 kB / 0.5456 GB, free: 10.45 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001287/0.3676, allocations: 71.66 kB / 0.5457 GB, free: 10.4 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001724/0.3678, allocations: 347 kB / 0.546 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003862/0.3682, allocations: 139.2 kB / 0.5461 GB, free: 9.992 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004724/0.3687, allocations: 279.3 kB / 0.5464 GB, free: 9.742 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008331/0.3695, allocations: 456.7 kB / 0.5468 GB, free: 9.391 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.121e-06/0.3695, allocations: 5.156 kB / 0.5468 GB, free: 9.387 MB / 398.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001063/0.3706, allocations: 0.5123 MB / 0.5473 GB, free: 9.109 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.205e-05/0.3706, allocations: 36.81 kB / 0.5474 GB, free: 9.074 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.864e-06/0.3706, allocations: 4.281 kB / 0.5474 GB, free: 9.074 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.3706, allocations: 7.406 kB / 0.5474 GB, free: 9.074 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000319/0.3709, allocations: 95.09 kB / 0.5475 GB, free: 9.043 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.323e-05/0.371, allocations: 10.67 kB / 0.5475 GB, free: 9.039 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002753/0.3712, allocations: 43.39 kB / 0.5475 GB, free: 9.016 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.974e-05/0.3713, allocations: 23.17 kB / 0.5476 GB, free: 9.008 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.0002339/0.3715, allocations: 199.1 kB / 0.5477 GB, free: 8.836 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.243e-05/0.3716, allocations: 42.11 kB / 0.5478 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009861/0.3726, allocations: 400.8 kB / 0.5482 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/0.3726, allocations: 5.938 kB / 0.5482 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.3726, allocations: 2.344 kB / 0.5482 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.241e-06/0.3726, allocations: 2.438 kB / 0.5482 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001011/0.3736, allocations: 1.037 MB / 0.5492 GB, free: 7.613 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.3736, allocations: 2.25 kB / 0.5492 GB, free: 7.613 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002387/0.3738, allocations: 59.89 kB / 0.5492 GB, free: 7.598 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.3739, allocations: 3.031 kB / 0.5493 GB, free: 7.598 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.839e-05/0.3739, allocations: 10.69 kB / 0.5493 GB, free: 7.594 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.131e-06/0.3739, allocations: 10.92 kB / 0.5493 GB, free: 7.586 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.3739, allocations: 6.281 kB / 0.5493 GB, free: 7.582 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009206/0.3748, allocations: 463 kB / 0.5497 GB, free: 7.289 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.813e-05/0.3749, allocations: 122.9 kB / 0.5498 GB, free: 7.16 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.355e-05/0.375, allocations: 14.97 kB / 0.5499 GB, free: 7.152 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002098/0.3752, allocations: 33.12 kB / 0.5499 GB, free: 7.133 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.523e-05/0.3753, allocations: 42.8 kB / 0.5499 GB, free: 7.105 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.714e-05/0.3753, allocations: 11.16 kB / 0.5499 GB, free: 7.105 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002566/0.3756, allocations: 237.5 kB / 0.5502 GB, free: 6.949 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3756, allocations: 1.438 kB / 0.5502 GB, free: 6.949 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004263/0.376, allocations: 86.89 kB / 0.5502 GB, free: 6.93 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.disturbance.count,windFarm.wind.nextTimeEvent,windFarm.wind.nextTimeEventScaled) * 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.001582/0.3776, allocations: 467 kB / 0.5507 GB, free: 6.707 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001101/0.3787, allocations: 406.1 kB / 0.5511 GB, free: 6.484 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.3787, allocations: 1.188 kB / 0.5511 GB, free: 6.484 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004606/0.3791, allocations: 191.1 kB / 0.5513 GB, free: 6.395 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004492/0.3796, allocations: 79.8 kB / 0.5513 GB, free: 6.352 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001283/0.3809, allocations: 0.709 MB / 0.552 GB, free: 5.852 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004645/0.3813, allocations: 0.8085 MB / 0.5528 GB, free: 5.094 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002368/0.3816, allocations: 87.97 kB / 0.5529 GB, free: 5.051 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001134/0.3817, allocations: 43.83 kB / 0.5529 GB, free: 5.035 MB / 398.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3817, allocations: 0 / 0.5529 GB, free: 5.035 MB / 398.1 MB Notification: Performance of Templates: time 0.009729/0.3914, allocations: 4.785 MB / 0.5576 GB, free: 368 kB / 398.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: 5.0646706549450755]