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.0008489/0.0008489, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.003384/0.003384, allocations: 160.7 kB / 24.7 MB, free: 9.43 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.8697/0.8697, allocations: 177.1 MB / 205 MB, free: 5.727 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.2184/0.2184, allocations: 29.41 MB / 290.9 MB, free: 2.422 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.703e-06/1.703e-06, allocations: 0 / 431.5 MB, free: 13.11 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.938e-05/2.108e-05, allocations: 8.047 kB / 431.5 MB, free: 13.1 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest): time 0.003316/0.003338, allocations: 3.657 MB / 435.1 MB, free: 9.414 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002084/0.005421, allocations: 2.061 MB / 437.2 MB, free: 7.344 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000173/0.005594, allocations: 15.88 kB / 437.2 MB, free: 7.328 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006232/0.006217, allocations: 230.8 kB / 437.4 MB, free: 7.102 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009061/0.007124, allocations: 326.3 kB / 437.7 MB, free: 6.781 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004256/0.007549, allocations: 258.9 kB / 438 MB, free: 6.527 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000389/0.007938, allocations: 0.5454 MB / 438.5 MB, free: 5.98 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002746/0.008213, allocations: 203.7 kB / 438.7 MB, free: 5.773 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000358/0.008571, allocations: 319.1 kB / 439.1 MB, free: 5.461 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002037/0.008774, allocations: 203 kB / 439.3 MB, free: 5.266 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.947e-05/0.008814, allocations: 44 kB / 439.3 MB, free: 5.223 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003676/0.009182, allocations: 391 kB / 439.7 MB, free: 4.84 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001014/0.009283, allocations: 143.5 kB / 439.8 MB, free: 4.699 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.557e-05/0.009379, allocations: 127.7 kB / 439.9 MB, free: 4.574 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005896/0.009968, allocations: 0.7284 MB / 440.7 MB, free: 3.844 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.00997, allocations: 4 kB / 440.7 MB, free: 3.84 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.009972, allocations: 0 / 440.7 MB, free: 3.84 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.009978, allocations: 0 / 440.7 MB, free: 3.84 MB / 410.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.0008272/0.01081, allocations: 0.7022 MB / 441.4 MB, free: 3.102 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.247e-05/0.01084, allocations: 11.98 kB / 441.4 MB, free: 3.09 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004872/0.01133, allocations: 108.6 kB / 441.5 MB, free: 2.984 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000355/0.01168, allocations: 341.5 kB / 441.8 MB, free: 2.629 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.055e-05/0.0117, allocations: 16.88 kB / 441.8 MB, free: 2.613 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.821e-05/0.01173, allocations: 20.38 kB / 441.9 MB, free: 2.594 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005204/0.01225, allocations: 497 kB / 442.4 MB, free: 2.074 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.01226, allocations: 3.938 kB / 442.4 MB, free: 2.07 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.233e-05/0.01228, allocations: 8 kB / 442.4 MB, free: 2.062 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.56e-05/0.01231, allocations: 20.48 kB / 442.4 MB, free: 2.043 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005993/0.01291, allocations: 0.5404 MB / 442.9 MB, free: 1.5 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1754/0.1883, allocations: 1.564 MB / 444.5 MB, free: 54.09 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006648/0.189, allocations: 384.3 kB / 444.9 MB, free: 54.05 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001762/0.1891, allocations: 149 kB / 445 MB, free: 54.03 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.081e-05/0.1892, allocations: 8.062 kB / 445 MB, free: 54.03 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000298/0.1895, allocations: 307.3 kB / 445.3 MB, free: 53.91 MB / 410.7 MB Notification: Performance of pre-optimization done (n=31): time 1.773e-06/0.1895, allocations: 0 / 445.3 MB, free: 53.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=31): time 0.0007425/0.1902, allocations: 0.5669 MB / 445.9 MB, free: 53.86 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.846e-05/0.1903, allocations: 297 kB / 446.2 MB, free: 53.51 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002335/0.1905, allocations: 376.4 kB / 446.5 MB, free: 53.33 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.131e-05/0.1905, allocations: 36.98 kB / 446.6 MB, free: 53.29 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.164e-05/0.1906, allocations: 203.4 kB / 446.8 MB, free: 53.15 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.088e-05/0.1906, allocations: 110.4 kB / 446.9 MB, free: 53.08 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.538e-05/0.1907, allocations: 70.78 kB / 447 MB, free: 53.04 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.753e-05/0.1907, allocations: 346 kB / 447.3 MB, free: 52.71 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000197/0.1909, allocations: 184.7 kB / 447.5 MB, free: 52.63 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002064/0.1911, allocations: 334.8 kB / 447.8 MB, free: 52.36 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003967/0.1915, allocations: 491.5 kB / 448.3 MB, free: 52.05 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.1915, allocations: 3.219 kB / 448.3 MB, free: 52.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0005169/0.192, allocations: 0.5673 MB / 448.8 MB, free: 51.79 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/0.1921, allocations: 41.78 kB / 448.9 MB, free: 51.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.1921, allocations: 3.469 kB / 448.9 MB, free: 51.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.1921, allocations: 9.719 kB / 448.9 MB, free: 51.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001617/0.1923, allocations: 96.75 kB / 449 MB, free: 51.74 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.1923, allocations: 3.188 kB / 449 MB, free: 51.74 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00014/0.1924, allocations: 55.05 kB / 449.1 MB, free: 51.72 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.69e-05/0.1924, allocations: 18.94 kB / 449.1 MB, free: 51.72 MB / 410.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.0001077/0.1925, allocations: 193.5 kB / 449.3 MB, free: 51.57 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.482e-05/0.1926, allocations: 50.09 kB / 449.3 MB, free: 51.54 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004959/0.1931, allocations: 455.8 kB / 449.8 MB, free: 51.39 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.1931, allocations: 9.672 kB / 449.8 MB, free: 51.39 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.1931, allocations: 0 / 449.8 MB, free: 51.39 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.1931, allocations: 4.812 kB / 449.8 MB, free: 51.39 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004272/0.1935, allocations: 0.9611 MB / 450.7 MB, free: 50.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.1935, allocations: 7.125 kB / 450.7 MB, free: 50.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001355/0.1936, allocations: 74.25 kB / 450.8 MB, free: 50.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.1936, allocations: 6.562 kB / 450.8 MB, free: 50.59 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.58e-05/0.1937, allocations: 9.094 kB / 450.8 MB, free: 50.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.594e-06/0.1937, allocations: 6.625 kB / 450.8 MB, free: 50.59 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.1937, allocations: 3.938 kB / 450.8 MB, free: 50.59 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004621/0.1941, allocations: 0.5356 MB / 451.4 MB, free: 50.31 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.087e-05/0.1942, allocations: 44.23 kB / 451.4 MB, free: 50.29 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.369e-05/0.1942, allocations: 17.59 kB / 451.4 MB, free: 50.28 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.574e-05/0.1943, allocations: 26.73 kB / 451.5 MB, free: 50.27 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.893e-05/0.1943, allocations: 48.45 kB / 451.5 MB, free: 50.26 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-05/0.1944, allocations: 19.77 kB / 451.5 MB, free: 50.25 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000137/0.1945, allocations: 270.9 kB / 451.8 MB, free: 50.12 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1945, allocations: 4 kB / 451.8 MB, free: 50.11 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002739/0.1948, allocations: 113.5 kB / 451.9 MB, free: 50.1 MB / 410.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.0007482/0.1955, allocations: 0.5566 MB / 452.5 MB, free: 49.93 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004837/0.196, allocations: 474.9 kB / 452.9 MB, free: 49.71 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.196, allocations: 0 / 452.9 MB, free: 49.71 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002182/0.1962, allocations: 205.9 kB / 453.1 MB, free: 49.65 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002739/0.1965, allocations: 79.17 kB / 453.2 MB, free: 49.62 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007211/0.1972, allocations: 0.7776 MB / 454 MB, free: 49.14 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001035/0.1973, allocations: 213 kB / 454.2 MB, free: 49.05 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.95e-05/0.1974, allocations: 51.88 kB / 454.2 MB, free: 49.04 MB / 410.7 MB Notification: Performance of SimCode: time 4.1e-07/0.1974, allocations: 0 / 454.2 MB, free: 49.04 MB / 410.7 MB Notification: Performance of Templates: time 0.004604/0.202, allocations: 6.081 MB / 460.3 MB, free: 48.36 MB / 410.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: 5.037294337525964] Failed to read output from testmodel.py, exit status != 0: 0.20708176121115685 0.213059045 0.201732442 Calling exit ...