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.000734/0.000734, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001379/0.002113, allocations: 449.8 kB / 10.44 MB, free: 252 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.0007177/0.0007177, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009453/0.001663, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.9803/0.9803, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08169/1.062, allocations: 53.67 MB / 243.4 MB, free: 15.51 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.1354/0.1354, allocations: 29.42 MB / 273.6 MB, free: 1.352 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1278/0.2632, allocations: 9.53 MB / 283.1 MB, free: 12.82 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.883e-06/1.883e-06, allocations: 0 / 284.4 MB, free: 11.86 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.963e-05/2.151e-05, allocations: 3.016 kB / 284.4 MB, free: 11.86 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest): time 0.005674/0.005696, allocations: 3.825 MB / 288.2 MB, free: 8.809 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003215/0.008911, allocations: 1.794 MB / 290 MB, free: 7.434 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002098/0.009121, allocations: 10.5 kB / 290 MB, free: 7.43 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007192/0.00984, allocations: 215.3 kB / 290.2 MB, free: 7.27 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006945/0.01053, allocations: 303 kB / 290.5 MB, free: 7.035 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000663/0.0112, allocations: 262.9 kB / 290.8 MB, free: 6.832 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006933/0.01189, allocations: 0.5436 MB / 291.3 MB, free: 6.527 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003579/0.01225, allocations: 192.4 kB / 291.5 MB, free: 6.434 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000635/0.01288, allocations: 371.5 kB / 291.9 MB, free: 6.195 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003473/0.01323, allocations: 205.9 kB / 292.1 MB, free: 6.074 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.02e-05/0.0133, allocations: 40.72 kB / 292.1 MB, free: 6.074 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006401/0.01394, allocations: 346.2 kB / 292.5 MB, free: 5.914 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000143/0.01408, allocations: 118.2 kB / 292.6 MB, free: 5.875 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00014/0.01422, allocations: 106.3 kB / 292.7 MB, free: 5.855 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007533/0.01498, allocations: 0.4887 MB / 293.2 MB, free: 5.613 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.115e-05/0.01499, allocations: 0 / 293.2 MB, free: 5.613 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.01499, allocations: 0 / 293.2 MB, free: 5.613 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.281e-05/0.015, allocations: 0 / 293.2 MB, free: 5.613 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.001086/0.01609, allocations: 0.7405 MB / 293.9 MB, free: 5.047 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.11e-05/0.01612, allocations: 9.594 kB / 293.9 MB, free: 5.047 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007916/0.01691, allocations: 227.8 kB / 294.2 MB, free: 4.871 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004082/0.01732, allocations: 310.2 kB / 294.5 MB, free: 4.535 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.171e-05/0.01734, allocations: 16.86 kB / 294.5 MB, free: 4.52 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.385e-05/0.01738, allocations: 28.36 kB / 294.5 MB, free: 4.492 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004309/0.01782, allocations: 311.9 kB / 294.8 MB, free: 4.152 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.01783, allocations: 3.938 kB / 294.8 MB, free: 4.148 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.706e-05/0.01785, allocations: 12 kB / 294.8 MB, free: 4.137 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.16e-05/0.01789, allocations: 16.48 kB / 294.8 MB, free: 4.121 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002864/0.01817, allocations: 178 kB / 295 MB, free: 3.945 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001335/0.01951, allocations: 1.198 MB / 296.2 MB, free: 2.68 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003615/0.01987, allocations: 260.4 kB / 296.5 MB, free: 2.406 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.17e-05/0.01993, allocations: 50.16 kB / 296.5 MB, free: 2.352 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.077e-05/0.01995, allocations: 19.92 kB / 296.5 MB, free: 2.332 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001887/0.02014, allocations: 191.2 kB / 296.7 MB, free: 2.113 MB / 282.7 MB Notification: Performance of pre-optimization done (n=31): time 1.443e-06/0.02014, allocations: 4 kB / 296.7 MB, free: 2.109 MB / 282.7 MB Notification: Performance of matching and sorting (n=31): time 0.0002746/0.02042, allocations: 201 kB / 296.9 MB, free: 1.906 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.832e-05/0.02047, allocations: 191.8 kB / 297.1 MB, free: 1.676 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000248/0.02072, allocations: 308.5 kB / 297.4 MB, free: 1.363 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.615e-05/0.02076, allocations: 37.7 kB / 297.4 MB, free: 1.32 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.24e-05/0.02085, allocations: 165.2 kB / 297.6 MB, free: 1.156 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.762e-05/0.02093, allocations: 107.1 kB / 297.7 MB, free: 1.051 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001007/0.02103, allocations: 73.66 kB / 297.8 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001035/0.02113, allocations: 354.7 kB / 298.1 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001149/0.02125, allocations: 61.05 kB / 298.2 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001746/0.02142, allocations: 218.5 kB / 298.4 MB, free: 280 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003081/0.02173, allocations: 264.8 kB / 298.7 MB, free: 15.96 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.02173, allocations: 4 kB / 298.7 MB, free: 15.95 MB / 298.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0003816/0.02212, allocations: 283.8 kB / 298.9 MB, free: 15.66 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.155e-05/0.02216, allocations: 37.64 kB / 299 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.974e-06/0.02217, allocations: 4 kB / 299 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.02218, allocations: 4 kB / 299 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003415/0.02252, allocations: 99.86 kB / 299.1 MB, free: 15.51 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.705e-06/0.02253, allocations: 4 kB / 299.1 MB, free: 15.5 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001886/0.02272, allocations: 47.7 kB / 299.1 MB, free: 15.46 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.653e-05/0.02275, allocations: 12 kB / 299.1 MB, free: 15.45 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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.0001361/0.02288, allocations: 153.3 kB / 299.3 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.936e-05/0.02294, allocations: 31.97 kB / 299.3 MB, free: 15.25 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003897/0.02333, allocations: 224 kB / 299.5 MB, free: 15.03 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.02334, allocations: 4 kB / 299.6 MB, free: 15.03 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.02334, allocations: 8 kB / 299.6 MB, free: 15.02 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/0.02335, allocations: 3.938 kB / 299.6 MB, free: 15.02 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000577/0.02393, allocations: 0.5607 MB / 300.1 MB, free: 14.42 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.02393, allocations: 0 / 300.1 MB, free: 14.42 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002602/0.02419, allocations: 83.89 kB / 300.2 MB, free: 14.34 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.727e-05/0.02424, allocations: 35.7 kB / 300.2 MB, free: 14.3 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.582e-06/0.02425, allocations: 7.938 kB / 300.2 MB, free: 14.29 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.438e-05/0.02427, allocations: 11.98 kB / 300.3 MB, free: 14.28 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.16e-06/0.02428, allocations: 4 kB / 300.3 MB, free: 14.28 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.02428, allocations: 0 / 300.3 MB, free: 14.28 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003189/0.0246, allocations: 255.2 kB / 300.5 MB, free: 13.99 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.809e-05/0.02466, allocations: 19.98 kB / 300.5 MB, free: 13.97 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001335/0.02479, allocations: 27.91 kB / 300.6 MB, free: 13.95 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.871e-05/0.02487, allocations: 35.94 kB / 300.6 MB, free: 13.91 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.711e-05/0.02489, allocations: 12 kB / 300.6 MB, free: 13.9 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001392/0.02503, allocations: 123.4 kB / 300.7 MB, free: 13.77 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02503, allocations: 0 / 300.7 MB, free: 13.77 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004184/0.02545, allocations: 119.7 kB / 300.8 MB, free: 13.66 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (42): * Single equations (assignments): 37 * 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.001933/0.02739, allocations: 0.7276 MB / 301.6 MB, free: 13.34 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000361/0.02775, allocations: 261.9 kB / 301.8 MB, free: 13.06 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.659e-05/0.02776, allocations: 8 kB / 301.8 MB, free: 13.05 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002011/0.02796, allocations: 129.9 kB / 302 MB, free: 12.92 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004935/0.02846, allocations: 482.9 kB / 302.4 MB, free: 12.37 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005498/0.03396, allocations: 0.6837 MB / 303.1 MB, free: 11.64 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001017/0.03406, allocations: 118.1 kB / 303.2 MB, free: 11.51 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002071/0.03426, allocations: 63.23 kB / 303.3 MB, free: 11.45 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002622/0.03453, allocations: 127.3 kB / 303.4 MB, free: 11.32 MB / 298.7 MB Notification: Performance of SimCode: time 1.142e-06/0.03453, allocations: 0 / 303.4 MB, free: 11.32 MB / 298.7 MB Notification: Performance of Templates: time 0.01111/0.04564, allocations: 6.333 MB / 309.8 MB, free: 5.07 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.8177794171497226]