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.001213/0.001213, allocations: 182.7 kB / 13.64 MB, free: 1.676 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.671/1.671, allocations: 194.3 MB / 208.4 MB, free: 6.703 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.001691/0.001691, allocations: 122.3 kB / 253.5 MB, free: 9.57 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1569/0.1569, allocations: 37.91 MB / 336.4 MB, free: 14.25 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.455e-05/3.46e-05, allocations: 8 kB / 397.5 MB, free: 1.035 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2488/0.2489, allocations: 53.22 MB / 450.8 MB, free: 13.48 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1147/0.3636, allocations: 90.48 MB / 0.5286 GB, free: 2.867 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.001541/0.3652, allocations: 0.6905 MB / 0.5292 GB, free: 2.18 MB / 378.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.2491/0.6143, allocations: 16.18 MB / 0.545 GB, free: 83.55 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.6143, allocations: 0 / 0.545 GB, free: 83.55 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.434e-05/0.6143, allocations: 8.719 kB / 0.545 GB, free: 83.55 MB / 378.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.0009957/0.6154, allocations: 0.7317 MB / 0.5458 GB, free: 82.89 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.6154, allocations: 11.12 kB / 0.5458 GB, free: 82.89 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008313/0.6162, allocations: 123.1 kB / 0.5459 GB, free: 82.84 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005045/0.6168, allocations: 379.1 kB / 0.5462 GB, free: 82.51 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.348e-05/0.6168, allocations: 20.16 kB / 0.5463 GB, free: 82.5 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.893e-05/0.6168, allocations: 23.38 kB / 0.5463 GB, free: 82.49 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005342/0.6174, allocations: 417.4 kB / 0.5467 GB, free: 82.12 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.6174, allocations: 4 kB / 0.5467 GB, free: 82.12 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.544e-05/0.6174, allocations: 11.98 kB / 0.5467 GB, free: 82.11 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.814e-05/0.6175, allocations: 20.44 kB / 0.5467 GB, free: 82.09 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005882/0.6181, allocations: 0.4895 MB / 0.5472 GB, free: 81.6 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001742/0.6198, allocations: 1.776 MB / 0.5489 GB, free: 79.74 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005918/0.6204, allocations: 361.8 kB / 0.5493 GB, free: 79.37 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001614/0.6206, allocations: 126.2 kB / 0.5494 GB, free: 79.24 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.168e-05/0.6206, allocations: 4.234 kB / 0.5494 GB, free: 79.23 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002967/0.6209, allocations: 275.1 kB / 0.5497 GB, free: 78.93 MB / 378.7 MB Notification: Performance of pre-optimization done (n=31): time 2.124e-06/0.6209, allocations: 0 / 0.5497 GB, free: 78.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=31): time 0.0005462/0.6215, allocations: 381.2 kB / 0.55 GB, free: 78.55 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.928e-05/0.6216, allocations: 298.7 kB / 0.5503 GB, free: 78.19 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002735/0.6219, allocations: 318.7 kB / 0.5506 GB, free: 77.88 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.206e-05/0.6219, allocations: 37.7 kB / 0.5507 GB, free: 77.83 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.204e-05/0.622, allocations: 196.2 kB / 0.5508 GB, free: 77.64 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.023e-05/0.6221, allocations: 106.6 kB / 0.5509 GB, free: 77.53 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.961e-05/0.6221, allocations: 4 kB / 0.5509 GB, free: 77.53 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.634e-05/0.6222, allocations: 346.8 kB / 0.5513 GB, free: 77.18 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001878/0.6224, allocations: 140.4 kB / 0.5514 GB, free: 77.04 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002246/0.6226, allocations: 271.7 kB / 0.5517 GB, free: 76.71 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002338/0.6228, allocations: 231.8 kB / 0.5519 GB, free: 76.47 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.6228, allocations: 0 / 0.5519 GB, free: 76.47 MB / 378.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006306/0.6235, allocations: 0.5631 MB / 0.5524 GB, free: 75.89 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.534e-05/0.6235, allocations: 71.34 kB / 0.5525 GB, free: 75.81 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.545e-06/0.6235, allocations: 7.938 kB / 0.5525 GB, free: 75.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.6236, allocations: 8 kB / 0.5525 GB, free: 75.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000324/0.6239, allocations: 91.88 kB / 0.5526 GB, free: 75.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/0.6239, allocations: 11.94 kB / 0.5526 GB, free: 75.69 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002713/0.6242, allocations: 59.72 kB / 0.5527 GB, free: 75.63 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.321e-05/0.6242, allocations: 20 kB / 0.5527 GB, free: 75.61 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 () * 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 8.714e-05/0.6243, allocations: 132.7 kB / 0.5528 GB, free: 75.48 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.377e-05/0.6244, allocations: 43.45 kB / 0.5529 GB, free: 75.43 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005799/0.625, allocations: 416.3 kB / 0.5533 GB, free: 75.02 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.625, allocations: 8 kB / 0.5533 GB, free: 75.01 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.625, allocations: 4 kB / 0.5533 GB, free: 75.01 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/0.625, allocations: 3.984 kB / 0.5533 GB, free: 75 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006506/0.6257, allocations: 1.099 MB / 0.5544 GB, free: 73.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.6257, allocations: 0 / 0.5544 GB, free: 73.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002767/0.626, allocations: 83.89 kB / 0.5544 GB, free: 73.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.626, allocations: 4 kB / 0.5544 GB, free: 73.75 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.511e-05/0.626, allocations: 8 kB / 0.5544 GB, free: 73.74 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.626, allocations: 7.984 kB / 0.5544 GB, free: 73.73 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.626, allocations: 4 kB / 0.5545 GB, free: 73.73 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005548/0.6266, allocations: 0.5721 MB / 0.555 GB, free: 73.06 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001283/0.6267, allocations: 160.5 kB / 0.5552 GB, free: 72.89 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.605e-05/0.6268, allocations: 27.98 kB / 0.5552 GB, free: 72.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002254/0.627, allocations: 31.97 kB / 0.5552 GB, free: 72.83 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.701e-05/0.6271, allocations: 43.84 kB / 0.5553 GB, free: 72.79 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.573e-05/0.6271, allocations: 15.98 kB / 0.5553 GB, free: 72.77 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001945/0.6273, allocations: 258.2 kB / 0.5555 GB, free: 72.52 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6273, allocations: 0 / 0.5555 GB, free: 72.52 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004109/0.6278, allocations: 119.8 kB / 0.5556 GB, free: 72.4 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) * 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.0008688/0.6286, allocations: 447.8 kB / 0.5561 GB, free: 71.99 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005251/0.6292, allocations: 494.7 kB / 0.5565 GB, free: 71.48 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.6292, allocations: 0 / 0.5565 GB, free: 71.48 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002652/0.6295, allocations: 205.2 kB / 0.5567 GB, free: 71.29 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000323/0.6298, allocations: 69.34 kB / 0.5568 GB, free: 71.21 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008271/0.6306, allocations: 0.5561 MB / 0.5573 GB, free: 70.61 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001977/0.6308, allocations: 0.8203 MB / 0.5581 GB, free: 69.77 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002233/0.6311, allocations: 86.84 kB / 0.5582 GB, free: 69.68 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001049/0.6312, allocations: 43.42 kB / 0.5583 GB, free: 69.64 MB / 378.7 MB Notification: Performance of SimCode: time 1.763e-06/0.6312, allocations: 11.94 kB / 0.5583 GB, free: 69.62 MB / 378.7 MB Notification: Performance of Templates: time 0.007304/0.6385, allocations: 4.784 MB / 0.563 GB, free: 64.85 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)