Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestTapChangerLogicMax.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.001849/0.001849, allocations: 104.3 kB / 19.71 MB, free: 1.914 MB / 14.72 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.002467/0.002467, allocations: 214.2 kB / 23 MB, free: 4.984 MB / 14.72 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 1.697/1.697, allocations: 207.7 MB / 233.9 MB, free: 9.789 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.09729/0.09729, allocations: 14.39 MB / 300.5 MB, free: 7.332 MB / 238.1 MB " [Timeout remaining time 180] Using package PowerGrids with version 1.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/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) Ignoring simflag -noemit -emit_protected=() since it seems broken on HelloWorld Running command: translateModel(PowerGrids.Electrical.Test.TestTapChangerLogicMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="Ntap|actionSel|directAction|lockedStart|reverseAction|runningStart|stateStart|t1st|tNext|tap|tapMax|tapMin|tapStart|time",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestTapChangerLogicMax") translateModel(PowerGrids.Electrical.Test.TestTapChangerLogicMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="Ntap|actionSel|directAction|lockedStart|reverseAction|runningStart|stateStart|t1st|tNext|tap|tapMax|tapMin|tapStart|time",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestTapChangerLogicMax") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002473/0.002473, allocations: 82.86 kB / 423.5 MB, free: 36.94 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08422/0.08669, allocations: 52.89 MB / 476.4 MB, free: 15.96 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTapChangerLogicMax): time 0.002798/0.08949, allocations: 1.425 MB / 477.8 MB, free: 14.53 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001089/0.09058, allocations: 0.5113 MB / 478.3 MB, free: 14.01 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.553e-05/0.09064, allocations: 3.938 kB / 478.3 MB, free: 14.01 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.281e-05/0.09066, allocations: 3.938 kB / 478.3 MB, free: 14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.038e-05/0.09075, allocations: 15.86 kB / 478.4 MB, free: 13.99 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002346/0.09098, allocations: 79.83 kB / 478.4 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002192/0.0912, allocations: 179.7 kB / 478.6 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.784e-05/0.09125, allocations: 4 kB / 478.6 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001694/0.09142, allocations: 103.7 kB / 478.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001484/0.09157, allocations: 79.73 kB / 478.8 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.435e-05/0.09161, allocations: 12 kB / 478.8 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.729e-05/0.09165, allocations: 12 kB / 478.8 MB, free: 13.53 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.511e-05/0.09172, allocations: 55.91 kB / 478.9 MB, free: 13.47 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001344/0.09185, allocations: 79.73 kB / 479 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000207/0.09206, allocations: 131.6 kB / 479.1 MB, free: 13.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.09206, allocations: 8 kB / 479.1 MB, free: 13.26 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.09206, allocations: 0 / 479.1 MB, free: 13.26 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.123e-06/0.09207, allocations: 0 / 479.1 MB, free: 13.26 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.00108/0.09315, allocations: 489.6 kB / 479.6 MB, free: 12.75 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.09319, allocations: 16.02 kB / 479.6 MB, free: 12.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001047/0.0933, allocations: 16.89 kB / 479.6 MB, free: 12.72 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001466/0.09344, allocations: 122.5 kB / 479.7 MB, free: 12.57 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.082e-05/0.09347, allocations: 16.36 kB / 479.7 MB, free: 12.56 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.751e-05/0.09354, allocations: 28.34 kB / 479.8 MB, free: 12.53 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006801/0.09422, allocations: 440.7 kB / 480.2 MB, free: 12.08 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.09423, allocations: 0 / 480.2 MB, free: 12.08 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.753e-05/0.09428, allocations: 11.98 kB / 480.2 MB, free: 12.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.064e-06/0.09428, allocations: 4 kB / 480.2 MB, free: 12.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001921/0.09448, allocations: 63.94 kB / 480.3 MB, free: 12 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004083/0.09489, allocations: 276.5 kB / 480.5 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002328/0.09512, allocations: 90.48 kB / 480.6 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001895/0.09531, allocations: 64.81 kB / 480.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.513e-05/0.09532, allocations: 4 kB / 480.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009384/0.09626, allocations: 0.5801 MB / 481.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of pre-optimization done (n=30): time 2.134e-06/0.09626, allocations: 0 / 481.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=30): time 0.001098/0.09736, allocations: 0.6465 MB / 481.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.577e-05/0.09742, allocations: 55.41 kB / 482 MB, free: 10.21 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001413/0.09756, allocations: 133.4 kB / 482.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.697e-05/0.09762, allocations: 49.69 kB / 482.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.389e-05/0.09768, allocations: 88.8 kB / 482.2 MB, free: 9.93 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.439e-05/0.09776, allocations: 83.44 kB / 482.3 MB, free: 9.848 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.643e-05/0.09786, allocations: 53.7 kB / 482.4 MB, free: 9.789 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.09801, allocations: 322.8 kB / 482.7 MB, free: 9.465 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000168/0.09818, allocations: 88.3 kB / 482.8 MB, free: 9.375 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002664/0.09845, allocations: 244.4 kB / 483 MB, free: 9.094 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003838/0.09883, allocations: 233.5 kB / 483.2 MB, free: 8.848 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.09884, allocations: 3.938 kB / 483.3 MB, free: 8.844 MB / 350.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004038/0.09924, allocations: 245.4 kB / 483.5 MB, free: 8.598 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.09926, allocations: 8 kB / 483.5 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.09926, allocations: 0 / 483.5 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.09928, allocations: 4 kB / 483.5 MB, free: 8.586 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.393e-05/0.09938, allocations: 15.92 kB / 483.5 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.09938, allocations: 4 kB / 483.5 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000245/0.09963, allocations: 48.03 kB / 483.6 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.301e-05/0.09965, allocations: 15.94 kB / 483.6 MB, free: 8.504 MB / 350.1 MB Warning: Assuming fixed start value for the following 4 variables: locked:DISCRETE(start = lockedStart fixed = true ) \"whether the tap-changer/phase-shifter is locked\" type: Boolean valueUnderStop:DISCRETE(start = false fixed = true protected = true ) \"whether the monitored signal is under the stop limit\" type: Boolean valueAboveMax:DISCRETE(start = false fixed = true protected = true ) \"wheter the monitored signal is above the maximum limit\" type: Boolean running:DISCRETE(start = runningStart fixed = true ) \"whether the tap-changer/phase-shifter is running\" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 39 ($PRE.locked,$PRE.valueUnderStop,$PRE.valueAboveMax,$PRE.running,tValueAboveMaxWhileRunning,$PRE.tValueAboveMaxWhileRunning,tTapMoved,$PRE.tTapMoved,lookingToDecreaseTap,lookingToIncreaseTap,tap,$PRE.tap,state,$PRE.state,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition21,$whenCondition20,$whenCondition19,valueAboveMax,valueUnderStop,locked,running) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * 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.000225/0.09988, allocations: 161.6 kB / 483.7 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.391e-05/0.09993, allocations: 23.91 kB / 483.8 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.11e-05/0.1, allocations: 29.61 kB / 483.8 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.1, allocations: 4 kB / 483.8 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.1, allocations: 4 kB / 483.8 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.1, allocations: 4 kB / 483.8 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002385/0.1003, allocations: 189.2 kB / 484 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.1003, allocations: 0 / 484 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.949e-05/0.1003, allocations: 7.938 kB / 484 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.1003, allocations: 0 / 484 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.191e-05/0.1004, allocations: 31.94 kB / 484 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.1004, allocations: 0 / 484 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1004, allocations: 0 / 484 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001552/0.1019, allocations: 1.501 MB / 485.5 MB, free: 6.445 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001548/0.1021, allocations: 39.83 kB / 485.6 MB, free: 6.406 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.779e-05/0.1022, allocations: 35.95 kB / 485.6 MB, free: 6.371 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002264/0.1024, allocations: 39.89 kB / 485.6 MB, free: 6.332 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002009/0.1026, allocations: 87.8 kB / 485.7 MB, free: 6.246 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.559e-05/0.1026, allocations: 43.95 kB / 485.8 MB, free: 6.203 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001349/0.1028, allocations: 103.2 kB / 485.9 MB, free: 6.102 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1028, allocations: 0 / 485.9 MB, free: 6.102 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004158/0.1032, allocations: 71.98 kB / 485.9 MB, free: 6.031 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 30 ($whenCondition19,$whenCondition20,$whenCondition21,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition17,$whenCondition18,state,locked,tap,lookingToIncreaseTap,lookingToDecreaseTap,tTapMoved,valueUnderStop,valueAboveMax,tValueAboveMaxWhileRunning) * Number of discrete states: 6 (valueAboveMax,tap,locked,state,valueUnderStop,tTapMoved) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.000202/0.1034, allocations: 133.5 kB / 486.1 MB, free: 5.895 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005923/0.104, allocations: 269 kB / 486.3 MB, free: 5.633 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.104, allocations: 0 / 486.3 MB, free: 5.633 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002949/0.1043, allocations: 179.8 kB / 486.5 MB, free: 5.457 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003133/0.1046, allocations: 55.83 kB / 486.6 MB, free: 5.402 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00117/0.1058, allocations: 0.6112 MB / 487.2 MB, free: 4.75 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.768e-05/0.1059, allocations: 111.3 kB / 487.3 MB, free: 4.625 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001269/0.106, allocations: 37.97 kB / 487.3 MB, free: 4.586 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001388/0.1061, allocations: 43.34 kB / 487.4 MB, free: 4.543 MB / 350.1 MB Notification: Performance of SimCode: time 4e-07/0.1061, allocations: 0 / 487.4 MB, free: 4.543 MB / 350.1 MB Notification: Performance of Templates: time 0.009261/0.1154, allocations: 4.023 MB / 491.4 MB, free: 0.5469 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestTapChangerLogicMax.makefile [Timeout 660] (rm -f PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestTapChangerLogicMax.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestTapChangerLogicMax.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestTapChangerLogicMax.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestTapChangerLogicMax.sim & ./PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestTapChangerLogicMax -abortSlowSimulation -alarm=50 -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestTapChangerLogicMax.pipe 2>&1) [Timeout 50] diffSimulationResults("PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestTapChangerLogicMax_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TestTapChangerLogicMax_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestTapChangerLogicMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.3540040869265795]