Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.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.0006754/0.0006754, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008725/0.001548, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.893/0.893, allocations: 177.2 MB / 188.4 MB, free: 4.402 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1593/1.052, allocations: 53.65 MB / 242 MB, free: 2.605 MB / 234.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.000914/0.000914, allocations: 156.9 kB / 242.9 MB, free: 1.727 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001211/0.002125, allocations: 482.7 kB / 243.4 MB, free: 1.27 MB / 234.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.2.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.2.0-dev/package.mo): time 0.4307/0.4307, allocations: 89.18 MB / 333.3 MB, free: 15.45 MB / 330.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05221/0.4829, allocations: 30.22 MB / 363.5 MB, free: 3.062 MB / 346.7 MB " [Timeout remaining time 180] Using package OpenIPSL with version 3.2.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.2.0-dev/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.PSATSystems.TwoArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 365 MB, free: 1.621 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.152e-05/1.292e-05, allocations: 4.984 kB / 365 MB, free: 1.617 MB / 346.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII): time 0.01288/0.01289, allocations: 20.16 MB / 385.2 MB, free: 13.44 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.009894/0.02279, allocations: 5.339 MB / 390.5 MB, free: 8.078 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001853/0.02464, allocations: 47.94 kB / 390.6 MB, free: 8.031 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001286/0.02593, allocations: 0.9139 MB / 391.5 MB, free: 7.109 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003662/0.02959, allocations: 2.416 MB / 393.9 MB, free: 4.676 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003051/0.03264, allocations: 2.059 MB / 395.9 MB, free: 2.613 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004511/0.03715, allocations: 5.862 MB / 401.8 MB, free: 12.73 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009719/0.03812, allocations: 0.9119 MB / 402.7 MB, free: 11.75 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00363/0.04175, allocations: 4.017 MB / 406.7 MB, free: 7.641 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001911/0.04366, allocations: 2.305 MB / 409 MB, free: 5.328 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004717/0.04413, allocations: 436 kB / 409.5 MB, free: 4.902 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009158/0.04505, allocations: 0.6091 MB / 410.1 MB, free: 4.293 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004993/0.04555, allocations: 0.8131 MB / 410.9 MB, free: 3.477 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001148/0.0467, allocations: 1.333 MB / 412.2 MB, free: 2.141 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003643/0.05034, allocations: 4.112 MB / 416.3 MB, free: 14.01 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.599e-05/0.05036, allocations: 0 / 416.3 MB, free: 14.01 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.415e-06/0.05036, allocations: 3.938 kB / 416.3 MB, free: 14.01 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.284e-05/0.05043, allocations: 0 / 416.3 MB, free: 14.01 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: 900 * Number of variables: 900 Notification: Performance of Generate backend data structure: time 0.01451/0.06494, allocations: 10.39 MB / 426.7 MB, free: 3.52 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.06497, allocations: 12.03 kB / 426.7 MB, free: 3.508 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01362/0.0786, allocations: 5.126 MB / 431.9 MB, free: 14.38 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004713/0.08331, allocations: 1.787 MB / 433.7 MB, free: 12.49 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006172/0.08393, allocations: 0.9707 MB / 434.6 MB, free: 11.38 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005508/0.08448, allocations: 348 kB / 435 MB, free: 11.04 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003413/0.08789, allocations: 2.895 MB / 437.9 MB, free: 8.102 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.438e-05/0.08793, allocations: 4 kB / 437.9 MB, free: 8.098 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002349/0.08817, allocations: 140 kB / 438 MB, free: 7.961 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.535e-05/0.08822, allocations: 91.94 kB / 438.1 MB, free: 7.871 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001961/0.09018, allocations: 1.375 MB / 439.5 MB, free: 6.477 MB / 426.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.01347/0.1036, allocations: 9.505 MB / 449 MB, free: 12.56 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003262/0.1069, allocations: 2.136 MB / 451.1 MB, free: 10.4 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001036/0.1079, allocations: 0.8362 MB / 451.9 MB, free: 9.551 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003176/0.1083, allocations: 83.02 kB / 452 MB, free: 9.469 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001782/0.11, allocations: 1.667 MB / 453.7 MB, free: 7.754 MB / 442.7 MB Notification: Performance of pre-optimization done (n=393): time 7.013e-06/0.11, allocations: 4 kB / 453.7 MB, free: 7.75 MB / 442.7 MB Notification: Performance of matching and sorting (n=393): time 0.1548/0.2649, allocations: 54.05 MB / 0.4958 GB, free: 1.543 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.443e-05/0.265, allocations: 116.2 kB / 0.496 GB, free: 1.41 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1878/0.4528, allocations: 2.708 MB / 0.4986 GB, free: 119 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008068/0.4536, allocations: 91.73 kB / 0.4987 GB, free: 119 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009815/0.4546, allocations: 1.327 MB / 0.5 GB, free: 118.9 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001202/0.4558, allocations: 1.408 MB / 0.5014 GB, free: 118.2 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000941/0.4567, allocations: 0.6879 MB / 0.502 GB, free: 118.2 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 2.903e-05/0.4567, allocations: 307.1 kB / 0.5023 GB, free: 117.9 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001614/0.4584, allocations: 0.9556 MB / 0.5033 GB, free: 117.8 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001834/0.4602, allocations: 1.581 MB / 0.5048 GB, free: 117.2 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004925/0.4651, allocations: 4.38 MB / 0.5091 GB, free: 116.3 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.736e-05/0.4651, allocations: 5.281 kB / 0.5091 GB, free: 116.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=546) (initialization): time 0.01768/0.4828, allocations: 10.47 MB / 0.5193 GB, free: 116 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.758e-05/0.4829, allocations: 67.56 kB / 0.5194 GB, free: 115.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.699e-05/0.4829, allocations: 11.78 kB / 0.5194 GB, free: 115.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01672/0.4996, allocations: 7.388 MB / 0.5266 GB, free: 112.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002125/0.5017, allocations: 0.8214 MB / 0.5274 GB, free: 112.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02073/0.5225, allocations: 12.25 MB / 0.5394 GB, free: 100.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00315/0.5256, allocations: 0.5414 MB / 0.5399 GB, free: 100 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001965/0.5258, allocations: 116 kB / 0.54 GB, free: 99.9 MB / 490.7 MB Warning: Assuming fixed start value for the following 1 variables: order3.e1q:VARIABLE(start = order3.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: 65 * Number of states: 0 () * Number of discrete variables: 14 (aVRTypeII.lagLimWindupGuard.inputLow,aVRTypeII.lagLimWindupGuard.inputBelow,aVRTypeII.lagLimWindupGuard.stateLow,aVRTypeII.lagLimWindupGuard.inputHigh,aVRTypeII.lagLimWindupGuard.inputAbove,aVRTypeII.lagLimWindupGuard.stateHigh,aVRTypeII.lagLimWindupGuard.atMin,$PRE.aVRTypeII.lagLimWindupGuard.atMin,aVRTypeII.lagLimWindupGuard.atMax,$PRE.aVRTypeII.lagLimWindupGuard.atMax,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (411): * Single equations (assignments): 408 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(92,44,5.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001001/0.5268, allocations: 361.4 kB / 0.5403 GB, free: 99.54 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005403/0.5274, allocations: 402.3 kB / 0.5407 GB, free: 99.14 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02121/0.5486, allocations: 9.987 MB / 0.5505 GB, free: 89.11 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.545e-05/0.5486, allocations: 40 kB / 0.5505 GB, free: 89.07 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.33e-05/0.5486, allocations: 28.88 kB / 0.5505 GB, free: 89.05 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.855e-05/0.5487, allocations: 17.3 kB / 0.5506 GB, free: 89.03 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02162/0.5703, allocations: 11.86 MB / 0.5621 GB, free: 77.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-05/0.5703, allocations: 0 / 0.5621 GB, free: 77.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001245/0.5716, allocations: 463.4 kB / 0.5626 GB, free: 76.85 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001166/0.5728, allocations: 436 kB / 0.563 GB, free: 76.42 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01679/0.5895, allocations: 7.563 MB / 0.5704 GB, free: 68.85 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004332/0.59, allocations: 71.98 kB / 0.5705 GB, free: 68.78 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02/0.61, allocations: 12.91 MB / 0.5831 GB, free: 55.67 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/0.61, allocations: 4.969 kB / 0.5831 GB, free: 55.67 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01818/0.6282, allocations: 10.88 MB / 0.5937 GB, free: 44.7 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007279/0.6289, allocations: 70.19 kB / 0.5938 GB, free: 44.64 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001733/0.6306, allocations: 291.7 kB / 0.594 GB, free: 44.35 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001695/0.6323, allocations: 0.781 MB / 0.5948 GB, free: 43.57 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001461/0.6325, allocations: 67.98 kB / 0.5949 GB, free: 43.5 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001089/0.6335, allocations: 1.466 MB / 0.5963 GB, free: 42.02 MB / 490.7 MB Notification: Performance of sort global known variables: time 9e-08/0.6335, allocations: 0 / 0.5963 GB, free: 42.02 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003583/0.6371, allocations: 1.807 MB / 0.5981 GB, free: 40.21 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order3.delta,order3.w,order3.e1q,order4.delta,order4.w,order4.e1q,order4.e1d,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.lagLimWindupGuard.state) * Number of discrete variables: 12 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,aVRTypeII.lagLimWindupGuard.atMax,aVRTypeII.lagLimWindupGuard.atMin,aVRTypeII.lagLimWindupGuard.stateHigh,aVRTypeII.lagLimWindupGuard.inputAbove,aVRTypeII.lagLimWindupGuard.inputHigh,aVRTypeII.lagLimWindupGuard.stateLow,aVRTypeII.lagLimWindupGuard.inputBelow,aVRTypeII.lagLimWindupGuard.inputLow) * Number of discrete states: 2 (aVRTypeII.lagLimWindupGuard.atMax,aVRTypeII.lagLimWindupGuard.atMin) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (260): * Single equations (assignments): 255 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(100,36,5.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004862/0.6376, allocations: 196.5 kB / 0.5983 GB, free: 40.02 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008661/0.6463, allocations: 5.333 MB / 0.6035 GB, free: 34.67 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.538e-05/0.6463, allocations: 57.81 kB / 0.6035 GB, free: 34.62 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006104/0.6524, allocations: 4.179 MB / 0.6076 GB, free: 30.41 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0026/0.655, allocations: 1.481 MB / 0.609 GB, free: 28.83 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03887/0.6939, allocations: 7.521 MB / 0.6164 GB, free: 21.27 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006418/0.6946, allocations: 0.8022 MB / 0.6172 GB, free: 20.44 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001297/0.6959, allocations: 384.1 kB / 0.6175 GB, free: 20.06 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008858/0.6967, allocations: 0.5227 MB / 0.6181 GB, free: 19.54 MB / 490.7 MB Notification: Performance of SimCode: time 2.404e-06/0.6967, allocations: 0 / 0.6181 GB, free: 19.54 MB / 490.7 MB Notification: Performance of Templates: time 0.2874/0.9841, allocations: 103.1 MB / 0.7188 GB, free: 168.8 MB / 0.5417 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.790545247495174]