Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order5Type2_AVR_SMIBPSAT.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.0006665/0.0006665, allocations: 68.19 kB / 9.869 MB, free: 0.8242 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008852/0.001552, allocations: 447.8 kB / 10.31 MB, free: 396 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.9612/0.9612, allocations: 177.1 MB / 188.2 MB, free: 3.953 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.189/1.15, allocations: 53.65 MB / 241.8 MB, free: 2.586 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.0008765/0.0008765, allocations: 159.8 kB / 242.7 MB, free: 1.715 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001264/0.002141, allocations: 477.1 kB / 243.2 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.4525/0.4525, allocations: 89.06 MB / 333 MB, free: 15.48 MB / 330.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05611/0.5086, allocations: 30.21 MB / 363.2 MB, free: 3.172 MB / 346.7 MB " [Timeout remaining time 179] 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.Tests.Machines.PSAT.Order5Type2_AVR_SMIBPSAT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order5Type2_AVR_SMIBPSAT") translateModel(OpenIPSL.Tests.Machines.PSAT.Order5Type2_AVR_SMIBPSAT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order5Type2_AVR_SMIBPSAT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 364.5 MB, free: 1.879 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.58e-05/2.745e-05, allocations: 6.312 kB / 364.5 MB, free: 1.871 MB / 346.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order5Type2_AVR_SMIBPSAT): time 0.01244/0.01247, allocations: 6.262 MB / 370.8 MB, free: 11.59 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007786/0.02025, allocations: 2.114 MB / 372.9 MB, free: 9.477 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007208/0.02097, allocations: 11.94 kB / 372.9 MB, free: 9.465 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003643/0.02462, allocations: 241.9 kB / 373.1 MB, free: 9.227 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001787/0.0264, allocations: 0.832 MB / 374 MB, free: 8.395 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004121/0.03053, allocations: 0.5925 MB / 374.6 MB, free: 7.801 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001508/0.03203, allocations: 1.502 MB / 376.1 MB, free: 6.293 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003304/0.03236, allocations: 219 kB / 376.3 MB, free: 6.062 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004278/0.03664, allocations: 1.037 MB / 377.3 MB, free: 5.012 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006273/0.03727, allocations: 0.6153 MB / 377.9 MB, free: 4.395 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001351/0.0374, allocations: 112 kB / 378 MB, free: 4.285 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000433/0.03784, allocations: 263.7 kB / 378.3 MB, free: 4.027 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001345/0.03797, allocations: 215.2 kB / 378.5 MB, free: 3.816 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002668/0.03824, allocations: 339.1 kB / 378.8 MB, free: 3.484 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001088/0.03933, allocations: 1.082 MB / 379.9 MB, free: 2.398 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.968e-05/0.03935, allocations: 0 / 379.9 MB, free: 2.398 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.03935, allocations: 0 / 379.9 MB, free: 2.398 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.975e-05/0.03937, allocations: 0 / 379.9 MB, free: 2.398 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.004502/0.04387, allocations: 2.895 MB / 382.8 MB, free: 15.45 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.0439, allocations: 8.031 kB / 382.8 MB, free: 15.45 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002741/0.04664, allocations: 0.9754 MB / 383.8 MB, free: 14.47 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006529/0.0473, allocations: 0.5367 MB / 384.3 MB, free: 13.89 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001711/0.04747, allocations: 307.6 kB / 384.6 MB, free: 13.54 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001072/0.04757, allocations: 87.94 kB / 384.7 MB, free: 13.46 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009717/0.04855, allocations: 0.6129 MB / 385.3 MB, free: 12.83 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.545e-05/0.04856, allocations: 4 kB / 385.3 MB, free: 12.83 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.734e-05/0.04862, allocations: 28 kB / 385.4 MB, free: 12.8 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.462e-05/0.04863, allocations: 24 kB / 385.4 MB, free: 12.78 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004702/0.0491, allocations: 325.8 kB / 385.7 MB, free: 12.46 MB / 378.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.002881/0.05198, allocations: 1.768 MB / 387.5 MB, free: 10.66 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004102/0.05609, allocations: 1.816 MB / 389.3 MB, free: 8.836 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002813/0.05637, allocations: 231.8 kB / 389.5 MB, free: 8.605 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.907e-05/0.05646, allocations: 24.98 kB / 389.5 MB, free: 8.582 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004345/0.05689, allocations: 412.8 kB / 389.9 MB, free: 8.164 MB / 378.7 MB Notification: Performance of pre-optimization done (n=105): time 2.405e-06/0.05689, allocations: 4 kB / 389.9 MB, free: 8.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=105): time 0.009968/0.06686, allocations: 4.626 MB / 394.6 MB, free: 3.512 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.941e-05/0.06689, allocations: 60.41 kB / 394.6 MB, free: 3.438 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004526/0.06734, allocations: 0.7746 MB / 395.4 MB, free: 2.645 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.09e-05/0.0674, allocations: 45.7 kB / 395.5 MB, free: 2.594 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001586/0.06756, allocations: 363.1 kB / 395.8 MB, free: 2.234 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002041/0.06777, allocations: 380.7 kB / 396.2 MB, free: 1.859 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002645/0.06803, allocations: 235.4 kB / 396.4 MB, free: 1.625 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.846e-05/0.06812, allocations: 365.8 kB / 396.8 MB, free: 1.262 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00041/0.06853, allocations: 271.9 kB / 397 MB, free: 0.9961 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004816/0.06901, allocations: 446.5 kB / 397.5 MB, free: 0.5234 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008924/0.0699, allocations: 0.7606 MB / 398.2 MB, free: 15.73 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.06991, allocations: 4 kB / 398.2 MB, free: 15.73 MB / 394.7 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.004707/0.07462, allocations: 2.563 MB / 400.8 MB, free: 13.14 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.07463, allocations: 8 kB / 400.8 MB, free: 13.14 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.07464, allocations: 8 kB / 400.8 MB, free: 13.13 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00422/0.07886, allocations: 1.771 MB / 402.6 MB, free: 11.35 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004936/0.07936, allocations: 223.7 kB / 402.8 MB, free: 11.13 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005585/0.08494, allocations: 3.763 MB / 406.6 MB, free: 7.285 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005497/0.08549, allocations: 167.2 kB / 406.7 MB, free: 7.121 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.003e-05/0.08555, allocations: 35.98 kB / 406.8 MB, free: 7.086 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 14 (avr.lagLimWindupGuard.inputLow,avr.lagLimWindupGuard.inputBelow,avr.lagLimWindupGuard.stateLow,avr.lagLimWindupGuard.inputHigh,avr.lagLimWindupGuard.inputAbove,avr.lagLimWindupGuard.stateHigh,avr.lagLimWindupGuard.atMin,$PRE.avr.lagLimWindupGuard.atMin,avr.lagLimWindupGuard.atMax,$PRE.avr.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 (131): * Single equations (assignments): 128 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(20,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0002123/0.08576, allocations: 175.6 kB / 406.9 MB, free: 6.902 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001268/0.08589, allocations: 107.8 kB / 407 MB, free: 6.797 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003985/0.08987, allocations: 2.243 MB / 409.3 MB, free: 4.535 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-06/0.08988, allocations: 15.94 kB / 409.3 MB, free: 4.52 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.08989, allocations: 0 / 409.3 MB, free: 4.52 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.808e-06/0.0899, allocations: 7.984 kB / 409.3 MB, free: 4.512 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004756/0.09465, allocations: 2.816 MB / 412.1 MB, free: 1.652 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.09465, allocations: 3.984 kB / 412.1 MB, free: 1.648 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004085/0.09506, allocations: 115.8 kB / 412.2 MB, free: 1.535 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001496/0.09521, allocations: 122.9 kB / 412.4 MB, free: 1.414 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003922/0.09913, allocations: 1.646 MB / 414 MB, free: 15.76 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.547e-05/0.09919, allocations: 19.98 kB / 414 MB, free: 15.74 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004483/0.1037, allocations: 3.223 MB / 417.2 MB, free: 12.42 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.1037, allocations: 4 kB / 417.2 MB, free: 12.42 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004374/0.108, allocations: 2.513 MB / 419.8 MB, free: 9.875 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.986e-05/0.1081, allocations: 20 kB / 419.8 MB, free: 9.855 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004159/0.1086, allocations: 79.92 kB / 419.9 MB, free: 9.777 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003805/0.1089, allocations: 244.5 kB / 420.1 MB, free: 9.535 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.06e-05/0.109, allocations: 20 kB / 420.1 MB, free: 9.516 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002748/0.1093, allocations: 392.2 kB / 420.5 MB, free: 9.121 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1093, allocations: 0 / 420.5 MB, free: 9.121 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007113/0.11, allocations: 475.5 kB / 421 MB, free: 8.656 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 8 (machine.delta,machine.w,machine.e1q,machine.e2q,machine.e2d,avr.vm,avr.vr,avr.lagLimWindupGuard.state) * Number of discrete variables: 12 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,avr.lagLimWindupGuard.atMax,avr.lagLimWindupGuard.atMin,avr.lagLimWindupGuard.stateHigh,avr.lagLimWindupGuard.inputAbove,avr.lagLimWindupGuard.inputHigh,avr.lagLimWindupGuard.stateLow,avr.lagLimWindupGuard.inputBelow,avr.lagLimWindupGuard.inputLow) * Number of discrete states: 2 (avr.lagLimWindupGuard.atMax,avr.lagLimWindupGuard.atMin) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(22,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002255/0.1102, allocations: 131.7 kB / 421.1 MB, free: 8.523 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002379/0.1126, allocations: 1.481 MB / 422.6 MB, free: 7.023 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.012e-05/0.1126, allocations: 12 kB / 422.6 MB, free: 7.012 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001564/0.1142, allocations: 1.032 MB / 423.6 MB, free: 5.961 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004064/0.1146, allocations: 195 kB / 423.8 MB, free: 5.77 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009368/0.1239, allocations: 1.971 MB / 425.8 MB, free: 3.75 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001646/0.1241, allocations: 229.5 kB / 426 MB, free: 3.5 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001993/0.1243, allocations: 95.59 kB / 426.1 MB, free: 3.402 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002557/0.1245, allocations: 167.4 kB / 426.3 MB, free: 3.238 MB / 410.7 MB Notification: Performance of SimCode: time 6.22e-07/0.1245, allocations: 0 / 426.3 MB, free: 3.238 MB / 410.7 MB Notification: Performance of Templates: time 0.03638/0.1609, allocations: 27.84 MB / 454.1 MB, free: 7.566 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order5Type2_AVR_SMIBPSAT.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order5Type2_AVR_SMIBPSAT.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order5Type2_AVR_SMIBPSAT.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order5Type2_AVR_SMIBPSAT.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order5Type2_AVR_SMIBPSAT.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order5Type2_AVR_SMIBPSAT -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order5Type2_AVR_SMIBPSAT.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.785088404081762]