Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest") translateModel(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001311/0.001311, allocations: 173.5 kB / 16.76 MB, free: 5.051 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.287/1.287, allocations: 205.4 MB / 222.9 MB, free: 9.012 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007344/0.0007344, allocations: 92.91 kB / 271.3 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1668/0.1668, allocations: 38.07 MB / 357.6 MB, free: 1.738 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003613/0.0003615, allocations: 12 kB / 423.9 MB, free: 38.04 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2383/0.2387, allocations: 56.31 MB / 480.3 MB, free: 9.215 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1234/0.3621, allocations: 99.84 MB / 0.5665 GB, free: 2.523 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.001705/0.3639, allocations: 0.8701 MB / 0.5674 GB, free: 1.656 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/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.1-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.05076/0.4146, allocations: 20.95 MB / 0.5878 GB, free: 12.47 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.4147, allocations: 0 / 0.5878 GB, free: 12.47 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.692e-05/0.4147, allocations: 8 kB / 0.5878 GB, free: 12.46 MB / 426.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.001321/0.4161, allocations: 0.7524 MB / 0.5886 GB, free: 11.65 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.4161, allocations: 16.02 kB / 0.5886 GB, free: 11.64 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001031/0.4171, allocations: 116.4 kB / 0.5887 GB, free: 11.52 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006062/0.4178, allocations: 411.6 kB / 0.5891 GB, free: 11.08 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.647e-05/0.4178, allocations: 12.94 kB / 0.5891 GB, free: 11.07 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.027e-05/0.4179, allocations: 24.38 kB / 0.5891 GB, free: 11.04 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000889/0.4188, allocations: 477.8 kB / 0.5896 GB, free: 10.54 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.4188, allocations: 192 / 0.5896 GB, free: 10.54 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.351e-05/0.4189, allocations: 23.91 kB / 0.5896 GB, free: 10.52 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.173e-05/0.4189, allocations: 20.42 kB / 0.5896 GB, free: 10.5 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001074/0.42, allocations: 0.5441 MB / 0.5901 GB, free: 9.957 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002284/0.4223, allocations: 1.834 MB / 0.5919 GB, free: 8.008 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001104/0.4234, allocations: 449.7 kB / 0.5924 GB, free: 7.551 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003649/0.4238, allocations: 158.1 kB / 0.5925 GB, free: 7.391 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.045e-05/0.4238, allocations: 4.234 kB / 0.5925 GB, free: 7.387 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005539/0.4244, allocations: 306.9 kB / 0.5928 GB, free: 7.055 MB / 426.7 MB Notification: Performance of pre-optimization done (n=30): time 3.096e-06/0.4244, allocations: 0 / 0.5928 GB, free: 7.055 MB / 426.7 MB Notification: Performance of matching and sorting (n=30): time 0.001412/0.4258, allocations: 0.5835 MB / 0.5934 GB, free: 6.465 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001273/0.426, allocations: 247.2 kB / 0.5936 GB, free: 6.168 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004657/0.4264, allocations: 393.6 kB / 0.594 GB, free: 5.773 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.538e-05/0.4265, allocations: 33.7 kB / 0.594 GB, free: 5.734 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001424/0.4266, allocations: 204.3 kB / 0.5942 GB, free: 5.531 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.033e-05/0.4267, allocations: 98.66 kB / 0.5943 GB, free: 5.434 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.067e-05/0.4267, allocations: 8 kB / 0.5943 GB, free: 5.426 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.4269, allocations: 350.8 kB / 0.5947 GB, free: 5.074 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003887/0.4273, allocations: 164.3 kB / 0.5948 GB, free: 4.91 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004522/0.4277, allocations: 305.5 kB / 0.5951 GB, free: 4.551 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008383/0.4286, allocations: 0.4937 MB / 0.5956 GB, free: 3.992 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.4286, allocations: 0 / 0.5956 GB, free: 3.992 MB / 426.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001074/0.4297, allocations: 0.5688 MB / 0.5961 GB, free: 3.41 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.114e-05/0.4297, allocations: 43.83 kB / 0.5962 GB, free: 3.363 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.4298, allocations: 8.375 kB / 0.5962 GB, free: 3.355 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.027e-05/0.4298, allocations: 11.94 kB / 0.5962 GB, free: 3.344 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003538/0.4301, allocations: 107.8 kB / 0.5963 GB, free: 3.238 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.598e-05/0.4302, allocations: 4 kB / 0.5963 GB, free: 3.234 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003018/0.4305, allocations: 55.66 kB / 0.5964 GB, free: 3.18 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.249e-05/0.4305, allocations: 24 kB / 0.5964 GB, free: 3.156 MB / 426.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 (44): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 1 * 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.0002293/0.4308, allocations: 193.6 kB / 0.5966 GB, free: 2.957 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.353e-05/0.4308, allocations: 39.53 kB / 0.5966 GB, free: 2.918 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001009/0.4318, allocations: 488.5 kB / 0.5971 GB, free: 2.438 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.778e-06/0.4319, allocations: 11.94 kB / 0.5971 GB, free: 2.426 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.4319, allocations: 4 kB / 0.5971 GB, free: 2.422 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.4319, allocations: 7.984 kB / 0.5971 GB, free: 2.414 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009503/0.4328, allocations: 0.9092 MB / 0.598 GB, free: 1.434 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.4329, allocations: 0 / 0.598 GB, free: 1.434 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003215/0.4332, allocations: 92 kB / 0.5981 GB, free: 1.344 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.4332, allocations: 0 / 0.5981 GB, free: 1.344 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.864e-05/0.4332, allocations: 12 kB / 0.5981 GB, free: 1.332 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/0.4332, allocations: 4 kB / 0.5981 GB, free: 1.328 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.4333, allocations: 3.938 kB / 0.5981 GB, free: 1.324 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009723/0.4342, allocations: 0.5362 MB / 0.5986 GB, free: 0.75 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000113/0.4344, allocations: 128.6 kB / 0.5987 GB, free: 0.6055 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.143e-05/0.4344, allocations: 12 kB / 0.5987 GB, free: 0.5938 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002298/0.4347, allocations: 35.97 kB / 0.5988 GB, free: 0.5586 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/0.4348, allocations: 43.88 kB / 0.5988 GB, free: 0.5156 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.723e-05/0.4348, allocations: 12 kB / 0.5988 GB, free: 0.5039 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003323/0.4351, allocations: 283.1 kB / 0.5991 GB, free: 232 kB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4352, allocations: 0 / 0.5991 GB, free: 232 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.000522/0.4357, allocations: 115.7 kB / 0.5992 GB, free: 116 kB / 426.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.001027/0.4367, allocations: 479.4 kB / 0.5997 GB, free: 15.71 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001012/0.4377, allocations: 479.9 kB / 0.6001 GB, free: 15.23 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.4378, allocations: 3.938 kB / 0.6001 GB, free: 15.22 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004645/0.4382, allocations: 224.3 kB / 0.6003 GB, free: 15 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005073/0.4387, allocations: 69.44 kB / 0.6004 GB, free: 14.94 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001327/0.4401, allocations: 0.9047 MB / 0.6013 GB, free: 13.98 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004416/0.4405, allocations: 0.8239 MB / 0.6021 GB, free: 13.12 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001532/0.4407, allocations: 43.42 kB / 0.6021 GB, free: 13.09 MB / 442.7 MB Notification: Performance of SimCode: time 8.71e-07/0.4407, allocations: 0 / 0.6021 GB, free: 13.09 MB / 442.7 MB Notification: Performance of Templates: time 0.008194/0.4489, allocations: 5.644 MB / 0.6077 GB, free: 7.438 MB / 442.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.sim & ./PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe 2>&1)