Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.conf.json Using package PowerSystems with version 1.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/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_master_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002661/0.002661, allocations: 362.9 kB / 17.21 MB, free: 4.953 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 3.726/3.726, allocations: 388.9 MB / 406.8 MB, free: 11.99 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003539/0.003539, allocations: 227.8 kB / 452.2 MB, free: 14.6 MB / 378.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo): time 0.7359/0.7359, allocations: 76.01 MB / 0.56 GB, free: 177.6 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004585/0.0004587, allocations: 11.98 kB / 0.6222 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09069/0.09117, allocations: 53.23 MB / 0.6742 GB, free: 60.83 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4556/0.5468, allocations: 93.93 MB / 0.7659 GB, free: 81.48 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.002221/0.5491, allocations: 0.8582 MB / 0.7668 GB, free: 81.46 MB / 442.7 MB [/var/lib/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. [/var/lib/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. [/var/lib/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. [/var/lib/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. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/Generic.mo:465:11-465:52:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal.theta);. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/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.07324/0.6224, allocations: 20.31 MB / 0.7866 GB, free: 77.15 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.6224, allocations: 1.219 kB / 0.7866 GB, free: 77.15 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.661e-05/0.6225, allocations: 15.59 kB / 0.7866 GB, free: 77.14 MB / 442.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.001798/0.6243, allocations: 0.7985 MB / 0.7874 GB, free: 76.47 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.6244, allocations: 16.05 kB / 0.7874 GB, free: 76.47 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001567/0.6259, allocations: 118.2 kB / 0.7875 GB, free: 76.42 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008596/0.6268, allocations: 395.5 kB / 0.7879 GB, free: 76.13 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.465e-05/0.6269, allocations: 18.56 kB / 0.7879 GB, free: 76.13 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.082e-05/0.627, allocations: 24.56 kB / 0.788 GB, free: 76.13 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00128/0.6282, allocations: 480.3 kB / 0.7884 GB, free: 75.93 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.786e-05/0.6283, allocations: 1.812 kB / 0.7884 GB, free: 75.93 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.833e-05/0.6284, allocations: 13.33 kB / 0.7884 GB, free: 75.93 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.191e-05/0.6284, allocations: 15.84 kB / 0.7885 GB, free: 75.93 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001727/0.6302, allocations: 0.5617 MB / 0.789 GB, free: 75.79 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002936/0.6331, allocations: 1.875 MB / 0.7908 GB, free: 74.47 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00186/0.635, allocations: 448.6 kB / 0.7913 GB, free: 74.35 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006392/0.6357, allocations: 177.9 kB / 0.7914 GB, free: 74.3 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.927e-05/0.6357, allocations: 11.3 kB / 0.7914 GB, free: 74.3 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008475/0.6366, allocations: 303.9 kB / 0.7917 GB, free: 74.14 MB / 442.7 MB Notification: Performance of pre-optimization done (n=30): time 2.756e-06/0.6366, allocations: 0 / 0.7917 GB, free: 74.14 MB / 442.7 MB Notification: Performance of matching and sorting (n=30): time 0.00228/0.6389, allocations: 0.5983 MB / 0.7923 GB, free: 73.98 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.063e-05/0.639, allocations: 247.3 kB / 0.7926 GB, free: 73.7 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005743/0.6396, allocations: 382.4 kB / 0.7929 GB, free: 73.54 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.008e-05/0.6397, allocations: 40.47 kB / 0.793 GB, free: 73.51 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000146/0.6398, allocations: 199.2 kB / 0.7931 GB, free: 73.37 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001044/0.64, allocations: 99.23 kB / 0.7932 GB, free: 73.31 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.375e-05/0.64, allocations: 6.844 kB / 0.7932 GB, free: 73.31 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.867e-05/0.6401, allocations: 350.5 kB / 0.7936 GB, free: 72.98 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006953/0.6408, allocations: 182 kB / 0.7938 GB, free: 72.95 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000738/0.6416, allocations: 318.5 kB / 0.7941 GB, free: 72.75 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007646/0.6423, allocations: 284.1 kB / 0.7943 GB, free: 72.64 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.6424, allocations: 0 / 0.7943 GB, free: 72.64 MB / 442.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001898/0.6443, allocations: 0.648 MB / 0.795 GB, free: 72.43 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.702e-05/0.6444, allocations: 67.3 kB / 0.795 GB, free: 72.37 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.6444, allocations: 11.62 kB / 0.795 GB, free: 72.36 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.541e-05/0.6444, allocations: 3.781 kB / 0.795 GB, free: 72.36 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006558/0.6451, allocations: 104.8 kB / 0.7951 GB, free: 72.34 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.34e-05/0.6451, allocations: 3.875 kB / 0.7951 GB, free: 72.34 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005605/0.6457, allocations: 69.75 kB / 0.7952 GB, free: 72.3 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.116e-05/0.6458, allocations: 18.28 kB / 0.7952 GB, free: 72.3 MB / 442.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.0003456/0.6461, allocations: 204.5 kB / 0.7954 GB, free: 72.16 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001046/0.6462, allocations: 38.62 kB / 0.7955 GB, free: 72.14 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001694/0.6479, allocations: 0.4962 MB / 0.7959 GB, free: 72.02 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.676e-06/0.648, allocations: 3.844 kB / 0.7959 GB, free: 72.02 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/0.648, allocations: 11.83 kB / 0.796 GB, free: 72.02 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.797e-06/0.648, allocations: 0 / 0.796 GB, free: 72.02 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001127/0.6491, allocations: 0.9075 MB / 0.7968 GB, free: 71.33 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.85e-06/0.6492, allocations: 0 / 0.7968 GB, free: 71.33 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005743/0.6498, allocations: 88.81 kB / 0.7969 GB, free: 71.3 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.427e-06/0.6498, allocations: 3.875 kB / 0.7969 GB, free: 71.3 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.189e-05/0.6498, allocations: 13.34 kB / 0.7969 GB, free: 71.3 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.043e-06/0.6498, allocations: 3.875 kB / 0.7969 GB, free: 71.3 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.6499, allocations: 3.938 kB / 0.797 GB, free: 71.3 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00165/0.6515, allocations: 0.547 MB / 0.7975 GB, free: 71.09 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002329/0.6518, allocations: 166.1 kB / 0.7976 GB, free: 70.96 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001059/0.6519, allocations: 15.88 kB / 0.7977 GB, free: 70.96 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004333/0.6523, allocations: 35.75 kB / 0.7977 GB, free: 70.95 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000135/0.6525, allocations: 45.45 kB / 0.7977 GB, free: 70.92 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.323e-05/0.6525, allocations: 14.62 kB / 0.7978 GB, free: 70.92 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004103/0.653, allocations: 270.4 kB / 0.798 GB, free: 70.81 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.653, allocations: 1.125 kB / 0.798 GB, free: 70.81 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0007113/0.6537, allocations: 116.7 kB / 0.7981 GB, free: 70.79 MB / 442.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.001365/0.6551, allocations: 0.4891 MB / 0.7986 GB, free: 70.59 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001742/0.6568, allocations: 0.5682 MB / 0.7992 GB, free: 70.38 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.6569, allocations: 6.156 kB / 0.7992 GB, free: 70.38 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008188/0.6577, allocations: 235.5 kB / 0.7994 GB, free: 70.33 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007004/0.6584, allocations: 64.73 kB / 0.7994 GB, free: 70.32 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001795/0.6602, allocations: 0.8582 MB / 0.8003 GB, free: 69.79 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003217/0.6606, allocations: 0.832 MB / 0.8011 GB, free: 69.03 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004649/0.6611, allocations: 89.84 kB / 0.8012 GB, free: 68.99 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002036/0.6613, allocations: 42.23 kB / 0.8012 GB, free: 68.98 MB / 442.7 MB Notification: Performance of SimCode: time 8.51e-07/0.6613, allocations: 0 / 0.8012 GB, free: 68.98 MB / 442.7 MB Notification: Performance of Templates: time 0.01358/0.6749, allocations: 4.847 MB / 0.806 GB, free: 66.64 MB / 442.7 MB