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.001485/0.001485, allocations: 184.7 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.078/2.078, allocations: 205.2 MB / 218.9 MB, free: 9.215 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.001108/0.001107, allocations: 95.86 kB / 267.1 MB, free: 9.277 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.2722/0.2722, allocations: 37.98 MB / 353.1 MB, free: 3.051 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.37e-05/3.388e-05, allocations: 4 kB / 416.8 MB, free: 41.3 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1024, allocations: 56.31 MB / 473.1 MB, free: 0.9258 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4908/0.5933, allocations: 96.33 MB / 0.5561 GB, free: 7.41 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.002427/0.5958, allocations: 0.6869 MB / 0.5568 GB, free: 6.723 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07151/0.6673, allocations: 16.78 MB / 0.5732 GB, free: 5.793 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.6674, allocations: 0 / 0.5732 GB, free: 5.793 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.241e-05/0.6674, allocations: 12 kB / 0.5732 GB, free: 5.781 MB / 410.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.001781/0.6692, allocations: 0.6739 MB / 0.5738 GB, free: 5.059 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/0.6693, allocations: 8.031 kB / 0.5738 GB, free: 5.051 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001472/0.6708, allocations: 127.4 kB / 0.574 GB, free: 4.926 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00101/0.6718, allocations: 390.4 kB / 0.5743 GB, free: 4.508 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.061e-05/0.6719, allocations: 16.44 kB / 0.5743 GB, free: 4.492 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.74e-05/0.6719, allocations: 20 kB / 0.5744 GB, free: 4.473 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001071/0.673, allocations: 418.8 kB / 0.5748 GB, free: 4.027 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/0.6731, allocations: 0 / 0.5748 GB, free: 4.027 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.116e-05/0.6731, allocations: 12 kB / 0.5748 GB, free: 4.016 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-05/0.6732, allocations: 24.38 kB / 0.5748 GB, free: 3.992 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001281/0.6745, allocations: 489.3 kB / 0.5753 GB, free: 3.516 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003714/0.6782, allocations: 1.741 MB / 0.577 GB, free: 1.672 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001243/0.6795, allocations: 349.8 kB / 0.5773 GB, free: 1.312 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003526/0.6799, allocations: 122.2 kB / 0.5774 GB, free: 1.188 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.012e-05/0.68, allocations: 4.234 kB / 0.5774 GB, free: 1.184 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005982/0.6806, allocations: 271.2 kB / 0.5777 GB, free: 0.8789 MB / 410.7 MB Notification: Performance of pre-optimization done (n=31): time 3.466e-06/0.6806, allocations: 0 / 0.5777 GB, free: 0.8789 MB / 410.7 MB Notification: Performance of matching and sorting (n=31): time 0.001128/0.6817, allocations: 366.4 kB / 0.578 GB, free: 0.5156 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001595/0.6819, allocations: 291 kB / 0.5783 GB, free: 168 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006692/0.6826, allocations: 334.7 kB / 0.5786 GB, free: 15.83 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.018e-05/0.6827, allocations: 41.69 kB / 0.5787 GB, free: 15.79 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002103/0.6829, allocations: 238.5 kB / 0.5789 GB, free: 15.55 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000152/0.6831, allocations: 106.6 kB / 0.579 GB, free: 15.45 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.212e-05/0.6832, allocations: 4 kB / 0.579 GB, free: 15.44 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.6833, allocations: 326.8 kB / 0.5793 GB, free: 15.11 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003713/0.6837, allocations: 120 kB / 0.5794 GB, free: 15 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004736/0.6842, allocations: 261 kB / 0.5797 GB, free: 14.68 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004537/0.6846, allocations: 181.5 kB / 0.5798 GB, free: 14.5 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.6847, allocations: 0 / 0.5798 GB, free: 14.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.00122/0.6859, allocations: 470.6 kB / 0.5803 GB, free: 14.02 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.828e-05/0.686, allocations: 33.7 kB / 0.5803 GB, free: 13.98 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.384e-05/0.686, allocations: 4 kB / 0.5803 GB, free: 13.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.914e-05/0.686, allocations: 8 kB / 0.5803 GB, free: 13.97 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007292/0.6868, allocations: 96.44 kB / 0.5804 GB, free: 13.88 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.559e-05/0.6868, allocations: 11.94 kB / 0.5804 GB, free: 13.87 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005765/0.6874, allocations: 55.66 kB / 0.5805 GB, free: 13.81 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.422e-05/0.6875, allocations: 16 kB / 0.5805 GB, free: 13.8 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 (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.0001922/0.6877, allocations: 140.8 kB / 0.5806 GB, free: 13.65 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001216/0.6878, allocations: 39.62 kB / 0.5807 GB, free: 13.61 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001183/0.689, allocations: 408.3 kB / 0.5811 GB, free: 13.21 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-05/0.6891, allocations: 4 kB / 0.5811 GB, free: 13.2 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.137e-05/0.6891, allocations: 4 kB / 0.5811 GB, free: 13.2 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.432e-05/0.6891, allocations: 3.984 kB / 0.5811 GB, free: 13.2 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001557/0.6907, allocations: 1.089 MB / 0.5821 GB, free: 12.03 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.846e-06/0.6907, allocations: 4 kB / 0.5821 GB, free: 12.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006406/0.6914, allocations: 84.02 kB / 0.5822 GB, free: 11.94 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-05/0.6914, allocations: 8 kB / 0.5822 GB, free: 11.93 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.351e-05/0.6914, allocations: 12 kB / 0.5822 GB, free: 11.92 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.618e-06/0.6915, allocations: 11.92 kB / 0.5823 GB, free: 11.91 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/0.6915, allocations: 0 / 0.5823 GB, free: 11.91 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00119/0.6927, allocations: 0.5663 MB / 0.5828 GB, free: 11.25 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000177/0.6929, allocations: 128.5 kB / 0.5829 GB, free: 11.11 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001086/0.693, allocations: 19.95 kB / 0.583 GB, free: 11.09 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004565/0.6935, allocations: 31.97 kB / 0.583 GB, free: 11.05 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001836/0.6937, allocations: 39.95 kB / 0.583 GB, free: 11.02 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.479e-05/0.6938, allocations: 19.98 kB / 0.583 GB, free: 11 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006258/0.6944, allocations: 262.2 kB / 0.5833 GB, free: 10.74 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.509e-06/0.6945, allocations: 0 / 0.5833 GB, free: 10.74 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007419/0.6952, allocations: 111.8 kB / 0.5834 GB, free: 10.63 MB / 426.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) * 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.001302/0.6965, allocations: 434 kB / 0.5838 GB, free: 10.24 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001058/0.6976, allocations: 388.3 kB / 0.5842 GB, free: 9.848 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/0.6976, allocations: 0 / 0.5842 GB, free: 9.848 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005304/0.6982, allocations: 196 kB / 0.5844 GB, free: 9.656 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006959/0.6989, allocations: 65.08 kB / 0.5844 GB, free: 9.594 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001687/0.7006, allocations: 0.5937 MB / 0.585 GB, free: 8.949 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005199/0.7012, allocations: 0.8281 MB / 0.5858 GB, free: 8.098 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002896/0.7015, allocations: 43.42 kB / 0.5859 GB, free: 8.055 MB / 426.7 MB Notification: Performance of SimCode: time 1.113e-06/0.7015, allocations: 0 / 0.5859 GB, free: 8.055 MB / 426.7 MB Notification: Performance of Templates: time 0.01416/0.7156, allocations: 5.484 MB / 0.5912 GB, free: 2.559 MB / 426.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)