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.001477/0.001477, allocations: 92.31 kB / 20.96 MB, free: 3.469 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.001553/0.001553, allocations: 161.7 kB / 24.27 MB, free: 168 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.492/1.492, allocations: 177.1 MB / 204.6 MB, free: 5.582 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.3021/0.3021, allocations: 29.41 MB / 290.5 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 1.824e-06/1.824e-06, allocations: 0 / 368.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.167e-05/3.349e-05, allocations: 2.312 kB / 368.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest): time 0.006358/0.006392, allocations: 3.661 MB / 372.5 MB, free: 7.621 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004218/0.01061, allocations: 2.056 MB / 374.6 MB, free: 5.559 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003156/0.01093, allocations: 15.88 kB / 374.6 MB, free: 5.543 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001293/0.01222, allocations: 226.8 kB / 374.8 MB, free: 5.32 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009894/0.01321, allocations: 330.3 kB / 375.2 MB, free: 4.996 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007738/0.01398, allocations: 262.9 kB / 375.4 MB, free: 4.738 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007396/0.01472, allocations: 0.5492 MB / 376 MB, free: 4.188 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000412/0.01513, allocations: 191.8 kB / 376.2 MB, free: 4 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006344/0.01577, allocations: 326.2 kB / 376.5 MB, free: 3.684 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003635/0.01613, allocations: 203.4 kB / 376.7 MB, free: 3.484 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.01e-05/0.0162, allocations: 44 kB / 376.7 MB, free: 3.441 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000729/0.01693, allocations: 391 kB / 377.1 MB, free: 3.059 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001695/0.0171, allocations: 143.6 kB / 377.2 MB, free: 2.918 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000176/0.01728, allocations: 127.7 kB / 377.4 MB, free: 2.793 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001049/0.01832, allocations: 0.7322 MB / 378.1 MB, free: 2.059 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.01833, allocations: 0 / 378.1 MB, free: 2.059 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.01833, allocations: 0 / 378.1 MB, free: 2.059 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.164e-06/0.01834, allocations: 0 / 378.1 MB, free: 2.059 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.001442/0.01978, allocations: 0.7099 MB / 378.8 MB, free: 1.305 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.01982, allocations: 15.98 kB / 378.8 MB, free: 1.289 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001022/0.02084, allocations: 164.5 kB / 379 MB, free: 1.129 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006188/0.02146, allocations: 337.6 kB / 379.3 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.957e-05/0.02149, allocations: 20.81 kB / 379.3 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.536e-05/0.02154, allocations: 32.36 kB / 379.4 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009809/0.02252, allocations: 477.1 kB / 379.8 MB, free: 228 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.729e-05/0.02254, allocations: 15.81 kB / 379.8 MB, free: 212 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.982e-05/0.02258, allocations: 8 kB / 379.8 MB, free: 204 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.036e-05/0.02262, allocations: 20.48 kB / 379.9 MB, free: 184 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001352/0.02397, allocations: 0.5445 MB / 380.4 MB, free: 15.63 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002471/0.02644, allocations: 1.562 MB / 382 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00116/0.0276, allocations: 392.9 kB / 382.4 MB, free: 13.6 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004103/0.02801, allocations: 145.6 kB / 382.5 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.835e-05/0.02805, allocations: 15.98 kB / 382.5 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006498/0.0287, allocations: 294.9 kB / 382.8 MB, free: 13.11 MB / 362.7 MB Notification: Performance of pre-optimization done (n=31): time 1.693e-06/0.0287, allocations: 8 kB / 382.8 MB, free: 13.1 MB / 362.7 MB Notification: Performance of matching and sorting (n=31): time 0.001604/0.03031, allocations: 0.5742 MB / 383.4 MB, free: 12.52 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00022/0.03053, allocations: 298.7 kB / 383.7 MB, free: 12.16 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005195/0.03105, allocations: 380.4 kB / 384 MB, free: 11.78 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.331e-05/0.03109, allocations: 33.7 kB / 384.1 MB, free: 11.74 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001906/0.03128, allocations: 208.6 kB / 384.3 MB, free: 11.53 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001118/0.03139, allocations: 103.2 kB / 384.4 MB, free: 11.43 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000133/0.03153, allocations: 69.69 kB / 384.5 MB, free: 11.36 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002135/0.03174, allocations: 350.8 kB / 384.8 MB, free: 11 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004441/0.03218, allocations: 177.6 kB / 385 MB, free: 10.82 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006009/0.03278, allocations: 352.3 kB / 385.3 MB, free: 10.41 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001046/0.03383, allocations: 489.6 kB / 385.8 MB, free: 9.863 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.03383, allocations: 0 / 385.8 MB, free: 9.863 MB / 362.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001397/0.03523, allocations: 0.5901 MB / 386.4 MB, free: 9.254 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.516e-05/0.03531, allocations: 33.7 kB / 386.4 MB, free: 9.215 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.77e-05/0.03532, allocations: 4 kB / 386.4 MB, free: 9.211 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.207e-05/0.03537, allocations: 7.938 kB / 386.4 MB, free: 9.203 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003844/0.03575, allocations: 87.88 kB / 386.5 MB, free: 9.117 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.587e-05/0.03577, allocations: 12.25 kB / 386.5 MB, free: 9.105 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003205/0.03609, allocations: 51.75 kB / 386.6 MB, free: 9.055 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.003e-05/0.03613, allocations: 20 kB / 386.6 MB, free: 9.035 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.0003033/0.03643, allocations: 193.7 kB / 386.8 MB, free: 8.836 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000119/0.03655, allocations: 55.7 kB / 386.8 MB, free: 8.781 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001287/0.03784, allocations: 468.6 kB / 387.3 MB, free: 8.32 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.087e-05/0.03785, allocations: 11.88 kB / 387.3 MB, free: 8.309 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-05/0.03786, allocations: 4 kB / 387.3 MB, free: 8.305 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/0.03787, allocations: 4 kB / 387.3 MB, free: 8.301 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001135/0.039, allocations: 0.9678 MB / 388.3 MB, free: 7.273 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/0.03901, allocations: 0 / 388.3 MB, free: 7.273 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003071/0.03931, allocations: 80.08 kB / 388.4 MB, free: 7.195 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.313e-06/0.03932, allocations: 4 kB / 388.4 MB, free: 7.191 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.793e-05/0.03935, allocations: 8 kB / 388.4 MB, free: 7.184 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.92e-06/0.03935, allocations: 4 kB / 388.4 MB, free: 7.18 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/0.03936, allocations: 4 kB / 388.4 MB, free: 7.176 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001143/0.0405, allocations: 0.5379 MB / 388.9 MB, free: 6.598 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.884e-05/0.04058, allocations: 47.69 kB / 389 MB, free: 6.551 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.553e-05/0.04065, allocations: 16 kB / 389 MB, free: 6.535 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002235/0.04087, allocations: 23.97 kB / 389 MB, free: 6.512 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001163/0.04099, allocations: 43.88 kB / 389 MB, free: 6.469 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.25e-05/0.04103, allocations: 23.92 kB / 389.1 MB, free: 6.445 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003535/0.04138, allocations: 275 kB / 389.3 MB, free: 6.18 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.04138, allocations: 0 / 389.3 MB, free: 6.18 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005189/0.0419, allocations: 107.8 kB / 389.4 MB, free: 6.074 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.002393/0.04429, allocations: 0.5516 MB / 390 MB, free: 5.746 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001121/0.04541, allocations: 469.6 kB / 390.5 MB, free: 5.27 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.04542, allocations: 4.312 kB / 390.5 MB, free: 5.266 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005552/0.04597, allocations: 223.7 kB / 390.7 MB, free: 5.047 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005225/0.0465, allocations: 102.5 kB / 390.8 MB, free: 4.957 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001537/0.04803, allocations: 0.7415 MB / 391.5 MB, free: 4.16 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002779/0.04831, allocations: 217.1 kB / 391.7 MB, free: 3.926 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002799/0.04859, allocations: 91.22 kB / 391.8 MB, free: 3.836 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001556/0.04875, allocations: 48.47 kB / 391.9 MB, free: 3.789 MB / 362.7 MB Notification: Performance of SimCode: time 9.32e-07/0.04875, allocations: 0 / 391.9 MB, free: 3.789 MB / 362.7 MB Notification: Performance of Templates: time 0.01242/0.06117, allocations: 5.588 MB / 397.5 MB, free: 14.25 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=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.711671418044716]