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.001119/0.001119, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.001203/0.001203, allocations: 165.3 kB / 24.82 MB, free: 9.27 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.9625/0.9625, allocations: 177.1 MB / 205.3 MB, free: 5.512 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.2399/0.2399, allocations: 29.42 MB / 291.2 MB, free: 2.367 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.944e-06/1.944e-06, allocations: 0 / 370.1 MB, free: 10.71 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.899e-05/3.093e-05, allocations: 5.406 kB / 370.1 MB, free: 10.71 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest): time 0.005881/0.005912, allocations: 3.691 MB / 373.8 MB, free: 6.992 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003155/0.009067, allocations: 1.741 MB / 375.5 MB, free: 5.242 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002651/0.009332, allocations: 11.88 kB / 375.5 MB, free: 5.23 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007398/0.01007, allocations: 187.1 kB / 375.7 MB, free: 5.047 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008012/0.01087, allocations: 294.4 kB / 376 MB, free: 4.758 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007042/0.01158, allocations: 262.9 kB / 376.3 MB, free: 4.5 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007027/0.01228, allocations: 0.5376 MB / 376.8 MB, free: 3.961 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004088/0.01269, allocations: 199.8 kB / 377 MB, free: 3.766 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007024/0.01339, allocations: 318.6 kB / 377.3 MB, free: 3.457 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003789/0.01377, allocations: 207.5 kB / 377.5 MB, free: 3.254 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.779e-05/0.01385, allocations: 48 kB / 377.6 MB, free: 3.207 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006275/0.01447, allocations: 339.2 kB / 377.9 MB, free: 2.875 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001416/0.01462, allocations: 135.6 kB / 378 MB, free: 2.742 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001592/0.01478, allocations: 135.6 kB / 378.2 MB, free: 2.609 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008658/0.01564, allocations: 0.5296 MB / 378.7 MB, free: 2.078 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.01565, allocations: 0 / 378.7 MB, free: 2.078 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.01565, allocations: 0 / 378.7 MB, free: 2.078 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.646e-06/0.01565, allocations: 0 / 378.7 MB, free: 2.078 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.001065/0.01672, allocations: 0.7865 MB / 379.5 MB, free: 1.242 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.01676, allocations: 19.98 kB / 379.5 MB, free: 1.223 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007155/0.01748, allocations: 144.5 kB / 379.6 MB, free: 1.082 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004654/0.01794, allocations: 337 kB / 380 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.529e-05/0.01797, allocations: 20.86 kB / 380 MB, free: 0.707 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.459e-05/0.01801, allocations: 24.38 kB / 380 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005181/0.01853, allocations: 324.9 kB / 380.3 MB, free: 332 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.01854, allocations: 7.938 kB / 380.3 MB, free: 324 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.082e-05/0.01858, allocations: 7.984 kB / 380.3 MB, free: 316 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-05/0.01862, allocations: 28.42 kB / 380.4 MB, free: 288 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003257/0.01894, allocations: 187.2 kB / 380.6 MB, free: 104 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001698/0.02064, allocations: 1.633 MB / 382.2 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004864/0.02113, allocations: 238.8 kB / 382.4 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.991e-05/0.02123, allocations: 55.81 kB / 382.5 MB, free: 14.06 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.471e-05/0.02125, allocations: 11.98 kB / 382.5 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005554/0.02181, allocations: 241.9 kB / 382.7 MB, free: 13.76 MB / 362.7 MB Notification: Performance of pre-optimization done (n=31): time 2.174e-06/0.02181, allocations: 4 kB / 382.7 MB, free: 13.76 MB / 362.7 MB Notification: Performance of matching and sorting (n=31): time 0.0005835/0.02239, allocations: 299.8 kB / 383 MB, free: 13.46 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001083/0.0225, allocations: 298.7 kB / 383.3 MB, free: 13.1 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003235/0.02282, allocations: 366 kB / 383.7 MB, free: 12.72 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.714e-05/0.02286, allocations: 42.69 kB / 383.7 MB, free: 12.68 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001496/0.02301, allocations: 247.3 kB / 383.9 MB, free: 12.43 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.617e-05/0.0231, allocations: 107.1 kB / 384.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000115/0.02321, allocations: 87.27 kB / 384.1 MB, free: 12.23 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001622/0.02337, allocations: 0.5234 MB / 384.7 MB, free: 11.7 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001167/0.02349, allocations: 65.67 kB / 384.7 MB, free: 11.62 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000232/0.02372, allocations: 293 kB / 385 MB, free: 11.24 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003378/0.02406, allocations: 323.4 kB / 385.3 MB, free: 10.84 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.688e-06/0.02406, allocations: 4 kB / 385.3 MB, free: 10.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0005237/0.02459, allocations: 380.1 kB / 385.7 MB, free: 10.45 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.482e-05/0.02462, allocations: 34.27 kB / 385.7 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.377e-06/0.02463, allocations: 4 kB / 385.7 MB, free: 10.4 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.02465, allocations: 15.94 kB / 385.8 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000257/0.02491, allocations: 83.89 kB / 385.8 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/0.02492, allocations: 15.92 kB / 385.9 MB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001959/0.02511, allocations: 39.83 kB / 385.9 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.769e-05/0.02514, allocations: 12 kB / 385.9 MB, free: 10.24 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.0001425/0.02528, allocations: 192.4 kB / 386.1 MB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.87e-05/0.02537, allocations: 51.75 kB / 386.1 MB, free: 9.988 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00047/0.02584, allocations: 288.7 kB / 386.4 MB, free: 9.699 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.959e-06/0.02585, allocations: 11.94 kB / 386.4 MB, free: 9.688 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.02586, allocations: 0 / 386.4 MB, free: 9.688 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.684e-06/0.02586, allocations: 4 kB / 386.4 MB, free: 9.684 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008073/0.02667, allocations: 1.163 MB / 387.6 MB, free: 8.457 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.02667, allocations: 0 / 387.6 MB, free: 8.457 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002281/0.0269, allocations: 67.84 kB / 387.7 MB, free: 8.391 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.983e-06/0.02691, allocations: 4 kB / 387.7 MB, free: 8.387 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.849e-05/0.02694, allocations: 20.17 kB / 387.7 MB, free: 8.367 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/0.02694, allocations: 4 kB / 387.7 MB, free: 8.363 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.02695, allocations: 0 / 387.7 MB, free: 8.363 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005291/0.02748, allocations: 396.8 kB / 388.1 MB, free: 7.922 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.607e-05/0.02753, allocations: 47.69 kB / 388.1 MB, free: 7.875 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.275e-05/0.02758, allocations: 12 kB / 388.1 MB, free: 7.863 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001597/0.02774, allocations: 19.98 kB / 388.2 MB, free: 7.844 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.646e-05/0.02784, allocations: 43.88 kB / 388.2 MB, free: 7.801 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-05/0.02787, allocations: 15.98 kB / 388.2 MB, free: 7.785 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001833/0.02805, allocations: 238.9 kB / 388.5 MB, free: 7.555 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.02805, allocations: 0 / 388.5 MB, free: 7.555 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004771/0.02853, allocations: 119.8 kB / 388.6 MB, free: 7.438 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.001384/0.02992, allocations: 0.5054 MB / 389.1 MB, free: 7.121 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004244/0.03034, allocations: 280.2 kB / 389.4 MB, free: 6.824 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.03034, allocations: 0 / 389.4 MB, free: 6.824 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001791/0.03052, allocations: 116.5 kB / 389.5 MB, free: 6.707 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004329/0.03096, allocations: 84.97 kB / 389.5 MB, free: 6.629 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001844/0.0328, allocations: 0.6904 MB / 390.2 MB, free: 5.875 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001042/0.0329, allocations: 122.1 kB / 390.4 MB, free: 5.734 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001812/0.03308, allocations: 59.25 kB / 390.4 MB, free: 5.672 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002521/0.03334, allocations: 150.2 kB / 390.6 MB, free: 5.523 MB / 362.7 MB Notification: Performance of SimCode: time 9.92e-07/0.03334, allocations: 0 / 390.6 MB, free: 5.523 MB / 362.7 MB Notification: Performance of Templates: time 0.01104/0.04438, allocations: 6.139 MB / 396.7 MB, free: 15.45 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.124148895032704]