Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest.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.WindFarmGridTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest") translateModel(PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001641/0.001644, allocations: 179.5 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 1.997/1.997, 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.001143/0.001143, allocations: 98.73 kB / 270.2 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.2618/0.2618, allocations: 38.06 MB / 356.6 MB, free: 0.7812 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004722/0.0004723, allocations: 12 kB / 422.7 MB, free: 26.42 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1058, allocations: 56.32 MB / 479 MB, free: 2.035 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4827/0.5885, allocations: 96.42 MB / 0.562 GB, free: 3.621 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.002204/0.5908, allocations: 0.8601 MB / 0.5628 GB, free: 3.156 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06594/0.6568, allocations: 16.85 MB / 0.5793 GB, free: 5.027 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.6568, allocations: 0 / 0.5793 GB, free: 5.027 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.257e-05/0.6569, allocations: 12 kB / 0.5793 GB, free: 5.016 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.00188/0.6588, allocations: 0.7324 MB / 0.58 GB, free: 4.258 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.6588, allocations: 8.031 kB / 0.58 GB, free: 4.25 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001422/0.6603, allocations: 123.3 kB / 0.5801 GB, free: 4.129 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008977/0.6612, allocations: 386.4 kB / 0.5805 GB, free: 3.766 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.194e-05/0.6612, allocations: 23.92 kB / 0.5805 GB, free: 3.746 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.005e-05/0.6613, allocations: 22.88 kB / 0.5805 GB, free: 3.73 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001367/0.6627, allocations: 466 kB / 0.581 GB, free: 3.359 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.616e-05/0.6627, allocations: 0 / 0.581 GB, free: 3.359 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.477e-05/0.6628, allocations: 2.562 kB / 0.581 GB, free: 3.359 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.309e-05/0.6629, allocations: 27.62 kB / 0.581 GB, free: 3.336 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00188/0.6648, allocations: 0.5609 MB / 0.5816 GB, free: 2.906 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003517/0.6683, allocations: 1.745 MB / 0.5833 GB, free: 1.406 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001924/0.6703, allocations: 439.3 kB / 0.5837 GB, free: 1.062 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.35e-05/0.6703, allocations: 8.219 kB / 0.5837 GB, free: 1.055 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009344/0.6713, allocations: 310.1 kB / 0.584 GB, free: 0.7695 MB / 378.7 MB Notification: Performance of pre-optimization done (n=31): time 3.416e-06/0.6713, allocations: 0 / 0.584 GB, free: 0.7695 MB / 378.7 MB Notification: Performance of matching and sorting (n=31): time 0.002423/0.6737, allocations: 0.5883 MB / 0.5846 GB, free: 308 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001917/0.674, allocations: 306.2 kB / 0.5848 GB, free: 15.94 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006576/0.6746, allocations: 327.1 kB / 0.5852 GB, free: 15.68 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.48e-05/0.6747, allocations: 39.38 kB / 0.5852 GB, free: 15.64 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001754/0.6749, allocations: 242.4 kB / 0.5854 GB, free: 15.44 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001378/0.6751, allocations: 105.3 kB / 0.5855 GB, free: 15.35 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.939e-05/0.6751, allocations: 10.56 kB / 0.5855 GB, free: 15.35 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.6753, allocations: 322.7 kB / 0.5858 GB, free: 15.03 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006921/0.676, allocations: 163.4 kB / 0.586 GB, free: 14.91 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007995/0.6768, allocations: 308 kB / 0.5863 GB, free: 14.61 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007697/0.6776, allocations: 229.1 kB / 0.5865 GB, free: 14.44 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.6776, allocations: 0 / 0.5865 GB, free: 14.44 MB / 394.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001843/0.6794, allocations: 0.5383 MB / 0.587 GB, free: 14 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.036e-05/0.6795, allocations: 36.52 kB / 0.5871 GB, free: 13.96 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/0.6795, allocations: 4 kB / 0.5871 GB, free: 13.96 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.334e-05/0.6796, allocations: 4 kB / 0.5871 GB, free: 13.96 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006687/0.6802, allocations: 99.19 kB / 0.5872 GB, free: 13.86 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.514e-05/0.6803, allocations: 4 kB / 0.5872 GB, free: 13.86 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005665/0.6809, allocations: 62.91 kB / 0.5872 GB, free: 13.8 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.173e-05/0.6809, allocations: 19.31 kB / 0.5873 GB, free: 13.79 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 (43): * Single equations (assignments): 42 * 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.0003702/0.6813, allocations: 200.4 kB / 0.5875 GB, free: 13.61 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001122/0.6814, allocations: 38.88 kB / 0.5875 GB, free: 13.58 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001817/0.6833, allocations: 492.4 kB / 0.588 GB, free: 13.2 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.068e-05/0.6833, allocations: 4 kB / 0.588 GB, free: 13.2 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.139e-05/0.6833, allocations: 8 kB / 0.588 GB, free: 13.19 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.054e-05/0.6833, allocations: 3.984 kB / 0.588 GB, free: 13.19 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001461/0.6848, allocations: 1.097 MB / 0.589 GB, free: 12.16 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/0.6848, allocations: 4 kB / 0.589 GB, free: 12.15 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005953/0.6854, allocations: 79.58 kB / 0.5891 GB, free: 12.08 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.264e-05/0.6855, allocations: 4 kB / 0.5891 GB, free: 12.07 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.365e-05/0.6855, allocations: 15.61 kB / 0.5891 GB, free: 12.06 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.898e-06/0.6855, allocations: 7.938 kB / 0.5892 GB, free: 12.05 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.6856, allocations: 4.188 kB / 0.5892 GB, free: 12.05 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001846/0.6874, allocations: 0.6499 MB / 0.5898 GB, free: 11.42 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001651/0.6876, allocations: 127.9 kB / 0.5899 GB, free: 11.29 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001088/0.6877, allocations: 19.14 kB / 0.5899 GB, free: 11.27 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004287/0.6882, allocations: 35.53 kB / 0.59 GB, free: 11.24 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001483/0.6883, allocations: 42.88 kB / 0.59 GB, free: 11.21 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.504e-05/0.6884, allocations: 19.75 kB / 0.59 GB, free: 11.19 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004477/0.6888, allocations: 260 kB / 0.5903 GB, free: 11 MB / 394.7 MB Notification: Performance of sort global known variables: time 4e-07/0.6889, allocations: 0 / 0.5903 GB, free: 11 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006649/0.6895, allocations: 110.3 kB / 0.5904 GB, free: 10.9 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (40): * Single equations (assignments): 35 * 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.001439/0.691, allocations: 490.6 kB / 0.5908 GB, free: 10.49 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001752/0.6928, allocations: 473.4 kB / 0.5913 GB, free: 10.11 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.6928, allocations: 0 / 0.5913 GB, free: 10.11 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008625/0.6937, allocations: 241.8 kB / 0.5915 GB, free: 9.938 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006636/0.6943, allocations: 62.33 kB / 0.5916 GB, free: 9.887 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002048/0.6964, allocations: 0.8955 MB / 0.5925 GB, free: 9.035 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004909/0.6969, allocations: 0.8285 MB / 0.5933 GB, free: 8.195 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002643/0.6972, allocations: 42.67 kB / 0.5933 GB, free: 8.156 MB / 394.7 MB Notification: Performance of SimCode: time 1.012e-06/0.6972, allocations: 4 kB / 0.5933 GB, free: 8.152 MB / 394.7 MB Notification: Performance of Templates: time 0.01327/0.7105, allocations: 5.483 MB / 0.5987 GB, free: 2.715 MB / 394.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest.sim & ./PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest.pipe 2>&1)