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.001043/0.001043, allocations: 180.9 kB / 16.38 MB, free: 5.762 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.183/1.183, allocations: 194.5 MB / 211.6 MB, free: 3.055 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.001576/0.001576, allocations: 116.8 kB / 256.9 MB, free: 4.371 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1607/0.1607, allocations: 38 MB / 340.1 MB, free: 1.355 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003298/0.0003298, allocations: 12 kB / 403.8 MB, free: 68.8 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07655/0.07689, allocations: 53.23 MB / 457 MB, free: 15.57 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2807/0.3576, allocations: 93.94 MB / 0.538 GB, free: 1.934 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.001539/0.3592, allocations: 0.8621 MB / 0.5389 GB, free: 1.465 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.04677/0.406, allocations: 20.31 MB / 0.5587 GB, free: 0.5703 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.406, allocations: 0 / 0.5587 GB, free: 0.5703 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.775e-05/0.4061, allocations: 8 kB / 0.5587 GB, free: 0.5625 MB / 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.001377/0.4075, allocations: 0.8109 MB / 0.5595 GB, free: 15.72 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.4075, allocations: 12.02 kB / 0.5595 GB, free: 15.71 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001006/0.4085, allocations: 127.4 kB / 0.5596 GB, free: 15.58 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005941/0.4091, allocations: 385.9 kB / 0.56 GB, free: 15.21 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.355e-05/0.4092, allocations: 19.88 kB / 0.56 GB, free: 15.2 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.348e-05/0.4092, allocations: 31.28 kB / 0.5601 GB, free: 15.18 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008016/0.41, allocations: 469.2 kB / 0.5605 GB, free: 14.79 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.4101, allocations: 4 kB / 0.5605 GB, free: 14.79 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.804e-05/0.4101, allocations: 10.88 kB / 0.5605 GB, free: 14.79 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.293e-05/0.4102, allocations: 28.03 kB / 0.5605 GB, free: 14.76 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001006/0.4112, allocations: 0.5554 MB / 0.5611 GB, free: 14.34 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001994/0.4132, allocations: 1.869 MB / 0.5629 GB, free: 12.67 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001054/0.4142, allocations: 463.4 kB / 0.5634 GB, free: 12.31 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.277e-05/0.4143, allocations: 4.234 kB / 0.5634 GB, free: 12.3 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005095/0.4148, allocations: 305 kB / 0.5636 GB, free: 12.03 MB / 378.7 MB Notification: Performance of pre-optimization done (n=30): time 1.954e-06/0.4148, allocations: 0 / 0.5636 GB, free: 12.03 MB / 378.7 MB Notification: Performance of matching and sorting (n=30): time 0.001282/0.4161, allocations: 0.6078 MB / 0.5642 GB, free: 11.55 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001028/0.4162, allocations: 243.2 kB / 0.5645 GB, free: 11.26 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003553/0.4166, allocations: 345.1 kB / 0.5648 GB, free: 10.98 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.816e-05/0.4166, allocations: 36.89 kB / 0.5648 GB, free: 10.95 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/0.4167, allocations: 203 kB / 0.565 GB, free: 10.79 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.554e-05/0.4168, allocations: 100.1 kB / 0.5651 GB, free: 10.71 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.873e-05/0.4169, allocations: 6.75 kB / 0.5651 GB, free: 10.71 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.417, allocations: 351.6 kB / 0.5655 GB, free: 10.37 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003713/0.4174, allocations: 177.8 kB / 0.5656 GB, free: 10.25 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004368/0.4178, allocations: 319 kB / 0.5659 GB, free: 9.938 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004334/0.4182, allocations: 270.5 kB / 0.5662 GB, free: 9.734 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.4183, allocations: 0 / 0.5662 GB, free: 9.734 MB / 378.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001062/0.4193, allocations: 0.6576 MB / 0.5668 GB, free: 9.195 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.12e-05/0.4194, allocations: 67.2 kB / 0.5669 GB, free: 9.121 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.4194, allocations: 4 kB / 0.5669 GB, free: 9.117 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.4194, allocations: 8 kB / 0.5669 GB, free: 9.109 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003553/0.4198, allocations: 108.2 kB / 0.567 GB, free: 9.004 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/0.4198, allocations: 7.938 kB / 0.567 GB, free: 8.996 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002963/0.4201, allocations: 63.25 kB / 0.5671 GB, free: 8.941 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.905e-05/0.4202, allocations: 27.92 kB / 0.5671 GB, free: 8.918 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.000191/0.4204, allocations: 191.9 kB / 0.5673 GB, free: 8.75 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.253e-05/0.4204, allocations: 46.48 kB / 0.5673 GB, free: 8.707 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000973/0.4214, allocations: 0.502 MB / 0.5678 GB, free: 8.316 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/0.4214, allocations: 8 kB / 0.5678 GB, free: 8.309 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.4214, allocations: 0 / 0.5678 GB, free: 8.309 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.4215, allocations: 4 kB / 0.5678 GB, free: 8.305 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008085/0.4223, allocations: 0.9104 MB / 0.5687 GB, free: 7.461 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.4223, allocations: 0 / 0.5687 GB, free: 7.461 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002995/0.4226, allocations: 83.83 kB / 0.5688 GB, free: 7.383 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.4226, allocations: 8.125 kB / 0.5688 GB, free: 7.375 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.734e-05/0.4226, allocations: 11.86 kB / 0.5688 GB, free: 7.367 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.918e-06/0.4226, allocations: 4 kB / 0.5688 GB, free: 7.363 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.4226, allocations: 3.938 kB / 0.5688 GB, free: 7.359 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009141/0.4236, allocations: 0.6117 MB / 0.5694 GB, free: 6.789 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001701/0.4237, allocations: 171.6 kB / 0.5696 GB, free: 6.625 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.616e-05/0.4238, allocations: 11.69 kB / 0.5696 GB, free: 6.621 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002232/0.424, allocations: 31.66 kB / 0.5696 GB, free: 6.594 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.938e-05/0.4241, allocations: 39.69 kB / 0.5697 GB, free: 6.562 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.786e-05/0.4242, allocations: 15.95 kB / 0.5697 GB, free: 6.547 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002485/0.4244, allocations: 276.7 kB / 0.57 GB, free: 6.34 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4244, allocations: 0 / 0.57 GB, free: 6.34 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000423/0.4249, allocations: 123 kB / 0.5701 GB, free: 6.23 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.0009554/0.4258, allocations: 495.5 kB / 0.5705 GB, free: 5.777 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009325/0.4268, allocations: 0.5723 MB / 0.5711 GB, free: 5.309 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.4268, allocations: 3.938 kB / 0.5711 GB, free: 5.305 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004275/0.4272, allocations: 232.5 kB / 0.5713 GB, free: 5.137 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003091/0.4275, allocations: 58.8 kB / 0.5714 GB, free: 5.098 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001155/0.4287, allocations: 0.8642 MB / 0.5722 GB, free: 4.277 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003303/0.429, allocations: 0.8218 MB / 0.573 GB, free: 3.438 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002415/0.4293, allocations: 95.09 kB / 0.5731 GB, free: 3.348 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001158/0.4294, allocations: 42.42 kB / 0.5732 GB, free: 3.309 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4294, allocations: 0 / 0.5732 GB, free: 3.309 MB / 378.7 MB Notification: Performance of Templates: time 0.008005/0.4374, allocations: 4.836 MB / 0.5779 GB, free: 14.48 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)