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.002291/0.00229, allocations: 186 kB / 13.19 MB, free: 2.125 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.06/2.06, allocations: 205.2 MB / 218.9 MB, free: 9.211 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.00153/0.00153, allocations: 87.88 kB / 267.1 MB, free: 9.273 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2677/0.2677, allocations: 37.98 MB / 353.1 MB, free: 3.051 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.015e-05/3.031e-05, allocations: 4 kB / 416.8 MB, free: 41.29 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1011, allocations: 56.31 MB / 473.1 MB, free: 0.918 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.49/0.5912, allocations: 99.69 MB / 0.5594 GB, free: 4.031 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.002448/0.5937, allocations: 0.6839 MB / 0.5601 GB, free: 3.348 MB / 394.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.08915/0.6829, allocations: 20.82 MB / 0.5804 GB, free: 14.31 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.683, allocations: 0 / 0.5804 GB, free: 14.31 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.257e-05/0.683, allocations: 8 kB / 0.5804 GB, free: 14.3 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.001843/0.6849, allocations: 0.6936 MB / 0.5811 GB, free: 13.56 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/0.685, allocations: 12.02 kB / 0.5811 GB, free: 13.55 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001625/0.6866, allocations: 111.4 kB / 0.5812 GB, free: 13.44 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0011/0.6877, allocations: 402.5 kB / 0.5816 GB, free: 13 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.978e-05/0.6878, allocations: 20.5 kB / 0.5816 GB, free: 12.98 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.416e-05/0.6879, allocations: 20 kB / 0.5816 GB, free: 12.96 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001077/0.689, allocations: 429.3 kB / 0.582 GB, free: 12.51 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.589e-05/0.689, allocations: 0 / 0.582 GB, free: 12.51 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.321e-05/0.6891, allocations: 15.94 kB / 0.582 GB, free: 12.5 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-05/0.6892, allocations: 20.42 kB / 0.5821 GB, free: 12.48 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001282/0.6905, allocations: 477.3 kB / 0.5825 GB, free: 12.01 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003678/0.6942, allocations: 1.838 MB / 0.5843 GB, free: 10.05 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00131/0.6956, allocations: 361.8 kB / 0.5847 GB, free: 9.68 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003538/0.696, allocations: 130.1 kB / 0.5848 GB, free: 9.547 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.207e-05/0.696, allocations: 240 / 0.5848 GB, free: 9.547 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005883/0.6966, allocations: 255 kB / 0.585 GB, free: 9.266 MB / 426.7 MB Notification: Performance of pre-optimization done (n=30): time 4.759e-06/0.6966, allocations: 3.938 kB / 0.585 GB, free: 9.262 MB / 426.7 MB Notification: Performance of matching and sorting (n=30): time 0.001142/0.6978, allocations: 350.2 kB / 0.5854 GB, free: 8.914 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001512/0.698, allocations: 247.5 kB / 0.5856 GB, free: 8.617 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006843/0.6987, allocations: 343.5 kB / 0.5859 GB, free: 8.273 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.535e-05/0.6988, allocations: 37.7 kB / 0.586 GB, free: 8.23 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002068/0.699, allocations: 254.5 kB / 0.5862 GB, free: 7.98 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00014/0.6991, allocations: 102.6 kB / 0.5863 GB, free: 7.879 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.372e-05/0.6992, allocations: 4 kB / 0.5863 GB, free: 7.875 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.6993, allocations: 330.8 kB / 0.5866 GB, free: 7.543 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000366/0.6997, allocations: 116.4 kB / 0.5867 GB, free: 7.426 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004835/0.7002, allocations: 261.6 kB / 0.587 GB, free: 7.109 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004611/0.7007, allocations: 185.5 kB / 0.5872 GB, free: 6.922 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.127e-06/0.7007, allocations: 4 kB / 0.5872 GB, free: 6.918 MB / 426.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001238/0.7019, allocations: 466.6 kB / 0.5876 GB, free: 6.449 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.75e-05/0.702, allocations: 37.69 kB / 0.5876 GB, free: 6.406 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.824e-05/0.7021, allocations: 4 kB / 0.5876 GB, free: 6.402 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.893e-05/0.7021, allocations: 12 kB / 0.5877 GB, free: 6.391 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007306/0.7028, allocations: 100.4 kB / 0.5878 GB, free: 6.293 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.812e-05/0.7029, allocations: 11.94 kB / 0.5878 GB, free: 6.281 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005929/0.7035, allocations: 55.59 kB / 0.5878 GB, free: 6.227 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.017e-05/0.7036, allocations: 23.95 kB / 0.5878 GB, free: 6.203 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 () * 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.0001948/0.7038, allocations: 128.9 kB / 0.588 GB, free: 6.07 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001182/0.7039, allocations: 43.52 kB / 0.588 GB, free: 6.027 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001246/0.7052, allocations: 408.3 kB / 0.5884 GB, free: 5.617 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.928e-05/0.7052, allocations: 8 kB / 0.5884 GB, free: 5.609 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.7052, allocations: 0 / 0.5884 GB, free: 5.609 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.371e-05/0.7052, allocations: 7.984 kB / 0.5884 GB, free: 5.602 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001499/0.7068, allocations: 0.9092 MB / 0.5893 GB, free: 4.621 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.7068, allocations: 0 / 0.5893 GB, free: 4.621 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006405/0.7074, allocations: 83.89 kB / 0.5894 GB, free: 4.539 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.475e-05/0.7075, allocations: 4 kB / 0.5894 GB, free: 4.535 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.867e-05/0.7075, allocations: 16.11 kB / 0.5894 GB, free: 4.52 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.03e-05/0.7076, allocations: 11.89 kB / 0.5894 GB, free: 4.508 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.646e-06/0.7076, allocations: 0 / 0.5894 GB, free: 4.508 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001168/0.7088, allocations: 0.5217 MB / 0.5899 GB, free: 3.914 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001901/0.709, allocations: 124.6 kB / 0.59 GB, free: 3.773 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001454/0.7091, allocations: 19.94 kB / 0.5901 GB, free: 3.754 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004504/0.7096, allocations: 35.97 kB / 0.5901 GB, free: 3.719 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001561/0.7098, allocations: 39.91 kB / 0.5901 GB, free: 3.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.355e-05/0.7098, allocations: 23.97 kB / 0.5901 GB, free: 3.656 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005099/0.7104, allocations: 270.1 kB / 0.5904 GB, free: 3.395 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.7104, allocations: 0 / 0.5904 GB, free: 3.395 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006746/0.7111, allocations: 107.8 kB / 0.5905 GB, free: 3.289 MB / 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) * 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.001294/0.7124, allocations: 437.4 kB / 0.5909 GB, free: 2.891 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001099/0.7135, allocations: 387.7 kB / 0.5913 GB, free: 2.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.7135, allocations: 0 / 0.5913 GB, free: 2.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004919/0.714, allocations: 175.8 kB / 0.5915 GB, free: 2.328 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006407/0.7147, allocations: 61.12 kB / 0.5915 GB, free: 2.27 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001614/0.7163, allocations: 0.5982 MB / 0.5921 GB, free: 1.625 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005178/0.7168, allocations: 0.8237 MB / 0.5929 GB, free: 0.7773 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002909/0.7172, allocations: 43.42 kB / 0.593 GB, free: 0.7383 MB / 426.7 MB Notification: Performance of SimCode: time 1.383e-06/0.7172, allocations: 0 / 0.593 GB, free: 0.7383 MB / 426.7 MB Notification: Performance of Templates: time 0.01371/0.7309, allocations: 5.601 MB / 0.5984 GB, free: 11.12 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)