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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 83.58 kB / 21.19 MB, free: 3.383 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9382/0.9382, allocations: 177.1 MB / 205 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.2475/0.2475, allocations: 29.41 MB / 290.9 MB, free: 2.516 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest") translateModel(PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.713e-05/2.88e-05, allocations: 2.312 kB / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest): time 0.004004/0.004032, allocations: 3.726 MB / 373.4 MB, free: 7.246 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002085/0.006118, allocations: 1.757 MB / 375.1 MB, free: 5.48 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001832/0.006301, allocations: 15.88 kB / 375.1 MB, free: 5.465 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005814/0.006882, allocations: 199 kB / 375.3 MB, free: 5.27 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005338/0.007416, allocations: 286.5 kB / 375.6 MB, free: 4.988 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004824/0.007899, allocations: 262.9 kB / 375.9 MB, free: 4.73 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004752/0.008374, allocations: 0.5298 MB / 376.4 MB, free: 4.199 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002875/0.008661, allocations: 199.8 kB / 376.6 MB, free: 4.004 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000404/0.009065, allocations: 323.1 kB / 376.9 MB, free: 3.688 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002281/0.009294, allocations: 203.5 kB / 377.1 MB, free: 3.488 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.355e-05/0.009337, allocations: 40 kB / 377.1 MB, free: 3.449 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003699/0.009707, allocations: 351.1 kB / 377.5 MB, free: 3.105 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001052/0.009812, allocations: 143.6 kB / 377.6 MB, free: 2.965 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 9.675e-05/0.009909, allocations: 123.7 kB / 377.8 MB, free: 2.844 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005315/0.01044, allocations: 0.5296 MB / 378.3 MB, free: 2.312 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.335e-06/0.01044, allocations: 0 / 378.3 MB, free: 2.312 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.01044, allocations: 0 / 378.3 MB, free: 2.312 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.92e-06/0.01045, allocations: 0 / 378.3 MB, free: 2.312 MB / 346.7 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.0008052/0.01125, allocations: 0.7866 MB / 379.1 MB, free: 1.477 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.01129, allocations: 11.98 kB / 379.1 MB, free: 1.465 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006201/0.01191, allocations: 160.5 kB / 379.2 MB, free: 1.309 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003556/0.01226, allocations: 345 kB / 379.6 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.944e-05/0.01228, allocations: 20.84 kB / 379.6 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.088e-05/0.01231, allocations: 24.38 kB / 379.6 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004139/0.01273, allocations: 348.9 kB / 380 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.01274, allocations: 7.938 kB / 380 MB, free: 0.5117 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.274e-05/0.01276, allocations: 4 kB / 380 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.042e-05/0.01279, allocations: 24.48 kB / 380 MB, free: 496 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003232/0.01311, allocations: 250.6 kB / 380.2 MB, free: 248 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001238/0.01435, allocations: 1.645 MB / 381.9 MB, free: 14.51 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004181/0.01477, allocations: 269.9 kB / 382.1 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.448e-05/0.01486, allocations: 63.81 kB / 382.2 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.685e-05/0.01488, allocations: 11.98 kB / 382.2 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000236/0.01512, allocations: 246 kB / 382.5 MB, free: 13.85 MB / 362.7 MB Notification: Performance of pre-optimization done (n=31): time 1.423e-06/0.01512, allocations: 0 / 382.5 MB, free: 13.85 MB / 362.7 MB Notification: Performance of matching and sorting (n=31): time 0.0004809/0.0156, allocations: 332.5 kB / 382.8 MB, free: 13.52 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.25e-05/0.01569, allocations: 298.7 kB / 383.1 MB, free: 13.16 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000251/0.01594, allocations: 374.1 kB / 383.4 MB, free: 12.78 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.529e-05/0.01597, allocations: 41.64 kB / 383.5 MB, free: 12.73 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/0.01608, allocations: 247.3 kB / 383.7 MB, free: 12.48 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.814e-05/0.01615, allocations: 107.2 kB / 383.8 MB, free: 12.38 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.249e-05/0.01623, allocations: 79.3 kB / 383.9 MB, free: 12.29 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.01637, allocations: 0.5196 MB / 384.4 MB, free: 11.76 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001105/0.01648, allocations: 82 kB / 384.5 MB, free: 11.68 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002007/0.01668, allocations: 303.9 kB / 384.8 MB, free: 11.29 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002896/0.01697, allocations: 343.5 kB / 385.1 MB, free: 10.86 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.01697, allocations: 0 / 385.1 MB, free: 10.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0004333/0.01741, allocations: 408.1 kB / 385.5 MB, free: 10.45 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.13e-05/0.01744, allocations: 33.7 kB / 385.6 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.01745, allocations: 4 kB / 385.6 MB, free: 10.4 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.01746, allocations: 11.94 kB / 385.6 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001882/0.01765, allocations: 84.45 kB / 385.7 MB, free: 10.31 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.01766, allocations: 11.94 kB / 385.7 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001234/0.01779, allocations: 43.77 kB / 385.7 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.269e-05/0.01781, allocations: 19.98 kB / 385.7 MB, free: 10.23 MB / 362.7 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.0001182/0.01793, allocations: 188.4 kB / 385.9 MB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.012e-05/0.01799, allocations: 55.69 kB / 386 MB, free: 9.984 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003818/0.01837, allocations: 304.8 kB / 386.3 MB, free: 9.68 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/0.01838, allocations: 7.938 kB / 386.3 MB, free: 9.672 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.87e-06/0.01838, allocations: 4 kB / 386.3 MB, free: 9.668 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.01839, allocations: 4 kB / 386.3 MB, free: 9.664 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007082/0.01909, allocations: 1.218 MB / 387.5 MB, free: 8.375 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.0191, allocations: 0 / 387.5 MB, free: 8.375 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001547/0.01925, allocations: 71.89 kB / 387.6 MB, free: 8.305 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.91e-06/0.01926, allocations: 4 kB / 387.6 MB, free: 8.301 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.929e-05/0.01928, allocations: 12 kB / 387.6 MB, free: 8.289 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.01928, allocations: 4 kB / 387.6 MB, free: 8.285 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.01928, allocations: 0 / 387.6 MB, free: 8.285 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003653/0.01965, allocations: 424.9 kB / 388 MB, free: 7.816 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.44e-05/0.01968, allocations: 39.7 kB / 388.1 MB, free: 7.777 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.111e-05/0.01972, allocations: 19.98 kB / 388.1 MB, free: 7.758 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.607e-05/0.01981, allocations: 19.98 kB / 388.1 MB, free: 7.738 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.007e-05/0.01988, allocations: 39.88 kB / 388.1 MB, free: 7.699 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.085e-05/0.0199, allocations: 19.94 kB / 388.2 MB, free: 7.68 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001575/0.02006, allocations: 255 kB / 388.4 MB, free: 7.434 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.02006, allocations: 0 / 388.4 MB, free: 7.434 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002873/0.02034, allocations: 111.8 kB / 388.5 MB, free: 7.324 MB / 362.7 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.disturbance.count,windFarm.wind.nextTimeEvent,windFarm.wind.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 35 * 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.0009532/0.0213, allocations: 0.5017 MB / 389 MB, free: 7.004 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000349/0.02165, allocations: 308.5 kB / 389.3 MB, free: 6.68 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.02165, allocations: 0 / 389.3 MB, free: 6.68 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001391/0.02179, allocations: 123.4 kB / 389.4 MB, free: 6.555 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003165/0.0221, allocations: 85.61 kB / 389.5 MB, free: 6.477 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001169/0.02327, allocations: 0.6944 MB / 390.2 MB, free: 5.719 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.039e-05/0.02334, allocations: 126 kB / 390.3 MB, free: 5.574 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001435/0.02349, allocations: 83.19 kB / 390.4 MB, free: 5.488 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.76e-05/0.02357, allocations: 48.48 kB / 390.5 MB, free: 5.441 MB / 362.7 MB Notification: Performance of SimCode: time 7.52e-07/0.02357, allocations: 0 / 390.5 MB, free: 5.441 MB / 362.7 MB Notification: Performance of Templates: time 0.009039/0.03261, allocations: 5.99 MB / 396.5 MB, free: 15.51 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest.makefile [Timeout 660] (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=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.92606799909845]