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.0014/0.0014, allocations: 71.75 kB / 21.24 MB, free: 0.5391 MB / 14.72 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.001612/0.001612, allocations: 162.3 kB / 24.5 MB, free: 3.711 MB / 14.72 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.479/1.479, allocations: 177.2 MB / 204.9 MB, free: 8.996 MB / 190.1 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.1783/0.1783, allocations: 29.43 MB / 290.7 MB, free: 3.254 MB / 270.1 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: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002102/0.002102, allocations: 67.89 kB / 431.2 MB, free: 3.211 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3392/0.3413, allocations: 62.44 MB / 493.6 MB, free: 37.77 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest): time 0.004889/0.3462, allocations: 3.665 MB / 497.3 MB, free: 35.26 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002602/0.3488, allocations: 2.061 MB / 499.4 MB, free: 33.92 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001735/0.3489, allocations: 14.19 kB / 499.4 MB, free: 33.91 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008025/0.3497, allocations: 236.5 kB / 499.6 MB, free: 33.78 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006594/0.3504, allocations: 323.8 kB / 499.9 MB, free: 33.6 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005283/0.3509, allocations: 262.2 kB / 0.4884 GB, free: 33.46 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004865/0.3514, allocations: 0.5372 MB / 0.489 GB, free: 33.2 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003391/0.3518, allocations: 190 kB / 0.4892 GB, free: 33.1 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004258/0.3522, allocations: 250.3 kB / 0.4894 GB, free: 32.98 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002862/0.3525, allocations: 215.4 kB / 0.4896 GB, free: 32.89 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.94e-05/0.3525, allocations: 41.88 kB / 0.4896 GB, free: 32.89 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000656/0.3532, allocations: 392.5 kB / 0.49 GB, free: 32.77 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001217/0.3533, allocations: 136.5 kB / 0.4901 GB, free: 32.7 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001343/0.3534, allocations: 153.9 kB / 0.4903 GB, free: 32.6 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006833/0.3541, allocations: 0.7 MB / 0.491 GB, free: 32.33 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.3541, allocations: 3.281 kB / 0.491 GB, free: 32.33 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3541, allocations: 0 / 0.491 GB, free: 32.33 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.955e-06/0.3541, allocations: 0 / 0.491 GB, free: 32.33 MB / 446.1 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.001156/0.3553, allocations: 0.7067 MB / 0.4917 GB, free: 31.79 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.3553, allocations: 13.02 kB / 0.4917 GB, free: 31.79 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009304/0.3563, allocations: 113.8 kB / 0.4918 GB, free: 31.76 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004906/0.3568, allocations: 328.5 kB / 0.4921 GB, free: 31.52 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.602e-05/0.3568, allocations: 22.12 kB / 0.4921 GB, free: 31.51 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.516e-05/0.3568, allocations: 27.91 kB / 0.4921 GB, free: 31.5 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000786/0.3576, allocations: 488.1 kB / 0.4926 GB, free: 31.26 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/0.3576, allocations: 3.938 kB / 0.4926 GB, free: 31.25 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.603e-05/0.3577, allocations: 11.34 kB / 0.4926 GB, free: 31.25 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.976e-05/0.3577, allocations: 19.08 kB / 0.4926 GB, free: 31.24 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009426/0.3587, allocations: 0.5485 MB / 0.4932 GB, free: 31.09 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001848/0.3605, allocations: 1.556 MB / 0.4947 GB, free: 29.98 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001019/0.3615, allocations: 397.5 kB / 0.4951 GB, free: 29.82 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003305/0.3619, allocations: 144.3 kB / 0.4952 GB, free: 29.77 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.621e-05/0.3619, allocations: 3.438 kB / 0.4952 GB, free: 29.77 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004848/0.3624, allocations: 311.8 kB / 0.4955 GB, free: 29.57 MB / 446.1 MB Notification: Performance of pre-optimization done (n=31): time 2.084e-06/0.3624, allocations: 0 / 0.4955 GB, free: 29.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=31): time 0.001255/0.3636, allocations: 0.5672 MB / 0.4961 GB, free: 29.37 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.307e-05/0.3637, allocations: 301 kB / 0.4964 GB, free: 29.02 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003459/0.3641, allocations: 377.4 kB / 0.4967 GB, free: 28.82 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.51e-05/0.3641, allocations: 35.89 kB / 0.4968 GB, free: 28.79 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001329/0.3642, allocations: 200.9 kB / 0.4969 GB, free: 28.62 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.95e-05/0.3643, allocations: 108.2 kB / 0.497 GB, free: 28.54 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/0.3644, allocations: 74.69 kB / 0.4971 GB, free: 28.49 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.077e-05/0.3645, allocations: 349.9 kB / 0.4975 GB, free: 28.16 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003703/0.3649, allocations: 177.9 kB / 0.4976 GB, free: 28.09 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004125/0.3653, allocations: 349.3 kB / 0.498 GB, free: 27.8 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007169/0.366, allocations: 487.2 kB / 0.4984 GB, free: 27.48 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.366, allocations: 0 / 0.4984 GB, free: 27.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0009579/0.3669, allocations: 0.5776 MB / 0.499 GB, free: 27.2 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.339e-05/0.367, allocations: 39.8 kB / 0.499 GB, free: 27.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.367, allocations: 6.281 kB / 0.499 GB, free: 27.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.02e-05/0.367, allocations: 6.344 kB / 0.499 GB, free: 27.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003094/0.3673, allocations: 87.73 kB / 0.4991 GB, free: 27.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/0.3673, allocations: 6.594 kB / 0.4991 GB, free: 27.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002699/0.3676, allocations: 54.19 kB / 0.4992 GB, free: 27.13 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.384e-05/0.3676, allocations: 23.47 kB / 0.4992 GB, free: 27.12 MB / 446.1 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.0001705/0.3678, allocations: 187.6 kB / 0.4994 GB, free: 26.97 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.674e-05/0.3679, allocations: 40.05 kB / 0.4994 GB, free: 26.95 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009419/0.3688, allocations: 475.2 kB / 0.4999 GB, free: 26.77 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.205e-06/0.3688, allocations: 6.406 kB / 0.4999 GB, free: 26.77 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.3688, allocations: 0 / 0.4999 GB, free: 26.77 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.307e-06/0.3688, allocations: 14.41 kB / 0.4999 GB, free: 26.76 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007569/0.3696, allocations: 0.9509 MB / 0.5008 GB, free: 25.96 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.3696, allocations: 3.516 kB / 0.5008 GB, free: 25.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002801/0.3699, allocations: 75.55 kB / 0.5009 GB, free: 25.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.99e-06/0.3699, allocations: 7.438 kB / 0.5009 GB, free: 25.95 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.776e-05/0.3699, allocations: 13.8 kB / 0.5009 GB, free: 25.95 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.696e-06/0.3699, allocations: 3.312 kB / 0.5009 GB, free: 25.95 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.3699, allocations: 3.25 kB / 0.5009 GB, free: 25.95 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008871/0.3708, allocations: 0.5346 MB / 0.5014 GB, free: 25.67 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.58e-05/0.3709, allocations: 44.22 kB / 0.5015 GB, free: 25.64 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.958e-05/0.3709, allocations: 17.97 kB / 0.5015 GB, free: 25.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002146/0.3711, allocations: 35.97 kB / 0.5015 GB, free: 25.62 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001035/0.3712, allocations: 43.28 kB / 0.5016 GB, free: 25.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.145e-05/0.3713, allocations: 16.58 kB / 0.5016 GB, free: 25.61 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002502/0.3715, allocations: 269.7 kB / 0.5018 GB, free: 25.47 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3715, allocations: 0 / 0.5018 GB, free: 25.47 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004735/0.372, allocations: 122.2 kB / 0.502 GB, free: 25.43 MB / 446.1 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.001843/0.3738, allocations: 0.545 MB / 0.5025 GB, free: 25.19 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0008305/0.3747, allocations: 478.7 kB / 0.503 GB, free: 24.97 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3747, allocations: 0 / 0.503 GB, free: 24.97 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004204/0.3751, allocations: 215.4 kB / 0.5032 GB, free: 24.9 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004332/0.3755, allocations: 74.02 kB / 0.5032 GB, free: 24.88 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001102/0.3766, allocations: 0.7681 MB / 0.504 GB, free: 24.41 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001736/0.3768, allocations: 206.6 kB / 0.5042 GB, free: 24.31 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002067/0.377, allocations: 86.73 kB / 0.5043 GB, free: 24.3 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001115/0.3771, allocations: 53.06 kB / 0.5043 GB, free: 24.28 MB / 446.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3771, allocations: 0 / 0.5043 GB, free: 24.28 MB / 446.1 MB Notification: Performance of Templates: time 0.009671/0.3868, allocations: 5.561 MB / 0.5097 GB, free: 23.56 MB / 446.1 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 -s ida -lv LOG_STATS > PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.968488154001534] Failed to read output from testmodel.py, exit status != 0: 0.3952307760482654 0.408188892 0.050551175000000004 Calling exit ...