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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.0009042/0.0009039, allocations: 179.4 kB / 17.4 MB, free: 4.293 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.521/1.521, allocations: 194.5 MB / 212.6 MB, free: 2.938 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001611/0.00161, allocations: 113 kB / 257.9 MB, free: 4.25 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1743/0.1743, allocations: 38.01 MB / 341.1 MB, free: 1.184 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003587/0.0003589, allocations: 12 kB / 405 MB, free: 68.49 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08295/0.08332, allocations: 53.24 MB / 458.3 MB, free: 15.25 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3632/0.4466, allocations: 90.62 MB / 0.536 GB, free: 4.641 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.001892/0.4485, allocations: 0.8805 MB / 0.5369 GB, free: 4.172 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$windFarm$wind.getDerTableValue. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$windFarm$wind.getTableValue. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$windFarm$wind.getTableTimeTmin. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$windFarm$wind.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.04019/0.4888, allocations: 16.3 MB / 0.5528 GB, free: 6.492 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.963e-06/0.4888, allocations: 4 kB / 0.5528 GB, free: 6.488 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.651e-05/0.4889, allocations: 8 kB / 0.5528 GB, free: 6.48 MB / 362.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.001718/0.4906, allocations: 0.7667 MB / 0.5535 GB, free: 5.672 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.4906, allocations: 12.03 kB / 0.5536 GB, free: 5.66 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009961/0.4916, allocations: 120.3 kB / 0.5537 GB, free: 5.543 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007262/0.4924, allocations: 397 kB / 0.554 GB, free: 5.164 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.637e-05/0.4924, allocations: 19.25 kB / 0.5541 GB, free: 5.152 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.497e-05/0.4925, allocations: 23.31 kB / 0.5541 GB, free: 5.137 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008754/0.4934, allocations: 477.3 kB / 0.5545 GB, free: 4.762 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.685e-05/0.4934, allocations: 3.938 kB / 0.5545 GB, free: 4.758 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.997e-05/0.4935, allocations: 10.94 kB / 0.5546 GB, free: 4.754 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.536e-05/0.4935, allocations: 19.23 kB / 0.5546 GB, free: 4.738 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00108/0.4946, allocations: 0.5751 MB / 0.5551 GB, free: 4.305 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002509/0.4971, allocations: 1.764 MB / 0.5569 GB, free: 2.793 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001119/0.4983, allocations: 441.7 kB / 0.5573 GB, free: 2.449 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000406/0.4987, allocations: 186.9 kB / 0.5575 GB, free: 2.309 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.61e-05/0.4987, allocations: 4.219 kB / 0.5575 GB, free: 2.305 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006086/0.4993, allocations: 324 kB / 0.5578 GB, free: 2.008 MB / 362.7 MB Notification: Performance of pre-optimization done (n=31): time 3.767e-06/0.4994, allocations: 0 / 0.5578 GB, free: 2.008 MB / 362.7 MB Notification: Performance of matching and sorting (n=31): time 0.001463/0.5008, allocations: 0.6109 MB / 0.5584 GB, free: 1.523 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000171/0.501, allocations: 294.4 kB / 0.5587 GB, free: 1.172 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004824/0.5015, allocations: 363.3 kB / 0.559 GB, free: 0.8867 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.468e-05/0.5016, allocations: 33.14 kB / 0.559 GB, free: 0.8516 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000155/0.5017, allocations: 190.5 kB / 0.5592 GB, free: 0.707 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.526e-05/0.5018, allocations: 108.1 kB / 0.5593 GB, free: 0.6133 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.162e-05/0.5019, allocations: 10.69 kB / 0.5593 GB, free: 0.6094 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001713/0.502, allocations: 343.4 kB / 0.5597 GB, free: 284 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004559/0.5025, allocations: 184.3 kB / 0.5598 GB, free: 156 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005485/0.5031, allocations: 325.2 kB / 0.5601 GB, free: 15.84 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009439/0.504, allocations: 0.5489 MB / 0.5607 GB, free: 15.35 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/0.504, allocations: 8 kB / 0.5607 GB, free: 15.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001276/0.5053, allocations: 0.6404 MB / 0.5613 GB, free: 14.82 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.772e-05/0.5054, allocations: 70.44 kB / 0.5614 GB, free: 14.74 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.46e-05/0.5054, allocations: 7.938 kB / 0.5614 GB, free: 14.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.255e-05/0.5055, allocations: 8 kB / 0.5614 GB, free: 14.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003804/0.5058, allocations: 95.25 kB / 0.5615 GB, free: 14.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.833e-05/0.5059, allocations: 11.94 kB / 0.5615 GB, free: 14.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003703/0.5062, allocations: 66.12 kB / 0.5616 GB, free: 14.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.498e-05/0.5063, allocations: 23.3 kB / 0.5616 GB, free: 14.55 MB / 378.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 (44): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 2 * 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.0003672/0.5067, allocations: 190.1 kB / 0.5618 GB, free: 14.38 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.215e-05/0.5068, allocations: 31.62 kB / 0.5618 GB, free: 14.35 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001087/0.5079, allocations: 0.5021 MB / 0.5623 GB, free: 13.96 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.045e-05/0.5079, allocations: 12 kB / 0.5623 GB, free: 13.95 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.792e-06/0.5079, allocations: 0 / 0.5623 GB, free: 13.95 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.5079, allocations: 4 kB / 0.5623 GB, free: 13.95 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001167/0.5091, allocations: 1.087 MB / 0.5634 GB, free: 12.92 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/0.5091, allocations: 4 kB / 0.5634 GB, free: 12.92 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003127/0.5094, allocations: 83.81 kB / 0.5634 GB, free: 12.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.474e-06/0.5094, allocations: 4 kB / 0.5634 GB, free: 12.84 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.147e-05/0.5095, allocations: 11.81 kB / 0.5635 GB, free: 12.83 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.411e-06/0.5095, allocations: 3.938 kB / 0.5635 GB, free: 12.82 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.5095, allocations: 11.92 kB / 0.5635 GB, free: 12.81 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001116/0.5106, allocations: 0.5714 MB / 0.564 GB, free: 12.31 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002362/0.5109, allocations: 158.5 kB / 0.5642 GB, free: 12.16 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.316e-05/0.511, allocations: 18.81 kB / 0.5642 GB, free: 12.15 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002308/0.5112, allocations: 31.22 kB / 0.5642 GB, free: 12.12 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001205/0.5113, allocations: 45.75 kB / 0.5643 GB, free: 12.08 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.918e-05/0.5114, allocations: 14.94 kB / 0.5643 GB, free: 12.07 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003058/0.5117, allocations: 255.2 kB / 0.5645 GB, free: 11.88 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5117, allocations: 3.938 kB / 0.5645 GB, free: 11.88 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005787/0.5123, allocations: 118.8 kB / 0.5646 GB, free: 11.77 MB / 378.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.001214/0.5135, allocations: 0.4977 MB / 0.5651 GB, free: 11.3 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001138/0.5146, allocations: 0.5688 MB / 0.5657 GB, free: 10.84 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.5147, allocations: 0 / 0.5657 GB, free: 10.84 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005101/0.5152, allocations: 248.2 kB / 0.5659 GB, free: 10.66 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005595/0.5157, allocations: 68.06 kB / 0.566 GB, free: 10.61 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001601/0.5174, allocations: 0.8626 MB / 0.5668 GB, free: 9.789 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004489/0.5178, allocations: 0.8123 MB / 0.5676 GB, free: 8.961 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003081/0.5181, allocations: 94.83 kB / 0.5677 GB, free: 8.871 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001231/0.5183, allocations: 43.36 kB / 0.5678 GB, free: 8.832 MB / 378.7 MB Notification: Performance of SimCode: time 2.7e-07/0.5183, allocations: 0 / 0.5678 GB, free: 8.832 MB / 378.7 MB Notification: Performance of Templates: time 0.01027/0.5286, allocations: 4.813 MB / 0.5725 GB, free: 4.02 MB / 378.7 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)