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.001301/0.001302, allocations: 185.5 kB / 8.354 MB, free: 0.7305 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.561/1.561, allocations: 194.4 MB / 203.1 MB, free: 13.02 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.001642/0.001642, allocations: 115.9 kB / 248.1 MB, free: 24 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.16/0.16, allocations: 37.94 MB / 330.9 MB, free: 2.648 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.584e-05/1.586e-05, allocations: 4 kB / 390.4 MB, free: 7.094 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.263/0.263, allocations: 53.22 MB / 443.6 MB, free: 17.77 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1159/0.379, allocations: 92.69 MB / 0.5237 GB, free: 4.949 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.001538/0.3806, allocations: 0.5777 MB / 0.5243 GB, free: 4.371 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.2374/0.6181, allocations: 20.88 MB / 0.5447 GB, free: 84.18 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.6181, allocations: 4 kB / 0.5447 GB, free: 84.17 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.644e-05/0.6181, allocations: 4 kB / 0.5447 GB, free: 84.17 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.001096/0.6192, allocations: 0.7994 MB / 0.5454 GB, free: 83.31 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.6193, allocations: 8.031 kB / 0.5455 GB, free: 83.3 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001069/0.6204, allocations: 151.3 kB / 0.5456 GB, free: 83.15 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005283/0.6209, allocations: 402.6 kB / 0.546 GB, free: 82.72 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.121e-05/0.6209, allocations: 16 kB / 0.546 GB, free: 82.7 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.747e-05/0.621, allocations: 20 kB / 0.546 GB, free: 82.68 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006247/0.6216, allocations: 0.4934 MB / 0.5465 GB, free: 82.19 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005785/0.6222, allocations: 485.1 kB / 0.547 GB, free: 81.69 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.6222, allocations: 0 / 0.547 GB, free: 81.69 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.947e-05/0.6223, allocations: 4 kB / 0.547 GB, free: 81.68 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.258e-05/0.6224, allocations: 36.69 kB / 0.547 GB, free: 81.65 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002112/0.6245, allocations: 1.932 MB / 0.5489 GB, free: 79.64 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008864/0.6254, allocations: 0.9613 MB / 0.5498 GB, free: 78.56 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001937/0.6256, allocations: 170.2 kB / 0.55 GB, free: 78.39 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.97e-05/0.6256, allocations: 4.281 kB / 0.55 GB, free: 78.38 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003269/0.626, allocations: 257 kB / 0.5502 GB, free: 78.11 MB / 378.7 MB Notification: Performance of pre-optimization done (n=36): time 2.775e-06/0.626, allocations: 4 kB / 0.5502 GB, free: 78.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=37): time 0.001032/0.627, allocations: 0.6877 MB / 0.5509 GB, free: 77.41 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.26e-05/0.6271, allocations: 110.8 kB / 0.551 GB, free: 77.28 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002955/0.6274, allocations: 334.2 kB / 0.5513 GB, free: 76.95 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.422e-05/0.6274, allocations: 29.7 kB / 0.5514 GB, free: 76.91 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.86e-05/0.6275, allocations: 224.2 kB / 0.5516 GB, free: 76.69 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.153e-05/0.6276, allocations: 122.3 kB / 0.5517 GB, free: 76.57 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.284e-05/0.6276, allocations: 0 / 0.5517 GB, free: 76.57 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.614e-05/0.6277, allocations: 354.8 kB / 0.552 GB, free: 76.21 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002044/0.6279, allocations: 165.1 kB / 0.5522 GB, free: 76.05 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002412/0.6282, allocations: 292.7 kB / 0.5525 GB, free: 75.7 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002444/0.6284, allocations: 207.4 kB / 0.5527 GB, free: 75.5 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.6284, allocations: 0 / 0.5527 GB, free: 75.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0007128/0.6291, allocations: 0.5597 MB / 0.5532 GB, free: 74.93 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.151e-05/0.6292, allocations: 73.42 kB / 0.5533 GB, free: 74.85 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.6292, allocations: 4 kB / 0.5533 GB, free: 74.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001265/0.6293, allocations: 32.8 kB / 0.5533 GB, free: 74.81 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003671/0.6297, allocations: 108.3 kB / 0.5534 GB, free: 74.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006201/0.6303, allocations: 1.264 MB / 0.5547 GB, free: 73.33 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003005/0.6307, allocations: 31.97 kB / 0.5547 GB, free: 73.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001112/0.6308, allocations: 27.98 kB / 0.5547 GB, free: 73.27 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 () * 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.0001333/0.6309, allocations: 129 kB / 0.5548 GB, free: 73.14 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.935e-05/0.631, allocations: 39.52 kB / 0.5549 GB, free: 73.1 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000713/0.6317, allocations: 0.5018 MB / 0.5554 GB, free: 72.58 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.6317, allocations: 4 kB / 0.5554 GB, free: 72.58 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-06/0.6317, allocations: 4 kB / 0.5554 GB, free: 72.57 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.6317, allocations: 3.938 kB / 0.5554 GB, free: 72.57 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001333/0.6331, allocations: 1.063 MB / 0.5564 GB, free: 71.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.257e-06/0.6331, allocations: 4 kB / 0.5564 GB, free: 71.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003699/0.6335, allocations: 83.89 kB / 0.5565 GB, free: 71.38 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.474e-05/0.6336, allocations: 28.91 kB / 0.5565 GB, free: 71.34 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.272e-05/0.6336, allocations: 7.984 kB / 0.5565 GB, free: 71.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006033/0.6342, allocations: 1.264 MB / 0.5578 GB, free: 69.96 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.6343, allocations: 0 / 0.5578 GB, free: 69.96 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006858/0.6349, allocations: 0.6044 MB / 0.5584 GB, free: 69.31 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000164/0.6351, allocations: 172.5 kB / 0.5585 GB, free: 69.12 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.522e-05/0.6352, allocations: 4 kB / 0.5585 GB, free: 69.12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003406/0.6356, allocations: 27.97 kB / 0.5586 GB, free: 69.09 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/0.6357, allocations: 39.94 kB / 0.5586 GB, free: 69.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.548e-05/0.6357, allocations: 20 kB / 0.5586 GB, free: 69.03 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002384/0.636, allocations: 252.6 kB / 0.5589 GB, free: 68.79 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.636, allocations: 0 / 0.5589 GB, free: 68.79 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006311/0.6366, allocations: 127.9 kB / 0.559 GB, free: 68.66 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) * 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.0009619/0.6376, allocations: 414.8 kB / 0.5594 GB, free: 68.27 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008295/0.6384, allocations: 0.634 MB / 0.56 GB, free: 67.6 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.6384, allocations: 1.062 kB / 0.56 GB, free: 67.6 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003559/0.6388, allocations: 313.7 kB / 0.5603 GB, free: 67.28 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004835/0.6393, allocations: 65.06 kB / 0.5604 GB, free: 67.21 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001074/0.6404, allocations: 0.6027 MB / 0.5609 GB, free: 66.58 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002613/0.6407, allocations: 0.8682 MB / 0.5618 GB, free: 65.68 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002572/0.6409, allocations: 91.16 kB / 0.5619 GB, free: 65.6 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001157/0.6411, allocations: 43.42 kB / 0.5619 GB, free: 65.56 MB / 378.7 MB Notification: Performance of SimCode: time 2.9e-07/0.6411, allocations: 0 / 0.5619 GB, free: 65.56 MB / 378.7 MB Notification: Performance of Templates: time 0.008104/0.6492, allocations: 5.352 MB / 0.5671 GB, free: 60.21 MB / 378.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)