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.00079/0.00079, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0008931/0.0008931, allocations: 161 kB / 24.55 MB, free: 20 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.9369/0.9369, 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.2367/0.2367, allocations: 29.42 MB / 290.9 MB, free: 2.441 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 2.345e-06/2.345e-06, allocations: 0 / 369.6 MB, free: 10.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.339e-05/3.574e-05, allocations: 2.312 kB / 369.6 MB, free: 10.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest): time 0.005071/0.005107, allocations: 3.726 MB / 373.4 MB, free: 7.227 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002063/0.007169, allocations: 1.769 MB / 375.1 MB, free: 5.449 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001691/0.007338, allocations: 11.88 kB / 375.1 MB, free: 5.438 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006094/0.007948, allocations: 195 kB / 375.3 MB, free: 5.246 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004782/0.008426, allocations: 282.5 kB / 375.6 MB, free: 4.969 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003773/0.008803, allocations: 258.9 kB / 375.9 MB, free: 4.715 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004499/0.009253, allocations: 0.5454 MB / 376.4 MB, free: 4.168 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003071/0.00956, allocations: 199.7 kB / 376.6 MB, free: 3.973 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004232/0.009983, allocations: 315.2 kB / 376.9 MB, free: 3.664 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002525/0.01024, allocations: 210.7 kB / 377.1 MB, free: 3.461 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.71e-05/0.01028, allocations: 43.98 kB / 377.2 MB, free: 3.418 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003749/0.01066, allocations: 343.1 kB / 377.5 MB, free: 3.082 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001067/0.01076, allocations: 135.6 kB / 377.6 MB, free: 2.949 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001089/0.01087, allocations: 135.7 kB / 377.8 MB, free: 2.816 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005427/0.01142, allocations: 0.5256 MB / 378.3 MB, free: 2.289 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.01142, allocations: 4 kB / 378.3 MB, free: 2.285 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.01142, allocations: 0 / 378.3 MB, free: 2.285 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.01142, allocations: 0 / 378.3 MB, free: 2.285 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.0008375/0.01226, allocations: 0.7866 MB / 379.1 MB, free: 1.449 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.0123, allocations: 11.98 kB / 379.1 MB, free: 1.438 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005365/0.01283, allocations: 152.5 kB / 379.2 MB, free: 1.289 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003826/0.01322, allocations: 349 kB / 379.6 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.102e-05/0.01324, allocations: 20.88 kB / 379.6 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.39e-05/0.01327, allocations: 24.31 kB / 379.6 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004212/0.01369, allocations: 348.9 kB / 380 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.01371, allocations: 3.938 kB / 380 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.512e-05/0.01373, allocations: 12 kB / 380 MB, free: 492 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.778e-05/0.01376, allocations: 16.5 kB / 380 MB, free: 476 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003446/0.0141, allocations: 258.6 kB / 380.2 MB, free: 220 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001305/0.01541, allocations: 1.645 MB / 381.9 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004283/0.01584, allocations: 270.8 kB / 382.2 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.937e-05/0.01594, allocations: 67.75 kB / 382.2 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.163e-05/0.01596, allocations: 7.984 kB / 382.2 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002567/0.01621, allocations: 246 kB / 382.5 MB, free: 13.82 MB / 362.7 MB Notification: Performance of pre-optimization done (n=31): time 1.663e-06/0.01622, allocations: 0 / 382.5 MB, free: 13.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=31): time 0.000497/0.01671, allocations: 328.6 kB / 382.8 MB, free: 13.5 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.731e-05/0.01681, allocations: 294.8 kB / 383.1 MB, free: 13.14 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002665/0.01708, allocations: 378.1 kB / 383.4 MB, free: 12.75 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.509e-05/0.0171, allocations: 33.7 kB / 383.5 MB, free: 12.71 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/0.01722, allocations: 255.3 kB / 383.7 MB, free: 12.46 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.94e-05/0.01728, allocations: 107.1 kB / 383.8 MB, free: 12.35 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.192e-05/0.01736, allocations: 79.3 kB / 383.9 MB, free: 12.27 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.01749, allocations: 0.5196 MB / 384.4 MB, free: 11.73 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001114/0.01761, allocations: 81.66 kB / 384.5 MB, free: 11.65 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001928/0.0178, allocations: 293.1 kB / 384.8 MB, free: 11.27 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003015/0.0181, allocations: 343.5 kB / 385.1 MB, free: 10.84 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.0181, allocations: 4 kB / 385.1 MB, free: 10.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0004285/0.01853, allocations: 408.3 kB / 385.5 MB, free: 10.42 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.296e-05/0.01857, allocations: 41.69 kB / 385.6 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.01857, allocations: 4 kB / 385.6 MB, free: 10.37 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.01859, allocations: 7.938 kB / 385.6 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000184/0.01877, allocations: 83.83 kB / 385.7 MB, free: 10.28 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.01878, allocations: 8 kB / 385.7 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001618/0.01894, allocations: 40.17 kB / 385.7 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.535e-05/0.01898, allocations: 20 kB / 385.7 MB, free: 10.21 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.0001414/0.01912, allocations: 200.3 kB / 385.9 MB, free: 10.01 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.943e-05/0.01919, allocations: 51.77 kB / 386 MB, free: 9.957 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003862/0.01958, allocations: 296.7 kB / 386.3 MB, free: 9.66 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.01958, allocations: 7.938 kB / 386.3 MB, free: 9.652 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.01959, allocations: 4 kB / 386.3 MB, free: 9.648 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.01959, allocations: 7.984 kB / 386.3 MB, free: 9.641 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006499/0.02024, allocations: 1.218 MB / 387.5 MB, free: 8.352 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.02025, allocations: 0 / 387.5 MB, free: 8.352 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001493/0.0204, allocations: 63.91 kB / 387.6 MB, free: 8.289 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.07e-06/0.0204, allocations: 7.984 kB / 387.6 MB, free: 8.281 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.039e-05/0.02042, allocations: 19.98 kB / 387.6 MB, free: 8.262 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.02042, allocations: 4 kB / 387.6 MB, free: 8.258 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.02043, allocations: 3.938 kB / 387.6 MB, free: 8.254 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003955/0.02082, allocations: 412.8 kB / 388 MB, free: 7.797 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.072e-05/0.02086, allocations: 47.84 kB / 388.1 MB, free: 7.75 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.989e-05/0.0209, allocations: 16 kB / 388.1 MB, free: 7.734 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.568e-05/0.021, allocations: 19.98 kB / 388.1 MB, free: 7.715 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.199e-05/0.02108, allocations: 39.94 kB / 388.1 MB, free: 7.676 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.221e-05/0.0211, allocations: 19.92 kB / 388.1 MB, free: 7.656 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001773/0.02128, allocations: 251 kB / 388.4 MB, free: 7.414 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02128, allocations: 0 / 388.4 MB, free: 7.414 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000308/0.02159, allocations: 119.8 kB / 388.5 MB, free: 7.297 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.001063/0.02265, allocations: 0.5029 MB / 389 MB, free: 6.98 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003684/0.02302, allocations: 305.3 kB / 389.3 MB, free: 6.66 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.02302, allocations: 4 kB / 389.3 MB, free: 6.656 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001475/0.02317, allocations: 123.4 kB / 389.4 MB, free: 6.531 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002955/0.02346, allocations: 75.84 kB / 389.5 MB, free: 6.461 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001216/0.02468, allocations: 0.695 MB / 390.2 MB, free: 5.703 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.087e-05/0.02476, allocations: 126 kB / 390.3 MB, free: 5.559 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001491/0.02491, allocations: 79.2 kB / 390.4 MB, free: 5.477 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.368e-05/0.025, allocations: 52.41 kB / 390.5 MB, free: 5.426 MB / 362.7 MB Notification: Performance of SimCode: time 9.72e-07/0.02501, allocations: 4 kB / 390.5 MB, free: 5.422 MB / 362.7 MB Notification: Performance of Templates: time 0.007231/0.03224, allocations: 5.594 MB / 396.1 MB, free: 15.89 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: 3.113999964669347]