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.001083/0.001083, allocations: 187.9 kB / 8.351 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.487/1.487, allocations: 194.3 MB / 203.1 MB, free: 9.324 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001683/0.001683, allocations: 117 kB / 248.1 MB, free: 6.309 MB / 203.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1663/0.1663, allocations: 37.92 MB / 330.9 MB, free: 7.32 MB / 283.1 MB Notification: Performance of FrontEnd - loaded program: time 1.794e-05/1.804e-05, allocations: 0 / 390.4 MB, free: 78.25 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09483/0.09487, allocations: 53.24 MB / 443.6 MB, free: 25.11 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.336/0.4309, allocations: 89.81 MB / 0.5209 GB, free: 10.8 MB / 347.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.001257/0.4322, allocations: 0.5826 MB / 0.5215 GB, free: 10.69 MB / 347.1 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.03532/0.4675, allocations: 16.09 MB / 0.5372 GB, free: 3.457 MB / 347.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.4676, allocations: 0 / 0.5372 GB, free: 3.457 MB / 347.1 MB Notification: Performance of Transformations before backend: time 2.258e-05/0.4676, allocations: 4 kB / 0.5372 GB, free: 3.453 MB / 347.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.0009711/0.4686, allocations: 0.7365 MB / 0.5379 GB, free: 2.688 MB / 347.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.4686, allocations: 8.031 kB / 0.5379 GB, free: 2.68 MB / 347.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008914/0.4695, allocations: 119.4 kB / 0.538 GB, free: 2.562 MB / 347.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004797/0.47, allocations: 397.3 kB / 0.5384 GB, free: 2.191 MB / 347.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.127e-05/0.4701, allocations: 8 kB / 0.5384 GB, free: 2.184 MB / 347.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.55e-05/0.4701, allocations: 12 kB / 0.5384 GB, free: 2.172 MB / 347.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005132/0.4706, allocations: 413.7 kB / 0.5388 GB, free: 1.887 MB / 347.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004951/0.4711, allocations: 400.5 kB / 0.5392 GB, free: 1.57 MB / 347.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.4712, allocations: 0 / 0.5392 GB, free: 1.57 MB / 347.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.497e-05/0.4712, allocations: 3.984 kB / 0.5392 GB, free: 1.566 MB / 347.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.001e-05/0.4712, allocations: 16.44 kB / 0.5392 GB, free: 1.551 MB / 347.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001733/0.473, allocations: 1.713 MB / 0.5409 GB, free: 104 kB / 347.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006379/0.4736, allocations: 335.7 kB / 0.5412 GB, free: 15.86 MB / 363.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001807/0.4738, allocations: 124.3 kB / 0.5413 GB, free: 15.78 MB / 363.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.078e-05/0.4739, allocations: 8.234 kB / 0.5413 GB, free: 15.77 MB / 363.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003499/0.4742, allocations: 257.4 kB / 0.5416 GB, free: 15.53 MB / 363.1 MB Notification: Performance of pre-optimization done (n=31): time 1.633e-06/0.4742, allocations: 3.938 kB / 0.5416 GB, free: 15.53 MB / 363.1 MB Notification: Performance of matching and sorting (n=31): time 0.0005932/0.4748, allocations: 368.2 kB / 0.5419 GB, free: 15.24 MB / 363.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001232/0.475, allocations: 294.3 kB / 0.5422 GB, free: 14.89 MB / 363.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003121/0.4753, allocations: 295.4 kB / 0.5425 GB, free: 14.65 MB / 363.1 MB Notification: Performance of collectPreVariables (initialization): time 3.77e-05/0.4753, allocations: 33.33 kB / 0.5425 GB, free: 14.62 MB / 363.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001181/0.4754, allocations: 196.4 kB / 0.5427 GB, free: 14.46 MB / 363.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.818e-05/0.4755, allocations: 101.3 kB / 0.5428 GB, free: 14.38 MB / 363.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.85e-05/0.4756, allocations: 0 / 0.5428 GB, free: 14.38 MB / 363.1 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.4757, allocations: 341.1 kB / 0.5431 GB, free: 14.05 MB / 363.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001891/0.4759, allocations: 130.1 kB / 0.5433 GB, free: 13.98 MB / 363.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002703/0.4762, allocations: 262.6 kB / 0.5435 GB, free: 13.72 MB / 363.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000234/0.4764, allocations: 164.1 kB / 0.5437 GB, free: 13.62 MB / 363.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.4764, allocations: 4 kB / 0.5437 GB, free: 13.61 MB / 363.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006813/0.4771, allocations: 478.7 kB / 0.5441 GB, free: 13.25 MB / 363.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.786e-05/0.4772, allocations: 63.28 kB / 0.5442 GB, free: 13.18 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.687e-06/0.4772, allocations: 12 kB / 0.5442 GB, free: 13.16 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.4772, allocations: 11.94 kB / 0.5442 GB, free: 13.15 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000364/0.4776, allocations: 99.58 kB / 0.5443 GB, free: 13.06 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.4776, allocations: 7.984 kB / 0.5443 GB, free: 13.05 MB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002856/0.4779, allocations: 51.67 kB / 0.5444 GB, free: 13 MB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.697e-05/0.478, allocations: 23.92 kB / 0.5444 GB, free: 12.98 MB / 363.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 ($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 (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.0001232/0.4781, allocations: 128.7 kB / 0.5445 GB, free: 12.85 MB / 363.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.25e-05/0.4782, allocations: 39.56 kB / 0.5446 GB, free: 12.81 MB / 363.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006109/0.4788, allocations: 388.9 kB / 0.5449 GB, free: 12.52 MB / 363.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.199e-05/0.4788, allocations: 15.94 kB / 0.5449 GB, free: 12.51 MB / 363.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.4788, allocations: 4 kB / 0.5449 GB, free: 12.5 MB / 363.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.4788, allocations: 8 kB / 0.545 GB, free: 12.5 MB / 363.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008549/0.4797, allocations: 1.023 MB / 0.546 GB, free: 11.55 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.4797, allocations: 12.14 kB / 0.546 GB, free: 11.54 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003108/0.48, allocations: 83.31 kB / 0.546 GB, free: 11.46 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.015e-05/0.48, allocations: 4 kB / 0.546 GB, free: 11.45 MB / 363.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.678e-05/0.4801, allocations: 15.88 kB / 0.5461 GB, free: 11.44 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-06/0.4801, allocations: 4 kB / 0.5461 GB, free: 11.43 MB / 363.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.4801, allocations: 0 / 0.5461 GB, free: 11.43 MB / 363.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006331/0.4807, allocations: 0.5515 MB / 0.5466 GB, free: 10.89 MB / 363.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001565/0.4809, allocations: 166.9 kB / 0.5468 GB, free: 10.73 MB / 363.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.034e-05/0.481, allocations: 7.125 kB / 0.5468 GB, free: 10.72 MB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002368/0.4812, allocations: 31.97 kB / 0.5468 GB, free: 10.69 MB / 363.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.794e-05/0.4813, allocations: 49.02 kB / 0.5469 GB, free: 10.65 MB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.937e-05/0.4813, allocations: 12 kB / 0.5469 GB, free: 10.64 MB / 363.1 MB Notification: Performance of sorting global known variables: time 0.0002168/0.4816, allocations: 231.3 kB / 0.5471 GB, free: 10.47 MB / 363.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4816, allocations: 0 / 0.5471 GB, free: 10.47 MB / 363.1 MB Notification: Performance of remove unused functions: time 0.0004494/0.482, allocations: 107.7 kB / 0.5472 GB, free: 10.37 MB / 363.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) * 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.0008917/0.4829, allocations: 420.7 kB / 0.5476 GB, free: 10.02 MB / 363.1 MB Notification: Performance of simCode: created initialization part: time 0.0005764/0.4835, allocations: 460.7 kB / 0.548 GB, free: 9.664 MB / 363.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.4835, allocations: 0 / 0.548 GB, free: 9.664 MB / 363.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002771/0.4838, allocations: 196.6 kB / 0.5482 GB, free: 9.535 MB / 363.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003465/0.4842, allocations: 46.31 kB / 0.5483 GB, free: 9.504 MB / 363.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009923/0.4852, allocations: 0.5453 MB / 0.5488 GB, free: 8.996 MB / 363.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003525/0.4855, allocations: 0.8196 MB / 0.5496 GB, free: 8.16 MB / 363.1 MB Notification: Performance of simCode: alias equations: time 0.0002483/0.4858, allocations: 99.08 kB / 0.5497 GB, free: 8.066 MB / 363.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001156/0.4859, allocations: 43.05 kB / 0.5497 GB, free: 8.027 MB / 363.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4859, allocations: 0 / 0.5497 GB, free: 8.027 MB / 363.1 MB Notification: Performance of Templates: time 0.008061/0.494, allocations: 4.423 MB / 0.554 GB, free: 3.621 MB / 363.1 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)