Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.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.WindFarmHVDCTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest") translateModel(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00151/0.00151, allocations: 110.1 kB / 17.06 MB, free: 6.016 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.001747/0.001747, allocations: 191 kB / 18 MB, free: 5.102 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.519/1.519, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1777/0.1777, allocations: 38.03 MB / 329.9 MB, free: 8.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002206/0.002206, allocations: 67.89 kB / 458.1 MB, free: 6.855 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4842/0.4864, allocations: 58.06 MB / 0.5041 GB, free: 7.793 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest): time 0.005998/0.4925, allocations: 4.245 MB / 0.5082 GB, free: 4.836 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003377/0.4959, allocations: 2.499 MB / 0.5107 GB, free: 3.09 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002473/0.4961, allocations: 18.88 kB / 0.5107 GB, free: 3.078 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001094/0.4972, allocations: 342.5 kB / 0.511 GB, free: 2.871 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000813/0.4981, allocations: 336.1 kB / 0.5113 GB, free: 2.688 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001037/0.4991, allocations: 383.8 kB / 0.5117 GB, free: 2.488 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007595/0.4999, allocations: 0.6229 MB / 0.5123 GB, free: 2.199 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004126/0.5003, allocations: 230.8 kB / 0.5125 GB, free: 2.102 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004939/0.5008, allocations: 269 kB / 0.5128 GB, free: 1.969 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003664/0.5012, allocations: 243.7 kB / 0.513 GB, free: 1.859 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.807e-05/0.5013, allocations: 39.16 kB / 0.5131 GB, free: 1.859 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001037/0.5023, allocations: 0.5428 MB / 0.5136 GB, free: 1.641 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001755/0.5025, allocations: 132.1 kB / 0.5137 GB, free: 1.578 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001991/0.5027, allocations: 195 kB / 0.5139 GB, free: 1.449 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001105/0.5038, allocations: 0.6885 MB / 0.5146 GB, free: 1.188 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.5038, allocations: 5.188 kB / 0.5146 GB, free: 1.184 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.043e-06/0.5038, allocations: 4 kB / 0.5146 GB, free: 1.18 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.387e-06/0.5039, allocations: 0 / 0.5146 GB, free: 1.18 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001258/0.5051, allocations: 0.789 MB / 0.5154 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/0.5052, allocations: 14.27 kB / 0.5154 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001116/0.5063, allocations: 114 kB / 0.5155 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006573/0.507, allocations: 435.8 kB / 0.5159 GB, free: 188 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.421e-05/0.507, allocations: 18.75 kB / 0.5159 GB, free: 180 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.266e-05/0.5071, allocations: 25.34 kB / 0.5159 GB, free: 172 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009868/0.5081, allocations: 451.5 kB / 0.5164 GB, free: 15.94 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.5081, allocations: 0.9688 kB / 0.5164 GB, free: 15.94 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.253e-05/0.5081, allocations: 6.531 kB / 0.5164 GB, free: 15.94 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-05/0.5082, allocations: 28.08 kB / 0.5164 GB, free: 15.93 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001354/0.5096, allocations: 485.3 kB / 0.5169 GB, free: 15.8 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002468/0.5121, allocations: 1.778 MB / 0.5186 GB, free: 14.43 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001032/0.5131, allocations: 386.3 kB / 0.519 GB, free: 14.28 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003686/0.5135, allocations: 143.9 kB / 0.5191 GB, free: 14.22 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.497e-05/0.5135, allocations: 6.234 kB / 0.5191 GB, free: 14.22 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006154/0.5142, allocations: 292.5 kB / 0.5194 GB, free: 14.04 MB / 398.1 MB Notification: Performance of pre-optimization done (n=30): time 2.074e-06/0.5142, allocations: 1.188 kB / 0.5194 GB, free: 14.04 MB / 398.1 MB Notification: Performance of matching and sorting (n=30): time 0.001436/0.5156, allocations: 0.5205 MB / 0.5199 GB, free: 13.86 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001606/0.5158, allocations: 241.5 kB / 0.5201 GB, free: 13.57 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004493/0.5162, allocations: 358.6 kB / 0.5205 GB, free: 13.38 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.218e-05/0.5163, allocations: 42.97 kB / 0.5205 GB, free: 13.34 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001525/0.5164, allocations: 201.2 kB / 0.5207 GB, free: 13.17 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.222e-05/0.5165, allocations: 107.4 kB / 0.5208 GB, free: 13.09 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001245/0.5167, allocations: 74.7 kB / 0.5209 GB, free: 13.04 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.5168, allocations: 343.8 kB / 0.5212 GB, free: 12.72 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003965/0.5172, allocations: 141.8 kB / 0.5213 GB, free: 12.67 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004782/0.5177, allocations: 271.1 kB / 0.5216 GB, free: 12.46 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008696/0.5186, allocations: 469.3 kB / 0.522 GB, free: 12.14 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.5186, allocations: 2.156 kB / 0.522 GB, free: 12.14 MB / 398.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001153/0.5198, allocations: 0.5233 MB / 0.5226 GB, free: 11.91 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.651e-05/0.5198, allocations: 33.89 kB / 0.5226 GB, free: 11.88 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/0.5199, allocations: 8.156 kB / 0.5226 GB, free: 11.87 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.581e-05/0.5199, allocations: 6.875 kB / 0.5226 GB, free: 11.87 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003811/0.5203, allocations: 94.67 kB / 0.5227 GB, free: 11.86 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.394e-05/0.5203, allocations: 8.141 kB / 0.5227 GB, free: 11.86 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003194/0.5206, allocations: 51.34 kB / 0.5228 GB, free: 11.84 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.622e-05/0.5207, allocations: 15.88 kB / 0.5228 GB, free: 11.84 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 (44): * Single equations (assignments): 43 * 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.0002427/0.5209, allocations: 203.4 kB / 0.523 GB, free: 11.67 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.31e-05/0.521, allocations: 48.12 kB / 0.523 GB, free: 11.64 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000128/0.5211, allocations: 48.36 kB / 0.5231 GB, free: 11.62 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.187e-06/0.5212, allocations: 9.5 kB / 0.5231 GB, free: 11.61 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.099e-05/0.5212, allocations: 1.375 kB / 0.5231 GB, free: 11.61 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/0.5212, allocations: 4.578 kB / 0.5231 GB, free: 11.61 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009528/0.5221, allocations: 0.8512 MB / 0.5239 GB, free: 10.91 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.5222, allocations: 5.312 kB / 0.5239 GB, free: 10.91 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002629/0.5224, allocations: 62.02 kB / 0.524 GB, free: 10.91 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.5224, allocations: 2.5 kB / 0.524 GB, free: 10.91 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.185e-05/0.5225, allocations: 10.52 kB / 0.524 GB, free: 10.9 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.204e-06/0.5225, allocations: 8.141 kB / 0.524 GB, free: 10.9 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.5225, allocations: 1.344 kB / 0.524 GB, free: 10.9 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001015/0.5235, allocations: 463.1 kB / 0.5244 GB, free: 10.66 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.871e-05/0.5236, allocations: 118 kB / 0.5245 GB, free: 10.54 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.834e-05/0.5237, allocations: 14.98 kB / 0.5246 GB, free: 10.53 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002103/0.5239, allocations: 28.97 kB / 0.5246 GB, free: 10.52 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001136/0.524, allocations: 35.94 kB / 0.5246 GB, free: 10.51 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.154e-05/0.5241, allocations: 11.97 kB / 0.5246 GB, free: 10.51 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003035/0.5244, allocations: 258.5 kB / 0.5249 GB, free: 10.37 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5244, allocations: 0 / 0.5249 GB, free: 10.37 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004433/0.5248, allocations: 89.11 kB / 0.525 GB, free: 10.36 MB / 398.1 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.wind.nextTimeEventScaled,windFarm.disturbance.count,windFarm.wind.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001098/0.5259, allocations: 474.3 kB / 0.5254 GB, free: 10.12 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009604/0.5269, allocations: 415.5 kB / 0.5258 GB, free: 9.953 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.5269, allocations: 4.062 kB / 0.5258 GB, free: 9.949 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004966/0.5274, allocations: 189.8 kB / 0.526 GB, free: 9.887 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004891/0.5279, allocations: 71.98 kB / 0.5261 GB, free: 9.867 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001321/0.5293, allocations: 0.7014 MB / 0.5267 GB, free: 9.441 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004052/0.5297, allocations: 0.8094 MB / 0.5275 GB, free: 8.727 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002689/0.53, allocations: 97.25 kB / 0.5276 GB, free: 8.707 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001224/0.5301, allocations: 44.12 kB / 0.5277 GB, free: 8.695 MB / 398.1 MB Notification: Performance of SimCode: time 3.91e-07/0.5301, allocations: 5.125 kB / 0.5277 GB, free: 8.691 MB / 398.1 MB Notification: Performance of Templates: time 0.01038/0.5405, allocations: 4.729 MB / 0.5323 GB, free: 7.082 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.makefile (rm -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.sim & ./PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe 2>&1)