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.001887/0.001887, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.002572/0.002572, allocations: 209.8 kB / 24.49 MB, free: 4.133 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.52/1.52, allocations: 230.6 MB / 258.3 MB, free: 8.238 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.188/0.188, allocations: 38.53 MB / 353.2 MB, free: 12.6 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.002421/0.002421, allocations: 71.89 kB / 493.8 MB, free: 4.41 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3921/0.3945, allocations: 62.46 MB / 0.5432 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest): time 0.006039/0.4006, allocations: 3.841 MB / 0.547 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003921/0.4045, allocations: 2.241 MB / 0.5492 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000187/0.4047, allocations: 14.44 kB / 0.5492 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009439/0.4056, allocations: 242.2 kB / 0.5494 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007569/0.4064, allocations: 322 kB / 0.5497 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005737/0.4069, allocations: 260.9 kB / 0.55 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006428/0.4076, allocations: 0.5325 MB / 0.5505 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003614/0.4079, allocations: 201.7 kB / 0.5507 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004683/0.4084, allocations: 246.9 kB / 0.5509 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003428/0.4087, allocations: 232.4 kB / 0.5511 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.819e-05/0.4088, allocations: 38.44 kB / 0.5512 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007156/0.4095, allocations: 459.5 kB / 0.5516 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001519/0.4097, allocations: 138.2 kB / 0.5517 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002036/0.4099, allocations: 189.1 kB / 0.5519 GB, free: 9.973 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008778/0.4108, allocations: 0.6917 MB / 0.5526 GB, free: 9.512 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.4108, allocations: 0 / 0.5526 GB, free: 9.512 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.4108, allocations: 1.375 kB / 0.5526 GB, free: 9.512 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.186e-06/0.4108, allocations: 0 / 0.5526 GB, free: 9.512 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.001332/0.4121, allocations: 0.7031 MB / 0.5533 GB, free: 8.91 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.4121, allocations: 17.48 kB / 0.5533 GB, free: 8.902 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008943/0.413, allocations: 105.3 kB / 0.5534 GB, free: 8.855 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007027/0.4137, allocations: 368.4 kB / 0.5537 GB, free: 8.547 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.616e-05/0.4138, allocations: 14.06 kB / 0.5538 GB, free: 8.543 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.384e-05/0.4138, allocations: 31.84 kB / 0.5538 GB, free: 8.527 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008992/0.4147, allocations: 445.6 kB / 0.5542 GB, free: 8.238 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.4147, allocations: 0 / 0.5542 GB, free: 8.238 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.724e-05/0.4148, allocations: 11.5 kB / 0.5542 GB, free: 8.23 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.961e-05/0.4148, allocations: 18.53 kB / 0.5542 GB, free: 8.223 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001082/0.4159, allocations: 0.4915 MB / 0.5547 GB, free: 7.992 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002402/0.4183, allocations: 1.651 MB / 0.5563 GB, free: 6.59 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009711/0.4193, allocations: 345.8 kB / 0.5567 GB, free: 6.398 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003556/0.4196, allocations: 134.8 kB / 0.5568 GB, free: 6.32 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.745e-05/0.4197, allocations: 14.03 kB / 0.5568 GB, free: 6.312 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006178/0.4203, allocations: 299.3 kB / 0.5571 GB, free: 6.004 MB / 398.1 MB Notification: Performance of pre-optimization done (n=31): time 1.914e-06/0.4203, allocations: 0 / 0.5571 GB, free: 6.004 MB / 398.1 MB Notification: Performance of matching and sorting (n=31): time 0.001379/0.4217, allocations: 0.5276 MB / 0.5576 GB, free: 5.473 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002105/0.4219, allocations: 294.7 kB / 0.5579 GB, free: 5.117 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004282/0.4223, allocations: 344.5 kB / 0.5582 GB, free: 4.77 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.286e-05/0.4223, allocations: 34.05 kB / 0.5583 GB, free: 4.73 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001893/0.4225, allocations: 208.6 kB / 0.5585 GB, free: 4.52 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001126/0.4226, allocations: 111.1 kB / 0.5586 GB, free: 4.41 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001155/0.4228, allocations: 69.69 kB / 0.5586 GB, free: 4.336 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001817/0.4229, allocations: 342.8 kB / 0.559 GB, free: 3.992 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003927/0.4233, allocations: 139.9 kB / 0.5591 GB, free: 3.855 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004867/0.4238, allocations: 281 kB / 0.5594 GB, free: 3.52 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008887/0.4247, allocations: 458.3 kB / 0.5598 GB, free: 3.008 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.109e-06/0.4247, allocations: 4 kB / 0.5598 GB, free: 3.004 MB / 398.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001104/0.4258, allocations: 0.5223 MB / 0.5603 GB, free: 2.469 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.438e-05/0.4259, allocations: 37.7 kB / 0.5603 GB, free: 2.426 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/0.4259, allocations: 7.938 kB / 0.5603 GB, free: 2.418 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.4259, allocations: 8 kB / 0.5604 GB, free: 2.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003427/0.4262, allocations: 87.88 kB / 0.5604 GB, free: 2.324 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.145e-05/0.4262, allocations: 4 kB / 0.5604 GB, free: 2.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002714/0.4265, allocations: 51.75 kB / 0.5605 GB, free: 2.27 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.342e-05/0.4265, allocations: 20.09 kB / 0.5605 GB, free: 2.25 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.0002308/0.4268, allocations: 193.7 kB / 0.5607 GB, free: 2.051 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.006e-05/0.4269, allocations: 43.69 kB / 0.5607 GB, free: 2.008 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009907/0.4279, allocations: 398.9 kB / 0.5611 GB, free: 1.609 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.4279, allocations: 7.938 kB / 0.5611 GB, free: 1.602 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.4279, allocations: 11.98 kB / 0.5611 GB, free: 1.59 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.4279, allocations: 0 / 0.5611 GB, free: 1.59 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001036/0.4289, allocations: 1.006 MB / 0.5621 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.314e-05/0.4289, allocations: 8.031 kB / 0.5621 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002509/0.4292, allocations: 63.89 kB / 0.5622 GB, free: 452 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.4292, allocations: 4 kB / 0.5622 GB, free: 448 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.624e-05/0.4292, allocations: 11.98 kB / 0.5622 GB, free: 436 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.598e-06/0.4292, allocations: 4 kB / 0.5622 GB, free: 432 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.743e-06/0.4292, allocations: 7.938 kB / 0.5622 GB, free: 424 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009563/0.4302, allocations: 467.5 kB / 0.5627 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.236e-05/0.4302, allocations: 47.56 kB / 0.5627 GB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.415e-05/0.4303, allocations: 16 kB / 0.5627 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002118/0.4305, allocations: 23.97 kB / 0.5627 GB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001061/0.4306, allocations: 43.88 kB / 0.5628 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.75e-05/0.4306, allocations: 12 kB / 0.5628 GB, free: 15.77 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002895/0.4309, allocations: 247 kB / 0.563 GB, free: 15.53 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4309, allocations: 0 / 0.563 GB, free: 15.53 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004496/0.4314, allocations: 103.8 kB / 0.5631 GB, free: 15.43 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 (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.001881/0.4333, allocations: 0.5138 MB / 0.5636 GB, free: 15.1 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009314/0.4342, allocations: 403 kB / 0.564 GB, free: 14.69 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.4342, allocations: 3.938 kB / 0.564 GB, free: 14.69 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004417/0.4346, allocations: 180.9 kB / 0.5642 GB, free: 14.51 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004535/0.4351, allocations: 86.62 kB / 0.5643 GB, free: 14.44 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001357/0.4364, allocations: 0.7417 MB / 0.565 GB, free: 13.64 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005217/0.437, allocations: 0.8073 MB / 0.5658 GB, free: 12.81 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001363/0.4371, allocations: 47.42 kB / 0.5658 GB, free: 12.76 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.4371, allocations: 0 / 0.5658 GB, free: 12.76 MB / 414.1 MB Notification: Performance of Templates: time 0.009745/0.4469, allocations: 5.797 MB / 0.5715 GB, free: 6.988 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.623781360918656] Failed to read output from testmodel.py, exit status != 0: 0.4572688080370426 0.472199828 0.058019053 Calling exit ...