Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002104/0.002104, allocations: 181.2 kB / 15.76 MB, free: 6.344 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.144/2.144, allocations: 205.4 MB / 221.9 MB, free: 13.82 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001135/0.001135, allocations: 98.75 kB / 270.3 MB, free: 13.35 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2664/0.2664, allocations: 38.06 MB / 356.6 MB, free: 0.7852 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004943/0.0004944, allocations: 12 kB / 422.7 MB, free: 26.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1116, allocations: 56.32 MB / 479 MB, free: 2.035 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4756/0.5873, allocations: 99.78 MB / 0.5653 GB, free: 0.5312 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.002579/0.59, allocations: 0.8636 MB / 0.5661 GB, free: 68 kB / 362.7 MB [/var/lib/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);. [/var/lib/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.09385/0.6839, allocations: 20.91 MB / 0.5865 GB, free: 14.65 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.295e-06/0.6839, allocations: 0 / 0.5865 GB, free: 14.65 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.585e-05/0.684, allocations: 11.94 kB / 0.5865 GB, free: 14.64 MB / 394.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.002209/0.6862, allocations: 0.7564 MB / 0.5873 GB, free: 13.86 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.6863, allocations: 8.031 kB / 0.5873 GB, free: 13.86 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001682/0.688, allocations: 123.4 kB / 0.5874 GB, free: 13.73 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001127/0.6891, allocations: 387.9 kB / 0.5878 GB, free: 13.36 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.337e-05/0.6892, allocations: 23.67 kB / 0.5878 GB, free: 13.35 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.662e-05/0.6893, allocations: 22.62 kB / 0.5878 GB, free: 13.33 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001412/0.6907, allocations: 467.7 kB / 0.5883 GB, free: 12.95 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.6908, allocations: 0 / 0.5883 GB, free: 12.95 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.588e-05/0.6908, allocations: 23.69 kB / 0.5883 GB, free: 12.93 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.234e-05/0.6909, allocations: 20.42 kB / 0.5883 GB, free: 12.91 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001888/0.6928, allocations: 0.5488 MB / 0.5888 GB, free: 12.5 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003434/0.6963, allocations: 1.835 MB / 0.5906 GB, free: 10.85 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00196/0.6983, allocations: 446.1 kB / 0.5911 GB, free: 10.5 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.827e-05/0.6983, allocations: 12.22 kB / 0.5911 GB, free: 10.48 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008928/0.6992, allocations: 295.6 kB / 0.5914 GB, free: 10.22 MB / 394.7 MB Notification: Performance of pre-optimization done (n=30): time 2.845e-06/0.6993, allocations: 0 / 0.5914 GB, free: 10.22 MB / 394.7 MB Notification: Performance of matching and sorting (n=30): time 0.002397/0.7017, allocations: 0.5821 MB / 0.5919 GB, free: 9.754 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001553/0.7018, allocations: 239.3 kB / 0.5921 GB, free: 9.465 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006574/0.7025, allocations: 360.2 kB / 0.5925 GB, free: 9.184 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.394e-05/0.7026, allocations: 36.08 kB / 0.5925 GB, free: 9.148 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001867/0.7028, allocations: 246.1 kB / 0.5928 GB, free: 8.949 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001298/0.7029, allocations: 104.1 kB / 0.5929 GB, free: 8.859 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.714e-05/0.703, allocations: 6.812 kB / 0.5929 GB, free: 8.859 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.7031, allocations: 330 kB / 0.5932 GB, free: 8.535 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006889/0.7038, allocations: 166.3 kB / 0.5933 GB, free: 8.414 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000817/0.7047, allocations: 306.1 kB / 0.5936 GB, free: 8.109 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007651/0.7055, allocations: 231 kB / 0.5939 GB, free: 7.938 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.7055, allocations: 3.938 kB / 0.5939 GB, free: 7.934 MB / 394.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001812/0.7073, allocations: 0.5392 MB / 0.5944 GB, free: 7.5 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.442e-05/0.7074, allocations: 36.52 kB / 0.5944 GB, free: 7.461 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/0.7074, allocations: 8 kB / 0.5944 GB, free: 7.453 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.715e-05/0.7074, allocations: 11.98 kB / 0.5944 GB, free: 7.441 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007324/0.7082, allocations: 103.5 kB / 0.5945 GB, free: 7.344 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.797e-05/0.7082, allocations: 11.98 kB / 0.5945 GB, free: 7.332 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005523/0.7088, allocations: 51.55 kB / 0.5946 GB, free: 7.285 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.455e-05/0.7088, allocations: 19.23 kB / 0.5946 GB, free: 7.27 MB / 394.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.0003565/0.7092, allocations: 208.1 kB / 0.5948 GB, free: 7.09 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001075/0.7093, allocations: 35.53 kB / 0.5948 GB, free: 7.055 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001809/0.7111, allocations: 499.2 kB / 0.5953 GB, free: 6.676 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.08e-05/0.7112, allocations: 4 kB / 0.5953 GB, free: 6.672 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.198e-06/0.7112, allocations: 4 kB / 0.5953 GB, free: 6.668 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.796e-06/0.7112, allocations: 0 / 0.5953 GB, free: 6.668 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001408/0.7126, allocations: 0.9128 MB / 0.5962 GB, free: 5.824 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.895e-06/0.7126, allocations: 4 kB / 0.5962 GB, free: 5.82 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006189/0.7133, allocations: 75.89 kB / 0.5963 GB, free: 5.746 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.166e-05/0.7133, allocations: 8.125 kB / 0.5963 GB, free: 5.738 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.025e-05/0.7134, allocations: 15.42 kB / 0.5963 GB, free: 5.73 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.285e-06/0.7134, allocations: 4 kB / 0.5963 GB, free: 5.727 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.025e-05/0.7134, allocations: 11.89 kB / 0.5963 GB, free: 5.715 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001741/0.7151, allocations: 0.5942 MB / 0.5969 GB, free: 5.156 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000166/0.7153, allocations: 131.8 kB / 0.597 GB, free: 5.016 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001068/0.7154, allocations: 14.55 kB / 0.5971 GB, free: 5.008 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004351/0.7159, allocations: 31.47 kB / 0.5971 GB, free: 4.98 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001441/0.7161, allocations: 42.84 kB / 0.5971 GB, free: 4.945 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.611e-05/0.7161, allocations: 15.62 kB / 0.5971 GB, free: 4.934 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005029/0.7166, allocations: 285.5 kB / 0.5974 GB, free: 4.715 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.7167, allocations: 0 / 0.5974 GB, free: 4.715 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006704/0.7173, allocations: 113.2 kB / 0.5975 GB, free: 4.617 MB / 394.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.001403/0.7187, allocations: 494.8 kB / 0.598 GB, free: 4.199 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001711/0.7205, allocations: 473.6 kB / 0.5984 GB, free: 3.824 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.7205, allocations: 0 / 0.5984 GB, free: 3.824 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008153/0.7213, allocations: 230.9 kB / 0.5987 GB, free: 3.652 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005995/0.7219, allocations: 58.48 kB / 0.5987 GB, free: 3.613 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002047/0.724, allocations: 0.8977 MB / 0.5996 GB, free: 2.758 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005783/0.7246, allocations: 0.8261 MB / 0.6004 GB, free: 1.914 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002859/0.7249, allocations: 46.67 kB / 0.6004 GB, free: 1.871 MB / 394.7 MB Notification: Performance of SimCode: time 1.162e-06/0.7249, allocations: 0 / 0.6004 GB, free: 1.871 MB / 394.7 MB Notification: Performance of Templates: time 0.01337/0.7383, allocations: 5.61 MB / 0.6059 GB, free: 12.31 MB / 410.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)