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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest") translateModel(PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009576/0.0009577, allocations: 180.9 kB / 16.38 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.108/1.108, allocations: 194.5 MB / 211.6 MB, free: 3.051 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001578/0.001578, allocations: 116.5 kB / 256.9 MB, free: 4.344 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1666/0.1666, allocations: 38 MB / 340.1 MB, free: 1.355 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003377/0.0003377, allocations: 19.98 kB / 403.8 MB, free: 68.8 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07713/0.07749, allocations: 53.22 MB / 457 MB, free: 15.57 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2529/0.3304, allocations: 90.58 MB / 0.5347 GB, free: 5.023 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.001355/0.3318, allocations: 0.8524 MB / 0.5356 GB, free: 4.566 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$windFarm$wind.getDerTableValue. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$windFarm$wind.getTableValue. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$windFarm$wind.getTableTimeTmin. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$windFarm$wind.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.03617/0.368, allocations: 16.27 MB / 0.5515 GB, free: 6.914 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.368, allocations: 0 / 0.5515 GB, free: 6.914 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.281e-05/0.368, allocations: 8 kB / 0.5515 GB, free: 6.906 MB / 362.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.001176/0.3692, allocations: 0.7753 MB / 0.5522 GB, free: 6.098 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.3693, allocations: 12.02 kB / 0.5522 GB, free: 6.086 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008212/0.3701, allocations: 123.4 kB / 0.5524 GB, free: 5.965 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005806/0.3707, allocations: 397.4 kB / 0.5527 GB, free: 5.586 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.637e-05/0.3707, allocations: 18.94 kB / 0.5528 GB, free: 5.574 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.824e-05/0.3708, allocations: 21.19 kB / 0.5528 GB, free: 5.559 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007566/0.3715, allocations: 476.8 kB / 0.5532 GB, free: 5.188 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.3716, allocations: 0 / 0.5532 GB, free: 5.188 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.361e-05/0.3716, allocations: 3.188 kB / 0.5532 GB, free: 5.188 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.376e-05/0.3716, allocations: 23.67 kB / 0.5533 GB, free: 5.168 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009736/0.3726, allocations: 0.5792 MB / 0.5538 GB, free: 4.73 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002044/0.3747, allocations: 1.76 MB / 0.5555 GB, free: 3.219 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009727/0.3757, allocations: 446.3 kB / 0.556 GB, free: 2.875 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.447e-05/0.3757, allocations: 4.219 kB / 0.556 GB, free: 2.871 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005527/0.3762, allocations: 329.8 kB / 0.5563 GB, free: 2.566 MB / 362.7 MB Notification: Performance of pre-optimization done (n=31): time 2.305e-06/0.3763, allocations: 0 / 0.5563 GB, free: 2.566 MB / 362.7 MB Notification: Performance of matching and sorting (n=31): time 0.001386/0.3777, allocations: 0.6107 MB / 0.5569 GB, free: 2.086 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001883/0.3779, allocations: 294.7 kB / 0.5572 GB, free: 1.73 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003683/0.3782, allocations: 324.5 kB / 0.5575 GB, free: 1.473 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.322e-05/0.3783, allocations: 35.45 kB / 0.5575 GB, free: 1.438 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001173/0.3784, allocations: 198.6 kB / 0.5577 GB, free: 1.285 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.276e-05/0.3785, allocations: 101.1 kB / 0.5578 GB, free: 1.199 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.069e-05/0.3785, allocations: 11.72 kB / 0.5578 GB, free: 1.191 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.3787, allocations: 345.3 kB / 0.5581 GB, free: 0.8594 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003787/0.379, allocations: 179.3 kB / 0.5583 GB, free: 0.7383 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004324/0.3795, allocations: 317.2 kB / 0.5586 GB, free: 444 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004266/0.3799, allocations: 282.5 kB / 0.5589 GB, free: 228 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.3799, allocations: 0 / 0.5589 GB, free: 228 kB / 362.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001065/0.381, allocations: 0.6525 MB / 0.5595 GB, free: 15.69 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.014e-05/0.3811, allocations: 67.36 kB / 0.5596 GB, free: 15.61 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.3811, allocations: 4 kB / 0.5596 GB, free: 15.61 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.998e-05/0.3811, allocations: 11.98 kB / 0.5596 GB, free: 15.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003333/0.3814, allocations: 87.77 kB / 0.5597 GB, free: 15.51 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.273e-05/0.3815, allocations: 19.92 kB / 0.5597 GB, free: 15.49 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003049/0.3818, allocations: 55.23 kB / 0.5597 GB, free: 15.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.99e-05/0.3818, allocations: 23.36 kB / 0.5598 GB, free: 15.43 MB / 378.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 ($whenCondition2,$PRE.windFarm.wind.nextTimeEvent,$whenCondition1,windFarm.wind.nextTimeEvent,$PRE.windFarm.wind.nextTimeEventScaled,windFarm.wind.nextTimeEventScaled,$PRE.windFarm.disturbance.T_start,windFarm.disturbance.T_start,$PRE.windFarm.disturbance.count,windFarm.disturbance.count,system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001785/0.382, allocations: 191.8 kB / 0.5599 GB, free: 15.26 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.806e-05/0.3821, allocations: 39.09 kB / 0.56 GB, free: 15.22 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000971/0.3831, allocations: 0.5041 MB / 0.5605 GB, free: 14.83 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/0.3831, allocations: 4 kB / 0.5605 GB, free: 14.82 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.3831, allocations: 4 kB / 0.5605 GB, free: 14.82 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.3831, allocations: 4 kB / 0.5605 GB, free: 14.82 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000879/0.384, allocations: 1.097 MB / 0.5616 GB, free: 13.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.384, allocations: 7.984 kB / 0.5616 GB, free: 13.78 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002898/0.3843, allocations: 82.89 kB / 0.5616 GB, free: 13.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.299e-06/0.3843, allocations: 4.188 kB / 0.5617 GB, free: 13.7 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.599e-05/0.3843, allocations: 11.12 kB / 0.5617 GB, free: 13.69 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.3843, allocations: 4 kB / 0.5617 GB, free: 13.68 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.3844, allocations: 4 kB / 0.5617 GB, free: 13.68 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000972/0.3853, allocations: 0.6544 MB / 0.5623 GB, free: 13.05 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001655/0.3855, allocations: 163.8 kB / 0.5625 GB, free: 12.89 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.906e-05/0.3856, allocations: 18.42 kB / 0.5625 GB, free: 12.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002378/0.3858, allocations: 30.61 kB / 0.5625 GB, free: 12.86 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.241e-05/0.3859, allocations: 46.58 kB / 0.5626 GB, free: 12.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.713e-05/0.386, allocations: 12 kB / 0.5626 GB, free: 12.81 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002367/0.3862, allocations: 256.2 kB / 0.5628 GB, free: 12.62 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3862, allocations: 4 kB / 0.5628 GB, free: 12.61 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004372/0.3866, allocations: 121.4 kB / 0.5629 GB, free: 12.51 MB / 378.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001002/0.3877, allocations: 0.4886 MB / 0.5634 GB, free: 12.05 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009422/0.3886, allocations: 0.5708 MB / 0.564 GB, free: 11.58 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3886, allocations: 320 / 0.564 GB, free: 11.58 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004593/0.3891, allocations: 250 kB / 0.5642 GB, free: 11.41 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003289/0.3894, allocations: 63.06 kB / 0.5643 GB, free: 11.36 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001154/0.3906, allocations: 0.853 MB / 0.5651 GB, free: 10.55 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003333/0.3909, allocations: 0.8273 MB / 0.5659 GB, free: 9.707 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.00025/0.3912, allocations: 90.83 kB / 0.566 GB, free: 9.617 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001126/0.3913, allocations: 43.23 kB / 0.566 GB, free: 9.578 MB / 378.7 MB Notification: Performance of SimCode: time 2.41e-07/0.3913, allocations: 0 / 0.566 GB, free: 9.578 MB / 378.7 MB Notification: Performance of Templates: time 0.007968/0.3993, allocations: 4.777 MB / 0.5707 GB, free: 4.801 MB / 378.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest.makefile (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)