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.001152/0.001152, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001657/0.002809, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001111/0.001111, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00145/0.002561, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.945/0.945, allocations: 177.1 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08613/1.031, allocations: 53.66 MB / 243.3 MB, free: 15.57 MB / 250.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.1268/0.1268, allocations: 29.43 MB / 273.4 MB, free: 1.43 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1228/0.2496, allocations: 9.515 MB / 282.9 MB, free: 12.84 MB / 282.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.423e-06/1.423e-06, allocations: 0 / 284.2 MB, free: 11.92 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.911e-05/2.053e-05, allocations: 2.312 kB / 284.2 MB, free: 11.91 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest): time 0.005558/0.005578, allocations: 3.789 MB / 288 MB, free: 8.895 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003047/0.008626, allocations: 1.797 MB / 289.8 MB, free: 7.52 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002209/0.008846, allocations: 15.28 kB / 289.8 MB, free: 7.512 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006635/0.00951, allocations: 219.9 kB / 290 MB, free: 7.348 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007855/0.0103, allocations: 297.3 kB / 290.3 MB, free: 7.117 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005649/0.01086, allocations: 256.7 kB / 290.6 MB, free: 6.922 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006078/0.01147, allocations: 0.5461 MB / 291.1 MB, free: 6.613 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003222/0.01179, allocations: 192.2 kB / 291.3 MB, free: 6.52 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005871/0.01238, allocations: 364.6 kB / 291.7 MB, free: 6.289 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003121/0.01269, allocations: 209.5 kB / 291.9 MB, free: 6.164 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.225e-05/0.01275, allocations: 40.78 kB / 291.9 MB, free: 6.164 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005885/0.01334, allocations: 350 kB / 292.2 MB, free: 6 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001341/0.01347, allocations: 117.7 kB / 292.4 MB, free: 5.961 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001388/0.01361, allocations: 103.3 kB / 292.5 MB, free: 5.945 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007157/0.01433, allocations: 497.9 kB / 292.9 MB, free: 5.703 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.447e-05/0.01434, allocations: 0 / 292.9 MB, free: 5.703 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.01434, allocations: 1.406 kB / 292.9 MB, free: 5.703 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.614e-05/0.01436, allocations: 0 / 292.9 MB, free: 5.703 MB / 282.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.001082/0.01544, allocations: 0.7475 MB / 293.7 MB, free: 5.137 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.065e-05/0.01547, allocations: 9.156 kB / 293.7 MB, free: 5.137 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008007/0.01627, allocations: 225.7 kB / 293.9 MB, free: 4.98 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004299/0.0167, allocations: 304.4 kB / 294.2 MB, free: 4.672 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.298e-05/0.01673, allocations: 16.88 kB / 294.2 MB, free: 4.656 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.161e-05/0.01677, allocations: 24.36 kB / 294.3 MB, free: 4.633 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004619/0.01723, allocations: 319.9 kB / 294.6 MB, free: 4.289 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.01724, allocations: 3.938 kB / 294.6 MB, free: 4.285 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.061e-05/0.01727, allocations: 11.98 kB / 294.6 MB, free: 4.273 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.287e-05/0.01731, allocations: 16.48 kB / 294.6 MB, free: 4.254 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003191/0.01763, allocations: 174.1 kB / 294.8 MB, free: 4.082 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001646/0.01927, allocations: 1.194 MB / 296 MB, free: 2.82 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004639/0.01973, allocations: 256.3 kB / 296.2 MB, free: 2.551 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.569e-05/0.01982, allocations: 46.17 kB / 296.3 MB, free: 2.5 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.042e-05/0.01984, allocations: 11.98 kB / 296.3 MB, free: 2.488 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002772/0.02012, allocations: 209.7 kB / 296.5 MB, free: 2.242 MB / 282.7 MB Notification: Performance of pre-optimization done (n=31): time 2.285e-06/0.02012, allocations: 0 / 296.5 MB, free: 2.242 MB / 282.7 MB Notification: Performance of matching and sorting (n=31): time 0.0003856/0.02051, allocations: 219 kB / 296.7 MB, free: 2.023 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.843e-05/0.0206, allocations: 261 kB / 296.9 MB, free: 1.707 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002824/0.02089, allocations: 308.5 kB / 297.2 MB, free: 1.391 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.385e-05/0.02092, allocations: 37.7 kB / 297.3 MB, free: 1.348 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.467e-05/0.02102, allocations: 174.2 kB / 297.5 MB, free: 1.176 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.267e-05/0.0211, allocations: 111.1 kB / 297.6 MB, free: 1.066 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/0.0212, allocations: 65.66 kB / 297.6 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.02131, allocations: 358.7 kB / 298 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001033/0.02142, allocations: 72.45 kB / 298 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001733/0.02159, allocations: 225.2 kB / 298.3 MB, free: 272 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003019/0.02189, allocations: 268 kB / 298.5 MB, free: 15.94 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.02189, allocations: 3.938 kB / 298.5 MB, free: 15.93 MB / 298.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0003842/0.02228, allocations: 295.3 kB / 298.8 MB, free: 15.62 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.194e-05/0.02232, allocations: 35.73 kB / 298.9 MB, free: 15.59 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.02233, allocations: 4.562 kB / 298.9 MB, free: 15.58 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.02234, allocations: 8 kB / 298.9 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003377/0.02268, allocations: 103.8 kB / 299 MB, free: 15.47 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/0.02269, allocations: 11.98 kB / 299 MB, free: 15.46 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001901/0.02288, allocations: 39.77 kB / 299 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.71e-05/0.02291, allocations: 16 kB / 299 MB, free: 15.41 MB / 298.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.00013/0.02304, allocations: 149.1 kB / 299.2 MB, free: 15.25 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.253e-05/0.0231, allocations: 31.97 kB / 299.2 MB, free: 15.22 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003313/0.02343, allocations: 200.7 kB / 299.4 MB, free: 15.02 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.356e-06/0.02344, allocations: 15.94 kB / 299.4 MB, free: 15 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.02345, allocations: 0 / 299.4 MB, free: 15 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.02345, allocations: 7.984 kB / 299.4 MB, free: 15 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006684/0.02412, allocations: 0.8033 MB / 300.2 MB, free: 14.14 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.156e-06/0.02413, allocations: 11.92 kB / 300.2 MB, free: 14.13 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002506/0.02438, allocations: 79.89 kB / 300.3 MB, free: 14.05 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.704e-05/0.02443, allocations: 35.7 kB / 300.4 MB, free: 14.02 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.59e-06/0.02443, allocations: 8.188 kB / 300.4 MB, free: 14.01 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.326e-05/0.02446, allocations: 11.98 kB / 300.4 MB, free: 14 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/0.02446, allocations: 4 kB / 300.4 MB, free: 14 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.02447, allocations: 7.938 kB / 300.4 MB, free: 13.99 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003217/0.02479, allocations: 272.9 kB / 300.7 MB, free: 13.68 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.589e-05/0.02484, allocations: 16 kB / 300.7 MB, free: 13.66 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000135/0.02498, allocations: 19.98 kB / 300.7 MB, free: 13.64 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.583e-05/0.02506, allocations: 39.88 kB / 300.7 MB, free: 13.61 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.713e-05/0.02508, allocations: 15.98 kB / 300.7 MB, free: 13.59 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001408/0.02522, allocations: 131.4 kB / 300.9 MB, free: 13.46 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02522, allocations: 0 / 300.9 MB, free: 13.46 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004258/0.02565, allocations: 115.8 kB / 301 MB, free: 13.34 MB / 298.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.00205/0.0277, allocations: 0.7103 MB / 301.7 MB, free: 13.04 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003549/0.02805, allocations: 267.1 kB / 302 MB, free: 12.75 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.509e-05/0.02807, allocations: 8 kB / 302 MB, free: 12.75 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001459/0.02822, allocations: 100.6 kB / 302.1 MB, free: 12.64 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003591/0.02857, allocations: 118.4 kB / 302.2 MB, free: 12.54 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003898/0.03247, allocations: 0.6969 MB / 302.9 MB, free: 11.79 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.195e-05/0.03254, allocations: 126 kB / 303 MB, free: 11.64 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001488/0.03269, allocations: 59.19 kB / 303.1 MB, free: 11.59 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001635/0.03286, allocations: 123.3 kB / 303.2 MB, free: 11.46 MB / 298.7 MB Notification: Performance of SimCode: time 1.062e-06/0.03286, allocations: 8 kB / 303.2 MB, free: 11.46 MB / 298.7 MB Notification: Performance of Templates: time 0.007145/0.04, allocations: 6.131 MB / 309.3 MB, free: 5.41 MB / 298.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.791211328469217]