Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest") translateModel(PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001466/0.001466, allocations: 106.3 kB / 17.74 MB, free: 5.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001824/0.001824, allocations: 185.4 kB / 18.68 MB, free: 4.426 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.345/1.345, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1761/0.1761, allocations: 38.02 MB / 330.6 MB, free: 8.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002591/0.002591, allocations: 55.91 kB / 458.8 MB, free: 6.836 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3344/0.337, allocations: 58.07 MB / 0.5048 GB, free: 7.816 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest): time 0.004064/0.3411, allocations: 3.683 MB / 0.5084 GB, free: 5.254 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002279/0.3434, allocations: 2.031 MB / 0.5103 GB, free: 3.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001499/0.3436, allocations: 10.28 kB / 0.5104 GB, free: 3.836 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007362/0.3443, allocations: 243.3 kB / 0.5106 GB, free: 3.688 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005463/0.3449, allocations: 282.4 kB / 0.5109 GB, free: 3.531 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006119/0.3455, allocations: 284.9 kB / 0.5111 GB, free: 3.379 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004762/0.346, allocations: 0.5313 MB / 0.5116 GB, free: 3.125 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003201/0.3463, allocations: 226 kB / 0.5119 GB, free: 3.031 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003694/0.3467, allocations: 229.8 kB / 0.5121 GB, free: 2.922 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002535/0.347, allocations: 214.9 kB / 0.5123 GB, free: 2.824 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.735e-05/0.347, allocations: 37.19 kB / 0.5123 GB, free: 2.824 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000592/0.3476, allocations: 405.3 kB / 0.5127 GB, free: 2.672 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001227/0.3478, allocations: 128.8 kB / 0.5128 GB, free: 2.609 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001677/0.3479, allocations: 183.1 kB / 0.513 GB, free: 2.488 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007379/0.3487, allocations: 0.6389 MB / 0.5136 GB, free: 2.238 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3487, allocations: 0 / 0.5136 GB, free: 2.238 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3487, allocations: 0 / 0.5136 GB, free: 2.238 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.3487, allocations: 1.531 kB / 0.5136 GB, free: 2.238 MB / 382.1 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.001032/0.3497, allocations: 0.7578 MB / 0.5144 GB, free: 1.617 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.3498, allocations: 12.83 kB / 0.5144 GB, free: 1.613 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008413/0.3506, allocations: 107.6 kB / 0.5145 GB, free: 1.586 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004954/0.3511, allocations: 427.4 kB / 0.5149 GB, free: 1.262 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.002e-05/0.3512, allocations: 23.25 kB / 0.5149 GB, free: 1.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.294e-05/0.3512, allocations: 23.8 kB / 0.5149 GB, free: 1.242 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008426/0.3521, allocations: 443.5 kB / 0.5154 GB, free: 1.035 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.3521, allocations: 0 / 0.5154 GB, free: 1.035 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.93e-05/0.3522, allocations: 15.94 kB / 0.5154 GB, free: 1.023 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.22e-05/0.3522, allocations: 17.95 kB / 0.5154 GB, free: 1.023 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001161/0.3534, allocations: 0.499 MB / 0.5159 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002409/0.3558, allocations: 1.668 MB / 0.5175 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009914/0.3568, allocations: 371.4 kB / 0.5179 GB, free: 15.53 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003857/0.3572, allocations: 138.9 kB / 0.518 GB, free: 15.47 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.235e-05/0.3572, allocations: 8.328 kB / 0.518 GB, free: 15.47 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005936/0.3578, allocations: 286.7 kB / 0.5183 GB, free: 15.29 MB / 398.1 MB Notification: Performance of pre-optimization done (n=31): time 4.899e-06/0.3579, allocations: 0.5 kB / 0.5183 GB, free: 15.29 MB / 398.1 MB Notification: Performance of matching and sorting (n=31): time 0.001449/0.3593, allocations: 0.5304 MB / 0.5188 GB, free: 15.1 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001628/0.3595, allocations: 301.8 kB / 0.5191 GB, free: 14.74 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000411/0.3599, allocations: 329.9 kB / 0.5194 GB, free: 14.57 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.22e-05/0.36, allocations: 38.28 kB / 0.5194 GB, free: 14.54 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000139/0.3601, allocations: 199.6 kB / 0.5196 GB, free: 14.37 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.444e-05/0.3602, allocations: 108.4 kB / 0.5197 GB, free: 14.29 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000115/0.3603, allocations: 68.25 kB / 0.5198 GB, free: 14.25 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.3605, allocations: 347.9 kB / 0.5201 GB, free: 13.92 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003632/0.3608, allocations: 143 kB / 0.5203 GB, free: 13.87 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004345/0.3613, allocations: 283.3 kB / 0.5205 GB, free: 13.65 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008006/0.3621, allocations: 453.9 kB / 0.521 GB, free: 13.34 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.3621, allocations: 2.156 kB / 0.521 GB, free: 13.34 MB / 398.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001056/0.3632, allocations: 0.5135 MB / 0.5215 GB, free: 13.11 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.762e-05/0.3632, allocations: 34.12 kB / 0.5215 GB, free: 13.08 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.3632, allocations: 4.062 kB / 0.5215 GB, free: 13.08 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.3633, allocations: 7.656 kB / 0.5215 GB, free: 13.08 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000339/0.3636, allocations: 98.45 kB / 0.5216 GB, free: 13.06 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/0.3636, allocations: 6.703 kB / 0.5216 GB, free: 13.06 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003003/0.3639, allocations: 46.44 kB / 0.5217 GB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.653e-05/0.364, allocations: 20.44 kB / 0.5217 GB, free: 13.04 MB / 398.1 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 ($PRE.windFarm.wind.nextTimeEvent,$whenCondition2,windFarm.disturbance.count,$PRE.windFarm.disturbance.count,windFarm.disturbance.T_start,$PRE.windFarm.disturbance.T_start,windFarm.wind.nextTimeEventScaled,$PRE.windFarm.wind.nextTimeEventScaled,windFarm.wind.nextTimeEvent,$whenCondition1,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002201/0.3642, allocations: 201.2 kB / 0.5219 GB, free: 12.87 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.576e-05/0.3643, allocations: 42.44 kB / 0.5219 GB, free: 12.85 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001135/0.3644, allocations: 56.28 kB / 0.522 GB, free: 12.81 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/0.3644, allocations: 4 kB / 0.522 GB, free: 12.81 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.3644, allocations: 6.984 kB / 0.522 GB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.672e-05/0.3645, allocations: 112.4 kB / 0.5221 GB, free: 12.69 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.458e-05/0.3646, allocations: 16.06 kB / 0.5221 GB, free: 12.68 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002225/0.3648, allocations: 25.11 kB / 0.5221 GB, free: 12.68 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/0.3649, allocations: 37.98 kB / 0.5222 GB, free: 12.66 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001249/0.3662, allocations: 1.093 MB / 0.5232 GB, free: 11.84 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001082/0.3673, allocations: 1.162 MB / 0.5244 GB, free: 10.91 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004251/0.3677, allocations: 191.7 kB / 0.5245 GB, free: 10.84 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002631/0.368, allocations: 238 kB / 0.5248 GB, free: 10.71 MB / 398.1 MB Notification: Performance of Backend: time 6.31e-07/0.368, allocations: 0 / 0.5248 GB, free: 10.71 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002924/0.3709, allocations: 0.9186 MB / 0.5257 GB, free: 10.34 MB / 398.1 MB Notification: Performance of SimCode: time 0.00124/0.3722, allocations: 1.066 MB / 0.5267 GB, free: 9.523 MB / 398.1 MB Notification: Performance of Templates: time 0.01135/0.3835, allocations: 6.678 MB / 0.5332 GB, free: 7.133 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest.makefile (rm -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest.sim & ./PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest.pipe 2>&1)