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.001053/0.001053, allocations: 115 kB / 16.63 MB, free: 6.812 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.001159/0.001159, allocations: 186 kB / 17.55 MB, free: 5.934 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.336/1.336, allocations: 222.9 MB / 241.2 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1838/0.1838, allocations: 38.02 MB / 329.4 MB, free: 8.727 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001382, allocations: 61.97 kB / 398.3 MB, free: 34.33 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1183, allocations: 58.05 MB / 456.3 MB, free: 8.367 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest): time 0.006753/0.1251, allocations: 4.13 MB / 460.5 MB, free: 4.211 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003407/0.1286, allocations: 2.16 MB / 462.6 MB, free: 2.043 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003681/0.129, allocations: 19.88 kB / 462.6 MB, free: 2.023 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009101/0.1299, allocations: 231.1 kB / 462.9 MB, free: 1.797 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007683/0.1307, allocations: 251.1 kB / 463.1 MB, free: 1.551 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007806/0.1315, allocations: 262.6 kB / 463.4 MB, free: 1.297 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006508/0.1322, allocations: 0.5221 MB / 463.9 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004453/0.1326, allocations: 231.5 kB / 464.1 MB, free: 0.543 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004972/0.1331, allocations: 219.2 kB / 464.3 MB, free: 336 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003609/0.1335, allocations: 234.4 kB / 464.6 MB, free: 104 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.002e-05/0.1336, allocations: 40 kB / 464.6 MB, free: 64 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006779/0.1343, allocations: 395.2 kB / 465 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001674/0.1344, allocations: 135.6 kB / 465.1 MB, free: 15.54 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002012/0.1347, allocations: 183 kB / 465.3 MB, free: 15.36 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009156/0.1356, allocations: 0.6544 MB / 465.9 MB, free: 14.71 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1356, allocations: 0 / 465.9 MB, free: 14.71 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.1356, allocations: 0 / 465.9 MB, free: 14.71 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.42e-05/0.1356, allocations: 0 / 465.9 MB, free: 14.71 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.001436/0.1371, allocations: 0.747 MB / 466.7 MB, free: 13.9 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.1371, allocations: 15.89 kB / 466.7 MB, free: 13.89 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009806/0.1381, allocations: 108.4 kB / 466.8 MB, free: 13.78 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005817/0.1387, allocations: 395.7 kB / 467.2 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.892e-05/0.1387, allocations: 24.73 kB / 467.2 MB, free: 13.33 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.02e-05/0.1388, allocations: 20.12 kB / 467.2 MB, free: 13.31 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008657/0.1397, allocations: 446.8 kB / 467.7 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.9e-05/0.1397, allocations: 3.938 kB / 467.7 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.747e-05/0.1397, allocations: 11.98 kB / 467.7 MB, free: 12.82 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.623e-05/0.1398, allocations: 24.42 kB / 467.7 MB, free: 12.8 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001036/0.1408, allocations: 0.4934 MB / 468.2 MB, free: 12.31 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0023/0.1431, allocations: 1.682 MB / 469.9 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009353/0.1441, allocations: 366.7 kB / 470.3 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003513/0.1444, allocations: 137.6 kB / 470.4 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.055e-05/0.1445, allocations: 8 kB / 470.4 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005342/0.145, allocations: 298.9 kB / 470.7 MB, free: 9.676 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 2.054e-06/0.1451, allocations: 0 / 470.7 MB, free: 9.676 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001333/0.1464, allocations: 0.5235 MB / 471.2 MB, free: 9.148 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000134/0.1465, allocations: 295 kB / 471.5 MB, free: 8.793 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003885/0.1469, allocations: 336.4 kB / 471.8 MB, free: 8.453 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.883e-05/0.147, allocations: 37.64 kB / 471.9 MB, free: 8.41 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001351/0.1471, allocations: 200.4 kB / 472.1 MB, free: 8.207 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.577e-05/0.1472, allocations: 102.6 kB / 472.2 MB, free: 8.105 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001086/0.1473, allocations: 69.61 kB / 472.2 MB, free: 8.031 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.1475, allocations: 346.8 kB / 472.6 MB, free: 7.684 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003686/0.1478, allocations: 147.9 kB / 472.7 MB, free: 7.539 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000459/0.1483, allocations: 281 kB / 473 MB, free: 7.203 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008198/0.1491, allocations: 462.3 kB / 473.4 MB, free: 6.688 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/0.1492, allocations: 4 kB / 473.4 MB, free: 6.684 MB / 350.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001019/0.1502, allocations: 0.5064 MB / 473.9 MB, free: 6.164 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.456e-05/0.1502, allocations: 37.69 kB / 474 MB, free: 6.121 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.1503, allocations: 4 kB / 474 MB, free: 6.117 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.618e-05/0.1503, allocations: 11.94 kB / 474 MB, free: 6.105 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003247/0.1506, allocations: 87.83 kB / 474.1 MB, free: 6.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.46e-05/0.1506, allocations: 4.312 kB / 474.1 MB, free: 6.016 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000278/0.1509, allocations: 51.66 kB / 474.1 MB, free: 5.965 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.32e-05/0.151, allocations: 20 kB / 474.2 MB, free: 5.945 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.0002085/0.1512, allocations: 193.6 kB / 474.3 MB, free: 5.746 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.379e-05/0.1513, allocations: 43.47 kB / 474.4 MB, free: 5.703 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001195/0.1514, allocations: 47.17 kB / 474.4 MB, free: 5.656 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.243e-06/0.1514, allocations: 7.984 kB / 474.4 MB, free: 5.648 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.1514, allocations: 4 kB / 474.5 MB, free: 5.645 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.1514, allocations: 4 kB / 474.5 MB, free: 5.641 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008521/0.1523, allocations: 1.031 MB / 475.5 MB, free: 4.531 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.1523, allocations: 4.188 kB / 475.5 MB, free: 4.527 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000251/0.1526, allocations: 63.91 kB / 475.6 MB, free: 4.465 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/0.1526, allocations: 4 kB / 475.6 MB, free: 4.461 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.05e-05/0.1526, allocations: 11.98 kB / 475.6 MB, free: 4.449 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.823e-06/0.1526, allocations: 11.92 kB / 475.6 MB, free: 4.438 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.848e-06/0.1526, allocations: 4 kB / 475.6 MB, free: 4.434 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009017/0.1535, allocations: 471.3 kB / 476 MB, free: 3.93 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.522e-05/0.1536, allocations: 108.7 kB / 476.1 MB, free: 3.805 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.631e-05/0.1537, allocations: 23.97 kB / 476.2 MB, free: 3.781 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002144/0.1539, allocations: 19.98 kB / 476.2 MB, free: 3.762 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.519e-05/0.154, allocations: 39.89 kB / 476.2 MB, free: 3.723 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.142e-05/0.1541, allocations: 19.98 kB / 476.3 MB, free: 3.703 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002473/0.1543, allocations: 239 kB / 476.5 MB, free: 3.473 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1543, allocations: 4 kB / 476.5 MB, free: 3.469 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004076/0.1547, allocations: 87.89 kB / 476.6 MB, free: 3.383 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.001122/0.1559, allocations: 455.2 kB / 477 MB, free: 3.105 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00114/0.157, allocations: 443.5 kB / 477.5 MB, free: 2.66 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.501e-06/0.157, allocations: 320 / 477.5 MB, free: 2.66 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005638/0.1576, allocations: 202.2 kB / 477.6 MB, free: 2.465 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005953/0.1582, allocations: 81 kB / 477.7 MB, free: 2.391 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001648/0.1599, allocations: 0.82 MB / 478.5 MB, free: 1.52 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005764/0.1605, allocations: 0.8073 MB / 479.4 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002757/0.1608, allocations: 87.2 kB / 479.4 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001399/0.1609, allocations: 43.42 kB / 479.5 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of SimCode: time 2.254e-06/0.1609, allocations: 4 kB / 479.5 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of Templates: time 0.009925/0.1709, allocations: 4.495 MB / 484 MB, free: 12.1 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)