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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001239/0.001239, allocations: 105.9 kB / 16.5 MB, free: 6.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001198/0.001199, allocations: 193.9 kB / 17.42 MB, free: 6.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 222.9 MB / 241.1 MB, free: 13.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1766/0.1766, allocations: 38.02 MB / 329.3 MB, free: 8.812 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001383, allocations: 61.47 kB / 398.1 MB, free: 34.46 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1146, allocations: 58.06 MB / 456.1 MB, free: 8.5 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest): time 0.005169/0.1198, allocations: 4.122 MB / 460.3 MB, free: 4.352 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002889/0.1227, allocations: 2.199 MB / 462.5 MB, free: 2.145 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002221/0.123, allocations: 19.88 kB / 462.5 MB, free: 2.125 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007524/0.1237, allocations: 219.2 kB / 462.7 MB, free: 1.91 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000496/0.1242, allocations: 243.1 kB / 462.9 MB, free: 1.672 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005523/0.1248, allocations: 270.6 kB / 463.2 MB, free: 1.41 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006052/0.1254, allocations: 0.6157 MB / 463.8 MB, free: 0.793 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003426/0.1258, allocations: 199.7 kB / 464 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003502/0.1261, allocations: 187.2 kB / 464.2 MB, free: 420 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002565/0.1264, allocations: 215.1 kB / 464.4 MB, free: 204 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.603e-05/0.1265, allocations: 20 kB / 464.4 MB, free: 184 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007201/0.1272, allocations: 451.1 kB / 464.9 MB, free: 15.74 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001166/0.1273, allocations: 115.6 kB / 465 MB, free: 15.62 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001673/0.1275, allocations: 167 kB / 465.1 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006563/0.1281, allocations: 0.6349 MB / 465.8 MB, free: 14.82 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.1282, allocations: 0 / 465.8 MB, free: 14.82 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.61e-07/0.1282, allocations: 0 / 465.8 MB, free: 14.82 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.648e-06/0.1282, allocations: 0 / 465.8 MB, free: 14.82 MB / 350.1 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.001182/0.1294, allocations: 0.7471 MB / 466.5 MB, free: 14.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.1294, allocations: 12.03 kB / 466.5 MB, free: 14.01 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008682/0.1303, allocations: 100.4 kB / 466.6 MB, free: 13.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005322/0.1308, allocations: 407.6 kB / 467 MB, free: 13.47 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.185e-05/0.1309, allocations: 12.81 kB / 467 MB, free: 13.46 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.926e-05/0.1309, allocations: 32.11 kB / 467.1 MB, free: 13.43 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008018/0.1317, allocations: 450.7 kB / 467.5 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.1317, allocations: 0 / 467.5 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.592e-05/0.1318, allocations: 12 kB / 467.5 MB, free: 12.94 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.143e-05/0.1318, allocations: 16.42 kB / 467.5 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009992/0.1328, allocations: 0.5051 MB / 468 MB, free: 12.42 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002252/0.1351, allocations: 1.678 MB / 469.7 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009837/0.1361, allocations: 372.3 kB / 470.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003597/0.1365, allocations: 137.6 kB / 470.2 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.703e-05/0.1365, allocations: 19.95 kB / 470.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005993/0.1371, allocations: 286.9 kB / 470.5 MB, free: 9.789 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.714e-06/0.1371, allocations: 0 / 470.5 MB, free: 9.789 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001293/0.1384, allocations: 0.5235 MB / 471 MB, free: 9.262 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001292/0.1386, allocations: 291.1 kB / 471.3 MB, free: 8.91 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003694/0.1389, allocations: 336.4 kB / 471.7 MB, free: 8.57 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.746e-05/0.139, allocations: 37.7 kB / 471.7 MB, free: 8.527 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001333/0.1391, allocations: 200.3 kB / 471.9 MB, free: 8.324 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.763e-05/0.1392, allocations: 102.6 kB / 472 MB, free: 8.223 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001164/0.1393, allocations: 73.59 kB / 472.1 MB, free: 8.145 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.1395, allocations: 342.8 kB / 472.4 MB, free: 7.801 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003792/0.1399, allocations: 151.8 kB / 472.5 MB, free: 7.652 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004513/0.1403, allocations: 277 kB / 472.8 MB, free: 7.32 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008463/0.1412, allocations: 462.3 kB / 473.3 MB, free: 6.805 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.1412, allocations: 8 kB / 473.3 MB, free: 6.797 MB / 350.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.000995/0.1422, allocations: 0.5064 MB / 473.8 MB, free: 6.277 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.789e-05/0.1423, allocations: 41.69 kB / 473.8 MB, free: 6.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.1423, allocations: 4 kB / 473.8 MB, free: 6.227 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.1423, allocations: 8 kB / 473.8 MB, free: 6.219 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003123/0.1426, allocations: 79.89 kB / 473.9 MB, free: 6.141 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/0.1426, allocations: 11.92 kB / 473.9 MB, free: 6.129 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002833/0.1429, allocations: 51.98 kB / 474 MB, free: 6.078 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.206e-05/0.143, allocations: 19.98 kB / 474 MB, free: 6.059 MB / 350.1 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 ($PRE.windFarm.wind.nextTimeEvent,$whenCondition2,windFarm.disturbance.count,$PRE.windFarm.disturbance.count,windFarm.disturbance.T_start,$PRE.windFarm.disturbance.T_start,windFarm.wind.nextTimeEventScaled,$PRE.windFarm.wind.nextTimeEventScaled,windFarm.wind.nextTimeEvent,$whenCondition1,system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002007/0.1432, allocations: 189.7 kB / 474.2 MB, free: 5.863 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.268e-05/0.1433, allocations: 43.47 kB / 474.2 MB, free: 5.82 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.5e-05/0.1434, allocations: 51.16 kB / 474.3 MB, free: 5.77 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.1434, allocations: 4 kB / 474.3 MB, free: 5.766 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.802e-06/0.1434, allocations: 4 kB / 474.3 MB, free: 5.762 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.1434, allocations: 0 / 474.3 MB, free: 5.762 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008339/0.1442, allocations: 1.042 MB / 475.3 MB, free: 4.641 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.1442, allocations: 4 kB / 475.3 MB, free: 4.637 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002455/0.1445, allocations: 64.08 kB / 475.4 MB, free: 4.574 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.1445, allocations: 0 / 475.4 MB, free: 4.574 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.651e-05/0.1445, allocations: 12 kB / 475.4 MB, free: 4.562 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-06/0.1445, allocations: 7.984 kB / 475.4 MB, free: 4.555 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1446, allocations: 3.938 kB / 475.4 MB, free: 4.551 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009048/0.1455, allocations: 471.3 kB / 475.9 MB, free: 4.047 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.878e-05/0.1456, allocations: 116.7 kB / 476 MB, free: 3.914 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.325e-05/0.1456, allocations: 15.98 kB / 476 MB, free: 3.898 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00022/0.1458, allocations: 23.97 kB / 476 MB, free: 3.875 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.88e-05/0.1459, allocations: 39.84 kB / 476.1 MB, free: 3.836 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.941e-05/0.146, allocations: 15.98 kB / 476.1 MB, free: 3.82 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002374/0.1462, allocations: 235 kB / 476.3 MB, free: 3.594 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1462, allocations: 7.938 kB / 476.3 MB, free: 3.586 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004005/0.1466, allocations: 87.91 kB / 476.4 MB, free: 3.5 MB / 350.1 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.wind.nextTimeEventScaled,windFarm.disturbance.count,windFarm.wind.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009927/0.1476, allocations: 462.2 kB / 476.9 MB, free: 3.215 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008739/0.1485, allocations: 407.9 kB / 477.3 MB, free: 2.805 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.1485, allocations: 4 kB / 477.3 MB, free: 2.801 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004687/0.149, allocations: 196 kB / 477.4 MB, free: 2.609 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004385/0.1495, allocations: 75.23 kB / 477.5 MB, free: 2.535 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00117/0.1506, allocations: 0.8175 MB / 478.3 MB, free: 1.668 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003631/0.151, allocations: 0.8037 MB / 479.1 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002418/0.1513, allocations: 87.19 kB / 479.2 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001098/0.1514, allocations: 43.42 kB / 479.3 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1514, allocations: 0 / 479.3 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of Templates: time 0.008294/0.1597, allocations: 4.342 MB / 483.6 MB, free: 12.42 MB / 366.1 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)