Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmLoadTest.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.WindFarmLoadTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmLoadTest") translateModel(PowerSystems.Examples.PowerWorld.Test.WindFarmLoadTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmLoadTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009833/0.0009833, allocations: 180.1 kB / 16.38 MB, free: 5.766 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.143/1.143, allocations: 194.5 MB / 211.6 MB, free: 3.031 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.001561/0.001561, allocations: 122.6 kB / 256.9 MB, free: 4.348 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1588/0.1588, allocations: 38.01 MB / 340.1 MB, free: 1.34 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000311/0.0003111, allocations: 12 kB / 403.8 MB, free: 68.79 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06892/0.06925, allocations: 53.23 MB / 457 MB, free: 15.55 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.256/0.3253, allocations: 93.45 MB / 0.5376 GB, free: 2.297 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00139/0.3267, allocations: 0.8593 MB / 0.5384 GB, free: 1.832 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.04882/0.3755, allocations: 21.12 MB / 0.559 GB, free: 236 kB / 362.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.3756, allocations: 0 / 0.559 GB, free: 236 kB / 362.7 MB Notification: Performance of Transformations before backend: time 2.469e-05/0.3756, allocations: 8 kB / 0.559 GB, free: 228 kB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001343/0.377, allocations: 0.8372 MB / 0.5598 GB, free: 15.35 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.377, allocations: 16.02 kB / 0.5599 GB, free: 15.34 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001058/0.3781, allocations: 147.3 kB / 0.56 GB, free: 15.19 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006342/0.3787, allocations: 411.6 kB / 0.5604 GB, free: 14.81 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.715e-05/0.3788, allocations: 23.09 kB / 0.5604 GB, free: 14.8 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.633e-05/0.3788, allocations: 42.59 kB / 0.5605 GB, free: 14.76 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009508/0.3798, allocations: 0.5593 MB / 0.561 GB, free: 14.32 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/0.3798, allocations: 0 / 0.561 GB, free: 14.32 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.441e-05/0.3799, allocations: 20.86 kB / 0.561 GB, free: 14.31 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.812e-05/0.38, allocations: 28.14 kB / 0.561 GB, free: 14.29 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001142/0.3811, allocations: 0.6745 MB / 0.5617 GB, free: 13.78 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002603/0.3837, allocations: 2.003 MB / 0.5637 GB, free: 12.07 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001458/0.3852, allocations: 1.054 MB / 0.5647 GB, free: 11.05 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.389e-05/0.3852, allocations: 4.281 kB / 0.5647 GB, free: 11.05 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005491/0.3858, allocations: 314.3 kB / 0.565 GB, free: 10.79 MB / 378.7 MB Notification: Performance of pre-optimization done (n=36): time 1.734e-06/0.3858, allocations: 0 / 0.565 GB, free: 10.79 MB / 378.7 MB Notification: Performance of matching and sorting (n=37): time 0.002246/0.3881, allocations: 1.109 MB / 0.5661 GB, free: 9.875 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.854e-05/0.3881, allocations: 114.1 kB / 0.5662 GB, free: 9.742 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003664/0.3885, allocations: 352.2 kB / 0.5665 GB, free: 9.457 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.111e-05/0.3886, allocations: 36.58 kB / 0.5666 GB, free: 9.422 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000143/0.3887, allocations: 229.6 kB / 0.5668 GB, free: 9.242 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.207e-05/0.3888, allocations: 125.9 kB / 0.5669 GB, free: 9.133 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.459e-05/0.3888, allocations: 10.44 kB / 0.5669 GB, free: 9.129 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001282/0.389, allocations: 353.1 kB / 0.5672 GB, free: 8.793 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004302/0.3894, allocations: 214.8 kB / 0.5674 GB, free: 8.648 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004885/0.3899, allocations: 349.9 kB / 0.5678 GB, free: 8.324 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005024/0.3904, allocations: 320.3 kB / 0.5681 GB, free: 8.086 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.3904, allocations: 0 / 0.5681 GB, free: 8.086 MB / 378.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001284/0.3917, allocations: 0.751 MB / 0.5688 GB, free: 7.48 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.11e-05/0.3918, allocations: 71.34 kB / 0.5689 GB, free: 7.398 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.3918, allocations: 11.88 kB / 0.5689 GB, free: 7.387 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001369/0.392, allocations: 31.84 kB / 0.5689 GB, free: 7.355 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003926/0.3924, allocations: 108.2 kB / 0.569 GB, free: 7.254 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001021/0.3934, allocations: 1.331 MB / 0.5703 GB, free: 5.844 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003352/0.3937, allocations: 42.34 kB / 0.5704 GB, free: 5.809 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.159e-05/0.3938, allocations: 26.94 kB / 0.5704 GB, free: 5.789 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (54): * Single equations (assignments): 51 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002369/0.394, allocations: 211.7 kB / 0.5706 GB, free: 5.609 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.359e-05/0.3941, allocations: 51.47 kB / 0.5706 GB, free: 5.559 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001207/0.3953, allocations: 0.6126 MB / 0.5712 GB, free: 5.094 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.3953, allocations: 4 kB / 0.5712 GB, free: 5.09 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.3953, allocations: 4 kB / 0.5713 GB, free: 5.086 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.221e-06/0.3954, allocations: 3.984 kB / 0.5713 GB, free: 5.082 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001863/0.3972, allocations: 1.23 MB / 0.5725 GB, free: 4.066 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.3972, allocations: 0 / 0.5725 GB, free: 4.066 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003184/0.3976, allocations: 86.02 kB / 0.5725 GB, free: 3.984 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.166e-05/0.3977, allocations: 25.66 kB / 0.5726 GB, free: 3.961 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.461e-05/0.3977, allocations: 15.36 kB / 0.5726 GB, free: 3.949 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008796/0.3986, allocations: 1.331 MB / 0.5739 GB, free: 2.539 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.3986, allocations: 0 / 0.5739 GB, free: 2.539 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001095/0.3997, allocations: 0.7186 MB / 0.5746 GB, free: 1.914 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001945/0.3999, allocations: 168.1 kB / 0.5747 GB, free: 1.754 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.852e-05/0.4, allocations: 14.67 kB / 0.5748 GB, free: 1.746 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002798/0.4003, allocations: 38.78 kB / 0.5748 GB, free: 1.715 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.738e-05/0.4004, allocations: 47.62 kB / 0.5748 GB, free: 1.676 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.953e-05/0.4004, allocations: 11.5 kB / 0.5748 GB, free: 1.668 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002531/0.4007, allocations: 272.9 kB / 0.5751 GB, free: 1.465 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4007, allocations: 0 / 0.5751 GB, free: 1.465 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005625/0.4012, allocations: 143.6 kB / 0.5752 GB, free: 1.34 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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.nextTimeEvent,windFarm.disturbance.count,windFarm.wind.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 39 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.001003/0.4022, allocations: 0.4923 MB / 0.5757 GB, free: 0.875 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001331/0.4036, allocations: 0.7677 MB / 0.5765 GB, free: 224 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.4036, allocations: 0 / 0.5765 GB, free: 224 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000596/0.4042, allocations: 368.4 kB / 0.5768 GB, free: 15.91 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003964/0.4046, allocations: 65.92 kB / 0.5769 GB, free: 15.87 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001483/0.4061, allocations: 1.002 MB / 0.5779 GB, free: 14.94 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004398/0.4066, allocations: 0.8696 MB / 0.5787 GB, free: 14.07 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002937/0.4069, allocations: 107.1 kB / 0.5788 GB, free: 13.96 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001319/0.407, allocations: 45.92 kB / 0.5789 GB, free: 13.92 MB / 394.7 MB Notification: Performance of SimCode: time 5.71e-07/0.407, allocations: 0 / 0.5789 GB, free: 13.92 MB / 394.7 MB Notification: Performance of Templates: time 0.009625/0.4166, allocations: 5.682 MB / 0.5844 GB, free: 8.242 MB / 394.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmLoadTest.makefile (rm -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmLoadTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmLoadTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmLoadTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmLoadTest.sim & ./PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmLoadTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmLoadTest.pipe 2>&1)