Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmLoadTest.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.WindFarmLoadTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmLoadTest") translateModel(PowerSystems.Examples.PowerWorld.Test.WindFarmLoadTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmLoadTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001736/0.001736, allocations: 181 kB / 13.64 MB, free: 1.676 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.683/1.683, allocations: 194.3 MB / 208.4 MB, free: 6.711 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.001616/0.001616, allocations: 114.3 kB / 253.5 MB, free: 9.586 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.157/0.157, allocations: 37.92 MB / 336.4 MB, free: 14.25 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.99e-05/3.991e-05, allocations: 4 kB / 397.5 MB, free: 1.027 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2497/0.2498, allocations: 53.21 MB / 450.8 MB, free: 13.46 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3698/0.6196, allocations: 93.35 MB / 0.5314 GB, free: 31.07 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.001659/0.6213, allocations: 0.6906 MB / 0.532 GB, free: 31.05 MB / 378.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.04807/0.6694, allocations: 20.99 MB / 0.5525 GB, free: 29 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.6695, allocations: 0 / 0.5525 GB, free: 29 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.038e-05/0.6695, allocations: 15.19 kB / 0.5525 GB, free: 29 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001175/0.6707, allocations: 0.7923 MB / 0.5533 GB, free: 28.39 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.6707, allocations: 11.72 kB / 0.5533 GB, free: 28.39 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001135/0.6719, allocations: 149.8 kB / 0.5535 GB, free: 28.37 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006538/0.6726, allocations: 408.9 kB / 0.5539 GB, free: 28.12 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.795e-05/0.6726, allocations: 22.69 kB / 0.5539 GB, free: 28.12 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.623e-05/0.6727, allocations: 34.62 kB / 0.5539 GB, free: 28.12 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007072/0.6734, allocations: 0.5149 MB / 0.5544 GB, free: 28.02 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.603e-05/0.6734, allocations: 0 / 0.5544 GB, free: 28.02 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.302e-05/0.6735, allocations: 17.62 kB / 0.5544 GB, free: 28.01 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.771e-05/0.6735, allocations: 34.39 kB / 0.5545 GB, free: 28.01 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007063/0.6743, allocations: 0.5919 MB / 0.5551 GB, free: 28 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002238/0.6765, allocations: 1.997 MB / 0.557 GB, free: 27.11 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009458/0.6775, allocations: 0.9767 MB / 0.558 GB, free: 26.48 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002107/0.6777, allocations: 176.9 kB / 0.5581 GB, free: 26.46 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.917e-05/0.6777, allocations: 7.906 kB / 0.5581 GB, free: 26.46 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003371/0.6781, allocations: 270.4 kB / 0.5584 GB, free: 26.39 MB / 378.7 MB Notification: Performance of pre-optimization done (n=36): time 2.164e-06/0.6781, allocations: 0 / 0.5584 GB, free: 26.39 MB / 378.7 MB Notification: Performance of matching and sorting (n=37): time 0.001136/0.6792, allocations: 0.7229 MB / 0.5591 GB, free: 26.22 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.648e-05/0.6793, allocations: 110.5 kB / 0.5592 GB, free: 26.09 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003274/0.6796, allocations: 339.5 kB / 0.5595 GB, free: 25.98 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.846e-05/0.6797, allocations: 40.53 kB / 0.5596 GB, free: 25.95 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/0.6798, allocations: 224.7 kB / 0.5598 GB, free: 25.8 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.115e-05/0.6799, allocations: 130.2 kB / 0.5599 GB, free: 25.73 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.297e-05/0.6799, allocations: 10.62 kB / 0.5599 GB, free: 25.73 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.338e-05/0.68, allocations: 347 kB / 0.5602 GB, free: 25.42 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002413/0.6802, allocations: 170.6 kB / 0.5604 GB, free: 25.42 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002583/0.6805, allocations: 308.2 kB / 0.5607 GB, free: 25.25 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002776/0.6808, allocations: 277.2 kB / 0.561 GB, free: 25.17 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.6808, allocations: 7.812 kB / 0.561 GB, free: 25.17 MB / 378.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0007713/0.6815, allocations: 0.663 MB / 0.5616 GB, free: 25.01 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.824e-05/0.6816, allocations: 66.97 kB / 0.5617 GB, free: 24.94 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.6816, allocations: 3.906 kB / 0.5617 GB, free: 24.94 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001338/0.6817, allocations: 32.06 kB / 0.5617 GB, free: 24.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000377/0.6821, allocations: 104.5 kB / 0.5618 GB, free: 24.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000741/0.6829, allocations: 1.334 MB / 0.5631 GB, free: 23.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003458/0.6832, allocations: 42.28 kB / 0.5632 GB, free: 23.65 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.792e-05/0.6833, allocations: 23.33 kB / 0.5632 GB, free: 23.65 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 51 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001122/0.6834, allocations: 139 kB / 0.5633 GB, free: 23.53 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.345e-05/0.6835, allocations: 46.89 kB / 0.5634 GB, free: 23.51 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007974/0.6843, allocations: 0.5238 MB / 0.5639 GB, free: 23.44 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.6843, allocations: 7.812 kB / 0.5639 GB, free: 23.44 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.305e-06/0.6843, allocations: 0 / 0.5639 GB, free: 23.44 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.6843, allocations: 3.562 kB / 0.5639 GB, free: 23.44 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001314/0.6856, allocations: 1.155 MB / 0.565 GB, free: 23.08 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.6856, allocations: 0 / 0.565 GB, free: 23.08 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003011/0.686, allocations: 81.45 kB / 0.5651 GB, free: 23.08 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.639e-05/0.686, allocations: 35.97 kB / 0.5651 GB, free: 23.06 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.922e-05/0.6861, allocations: 11.03 kB / 0.5651 GB, free: 23.06 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005585/0.6866, allocations: 1.314 MB / 0.5664 GB, free: 21.8 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.6867, allocations: 8.047 kB / 0.5664 GB, free: 21.79 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006378/0.6873, allocations: 0.6357 MB / 0.567 GB, free: 21.54 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001676/0.6875, allocations: 159.5 kB / 0.5672 GB, free: 21.42 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.193e-05/0.6875, allocations: 20.2 kB / 0.5672 GB, free: 21.42 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002715/0.6878, allocations: 36.17 kB / 0.5672 GB, free: 21.42 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.917e-05/0.6879, allocations: 40.66 kB / 0.5673 GB, free: 21.42 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.111e-05/0.688, allocations: 19.28 kB / 0.5673 GB, free: 21.42 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002571/0.6882, allocations: 270.9 kB / 0.5676 GB, free: 21.33 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6882, allocations: 0 / 0.5676 GB, free: 21.33 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005545/0.6888, allocations: 138 kB / 0.5677 GB, free: 21.32 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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.wind.nextTimeEvent,windFarm.disturbance.count,windFarm.wind.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 39 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008821/0.6897, allocations: 457.6 kB / 0.5681 GB, free: 20.98 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008198/0.6905, allocations: 0.6647 MB / 0.5688 GB, free: 20.72 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.6905, allocations: 0 / 0.5688 GB, free: 20.72 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003265/0.6909, allocations: 332.6 kB / 0.5691 GB, free: 20.6 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003792/0.6913, allocations: 56.67 kB / 0.5692 GB, free: 20.6 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001032/0.6923, allocations: 0.6291 MB / 0.5698 GB, free: 20.4 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002255/0.6925, allocations: 0.8629 MB / 0.5706 GB, free: 19.7 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002481/0.6928, allocations: 96.91 kB / 0.5707 GB, free: 19.68 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001175/0.6929, allocations: 49 kB / 0.5707 GB, free: 19.68 MB / 378.7 MB Notification: Performance of SimCode: time 3.5e-07/0.6929, allocations: 0 / 0.5707 GB, free: 19.68 MB / 378.7 MB Notification: Performance of Templates: time 0.008717/0.7017, allocations: 5.7 MB / 0.5763 GB, free: 19.12 MB / 378.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmLoadTest.makefile (rm -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmLoadTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmLoadTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmLoadTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmLoadTest.sim & ./PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmLoadTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmLoadTest.pipe 2>&1)