Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.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.WindFarmHVDCTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest") translateModel(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002126/0.002126, allocations: 179.3 kB / 17.4 MB, free: 4.414 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.506/1.506, allocations: 194.5 MB / 212.6 MB, free: 2.848 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.001608/0.001608, allocations: 128.1 kB / 257.9 MB, free: 4.234 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1903/0.1903, allocations: 38.01 MB / 341.1 MB, free: 1.164 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003565/0.0003565, allocations: 15.98 kB / 405 MB, free: 68.47 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09417/0.09454, allocations: 53.23 MB / 458.3 MB, free: 15.23 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3843/0.4789, allocations: 93.99 MB / 0.5393 GB, free: 1.566 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.001661/0.4806, allocations: 0.8718 MB / 0.5402 GB, free: 1.102 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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/Generic.mo:465:11-465:52:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal.theta);. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/Generic.mo:468:7-475:13:writable] Warning: Returning false from overconstrained operator applied to array components having size zero: Connections.isRoot({}). Notification: Performance of FrontEnd - DAE generated: time 0.04996/0.5306, allocations: 20.35 MB / 0.56 GB, free: 164 kB / 362.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.5306, allocations: 0 / 0.56 GB, free: 164 kB / 362.7 MB Notification: Performance of Transformations before backend: time 3.742e-05/0.5307, allocations: 12 kB / 0.56 GB, free: 152 kB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001519/0.5322, allocations: 0.8009 MB / 0.5608 GB, free: 15.31 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.5323, allocations: 8.031 kB / 0.5608 GB, free: 15.3 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001079/0.5333, allocations: 124.1 kB / 0.5609 GB, free: 15.18 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006956/0.5341, allocations: 390.7 kB / 0.5613 GB, free: 14.81 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.855e-05/0.5341, allocations: 24.5 kB / 0.5613 GB, free: 14.79 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.318e-05/0.5342, allocations: 27.86 kB / 0.5614 GB, free: 14.77 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008327/0.535, allocations: 485.3 kB / 0.5618 GB, free: 14.38 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.535, allocations: 3.938 kB / 0.5618 GB, free: 14.37 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.661e-05/0.5351, allocations: 10.62 kB / 0.5618 GB, free: 14.37 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.687e-05/0.5351, allocations: 23.73 kB / 0.5619 GB, free: 14.35 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001026/0.5362, allocations: 0.5548 MB / 0.5624 GB, free: 13.93 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002186/0.5384, allocations: 1.872 MB / 0.5642 GB, free: 12.26 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001068/0.5395, allocations: 454.5 kB / 0.5647 GB, free: 11.91 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003713/0.5398, allocations: 175.6 kB / 0.5648 GB, free: 11.77 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.345e-05/0.5399, allocations: 4.234 kB / 0.5648 GB, free: 11.77 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005174/0.5404, allocations: 306.4 kB / 0.5651 GB, free: 11.5 MB / 378.7 MB Notification: Performance of pre-optimization done (n=30): time 3.677e-06/0.5404, allocations: 0 / 0.5651 GB, free: 11.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=30): time 0.001399/0.5418, allocations: 0.6009 MB / 0.5657 GB, free: 11.02 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001171/0.5419, allocations: 243.5 kB / 0.5659 GB, free: 10.73 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004329/0.5424, allocations: 386.1 kB / 0.5663 GB, free: 10.42 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.546e-05/0.5425, allocations: 45.25 kB / 0.5664 GB, free: 10.38 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001269/0.5426, allocations: 198.3 kB / 0.5665 GB, free: 10.22 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001021/0.5427, allocations: 102.2 kB / 0.5666 GB, free: 10.14 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.137e-05/0.5427, allocations: 7.625 kB / 0.5667 GB, free: 10.13 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.5429, allocations: 345.9 kB / 0.567 GB, free: 9.801 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004143/0.5433, allocations: 190.2 kB / 0.5672 GB, free: 9.668 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004796/0.5438, allocations: 313.6 kB / 0.5675 GB, free: 9.363 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009097/0.5447, allocations: 0.5515 MB / 0.568 GB, free: 8.871 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.307e-06/0.5447, allocations: 0 / 0.568 GB, free: 8.871 MB / 378.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001265/0.546, allocations: 0.6559 MB / 0.5686 GB, free: 8.332 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.294e-05/0.5461, allocations: 70.52 kB / 0.5687 GB, free: 8.254 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/0.5461, allocations: 4 kB / 0.5687 GB, free: 8.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.568e-05/0.5461, allocations: 7.938 kB / 0.5687 GB, free: 8.242 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003786/0.5465, allocations: 99.44 kB / 0.5688 GB, free: 8.148 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.63e-05/0.5466, allocations: 19.88 kB / 0.5688 GB, free: 8.129 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003552/0.5469, allocations: 62.69 kB / 0.5689 GB, free: 8.074 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.449e-05/0.547, allocations: 16 kB / 0.5689 GB, free: 8.059 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 (45): * Single equations (assignments): 43 * 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.0002519/0.5472, allocations: 191 kB / 0.5691 GB, free: 7.895 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.084e-05/0.5473, allocations: 35.61 kB / 0.5691 GB, free: 7.859 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001061/0.5484, allocations: 0.5102 MB / 0.5696 GB, free: 7.469 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.04e-05/0.5484, allocations: 8 kB / 0.5696 GB, free: 7.461 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.5484, allocations: 3.984 kB / 0.5696 GB, free: 7.457 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/0.5484, allocations: 7.984 kB / 0.5696 GB, free: 7.449 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000919/0.5494, allocations: 0.905 MB / 0.5705 GB, free: 6.613 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.5494, allocations: 0 / 0.5705 GB, free: 6.613 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003265/0.5497, allocations: 83.88 kB / 0.5706 GB, free: 6.531 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.193e-06/0.5497, allocations: 4 kB / 0.5706 GB, free: 6.527 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.894e-05/0.5498, allocations: 10.75 kB / 0.5706 GB, free: 6.523 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.983e-06/0.5498, allocations: 12.12 kB / 0.5706 GB, free: 6.512 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.5498, allocations: 4 kB / 0.5706 GB, free: 6.508 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009535/0.5507, allocations: 0.546 MB / 0.5712 GB, free: 6.035 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001767/0.5509, allocations: 164.6 kB / 0.5713 GB, free: 5.875 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.043e-05/0.551, allocations: 14.5 kB / 0.5713 GB, free: 5.871 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002163/0.5512, allocations: 31.09 kB / 0.5714 GB, free: 5.844 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.532e-05/0.5513, allocations: 39.58 kB / 0.5714 GB, free: 5.812 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.082e-05/0.5514, allocations: 23.8 kB / 0.5714 GB, free: 5.793 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002744/0.5516, allocations: 268.1 kB / 0.5717 GB, free: 5.59 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5516, allocations: 0 / 0.5717 GB, free: 5.59 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004607/0.5521, allocations: 122.2 kB / 0.5718 GB, free: 5.484 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (39): * Single equations (assignments): 34 * 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.001005/0.5531, allocations: 494.7 kB / 0.5723 GB, free: 5.027 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009741/0.5541, allocations: 0.5716 MB / 0.5728 GB, free: 4.559 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.167e-06/0.5541, allocations: 0 / 0.5728 GB, free: 4.559 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004624/0.5546, allocations: 244 kB / 0.5731 GB, free: 4.383 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004593/0.5551, allocations: 62.8 kB / 0.5731 GB, free: 4.344 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001339/0.5564, allocations: 0.8639 MB / 0.574 GB, free: 3.52 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004072/0.5568, allocations: 0.8215 MB / 0.5748 GB, free: 2.68 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002751/0.5571, allocations: 91.09 kB / 0.5749 GB, free: 2.59 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001322/0.5573, allocations: 50.91 kB / 0.5749 GB, free: 2.543 MB / 378.7 MB Notification: Performance of SimCode: time 3.51e-07/0.5573, allocations: 0 / 0.5749 GB, free: 2.543 MB / 378.7 MB Notification: Performance of Templates: time 0.009449/0.5667, allocations: 4.852 MB / 0.5796 GB, free: 13.7 MB / 394.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.makefile (rm -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.sim & ./PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe 2>&1)