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.001595/0.001595, allocations: 99.66 kB / 21.18 MB, free: 0.5273 MB / 14.72 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.002149/0.002149, allocations: 214.2 kB / 24.48 MB, free: 3.84 MB / 14.72 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.515/1.515, allocations: 230.6 MB / 258.2 MB, free: 7.805 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.1854/0.1854, allocations: 38.56 MB / 353.2 MB, free: 12.31 MB / 286.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.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: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002169/0.002169, allocations: 63.91 kB / 493.7 MB, free: 4.219 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3106/0.3128, allocations: 62.48 MB / 0.5432 GB, free: 436 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest): time 0.005843/0.3186, allocations: 3.662 MB / 0.5467 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003563/0.3222, allocations: 2.057 MB / 0.5487 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001821/0.3224, allocations: 14.38 kB / 0.5488 GB, free: 12.03 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008691/0.3232, allocations: 230.7 kB / 0.549 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008171/0.3241, allocations: 327.1 kB / 0.5493 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006374/0.3247, allocations: 257.8 kB / 0.5495 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000643/0.3253, allocations: 0.5407 MB / 0.5501 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003693/0.3257, allocations: 193.5 kB / 0.5503 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004985/0.3262, allocations: 248 kB / 0.5505 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003296/0.3265, allocations: 212.3 kB / 0.5507 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.511e-05/0.3266, allocations: 45.62 kB / 0.5507 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006886/0.3273, allocations: 390.4 kB / 0.5511 GB, free: 10.47 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001578/0.3274, allocations: 133.1 kB / 0.5512 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001805/0.3276, allocations: 158.2 kB / 0.5514 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000947/0.3286, allocations: 0.6984 MB / 0.5521 GB, free: 9.809 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3286, allocations: 5 kB / 0.5521 GB, free: 9.805 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3286, allocations: 0 / 0.5521 GB, free: 9.805 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.924e-06/0.3286, allocations: 0 / 0.5521 GB, free: 9.805 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.001381/0.33, allocations: 0.7093 MB / 0.5528 GB, free: 9.199 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.33, allocations: 13.36 kB / 0.5528 GB, free: 9.195 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008959/0.3309, allocations: 104.4 kB / 0.5529 GB, free: 9.148 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006309/0.3315, allocations: 337 kB / 0.5532 GB, free: 8.863 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.49e-05/0.3316, allocations: 13.72 kB / 0.5532 GB, free: 8.859 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.35e-05/0.3316, allocations: 27.62 kB / 0.5532 GB, free: 8.848 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000924/0.3325, allocations: 486.9 kB / 0.5537 GB, free: 8.52 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.3325, allocations: 4 kB / 0.5537 GB, free: 8.516 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.756e-05/0.3326, allocations: 11.28 kB / 0.5537 GB, free: 8.508 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.386e-05/0.3326, allocations: 18.61 kB / 0.5537 GB, free: 8.504 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001126/0.3337, allocations: 0.5483 MB / 0.5543 GB, free: 8.23 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002381/0.3361, allocations: 1.561 MB / 0.5558 GB, free: 6.938 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001089/0.3372, allocations: 393.6 kB / 0.5562 GB, free: 6.715 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003935/0.3376, allocations: 146 kB / 0.5563 GB, free: 6.566 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.17e-05/0.3376, allocations: 4 kB / 0.5563 GB, free: 6.562 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006261/0.3383, allocations: 310.7 kB / 0.5566 GB, free: 6.219 MB / 398.1 MB Notification: Performance of pre-optimization done (n=31): time 2.054e-06/0.3383, allocations: 0 / 0.5566 GB, free: 6.219 MB / 398.1 MB Notification: Performance of matching and sorting (n=31): time 0.001503/0.3398, allocations: 0.5599 MB / 0.5572 GB, free: 5.652 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001851/0.3399, allocations: 302.7 kB / 0.5574 GB, free: 5.289 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000482/0.3404, allocations: 376.5 kB / 0.5578 GB, free: 4.914 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.407e-05/0.3405, allocations: 38.05 kB / 0.5578 GB, free: 4.871 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001678/0.3406, allocations: 204.6 kB / 0.558 GB, free: 4.664 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001093/0.3407, allocations: 111.1 kB / 0.5581 GB, free: 4.555 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001261/0.3409, allocations: 73.64 kB / 0.5582 GB, free: 4.477 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001748/0.3411, allocations: 346.8 kB / 0.5585 GB, free: 4.129 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004234/0.3415, allocations: 181.5 kB / 0.5587 GB, free: 3.945 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005451/0.342, allocations: 346.3 kB / 0.559 GB, free: 3.535 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009297/0.3429, allocations: 490.2 kB / 0.5595 GB, free: 2.992 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.343, allocations: 0 / 0.5595 GB, free: 2.992 MB / 398.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001192/0.3441, allocations: 0.5786 MB / 0.5601 GB, free: 2.395 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.504e-05/0.3442, allocations: 44.45 kB / 0.5601 GB, free: 2.348 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.3442, allocations: 4 kB / 0.5601 GB, free: 2.344 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.3442, allocations: 8 kB / 0.5601 GB, free: 2.336 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003532/0.3446, allocations: 83.88 kB / 0.5602 GB, free: 2.254 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.503e-05/0.3446, allocations: 11.94 kB / 0.5602 GB, free: 2.242 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003021/0.3449, allocations: 51.75 kB / 0.5603 GB, free: 2.191 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.419e-05/0.3449, allocations: 16.12 kB / 0.5603 GB, free: 2.176 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.0002291/0.3452, allocations: 193.7 kB / 0.5605 GB, free: 1.977 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.008e-05/0.3452, allocations: 39.7 kB / 0.5605 GB, free: 1.938 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001104/0.3463, allocations: 472.5 kB / 0.561 GB, free: 1.465 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.3463, allocations: 4 kB / 0.561 GB, free: 1.461 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.3463, allocations: 4 kB / 0.561 GB, free: 1.457 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.825e-06/0.3464, allocations: 7.984 kB / 0.561 GB, free: 1.449 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001058/0.3474, allocations: 0.9523 MB / 0.5619 GB, free: 448 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.3474, allocations: 4 kB / 0.5619 GB, free: 444 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003117/0.3477, allocations: 75.89 kB / 0.562 GB, free: 368 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.3477, allocations: 0 / 0.562 GB, free: 368 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.17e-05/0.3478, allocations: 15.98 kB / 0.562 GB, free: 352 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/0.3478, allocations: 4.188 kB / 0.562 GB, free: 348 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.3478, allocations: 8 kB / 0.562 GB, free: 340 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001084/0.3489, allocations: 0.5341 MB / 0.5625 GB, free: 15.76 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.665e-05/0.3489, allocations: 47.69 kB / 0.5626 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.735e-05/0.349, allocations: 16 kB / 0.5626 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002326/0.3492, allocations: 31.97 kB / 0.5626 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.708e-05/0.3493, allocations: 47.81 kB / 0.5627 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.048e-05/0.3494, allocations: 12 kB / 0.5627 GB, free: 15.61 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003173/0.3497, allocations: 271 kB / 0.5629 GB, free: 15.34 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3497, allocations: 0 / 0.5629 GB, free: 15.34 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004962/0.3502, allocations: 123.7 kB / 0.5631 GB, free: 15.22 MB / 414.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 (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.001941/0.3521, allocations: 0.5486 MB / 0.5636 GB, free: 14.89 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001041/0.3532, allocations: 474.8 kB / 0.564 GB, free: 14.41 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.3532, allocations: 4 kB / 0.564 GB, free: 14.4 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004985/0.3537, allocations: 205.3 kB / 0.5642 GB, free: 14.2 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004918/0.3542, allocations: 69.05 kB / 0.5643 GB, free: 14.14 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001452/0.3556, allocations: 0.8087 MB / 0.5651 GB, free: 13.27 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002362/0.3558, allocations: 213.6 kB / 0.5653 GB, free: 13.04 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001561/0.356, allocations: 47.41 kB / 0.5653 GB, free: 12.99 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.356, allocations: 3.938 kB / 0.5654 GB, free: 12.98 MB / 414.1 MB Notification: Performance of Templates: time 0.00989/0.3659, allocations: 6.051 MB / 0.5713 GB, free: 6.957 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: 8.277453704737127] Failed to read output from testmodel.py, exit status != 0: 0.3747495459392667 0.38970564100000005 0.057828292 Calling exit ...