Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.SimpleCellDrivingCycle.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.001019/0.001019, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.00101/0.00101, allocations: 173 kB / 23.49 MB, free: 1.062 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8819/0.8819, allocations: 158.6 MB / 185.3 MB, free: 2.941 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricalEnergyStorage master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricalEnergyStorage master/package.mo): time 0.03507/0.03507, allocations: 5.573 MB / 243.1 MB, free: 9.598 MB / 234.7 MB " [Timeout remaining time 180] Using package ElectricalEnergyStorage with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricalEnergyStorage master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ElectricalEnergyStorage.Examples.SimpleCellDrivingCycle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=6930,variableFilter="",fileNamePrefix="ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.SimpleCellDrivingCycle") translateModel(ElectricalEnergyStorage.Examples.SimpleCellDrivingCycle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=6930,variableFilter="",fileNamePrefix="ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.SimpleCellDrivingCycle") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.492e-06/1.492e-06, allocations: 0 / 309.8 MB, free: 53.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.835e-05/1.985e-05, allocations: 4.656 kB / 309.8 MB, free: 53.54 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ElectricalEnergyStorage.Examples.SimpleCellDrivingCycle): time 0.004569/0.004588, allocations: 4.499 MB / 314.3 MB, free: 50.63 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003418/0.008007, allocations: 2.676 MB / 317 MB, free: 48.59 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004053/0.008412, allocations: 15.94 kB / 317 MB, free: 48.57 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001077/0.009489, allocations: 0.6296 MB / 317.6 MB, free: 47.94 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0003729/0.009862, allocations: 238 kB / 317.9 MB, free: 47.7 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004819/0.01034, allocations: 443.3 kB / 318.3 MB, free: 47.27 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007256/0.01107, allocations: 1.287 MB / 319.6 MB, free: 45.98 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003125/0.01138, allocations: 316.3 kB / 319.9 MB, free: 45.66 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004057/0.01179, allocations: 0.655 MB / 320.6 MB, free: 45 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002557/0.01204, allocations: 343 kB / 320.9 MB, free: 44.66 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.569e-05/0.01213, allocations: 128 kB / 321 MB, free: 44.54 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001389/0.01227, allocations: 159.9 kB / 321.2 MB, free: 44.38 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001352/0.0124, allocations: 287.1 kB / 321.5 MB, free: 44.1 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001818/0.01259, allocations: 343.1 kB / 321.8 MB, free: 43.77 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006384/0.01322, allocations: 0.8409 MB / 322.6 MB, free: 42.92 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.484e-06/0.01323, allocations: 3.984 kB / 322.6 MB, free: 42.92 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.01323, allocations: 0 / 322.6 MB, free: 42.92 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.164e-05/0.01324, allocations: 0 / 322.6 MB, free: 42.92 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.001249/0.01449, allocations: 1.49 MB / 324.1 MB, free: 41.36 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/0.01454, allocations: 15.97 kB / 324.1 MB, free: 41.34 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001687/0.0147, allocations: 168.2 kB / 324.3 MB, free: 41.18 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000575/0.01528, allocations: 0.6197 MB / 324.9 MB, free: 40.53 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.614e-05/0.01532, allocations: 58.36 kB / 325 MB, free: 40.48 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.259e-05/0.0154, allocations: 72.38 kB / 325.1 MB, free: 40.41 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000721/0.01612, allocations: 0.6885 MB / 325.7 MB, free: 39.65 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.01613, allocations: 7.875 kB / 325.8 MB, free: 39.64 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.938e-05/0.01617, allocations: 28 kB / 325.8 MB, free: 39.62 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.274e-05/0.01618, allocations: 16 kB / 325.8 MB, free: 39.6 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003908/0.01658, allocations: 235.6 kB / 326 MB, free: 39.37 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002065/0.01864, allocations: 2.734 MB / 328.8 MB, free: 36.55 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004077/0.01905, allocations: 233.4 kB / 329 MB, free: 36.31 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001306/0.01918, allocations: 83.44 kB / 329.1 MB, free: 36.23 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.18e-05/0.01921, allocations: 7.984 kB / 329.1 MB, free: 36.22 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002749/0.01949, allocations: 282 kB / 329.4 MB, free: 35.91 MB / 282.7 MB Notification: Performance of pre-optimization done (n=46): time 1.313e-06/0.01949, allocations: 4 kB / 329.4 MB, free: 35.91 MB / 282.7 MB Notification: Performance of matching and sorting (n=46): time 0.0007583/0.02025, allocations: 472 kB / 329.8 MB, free: 35.44 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.298e-05/0.02029, allocations: 140.5 kB / 330 MB, free: 35.27 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005055/0.02079, allocations: 0.7259 MB / 330.7 MB, free: 34.53 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.101e-05/0.02082, allocations: 45.7 kB / 330.7 MB, free: 34.48 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002023/0.02103, allocations: 0.5224 MB / 331.2 MB, free: 33.95 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.22e-05/0.0211, allocations: 150.8 kB / 331.4 MB, free: 33.8 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001323/0.02123, allocations: 139.9 kB / 331.5 MB, free: 33.66 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.02135, allocations: 0.5781 MB / 332.1 MB, free: 33.07 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001999/0.02155, allocations: 234.1 kB / 332.3 MB, free: 32.81 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002565/0.02181, allocations: 0.4897 MB / 332.8 MB, free: 32.2 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003557/0.02217, allocations: 482.9 kB / 333.3 MB, free: 31.64 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.02217, allocations: 0 / 333.3 MB, free: 31.64 MB / 282.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.000686/0.02285, allocations: 0.8175 MB / 334.1 MB, free: 30.75 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.508e-05/0.0229, allocations: 156.5 kB / 334.3 MB, free: 30.56 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.0229, allocations: 0 / 334.3 MB, free: 30.56 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001599/0.02306, allocations: 48.05 kB / 334.3 MB, free: 30.51 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002493/0.02331, allocations: 131.8 kB / 334.4 MB, free: 30.38 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007979/0.02411, allocations: 2.102 MB / 336.5 MB, free: 28.16 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002589/0.02437, allocations: 91.52 kB / 336.6 MB, free: 28.07 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.19e-05/0.0244, allocations: 24 kB / 336.7 MB, free: 28.05 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 29 (greaterThreshold.y,fTP72_1.liberal1.pulse1C1.count,$PRE.fTP72_1.liberal1.pulse1C1.count,fTP72_1.liberal1.pulse1C1.T_start,$PRE.fTP72_1.liberal1.pulse1C1.T_start,fTP72_1.liberal1.pulse0_45C.count,$PRE.fTP72_1.liberal1.pulse0_45C.count,fTP72_1.liberal1.pulse0_45C.T_start,$PRE.fTP72_1.liberal1.pulse0_45C.T_start,fTP72_1.liberal1.pulse0_9C.count,$PRE.fTP72_1.liberal1.pulse0_9C.count,fTP72_1.liberal1.pulse0_9C.T_start,$PRE.fTP72_1.liberal1.pulse0_9C.T_start,fTP72_1.liberal1.pulse0_5C.count,$PRE.fTP72_1.liberal1.pulse0_5C.count,fTP72_1.liberal1.pulse0_5C.T_start,$PRE.fTP72_1.liberal1.pulse0_5C.T_start,fTP72_1.liberal1.polse1C.count,$PRE.fTP72_1.liberal1.polse1C.count,fTP72_1.liberal1.polse1C.T_start,$PRE.fTP72_1.liberal1.polse1C.T_start,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,batteryCell.calculator.EquivalentCycles.integrator.local_reset,batteryCell.calculator.q.absInt.local_reset,batteryCell.calculator.sOC.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 5 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001578/0.02456, allocations: 220.5 kB / 336.9 MB, free: 27.82 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.042e-05/0.02463, allocations: 95.52 kB / 337 MB, free: 27.73 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.127e-05/0.0247, allocations: 79.12 kB / 337 MB, free: 27.64 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.0247, allocations: 4 kB / 337 MB, free: 27.64 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.02471, allocations: 0 / 337 MB, free: 27.64 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.02471, allocations: 7.922 kB / 337.1 MB, free: 27.63 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000817/0.02553, allocations: 1.021 MB / 338.1 MB, free: 26.57 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.02553, allocations: 3.938 kB / 338.1 MB, free: 26.56 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001688/0.0257, allocations: 67.83 kB / 338.1 MB, free: 26.5 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.326e-05/0.02579, allocations: 39.67 kB / 338.2 MB, free: 26.45 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.275e-05/0.02581, allocations: 11.98 kB / 338.2 MB, free: 26.44 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006138/0.02642, allocations: 2.102 MB / 340.3 MB, free: 24.22 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.02642, allocations: 3.984 kB / 340.3 MB, free: 24.22 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006042/0.02703, allocations: 0.6018 MB / 340.9 MB, free: 23.59 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.7e-05/0.0271, allocations: 87.45 kB / 341 MB, free: 23.51 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.444e-05/0.02715, allocations: 12 kB / 341 MB, free: 23.5 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001896/0.02734, allocations: 43.95 kB / 341 MB, free: 23.45 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001429/0.02748, allocations: 71.88 kB / 341.1 MB, free: 23.38 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.907e-05/0.0275, allocations: 8 kB / 341.1 MB, free: 23.38 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003191/0.02782, allocations: 455 kB / 341.6 MB, free: 22.93 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02782, allocations: 3.938 kB / 341.6 MB, free: 22.93 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004133/0.02823, allocations: 207.4 kB / 341.8 MB, free: 22.73 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (batteryCell.calculator.sOC.integrator.y,batteryCell.calculator.q.absInt.y,batteryCell.calculator.EquivalentCycles.integrator.y) * Number of discrete variables: 16 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,fTP72_1.liberal1.polse1C.T_start,fTP72_1.liberal1.polse1C.count,fTP72_1.liberal1.pulse0_5C.T_start,fTP72_1.liberal1.pulse0_5C.count,fTP72_1.liberal1.pulse0_9C.T_start,fTP72_1.liberal1.pulse0_9C.count,fTP72_1.liberal1.pulse0_45C.T_start,fTP72_1.liberal1.pulse0_45C.count,fTP72_1.liberal1.pulse1C1.T_start,fTP72_1.liberal1.pulse1C1.count,greaterThreshold.y) * Number of discrete states: 5 (fTP72_1.liberal1.polse1C.count,fTP72_1.liberal1.pulse0_5C.count,fTP72_1.liberal1.pulse0_9C.count,fTP72_1.liberal1.pulse0_45C.count,fTP72_1.liberal1.pulse1C1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007544/0.02899, allocations: 360.2 kB / 342.1 MB, free: 22.44 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006675/0.02966, allocations: 0.8897 MB / 343 MB, free: 21.45 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.02966, allocations: 0 / 343 MB, free: 21.45 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002239/0.02988, allocations: 333.3 kB / 343.3 MB, free: 21.1 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004296/0.03031, allocations: 162.1 kB / 343.5 MB, free: 20.95 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001603/0.03191, allocations: 1.275 MB / 344.8 MB, free: 19.63 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.784e-05/0.032, allocations: 166.4 kB / 344.9 MB, free: 19.45 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000175/0.03218, allocations: 64.92 kB / 345 MB, free: 19.38 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001083/0.03229, allocations: 64.42 kB / 345.1 MB, free: 19.32 MB / 282.7 MB Notification: Performance of SimCode: time 1.072e-06/0.03229, allocations: 0 / 345.1 MB, free: 19.32 MB / 282.7 MB Notification: Performance of Templates: time 0.01246/0.04475, allocations: 10.73 MB / 355.8 MB, free: 8.586 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.SimpleCellDrivingCycle.makefile [Timeout 660] (rm -f ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.SimpleCellDrivingCycle.pipe ; mkfifo ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.SimpleCellDrivingCycle.pipe ; head -c 1048576 < ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.SimpleCellDrivingCycle.pipe >> ../files/ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.SimpleCellDrivingCycle.sim & ./ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.SimpleCellDrivingCycle -abortSlowSimulation -alarm=240 -lv LOG_STATS > ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.SimpleCellDrivingCycle.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.212751701939851]