Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_3.Example_3.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.0008992/0.0008992, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.9853/0.9853, allocations: 177.2 MB / 200.3 MB, free: 5.391 MB / 186.7 MB " [Timeout remaining time 179] 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.001154/0.001154, allocations: 159.3 kB / 257 MB, free: 12.84 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.4403/0.4403, allocations: 83.31 MB / 343.6 MB, free: 6.645 MB / 314.7 MB " [Timeout remaining time 180] Using package OpenIPSL with version 3.2.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/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 Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(OpenIPSL.Examples.Tutorial.Example_3.Example_3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_3.Example_3") translateModel(OpenIPSL.Examples.Tutorial.Example_3.Example_3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_3.Example_3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 387.9 MB, free: 10.7 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.924e-05/2.098e-05, allocations: 10.19 kB / 388 MB, free: 10.69 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.Tutorial.Example_3.Example_3): time 0.0128/0.01282, allocations: 12.32 MB / 400.3 MB, free: 14.32 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.006255/0.01907, allocations: 3.793 MB / 404.1 MB, free: 10.52 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00118/0.02025, allocations: 24 kB / 404.1 MB, free: 10.5 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009229/0.02118, allocations: 0.5341 MB / 404.6 MB, free: 9.957 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002858/0.02403, allocations: 1.614 MB / 406.2 MB, free: 8.336 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001995/0.02603, allocations: 1.384 MB / 407.6 MB, free: 6.949 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003431/0.02946, allocations: 4.056 MB / 411.7 MB, free: 2.879 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009052/0.03037, allocations: 0.6405 MB / 412.3 MB, free: 2.164 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002933/0.0333, allocations: 2.256 MB / 414.6 MB, free: 15.9 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001236/0.03453, allocations: 1.569 MB / 416.1 MB, free: 14.33 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003031/0.03484, allocations: 364 kB / 416.5 MB, free: 13.97 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006124/0.03545, allocations: 0.531 MB / 417 MB, free: 13.44 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000438/0.03589, allocations: 0.8403 MB / 417.9 MB, free: 12.6 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007225/0.03661, allocations: 1.145 MB / 419 MB, free: 11.45 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002219/0.03883, allocations: 2.837 MB / 421.9 MB, free: 8.602 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.03883, allocations: 0 / 421.9 MB, free: 8.602 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.03883, allocations: 0 / 421.9 MB, free: 8.602 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.996e-05/0.03885, allocations: 0 / 421.9 MB, free: 8.602 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 463 * Number of variables: 463 Notification: Performance of Generate backend data structure: time 0.007147/0.046, allocations: 5.296 MB / 427.2 MB, free: 3.223 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.098e-05/0.04603, allocations: 12.03 kB / 427.2 MB, free: 3.211 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006174/0.05221, allocations: 2.044 MB / 429.2 MB, free: 1.164 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00152/0.05373, allocations: 1.261 MB / 430.5 MB, free: 15.84 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002852/0.05401, allocations: 0.579 MB / 431 MB, free: 15.17 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002215/0.05423, allocations: 207.9 kB / 431.3 MB, free: 14.96 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001575/0.05581, allocations: 1.554 MB / 432.8 MB, free: 13.36 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.785e-05/0.05584, allocations: 0 / 432.8 MB, free: 13.36 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001148/0.05595, allocations: 76 kB / 432.9 MB, free: 13.29 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.433e-05/0.05597, allocations: 44 kB / 432.9 MB, free: 13.25 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001031/0.05701, allocations: 0.7628 MB / 433.7 MB, free: 12.46 MB / 410.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006283/0.06329, allocations: 4.482 MB / 438.2 MB, free: 7.895 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002957/0.06625, allocations: 1.972 MB / 440.1 MB, free: 5.871 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006388/0.06688, allocations: 0.5948 MB / 440.7 MB, free: 5.242 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000144/0.06703, allocations: 49.98 kB / 440.8 MB, free: 5.195 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001232/0.06826, allocations: 1.087 MB / 441.9 MB, free: 4.062 MB / 410.7 MB Notification: Performance of pre-optimization done (n=242): time 5.32e-06/0.06827, allocations: 3.984 kB / 441.9 MB, free: 4.059 MB / 410.7 MB Notification: Performance of matching and sorting (n=242): time 0.1919/0.2601, allocations: 13.27 MB / 455.1 MB, free: 58.7 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.219e-05/0.2602, allocations: 238.7 kB / 455.4 MB, free: 58.44 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001639/0.2618, allocations: 1.871 MB / 457.2 MB, free: 57.9 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001541/0.262, allocations: 70.14 kB / 457.3 MB, free: 57.87 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003329/0.2623, allocations: 0.7314 MB / 458 MB, free: 57.65 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004888/0.2628, allocations: 0.9023 MB / 459 MB, free: 57.28 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007259/0.2635, allocations: 0.5817 MB / 459.5 MB, free: 57.16 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.853e-05/0.2636, allocations: 308.8 kB / 459.8 MB, free: 56.86 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001304/0.2649, allocations: 0.7868 MB / 460.6 MB, free: 56.61 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001375/0.2662, allocations: 1.108 MB / 461.7 MB, free: 56.12 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003985/0.2702, allocations: 3.155 MB / 464.9 MB, free: 53.85 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.116e-05/0.2702, allocations: 4 kB / 464.9 MB, free: 53.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=417) (initialization): time 0.008554/0.2788, allocations: 4.506 MB / 469.4 MB, free: 49.54 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.927e-05/0.2788, allocations: 179 kB / 469.6 MB, free: 49.33 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/0.2789, allocations: 4.547 kB / 469.6 MB, free: 49.33 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006286/0.2851, allocations: 2.714 MB / 472.3 MB, free: 46.76 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001858/0.287, allocations: 0.87 MB / 473.2 MB, free: 45.92 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009725/0.2967, allocations: 10.57 MB / 483.7 MB, free: 35.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001489/0.2982, allocations: 338.7 kB / 484.1 MB, free: 35.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001493/0.2984, allocations: 83.95 kB / 484.1 MB, free: 35.1 MB / 410.7 MB Warning: Assuming fixed start value for the following 9 variables: gen3.gen.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real gen2.gen.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real gen1.gen.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real gen1.gen.delta:VARIABLE(flow=false start = gen1.gen.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real gen1.gen.e1q:VARIABLE(start = gen1.gen.e1q0 unit = \"1\" fixed = true ) \"q-axis transient voltage\" type: Real gen1.gen.e1d:VARIABLE(start = gen1.gen.e1d0 unit = \"1\" fixed = true ) \"d-axis transient voltage\" type: Real gen1.AVR.firstOrder2.y:VARIABLE(flow=false start = gen1.AVR.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real gen2.gen.delta:VARIABLE(flow=false start = gen2.gen.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real gen2.gen.e1q:VARIABLE(start = gen2.gen.e1q0 unit = \"1\" fixed = true ) \"q-axis transient voltage\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3,$whenCondition6,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (346): * Single equations (assignments): 333 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(4,2), (29,30), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0005976/0.299, allocations: 392.3 kB / 484.5 MB, free: 34.7 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002828/0.2993, allocations: 251.7 kB / 484.8 MB, free: 34.45 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006961/0.3062, allocations: 4.4 MB / 489.2 MB, free: 30 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.254e-05/0.3062, allocations: 24 kB / 489.2 MB, free: 29.98 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.3062, allocations: 0 / 489.2 MB, free: 29.98 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.403e-05/0.3062, allocations: 11.95 kB / 489.2 MB, free: 29.96 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008593/0.3148, allocations: 6.043 MB / 495.3 MB, free: 23.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.3148, allocations: 0 / 495.3 MB, free: 23.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006626/0.3155, allocations: 269.4 kB / 495.5 MB, free: 23.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007715/0.3232, allocations: 3.578 MB / 499.1 MB, free: 20.04 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001366/0.3234, allocations: 55.98 kB / 499.1 MB, free: 19.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01104/0.3344, allocations: 11.04 MB / 0.4982 GB, free: 8.609 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3344, allocations: 0 / 0.4982 GB, free: 8.609 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007761/0.3422, allocations: 5.068 MB / 0.5032 GB, free: 3.438 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003544/0.3425, allocations: 299.4 kB / 0.5035 GB, free: 3.18 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002308/0.3427, allocations: 48 kB / 0.5035 GB, free: 3.133 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008695/0.3436, allocations: 151.9 kB / 0.5037 GB, free: 2.984 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000567/0.3442, allocations: 374.3 kB / 0.504 GB, free: 2.613 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.157e-05/0.3443, allocations: 51.92 kB / 0.5041 GB, free: 2.562 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006456/0.3449, allocations: 1.002 MB / 0.505 GB, free: 1.551 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3449, allocations: 0.5469 kB / 0.505 GB, free: 1.551 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001734/0.3466, allocations: 1.023 MB / 0.506 GB, free: 0.5586 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 24 (gen1.gen.delta,gen1.gen.w,gen1.gen.e1q,gen1.gen.e1d,gen1.AVR.ExcitationSystem.x_scaled[1],gen1.AVR.derivativeBlock.x,gen1.AVR.firstOrder2.y,gen1.AVR.simpleLagLim.state,gen2.gen.delta,gen2.gen.w,gen2.gen.e1q,gen2.gen.e1d,gen2.AVR.ExcitationSystem.x_scaled[1],gen2.AVR.derivativeBlock.x,gen2.AVR.firstOrder2.y,gen2.AVR.simpleLagLim.state,gen3.gen.delta,gen3.gen.w,gen3.gen.e1q,gen3.gen.e1d,gen3.AVR.ExcitationSystem.x_scaled[1],gen3.AVR.derivativeBlock.x,gen3.AVR.firstOrder2.y,gen3.AVR.simpleLagLim.state) * Number of discrete variables: 6 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (148): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(41,45), (1,6), (1,6), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002558/0.3469, allocations: 173.2 kB / 0.5062 GB, free: 396 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004639/0.3515, allocations: 3.819 MB / 0.5099 GB, free: 12.37 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.056e-05/0.3516, allocations: 30.62 kB / 0.51 GB, free: 12.34 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003196/0.3548, allocations: 2.618 MB / 0.5125 GB, free: 9.609 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009631/0.3557, allocations: 324.7 kB / 0.5128 GB, free: 9.297 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006224/0.3619, allocations: 4.751 MB / 0.5175 GB, free: 4.512 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000422/0.3624, allocations: 0.5273 MB / 0.518 GB, free: 3.965 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005677/0.3629, allocations: 267.3 kB / 0.5182 GB, free: 3.699 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006913/0.3636, allocations: 385.2 kB / 0.5186 GB, free: 3.32 MB / 426.7 MB Notification: Performance of SimCode: time 1.092e-06/0.3636, allocations: 0 / 0.5186 GB, free: 3.32 MB / 426.7 MB Notification: Performance of Templates: time 0.06575/0.4294, allocations: 62.58 MB / 0.5797 GB, free: 5.242 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_3.Example_3.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_3.Example_3.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_3.Example_3.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_3.Example_3.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_3.Example_3.sim & ./OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_3.Example_3 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_3.Example_3.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.485034907236695]