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.001223/0.001223, allocations: 179.4 kB / 17.4 MB, free: 4.41 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.442/1.442, allocations: 194.5 MB / 212.6 MB, free: 2.926 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.001552/0.001552, allocations: 117.1 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.1791/0.1791, allocations: 38.01 MB / 341.1 MB, free: 1.18 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00054/0.0005401, allocations: 15.98 kB / 405 MB, free: 68.48 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.13, allocations: 53.24 MB / 458.3 MB, free: 15.23 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4057/0.5357, allocations: 93.5 MB / 0.5388 GB, free: 1.926 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.002002/0.5378, allocations: 0.8701 MB / 0.5397 GB, free: 1.461 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.05369/0.5915, allocations: 21.14 MB / 0.5603 GB, free: 15.83 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.086e-06/0.5916, allocations: 4 kB / 0.5603 GB, free: 15.83 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.559e-05/0.5916, allocations: 4 kB / 0.5603 GB, free: 15.82 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.00198/0.5936, allocations: 0.8446 MB / 0.5612 GB, free: 14.94 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.5937, allocations: 8.031 kB / 0.5612 GB, free: 14.93 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001345/0.595, allocations: 152.2 kB / 0.5613 GB, free: 14.78 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001035/0.5961, allocations: 421.5 kB / 0.5617 GB, free: 14.39 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.955e-05/0.5962, allocations: 24.41 kB / 0.5617 GB, free: 14.38 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001264/0.5963, allocations: 32.12 kB / 0.5618 GB, free: 14.35 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001354/0.5977, allocations: 0.5669 MB / 0.5623 GB, free: 13.9 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.091e-05/0.5977, allocations: 7.875 kB / 0.5623 GB, free: 13.89 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.399e-05/0.5978, allocations: 11.81 kB / 0.5623 GB, free: 13.89 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001134/0.5979, allocations: 32.38 kB / 0.5624 GB, free: 13.86 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001521/0.5994, allocations: 0.6856 MB / 0.563 GB, free: 13.35 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003639/0.6031, allocations: 1.996 MB / 0.565 GB, free: 11.65 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001959/0.6051, allocations: 1.062 MB / 0.566 GB, free: 10.62 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004648/0.6056, allocations: 218.4 kB / 0.5662 GB, free: 10.46 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.578e-05/0.6056, allocations: 4.281 kB / 0.5662 GB, free: 10.46 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006196/0.6062, allocations: 312.9 kB / 0.5665 GB, free: 10.2 MB / 378.7 MB Notification: Performance of pre-optimization done (n=36): time 5.36e-06/0.6063, allocations: 4 kB / 0.5665 GB, free: 10.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=37): time 0.002713/0.609, allocations: 1.11 MB / 0.5676 GB, free: 9.285 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.857e-05/0.6091, allocations: 110.8 kB / 0.5677 GB, free: 9.152 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005736/0.6097, allocations: 388.3 kB / 0.5681 GB, free: 8.844 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.168e-05/0.6097, allocations: 35.58 kB / 0.5681 GB, free: 8.809 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002237/0.61, allocations: 229.6 kB / 0.5683 GB, free: 8.629 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001297/0.6101, allocations: 123.8 kB / 0.5685 GB, free: 8.523 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.522e-05/0.6101, allocations: 11 kB / 0.5685 GB, free: 8.52 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001929/0.6103, allocations: 346.9 kB / 0.5688 GB, free: 8.188 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005157/0.6109, allocations: 216.9 kB / 0.569 GB, free: 8.043 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006354/0.6115, allocations: 358.7 kB / 0.5694 GB, free: 7.711 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001092/0.6126, allocations: 0.6206 MB / 0.57 GB, free: 7.18 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/0.6126, allocations: 0 / 0.57 GB, free: 7.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001402/0.614, allocations: 0.7585 MB / 0.5707 GB, free: 6.566 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.962e-05/0.6141, allocations: 67.86 kB / 0.5708 GB, free: 6.488 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/0.6141, allocations: 4 kB / 0.5708 GB, free: 6.484 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001807/0.6143, allocations: 36.03 kB / 0.5708 GB, free: 6.449 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004145/0.6148, allocations: 107.6 kB / 0.5709 GB, free: 6.348 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001229/0.616, allocations: 1.335 MB / 0.5722 GB, free: 4.934 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004019/0.6164, allocations: 50.28 kB / 0.5723 GB, free: 4.891 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.527e-05/0.6165, allocations: 18.88 kB / 0.5723 GB, free: 4.875 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.0003036/0.6168, allocations: 213.5 kB / 0.5725 GB, free: 4.695 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.373e-05/0.6169, allocations: 39.47 kB / 0.5725 GB, free: 4.656 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001247/0.6181, allocations: 0.6161 MB / 0.5731 GB, free: 4.188 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.6182, allocations: 4 kB / 0.5731 GB, free: 4.184 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.6182, allocations: 0 / 0.5731 GB, free: 4.184 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.207e-06/0.6182, allocations: 3.984 kB / 0.5731 GB, free: 4.18 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002043/0.6202, allocations: 1.237 MB / 0.5743 GB, free: 3.156 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.6203, allocations: 3.938 kB / 0.5743 GB, free: 3.152 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003347/0.6206, allocations: 83.64 kB / 0.5744 GB, free: 3.074 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.752e-05/0.6207, allocations: 24.16 kB / 0.5744 GB, free: 3.051 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.506e-05/0.6207, allocations: 18.73 kB / 0.5745 GB, free: 3.039 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00101/0.6218, allocations: 1.315 MB / 0.5757 GB, free: 1.641 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/0.6218, allocations: 4.188 kB / 0.5757 GB, free: 1.637 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001181/0.623, allocations: 0.6846 MB / 0.5764 GB, free: 1.055 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002415/0.6232, allocations: 173 kB / 0.5766 GB, free: 0.8906 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.364e-05/0.6233, allocations: 13.94 kB / 0.5766 GB, free: 0.8867 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002977/0.6236, allocations: 39.34 kB / 0.5766 GB, free: 0.8555 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001278/0.6237, allocations: 47 kB / 0.5767 GB, free: 0.8164 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.284e-05/0.6238, allocations: 12 kB / 0.5767 GB, free: 0.8047 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003398/0.6241, allocations: 270.8 kB / 0.5769 GB, free: 0.6055 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.6241, allocations: 4 kB / 0.577 GB, free: 0.6016 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006552/0.6248, allocations: 134.1 kB / 0.5771 GB, free: 496 kB / 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.0011/0.6259, allocations: 0.5006 MB / 0.5776 GB, free: 16 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001467/0.6274, allocations: 0.757 MB / 0.5783 GB, free: 15.37 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.6274, allocations: 0 / 0.5783 GB, free: 15.37 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006724/0.6281, allocations: 380.9 kB / 0.5787 GB, free: 15.05 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005897/0.6287, allocations: 67.62 kB / 0.5787 GB, free: 15.01 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001828/0.6305, allocations: 1.002 MB / 0.5797 GB, free: 14.07 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005195/0.6311, allocations: 0.8577 MB / 0.5806 GB, free: 13.21 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003189/0.6314, allocations: 99.08 kB / 0.5806 GB, free: 13.11 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001379/0.6315, allocations: 47.3 kB / 0.5807 GB, free: 13.07 MB / 394.7 MB Notification: Performance of SimCode: time 7.01e-07/0.6316, allocations: 4 kB / 0.5807 GB, free: 13.07 MB / 394.7 MB Notification: Performance of Templates: time 0.01139/0.6429, allocations: 5.719 MB / 0.5863 GB, free: 7.355 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)