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.001899/0.001899, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.001945/0.001945, allocations: 169.3 kB / 24.28 MB, free: 152 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 1.55/1.55, allocations: 177.1 MB / 204.6 MB, free: 5.559 MB / 186.7 MB " [Timeout remaining time 178] 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.3051/0.3051, allocations: 29.4 MB / 290.5 MB, free: 2.414 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.144e-06/2.144e-06, allocations: 0 / 368.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.199e-05/3.413e-05, allocations: 2.312 kB / 368.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest): time 0.006286/0.00632, allocations: 3.773 MB / 372.7 MB, free: 7.5 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003932/0.01025, allocations: 2.139 MB / 374.8 MB, free: 5.352 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001864/0.01044, allocations: 11.88 kB / 374.8 MB, free: 5.34 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009227/0.01136, allocations: 242.8 kB / 375 MB, free: 5.102 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008008/0.01216, allocations: 330.3 kB / 375.4 MB, free: 4.777 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006278/0.01279, allocations: 266.9 kB / 375.6 MB, free: 4.516 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007033/0.01349, allocations: 0.5454 MB / 376.2 MB, free: 3.969 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003947/0.01389, allocations: 199.8 kB / 376.4 MB, free: 3.773 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006279/0.01452, allocations: 323.2 kB / 376.7 MB, free: 3.457 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00035/0.01487, allocations: 203.4 kB / 376.9 MB, free: 3.258 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.611e-05/0.01494, allocations: 40 kB / 376.9 MB, free: 3.219 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007065/0.01565, allocations: 395 kB / 377.3 MB, free: 2.832 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001798/0.01583, allocations: 143.6 kB / 377.4 MB, free: 2.691 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001937/0.01602, allocations: 127.7 kB / 377.6 MB, free: 2.566 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001139/0.01716, allocations: 0.7321 MB / 378.3 MB, free: 1.832 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.01716, allocations: 4 kB / 378.3 MB, free: 1.828 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.173e-06/0.01717, allocations: 0 / 378.3 MB, free: 1.828 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.01717, allocations: 4 kB / 378.3 MB, free: 1.824 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.001458/0.01863, allocations: 0.8251 MB / 379.1 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.01867, allocations: 19.97 kB / 379.2 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009446/0.01962, allocations: 156.5 kB / 379.3 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006373/0.02025, allocations: 336.3 kB / 379.6 MB, free: 436 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.092e-05/0.02029, allocations: 20.88 kB / 379.7 MB, free: 416 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.108e-05/0.02034, allocations: 16.38 kB / 379.7 MB, free: 400 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008079/0.02114, allocations: 397.1 kB / 380.1 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/0.02116, allocations: 7.875 kB / 380.1 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.71e-05/0.0212, allocations: 11.94 kB / 380.1 MB, free: 15.94 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.422e-05/0.02124, allocations: 20.48 kB / 380.1 MB, free: 15.92 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008911/0.02213, allocations: 365.6 kB / 380.5 MB, free: 15.56 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002701/0.02483, allocations: 1.749 MB / 382.2 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009595/0.02579, allocations: 326 kB / 382.5 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003056/0.0261, allocations: 115.3 kB / 382.6 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.92e-05/0.02613, allocations: 4 kB / 382.6 MB, free: 13.26 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005778/0.02671, allocations: 310 kB / 382.9 MB, free: 12.91 MB / 362.7 MB Notification: Performance of pre-optimization done (n=31): time 1.813e-06/0.02671, allocations: 0 / 382.9 MB, free: 12.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=31): time 0.001226/0.02793, allocations: 452 kB / 383.4 MB, free: 12.46 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002044/0.02814, allocations: 294.7 kB / 383.7 MB, free: 12.11 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00054/0.02868, allocations: 450.2 kB / 384.1 MB, free: 11.64 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.018e-05/0.02873, allocations: 37.7 kB / 384.1 MB, free: 11.6 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002445/0.02897, allocations: 271.3 kB / 384.4 MB, free: 11.33 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001241/0.0291, allocations: 115.2 kB / 384.5 MB, free: 11.22 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000153/0.02925, allocations: 87.34 kB / 384.6 MB, free: 11.12 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003391/0.02959, allocations: 0.543 MB / 385.2 MB, free: 10.57 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003327/0.02992, allocations: 133.8 kB / 385.3 MB, free: 10.43 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005989/0.03052, allocations: 368.9 kB / 385.6 MB, free: 9.977 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007922/0.03131, allocations: 447.4 kB / 386.1 MB, free: 9.453 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.03132, allocations: 0 / 386.1 MB, free: 9.453 MB / 362.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001044/0.03236, allocations: 0.4962 MB / 386.6 MB, free: 8.938 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.824e-05/0.03241, allocations: 34.27 kB / 386.6 MB, free: 8.898 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.03242, allocations: 4 kB / 386.6 MB, free: 8.895 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.558e-05/0.03244, allocations: 15.94 kB / 386.6 MB, free: 8.879 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003483/0.03279, allocations: 83.89 kB / 386.7 MB, free: 8.797 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.897e-05/0.03281, allocations: 11.92 kB / 386.7 MB, free: 8.785 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002569/0.03307, allocations: 39.77 kB / 386.8 MB, free: 8.746 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.734e-05/0.03311, allocations: 20 kB / 386.8 MB, free: 8.727 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.0002276/0.03333, allocations: 204.5 kB / 387 MB, free: 8.516 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001063/0.03344, allocations: 55.69 kB / 387 MB, free: 8.461 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009253/0.03436, allocations: 380.6 kB / 387.4 MB, free: 8.082 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.35e-05/0.03438, allocations: 11.94 kB / 387.4 MB, free: 8.07 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.03439, allocations: 4 kB / 387.4 MB, free: 8.066 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.03439, allocations: 3.984 kB / 387.4 MB, free: 8.062 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001365/0.03576, allocations: 1.272 MB / 388.7 MB, free: 6.719 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.03576, allocations: 0 / 388.7 MB, free: 6.719 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002756/0.03604, allocations: 64.09 kB / 388.8 MB, free: 6.656 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.03604, allocations: 8 kB / 388.8 MB, free: 6.648 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.844e-05/0.03608, allocations: 19.98 kB / 388.8 MB, free: 6.629 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.03609, allocations: 4 kB / 388.8 MB, free: 6.625 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.03609, allocations: 0 / 388.8 MB, free: 6.625 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009858/0.03707, allocations: 0.493 MB / 389.3 MB, free: 6.078 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.412e-05/0.03715, allocations: 39.7 kB / 389.3 MB, free: 6.039 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.335e-05/0.03722, allocations: 19.98 kB / 389.3 MB, free: 6.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001899/0.03741, allocations: 19.98 kB / 389.4 MB, free: 6 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001144/0.03753, allocations: 43.88 kB / 389.4 MB, free: 5.957 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.264e-05/0.03758, allocations: 19.94 kB / 389.4 MB, free: 5.938 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003441/0.03792, allocations: 295 kB / 389.7 MB, free: 5.652 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03792, allocations: 0 / 389.7 MB, free: 5.652 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004804/0.0384, allocations: 111.8 kB / 389.8 MB, free: 5.543 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.003461/0.04186, allocations: 0.5387 MB / 390.4 MB, free: 5.23 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009485/0.04281, allocations: 416.7 kB / 390.8 MB, free: 4.801 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.04282, allocations: 0 / 390.8 MB, free: 4.801 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003996/0.04321, allocations: 175.4 kB / 390.9 MB, free: 4.625 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005275/0.04374, allocations: 100.1 kB / 391 MB, free: 4.539 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001431/0.04517, allocations: 0.7218 MB / 391.8 MB, free: 3.754 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003258/0.0455, allocations: 213.1 kB / 392 MB, free: 3.523 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002468/0.04575, allocations: 79.2 kB / 392 MB, free: 3.445 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000143/0.04589, allocations: 44.48 kB / 392.1 MB, free: 3.402 MB / 362.7 MB Notification: Performance of SimCode: time 9.72e-07/0.04589, allocations: 0 / 392.1 MB, free: 3.402 MB / 362.7 MB Notification: Performance of Templates: time 0.01363/0.05952, allocations: 5.595 MB / 397.7 MB, free: 13.86 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: 4.95509107306134]