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.001038/0.001039, allocations: 183.8 kB / 8.354 MB, free: 0.7305 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.534/1.534, allocations: 194.3 MB / 203.1 MB, free: 13.03 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.001756/0.001756, allocations: 123 kB / 248.1 MB, free: 32 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.159/0.159, allocations: 37.93 MB / 330.9 MB, free: 2.645 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.611e-05/1.606e-05, allocations: 0 / 390.4 MB, free: 7.082 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2471/0.2471, allocations: 53.22 MB / 443.6 MB, free: 17.78 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1186/0.3658, allocations: 93.18 MB / 0.5242 GB, free: 4.465 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00157/0.3674, allocations: 0.5777 MB / 0.5248 GB, free: 3.887 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.2485/0.6159, allocations: 20.1 MB / 0.5444 GB, free: 84.5 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.616, allocations: 0 / 0.5444 GB, free: 84.5 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.035e-05/0.616, allocations: 8 kB / 0.5444 GB, free: 84.49 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.001157/0.6172, allocations: 0.7556 MB / 0.5451 GB, free: 83.68 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/0.6172, allocations: 12.03 kB / 0.5451 GB, free: 83.66 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001054/0.6183, allocations: 123.4 kB / 0.5453 GB, free: 83.54 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005588/0.6188, allocations: 390.3 kB / 0.5456 GB, free: 83.12 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.25e-05/0.6189, allocations: 8 kB / 0.5456 GB, free: 83.12 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.136e-05/0.6189, allocations: 12 kB / 0.5456 GB, free: 83.11 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005422/0.6195, allocations: 404.8 kB / 0.546 GB, free: 82.71 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005198/0.62, allocations: 400.2 kB / 0.5464 GB, free: 82.29 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.62, allocations: 4 kB / 0.5464 GB, free: 82.28 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.516e-05/0.6201, allocations: 3.984 kB / 0.5464 GB, free: 82.28 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.642e-05/0.6201, allocations: 20.42 kB / 0.5464 GB, free: 82.26 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001815/0.6219, allocations: 1.853 MB / 0.5483 GB, free: 80.31 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005949/0.6226, allocations: 353.6 kB / 0.5486 GB, free: 79.95 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001544/0.6227, allocations: 118.2 kB / 0.5487 GB, free: 79.83 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.335e-05/0.6228, allocations: 8.172 kB / 0.5487 GB, free: 79.82 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002787/0.623, allocations: 249.5 kB / 0.5489 GB, free: 79.54 MB / 378.7 MB Notification: Performance of pre-optimization done (n=31): time 1.933e-06/0.6231, allocations: 0 / 0.5489 GB, free: 79.54 MB / 378.7 MB Notification: Performance of matching and sorting (n=31): time 0.0005597/0.6236, allocations: 360.9 kB / 0.5493 GB, free: 79.18 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.984e-05/0.6237, allocations: 247.4 kB / 0.5495 GB, free: 78.89 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003062/0.624, allocations: 305.1 kB / 0.5498 GB, free: 78.59 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.809e-05/0.624, allocations: 37.69 kB / 0.5499 GB, free: 78.54 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.12e-05/0.6241, allocations: 196.5 kB / 0.55 GB, free: 78.35 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.745e-05/0.6242, allocations: 102.6 kB / 0.5501 GB, free: 78.25 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.031e-05/0.6242, allocations: 0 / 0.5501 GB, free: 78.25 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.661e-05/0.6243, allocations: 346.8 kB / 0.5505 GB, free: 77.9 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001863/0.6245, allocations: 128.8 kB / 0.5506 GB, free: 77.77 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002889/0.6248, allocations: 264.4 kB / 0.5508 GB, free: 77.45 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000226/0.625, allocations: 172.4 kB / 0.551 GB, free: 77.29 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.625, allocations: 0 / 0.551 GB, free: 77.29 MB / 378.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006027/0.6257, allocations: 482.1 kB / 0.5515 GB, free: 76.81 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.798e-05/0.6257, allocations: 73.2 kB / 0.5515 GB, free: 76.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.6257, allocations: 8 kB / 0.5515 GB, free: 76.72 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.6257, allocations: 4 kB / 0.5516 GB, free: 76.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003521/0.6261, allocations: 100.2 kB / 0.5516 GB, free: 76.62 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.505e-06/0.6261, allocations: 12 kB / 0.5517 GB, free: 76.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002813/0.6264, allocations: 51.66 kB / 0.5517 GB, free: 76.55 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.655e-05/0.6264, allocations: 23.97 kB / 0.5517 GB, free: 76.53 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 (46): * Single equations (assignments): 44 * 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 9.521e-05/0.6265, allocations: 136.7 kB / 0.5519 GB, free: 76.39 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.397e-05/0.6266, allocations: 39.48 kB / 0.5519 GB, free: 76.35 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000557/0.6272, allocations: 404.2 kB / 0.5523 GB, free: 75.95 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.6272, allocations: 7.938 kB / 0.5523 GB, free: 75.94 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.6272, allocations: 0 / 0.5523 GB, free: 75.94 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.6272, allocations: 11.92 kB / 0.5523 GB, free: 75.93 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006016/0.6278, allocations: 0.8624 MB / 0.5531 GB, free: 75.01 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.6278, allocations: 0 / 0.5531 GB, free: 75.01 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003138/0.6282, allocations: 83.89 kB / 0.5532 GB, free: 74.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.512e-06/0.6282, allocations: 4 kB / 0.5532 GB, free: 74.93 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.682e-05/0.6282, allocations: 7.984 kB / 0.5532 GB, free: 74.92 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.6282, allocations: 4 kB / 0.5532 GB, free: 74.91 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.6282, allocations: 4.062 kB / 0.5532 GB, free: 74.91 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005703/0.6288, allocations: 0.5077 MB / 0.5537 GB, free: 74.33 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001223/0.6289, allocations: 160.5 kB / 0.5539 GB, free: 74.15 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.027e-05/0.629, allocations: 8 kB / 0.5539 GB, free: 74.14 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002175/0.6292, allocations: 27.97 kB / 0.5539 GB, free: 74.12 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.069e-05/0.6293, allocations: 47.88 kB / 0.554 GB, free: 74.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.55e-05/0.6293, allocations: 16 kB / 0.554 GB, free: 74.05 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001711/0.6295, allocations: 236.6 kB / 0.5542 GB, free: 73.82 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.6295, allocations: 0 / 0.5542 GB, free: 73.82 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000435/0.63, allocations: 107.8 kB / 0.5543 GB, free: 73.72 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 (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.0008123/0.6308, allocations: 406.6 kB / 0.5547 GB, free: 73.34 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004908/0.6313, allocations: 480 kB / 0.5552 GB, free: 72.84 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.6313, allocations: 3.938 kB / 0.5552 GB, free: 72.84 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002338/0.6315, allocations: 188 kB / 0.5553 GB, free: 72.66 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003644/0.6319, allocations: 56.95 kB / 0.5554 GB, free: 72.6 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008137/0.6327, allocations: 0.5275 MB / 0.5559 GB, free: 72.04 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002248/0.633, allocations: 0.8275 MB / 0.5567 GB, free: 71.18 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002901/0.6333, allocations: 99.12 kB / 0.5568 GB, free: 71.08 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001152/0.6334, allocations: 43.42 kB / 0.5569 GB, free: 71.04 MB / 378.7 MB Notification: Performance of SimCode: time 2.61e-07/0.6334, allocations: 0 / 0.5569 GB, free: 71.04 MB / 378.7 MB Notification: Performance of Templates: time 0.007127/0.6405, allocations: 4.464 MB / 0.5612 GB, free: 66.58 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)