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.002167/0.002166, allocations: 182 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.742/1.742, allocations: 194.3 MB / 208.4 MB, free: 6.719 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.001584/0.001584, allocations: 124.7 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.1595/0.1595, allocations: 37.9 MB / 336.4 MB, free: 14.26 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.715e-05/3.719e-05, allocations: 0 / 397.5 MB, free: 1.051 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2608/0.2609, allocations: 53.23 MB / 450.8 MB, free: 13.49 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3295/0.5905, allocations: 93.84 MB / 0.5318 GB, free: 31.42 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.002108/0.5926, allocations: 0.6948 MB / 0.5325 GB, free: 31.4 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. [/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.06813/0.6608, allocations: 20.21 MB / 0.5522 GB, free: 29.38 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.993e-06/0.6608, allocations: 0 / 0.5522 GB, free: 29.38 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.396e-05/0.6609, allocations: 19.31 kB / 0.5523 GB, free: 29.38 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001437/0.6623, allocations: 0.7512 MB / 0.553 GB, free: 28.78 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/0.6624, allocations: 15.72 kB / 0.553 GB, free: 28.78 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001587/0.664, allocations: 118.1 kB / 0.5531 GB, free: 28.75 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007496/0.6647, allocations: 384.8 kB / 0.5535 GB, free: 28.52 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.247e-05/0.6648, allocations: 19.62 kB / 0.5535 GB, free: 28.52 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.246e-05/0.6649, allocations: 23 kB / 0.5535 GB, free: 28.52 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008579/0.6657, allocations: 435.9 kB / 0.5539 GB, free: 28.39 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.6658, allocations: 3.938 kB / 0.554 GB, free: 28.39 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.955e-05/0.6658, allocations: 7.469 kB / 0.554 GB, free: 28.39 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-05/0.6659, allocations: 23.3 kB / 0.554 GB, free: 28.39 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009704/0.6669, allocations: 484.3 kB / 0.5544 GB, free: 28.38 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002345/0.6692, allocations: 1.869 MB / 0.5563 GB, free: 27.3 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008611/0.6701, allocations: 374.7 kB / 0.5566 GB, free: 27.25 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002733/0.6704, allocations: 123.7 kB / 0.5567 GB, free: 27.23 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.409e-05/0.6704, allocations: 15.67 kB / 0.5568 GB, free: 27.23 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003867/0.6708, allocations: 252.1 kB / 0.557 GB, free: 27.12 MB / 378.7 MB Notification: Performance of pre-optimization done (n=30): time 2.805e-06/0.6709, allocations: 0 / 0.557 GB, free: 27.12 MB / 378.7 MB Notification: Performance of matching and sorting (n=30): time 0.0007408/0.6716, allocations: 368.9 kB / 0.5574 GB, free: 27.05 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.565e-05/0.6717, allocations: 246.8 kB / 0.5576 GB, free: 26.77 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004098/0.6721, allocations: 338.7 kB / 0.5579 GB, free: 26.66 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.15e-05/0.6722, allocations: 44.58 kB / 0.558 GB, free: 26.62 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001131/0.6723, allocations: 195.5 kB / 0.5581 GB, free: 26.51 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001112/0.6724, allocations: 103.7 kB / 0.5582 GB, free: 26.45 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.408e-05/0.6724, allocations: 3.625 kB / 0.5582 GB, free: 26.45 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001111/0.6726, allocations: 355 kB / 0.5586 GB, free: 26.13 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000309/0.6729, allocations: 136.7 kB / 0.5587 GB, free: 26.13 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003779/0.6733, allocations: 277.2 kB / 0.559 GB, free: 25.96 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003848/0.6737, allocations: 223.4 kB / 0.5592 GB, free: 25.89 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.6737, allocations: 3.953 kB / 0.5592 GB, free: 25.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001099/0.6748, allocations: 0.5604 MB / 0.5597 GB, free: 25.74 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.828e-05/0.6749, allocations: 66.42 kB / 0.5598 GB, free: 25.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.6749, allocations: 4.469 kB / 0.5598 GB, free: 25.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.058e-05/0.6749, allocations: 11.72 kB / 0.5598 GB, free: 25.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005241/0.6754, allocations: 102.4 kB / 0.5599 GB, free: 25.67 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.54e-05/0.6755, allocations: 7.328 kB / 0.5599 GB, free: 25.67 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004642/0.6759, allocations: 68.91 kB / 0.56 GB, free: 25.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.028e-05/0.676, allocations: 23.09 kB / 0.56 GB, free: 25.64 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 () * 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.0001339/0.6761, allocations: 141.6 kB / 0.5601 GB, free: 25.52 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.432e-05/0.6762, allocations: 35.11 kB / 0.5602 GB, free: 25.5 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009197/0.6772, allocations: 435.2 kB / 0.5606 GB, free: 25.43 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.165e-06/0.6772, allocations: 3.906 kB / 0.5606 GB, free: 25.43 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.6772, allocations: 3.906 kB / 0.5606 GB, free: 25.43 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.6772, allocations: 4 kB / 0.5606 GB, free: 25.43 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009721/0.6782, allocations: 0.9129 MB / 0.5615 GB, free: 24.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.177e-06/0.6782, allocations: 0 / 0.5615 GB, free: 24.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004551/0.6787, allocations: 82.19 kB / 0.5616 GB, free: 24.85 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.715e-06/0.6787, allocations: 3.906 kB / 0.5616 GB, free: 24.85 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.594e-05/0.6788, allocations: 17.23 kB / 0.5616 GB, free: 24.85 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.479e-06/0.6788, allocations: 3.906 kB / 0.5616 GB, free: 24.85 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.6788, allocations: 3.906 kB / 0.5616 GB, free: 24.85 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007773/0.6796, allocations: 0.5255 MB / 0.5621 GB, free: 24.6 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001995/0.6798, allocations: 167.8 kB / 0.5623 GB, free: 24.48 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.531e-05/0.6799, allocations: 14.44 kB / 0.5623 GB, free: 24.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003324/0.6802, allocations: 34.17 kB / 0.5623 GB, free: 24.47 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001241/0.6804, allocations: 50.11 kB / 0.5624 GB, free: 24.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.796e-05/0.6804, allocations: 11.66 kB / 0.5624 GB, free: 24.46 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003416/0.6808, allocations: 266.2 kB / 0.5626 GB, free: 24.38 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.6808, allocations: 0 / 0.5626 GB, free: 24.38 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006765/0.6815, allocations: 126.5 kB / 0.5628 GB, free: 24.36 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) * 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.001285/0.6827, allocations: 433.1 kB / 0.5632 GB, free: 24.04 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008155/0.6836, allocations: 488.8 kB / 0.5636 GB, free: 23.89 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.6836, allocations: 0 / 0.5636 GB, free: 23.89 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003907/0.684, allocations: 197.5 kB / 0.5638 GB, free: 23.88 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004766/0.6845, allocations: 65.25 kB / 0.5639 GB, free: 23.87 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001188/0.6857, allocations: 0.5508 MB / 0.5644 GB, free: 23.65 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002833/0.686, allocations: 0.8306 MB / 0.5652 GB, free: 22.94 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003788/0.6864, allocations: 82.8 kB / 0.5653 GB, free: 22.93 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001613/0.6865, allocations: 42.66 kB / 0.5654 GB, free: 22.93 MB / 378.7 MB Notification: Performance of SimCode: time 5.82e-07/0.6866, allocations: 0 / 0.5654 GB, free: 22.93 MB / 378.7 MB Notification: Performance of Templates: time 0.009939/0.6965, allocations: 4.847 MB / 0.5701 GB, free: 22.46 MB / 378.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)