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.001188/0.001188, allocations: 110.7 kB / 17.06 MB, free: 5.828 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.001203/0.001203, allocations: 196 kB / 18 MB, free: 4.941 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.399/1.399, allocations: 222.9 MB / 241.7 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.1998/0.1998, allocations: 38.04 MB / 329.9 MB, free: 8.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 67.83 kB / 458.1 MB, free: 6.832 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3506/0.3519, allocations: 58.05 MB / 0.5041 GB, free: 7.781 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest): time 0.004854/0.3568, allocations: 3.683 MB / 0.5077 GB, free: 5.219 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002916/0.3597, allocations: 2.042 MB / 0.5097 GB, free: 3.797 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002022/0.3599, allocations: 10.34 kB / 0.5097 GB, free: 3.793 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009367/0.3609, allocations: 235 kB / 0.5099 GB, free: 3.652 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008757/0.3618, allocations: 290.1 kB / 0.5102 GB, free: 3.488 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009086/0.3627, allocations: 285.9 kB / 0.5105 GB, free: 3.336 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006593/0.3634, allocations: 0.5333 MB / 0.511 GB, free: 3.082 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004235/0.3638, allocations: 217.9 kB / 0.5112 GB, free: 2.988 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004374/0.3642, allocations: 226.6 kB / 0.5114 GB, free: 2.879 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003908/0.3646, allocations: 212.2 kB / 0.5116 GB, free: 2.781 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.462e-05/0.3647, allocations: 38.44 kB / 0.5116 GB, free: 2.781 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009459/0.3657, allocations: 398.7 kB / 0.512 GB, free: 2.637 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001828/0.3659, allocations: 130 kB / 0.5122 GB, free: 2.57 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000231/0.3661, allocations: 183.7 kB / 0.5123 GB, free: 2.449 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001256/0.3674, allocations: 0.6372 MB / 0.5129 GB, free: 2.203 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.3674, allocations: 0 / 0.5129 GB, free: 2.203 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3674, allocations: 1.25 kB / 0.5129 GB, free: 2.203 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.955e-05/0.3674, allocations: 0 / 0.5129 GB, free: 2.203 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.001538/0.369, allocations: 0.758 MB / 0.5137 GB, free: 1.582 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.494e-05/0.369, allocations: 12.36 kB / 0.5137 GB, free: 1.578 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001013/0.3701, allocations: 113.9 kB / 0.5138 GB, free: 1.547 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005843/0.3707, allocations: 422.5 kB / 0.5142 GB, free: 1.227 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.803e-05/0.3707, allocations: 19.08 kB / 0.5142 GB, free: 1.219 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.85e-05/0.3708, allocations: 23.42 kB / 0.5143 GB, free: 1.211 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000864/0.3716, allocations: 449.2 kB / 0.5147 GB, free: 1 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.3717, allocations: 0 / 0.5147 GB, free: 1 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.381e-05/0.3717, allocations: 9.906 kB / 0.5147 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-05/0.3717, allocations: 26.27 kB / 0.5147 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001088/0.3728, allocations: 0.495 MB / 0.5152 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002391/0.3752, allocations: 1.672 MB / 0.5168 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00111/0.3764, allocations: 372 kB / 0.5172 GB, free: 15.49 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004574/0.3768, allocations: 143.1 kB / 0.5173 GB, free: 15.43 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.33e-05/0.3769, allocations: 7.281 kB / 0.5173 GB, free: 15.43 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000753/0.3777, allocations: 291.2 kB / 0.5176 GB, free: 15.25 MB / 398.1 MB Notification: Performance of pre-optimization done (n=31): time 2.435e-06/0.3777, allocations: 0 / 0.5176 GB, free: 15.25 MB / 398.1 MB Notification: Performance of matching and sorting (n=31): time 0.001621/0.3793, allocations: 0.5317 MB / 0.5181 GB, free: 15.05 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001979/0.3795, allocations: 297.7 kB / 0.5184 GB, free: 14.7 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005036/0.38, allocations: 327.9 kB / 0.5187 GB, free: 14.53 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.925e-05/0.3801, allocations: 39.23 kB / 0.5188 GB, free: 14.49 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000215/0.3803, allocations: 200.2 kB / 0.519 GB, free: 14.32 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001158/0.3804, allocations: 108.1 kB / 0.5191 GB, free: 14.24 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001391/0.3806, allocations: 68.83 kB / 0.5191 GB, free: 14.2 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002137/0.3808, allocations: 347.7 kB / 0.5195 GB, free: 13.88 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004104/0.3812, allocations: 136.8 kB / 0.5196 GB, free: 13.84 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004818/0.3817, allocations: 283.5 kB / 0.5199 GB, free: 13.61 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008253/0.3825, allocations: 459.4 kB / 0.5203 GB, free: 13.3 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.3826, allocations: 1.031 kB / 0.5203 GB, free: 13.3 MB / 398.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001096/0.3837, allocations: 0.5103 MB / 0.5208 GB, free: 13.07 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.478e-05/0.3837, allocations: 42.7 kB / 0.5208 GB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/0.3837, allocations: 4.344 kB / 0.5208 GB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.579e-05/0.3838, allocations: 7.203 kB / 0.5208 GB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003777/0.3842, allocations: 85.03 kB / 0.5209 GB, free: 13.03 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.803e-05/0.3842, allocations: 7.859 kB / 0.5209 GB, free: 13.03 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003249/0.3845, allocations: 50.69 kB / 0.521 GB, free: 13 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.294e-05/0.3846, allocations: 19.05 kB / 0.521 GB, free: 13 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.000278/0.3849, allocations: 205.5 kB / 0.5212 GB, free: 12.83 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.902e-05/0.3849, allocations: 42.03 kB / 0.5212 GB, free: 12.81 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001415/0.3851, allocations: 53.48 kB / 0.5213 GB, free: 12.77 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-05/0.3851, allocations: 8.391 kB / 0.5213 GB, free: 12.77 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.581e-05/0.3851, allocations: 2.844 kB / 0.5213 GB, free: 12.77 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.909e-06/0.3852, allocations: 5.109 kB / 0.5213 GB, free: 12.77 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001066/0.3862, allocations: 1.031 MB / 0.5223 GB, free: 11.89 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.3862, allocations: 3.547 kB / 0.5223 GB, free: 11.89 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002399/0.3865, allocations: 58.88 kB / 0.5224 GB, free: 11.89 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.795e-06/0.3865, allocations: 2.75 kB / 0.5224 GB, free: 11.89 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.653e-05/0.3865, allocations: 11.17 kB / 0.5224 GB, free: 11.89 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/0.3865, allocations: 9.531 kB / 0.5224 GB, free: 11.88 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.838e-06/0.3866, allocations: 2.75 kB / 0.5224 GB, free: 11.88 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009407/0.3875, allocations: 473.1 kB / 0.5228 GB, free: 11.63 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.731e-05/0.3876, allocations: 117.7 kB / 0.523 GB, free: 11.51 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.554e-05/0.3877, allocations: 12.5 kB / 0.523 GB, free: 11.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002142/0.3879, allocations: 27.94 kB / 0.523 GB, free: 11.5 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001086/0.388, allocations: 37.83 kB / 0.523 GB, free: 11.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.941e-05/0.3881, allocations: 21.72 kB / 0.5231 GB, free: 11.48 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002975/0.3884, allocations: 232.7 kB / 0.5233 GB, free: 11.35 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3884, allocations: 0 / 0.5233 GB, free: 11.35 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004561/0.3888, allocations: 94.17 kB / 0.5234 GB, free: 11.33 MB / 398.1 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.wind.nextTimeEventScaled,windFarm.disturbance.count,windFarm.wind.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 26 * 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.001081/0.3899, allocations: 469.1 kB / 0.5238 GB, free: 11.11 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000939/0.3909, allocations: 419.9 kB / 0.5242 GB, free: 10.93 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.3909, allocations: 0 / 0.5242 GB, free: 10.93 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004782/0.3914, allocations: 198.4 kB / 0.5244 GB, free: 10.86 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004765/0.3919, allocations: 75.62 kB / 0.5245 GB, free: 10.84 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00132/0.3932, allocations: 0.7087 MB / 0.5252 GB, free: 10.39 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004407/0.3936, allocations: 0.8075 MB / 0.526 GB, free: 9.676 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002616/0.3939, allocations: 88.08 kB / 0.526 GB, free: 9.656 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001355/0.3941, allocations: 44.84 kB / 0.5261 GB, free: 9.645 MB / 398.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3941, allocations: 0 / 0.5261 GB, free: 9.645 MB / 398.1 MB Notification: Performance of Templates: time 0.009843/0.4039, allocations: 4.675 MB / 0.5306 GB, free: 8.262 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)