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.001223/0.001223, allocations: 80.31 kB / 22.21 MB, free: 2.293 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.00101/0.00101, allocations: 168 kB / 25.61 MB, free: 8.59 MB / 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.9025/0.9025, allocations: 177.1 MB / 206.1 MB, free: 4.5 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.1141/0.1141, allocations: 29.43 MB / 292 MB, free: 2.645 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.042e-06/1.042e-06, allocations: 0 / 370.9 MB, free: 32.35 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.758e-06/1.08e-05, allocations: 2.312 kB / 370.9 MB, free: 32.35 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest): time 0.002759/0.00277, allocations: 3.717 MB / 374.6 MB, free: 28.62 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0016/0.00437, allocations: 1.741 MB / 376.3 MB, free: 26.87 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001274/0.004498, allocations: 11.94 kB / 376.3 MB, free: 26.86 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004859/0.004983, allocations: 187 kB / 376.5 MB, free: 26.67 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003672/0.005351, allocations: 294.4 kB / 376.8 MB, free: 26.38 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002798/0.00563, allocations: 259 kB / 377.1 MB, free: 26.13 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003294/0.00596, allocations: 0.5376 MB / 377.6 MB, free: 25.59 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002226/0.006182, allocations: 187.8 kB / 377.8 MB, free: 25.4 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003154/0.006498, allocations: 323.2 kB / 378.1 MB, free: 25.09 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001885/0.006686, allocations: 199.5 kB / 378.3 MB, free: 24.89 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.486e-05/0.006721, allocations: 40 kB / 378.3 MB, free: 24.85 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002918/0.007013, allocations: 347.1 kB / 378.7 MB, free: 24.51 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 8.404e-05/0.007097, allocations: 143.6 kB / 378.8 MB, free: 24.37 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 7.746e-05/0.007175, allocations: 127.7 kB / 378.9 MB, free: 24.25 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004074/0.007582, allocations: 0.5256 MB / 379.5 MB, free: 23.72 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.007584, allocations: 0 / 379.5 MB, free: 23.72 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.71e-07/0.007585, allocations: 0 / 379.5 MB, free: 23.72 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.007589, allocations: 0 / 379.5 MB, free: 23.72 MB / 314.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.0006476/0.008236, allocations: 0.7943 MB / 380.2 MB, free: 22.88 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.831e-05/0.008265, allocations: 8.031 kB / 380.3 MB, free: 22.87 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004638/0.008729, allocations: 152.5 kB / 380.4 MB, free: 22.72 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002743/0.009003, allocations: 341 kB / 380.7 MB, free: 22.36 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.805e-05/0.009021, allocations: 24.86 kB / 380.8 MB, free: 22.34 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.839e-05/0.009049, allocations: 20.38 kB / 380.8 MB, free: 22.32 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002893/0.009339, allocations: 328.9 kB / 381.1 MB, free: 21.96 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.699e-06/0.009348, allocations: 3.938 kB / 381.1 MB, free: 21.96 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.1e-05/0.009369, allocations: 11.98 kB / 381.1 MB, free: 21.95 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.351e-05/0.009393, allocations: 20.48 kB / 381.1 MB, free: 21.92 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001947/0.009587, allocations: 191.1 kB / 381.3 MB, free: 21.73 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009191/0.01051, allocations: 1.625 MB / 382.9 MB, free: 20.02 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003022/0.01081, allocations: 256.8 kB / 383.2 MB, free: 19.75 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.568e-05/0.01087, allocations: 55.81 kB / 383.3 MB, free: 19.69 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.26e-05/0.01089, allocations: 7.984 kB / 383.3 MB, free: 19.68 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001641/0.01105, allocations: 238.5 kB / 383.5 MB, free: 19.39 MB / 314.7 MB Notification: Performance of pre-optimization done (n=31): time 1.262e-06/0.01105, allocations: 4 kB / 383.5 MB, free: 19.39 MB / 314.7 MB Notification: Performance of matching and sorting (n=31): time 0.0003474/0.0114, allocations: 306.4 kB / 383.8 MB, free: 19.09 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.23e-05/0.01144, allocations: 290.7 kB / 384.1 MB, free: 18.73 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001602/0.0116, allocations: 377.9 kB / 384.5 MB, free: 18.34 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.01162, allocations: 41.69 kB / 384.5 MB, free: 18.3 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.38e-05/0.0117, allocations: 252.3 kB / 384.7 MB, free: 18.05 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.441e-05/0.01174, allocations: 107.1 kB / 384.8 MB, free: 17.94 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.625e-05/0.01182, allocations: 75.31 kB / 384.9 MB, free: 17.86 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.531e-05/0.01187, allocations: 0.5312 MB / 385.4 MB, free: 17.32 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.832e-05/0.01193, allocations: 61.67 kB / 385.5 MB, free: 17.25 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001019/0.01203, allocations: 289 kB / 385.8 MB, free: 16.87 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001725/0.0122, allocations: 329.7 kB / 386.1 MB, free: 16.46 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.01221, allocations: 0 / 386.1 MB, free: 16.46 MB / 314.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.000292/0.0125, allocations: 380.8 kB / 386.5 MB, free: 16.07 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.01252, allocations: 33.7 kB / 386.5 MB, free: 16.04 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.01252, allocations: 4 kB / 386.5 MB, free: 16.03 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.01253, allocations: 12.5 kB / 386.5 MB, free: 16.02 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001638/0.0127, allocations: 87.83 kB / 386.6 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.0127, allocations: 11.98 kB / 386.6 MB, free: 15.92 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001296/0.01283, allocations: 39.77 kB / 386.7 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.68e-05/0.01285, allocations: 16 kB / 386.7 MB, free: 15.87 MB / 314.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 8.012e-05/0.01293, allocations: 196.3 kB / 386.9 MB, free: 15.66 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.896e-05/0.01298, allocations: 51.75 kB / 386.9 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002699/0.01325, allocations: 276.8 kB / 387.2 MB, free: 15.34 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.01325, allocations: 15.88 kB / 387.2 MB, free: 15.32 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/0.01325, allocations: 4 kB / 387.2 MB, free: 15.32 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.01326, allocations: 4 kB / 387.2 MB, free: 15.31 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003774/0.01364, allocations: 1.148 MB / 388.4 MB, free: 14.1 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.01364, allocations: 7.938 kB / 388.4 MB, free: 14.09 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001362/0.01377, allocations: 71.91 kB / 388.4 MB, free: 14.02 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.01378, allocations: 4 kB / 388.5 MB, free: 14.02 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.373e-05/0.01379, allocations: 11.98 kB / 388.5 MB, free: 14.01 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.01379, allocations: 12.12 kB / 388.5 MB, free: 14 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.0138, allocations: 7.938 kB / 388.5 MB, free: 13.99 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002574/0.01405, allocations: 386.5 kB / 388.9 MB, free: 13.56 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.756e-05/0.01408, allocations: 51.56 kB / 388.9 MB, free: 13.51 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.486e-05/0.01412, allocations: 16 kB / 388.9 MB, free: 13.49 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.426e-05/0.0142, allocations: 15.98 kB / 388.9 MB, free: 13.48 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.039e-05/0.01425, allocations: 39.94 kB / 389 MB, free: 13.44 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.567e-05/0.01427, allocations: 15.98 kB / 389 MB, free: 13.42 MB / 314.7 MB Notification: Performance of sorting global known variables: time 8.075e-05/0.01435, allocations: 230.9 kB / 389.2 MB, free: 13.2 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01435, allocations: 8 kB / 389.2 MB, free: 13.19 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002569/0.0146, allocations: 115.8 kB / 389.3 MB, free: 13.08 MB / 314.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.0008712/0.01548, allocations: 0.4989 MB / 389.8 MB, free: 12.8 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000242/0.01572, allocations: 288.3 kB / 390.1 MB, free: 12.49 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.01572, allocations: 0 / 390.1 MB, free: 12.49 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 9.494e-05/0.01581, allocations: 112.7 kB / 390.2 MB, free: 12.38 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002648/0.01608, allocations: 91.77 kB / 390.3 MB, free: 12.3 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008286/0.01691, allocations: 0.6942 MB / 391 MB, free: 11.54 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.761e-05/0.01695, allocations: 126 kB / 391.1 MB, free: 11.4 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001053/0.01706, allocations: 55.25 kB / 391.2 MB, free: 11.35 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001483/0.01721, allocations: 158.1 kB / 391.3 MB, free: 11.2 MB / 314.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01721, allocations: 0 / 391.3 MB, free: 11.2 MB / 314.7 MB Notification: Performance of Templates: time 0.00688/0.02409, allocations: 6.246 MB / 397.6 MB, free: 5.02 MB / 314.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.0359460366889834]