Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.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.00137/0.00137, allocations: 113.6 kB / 21.19 MB, free: 0.7031 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.001538/0.001538, allocations: 208.6 kB / 24.49 MB, free: 4.059 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.589/1.589, allocations: 207.6 MB / 235.3 MB, free: 10 MB / 190.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMR_Inverter_MultiPhase",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMR_Inverter_MultiPhase",fmuType="me",version="2.0",platforms={"static"}) [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.001886/0.001886, allocations: 51.92 kB / 347.2 MB, free: 10.09 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2995/0.3014, allocations: 49.17 MB / 396.4 MB, free: 8.973 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase): time 0.02723/0.3287, allocations: 23.87 MB / 420.2 MB, free: 7.832 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01747/0.3461, allocations: 6.576 MB / 426.8 MB, free: 2.309 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006848/0.353, allocations: 185.5 kB / 427 MB, free: 2.23 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005467/0.3585, allocations: 1.636 MB / 428.6 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009296/0.3677, allocations: 2.153 MB / 430.8 MB, free: 15.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004677/0.3724, allocations: 1.51 MB / 432.3 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01469/0.3871, allocations: 8.078 MB / 440.4 MB, free: 7.152 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006978/0.3941, allocations: 3.965 MB / 444.3 MB, free: 3.098 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008207/0.4023, allocations: 3.922 MB / 448.3 MB, free: 15.16 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009239/0.4115, allocations: 4.48 MB / 452.7 MB, free: 10.67 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003401/0.4149, allocations: 1.094 MB / 453.8 MB, free: 9.574 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005281/0.4202, allocations: 1.308 MB / 455.1 MB, free: 8.266 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002801/0.423, allocations: 2.454 MB / 457.6 MB, free: 5.805 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00826/0.4313, allocations: 4.52 MB / 462.1 MB, free: 1.266 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01784/0.4491, allocations: 14.22 MB / 476.3 MB, free: 3 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.4491, allocations: 0 / 476.3 MB, free: 3 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.866e-06/0.4491, allocations: 0 / 476.3 MB, free: 3 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004187/0.4495, allocations: 0 / 476.3 MB, free: 3 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1854 * Number of variables: 1854 Notification: Performance of Generate backend data structure: time 0.02555/0.4751, allocations: 8.951 MB / 485.3 MB, free: 9.961 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.428e-05/0.4751, allocations: 11.98 kB / 485.3 MB, free: 9.949 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002002/0.4771, allocations: 0.955 MB / 486.3 MB, free: 8.98 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008805/0.486, allocations: 1.698 MB / 488 MB, free: 7.277 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01103/0.497, allocations: 4.518 MB / 492.5 MB, free: 2.676 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004783/0.4975, allocations: 0.518 MB / 493 MB, free: 2.156 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001777/0.4992, allocations: 0.6834 MB / 493.7 MB, free: 1.473 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02028/0.5195, allocations: 9.439 MB / 0.4913 GB, free: 7.969 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001662/0.5197, allocations: 7.953 kB / 0.4913 GB, free: 7.961 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009034/0.5206, allocations: 280 kB / 0.4916 GB, free: 7.688 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003692/0.521, allocations: 330.2 kB / 0.4919 GB, free: 7.363 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01771/0.5387, allocations: 8.051 MB / 0.4998 GB, free: 15.3 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05772/0.5964, allocations: 28 MB / 0.5271 GB, free: 2.703 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01204/0.6084, allocations: 6.189 MB / 0.5332 GB, free: 13.1 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005581/0.614, allocations: 2.666 MB / 0.5358 GB, free: 10.42 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01534/0.6294, allocations: 7.219 MB / 0.5428 GB, free: 3.164 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.211e-05/0.6294, allocations: 56.61 kB / 0.5429 GB, free: 3.098 MB / 462.1 MB Notification: Performance of pre-optimization done (n=259): time 4.569e-06/0.6294, allocations: 0 / 0.5429 GB, free: 3.098 MB / 462.1 MB Notification: Performance of matching and sorting (n=265): time 0.02535/0.6548, allocations: 10.3 MB / 0.5529 GB, free: 8.656 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.005e-05/0.6548, allocations: 85.44 kB / 0.553 GB, free: 8.559 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00681/0.6617, allocations: 3.377 MB / 0.5563 GB, free: 5.188 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004556/0.6621, allocations: 77.7 kB / 0.5564 GB, free: 5.105 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003082/0.6652, allocations: 3.122 MB / 0.5594 GB, free: 1.957 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001553/0.6668, allocations: 0.9529 MB / 0.5604 GB, free: 0.9961 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001062/0.6678, allocations: 0.5976 MB / 0.5609 GB, free: 400 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.668, allocations: 305.1 kB / 0.5612 GB, free: 92 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2023/0.8702, allocations: 1.388 MB / 0.5626 GB, free: 139.7 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002962/0.8732, allocations: 2.434 MB / 0.565 GB, free: 138.5 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005242/0.8784, allocations: 4.07 MB / 0.5689 GB, free: 135.8 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-05/0.8785, allocations: 9.375 kB / 0.569 GB, free: 135.8 MB / 478.1 MB Notification: Performance of matching and sorting (n=436) (initialization): time 0.007892/0.8864, allocations: 4.63 MB / 0.5735 GB, free: 134 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.474e-05/0.8864, allocations: 19.41 kB / 0.5735 GB, free: 134 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.783e-05/0.8865, allocations: 35.44 kB / 0.5735 GB, free: 134 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001/0.8875, allocations: 396.9 kB / 0.5739 GB, free: 133.9 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002963/0.8904, allocations: 0.7942 MB / 0.5747 GB, free: 133.8 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005628/0.8961, allocations: 7.561 MB / 0.5821 GB, free: 127.4 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002822/0.8989, allocations: 159.3 kB / 0.5822 GB, free: 127.4 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002838/0.8992, allocations: 153 kB / 0.5824 GB, free: 127.4 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 146 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (411): * Single equations (assignments): 405 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 4 * 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): 4 systems {(1,1,100.0%), (1,5,100.0%), (1,1,100.0%), (3,14,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003691/0.9029, allocations: 2.076 MB / 0.5844 GB, free: 126.3 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007493/0.9036, allocations: 386.8 kB / 0.5848 GB, free: 126.3 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006274/0.9099, allocations: 4.034 MB / 0.5887 GB, free: 124.5 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.596e-05/0.9099, allocations: 26.06 kB / 0.5887 GB, free: 124.5 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.691e-05/0.9099, allocations: 14.66 kB / 0.5887 GB, free: 124.5 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.38e-05/0.9099, allocations: 15.42 kB / 0.5888 GB, free: 124.5 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01265/0.9226, allocations: 9.675 MB / 0.5982 GB, free: 120.4 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.848e-06/0.9226, allocations: 3.375 kB / 0.5982 GB, free: 120.4 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001582/0.9242, allocations: 415.4 kB / 0.5986 GB, free: 120.4 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001821/0.926, allocations: 0.858 MB / 0.5994 GB, free: 119.9 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001607/0.9262, allocations: 74.41 kB / 0.5995 GB, free: 119.9 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01244/0.9386, allocations: 16.78 MB / 0.6159 GB, free: 102.7 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/0.9386, allocations: 8.016 kB / 0.6159 GB, free: 102.7 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007869/0.9465, allocations: 5.874 MB / 0.6216 GB, free: 96.91 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001817/0.9483, allocations: 0.6926 MB / 0.6223 GB, free: 96.31 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005984/0.9489, allocations: 67.98 kB / 0.6224 GB, free: 96.24 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00162/0.9505, allocations: 131.9 kB / 0.6225 GB, free: 96.11 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004506/0.951, allocations: 205.5 kB / 0.6227 GB, free: 95.91 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001388/0.9511, allocations: 83.97 kB / 0.6228 GB, free: 95.83 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002871/0.954, allocations: 2.29 MB / 0.625 GB, free: 93.55 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.954, allocations: 4 kB / 0.625 GB, free: 93.55 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003478/0.9575, allocations: 1.141 MB / 0.6261 GB, free: 92.41 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 14 (smrM.inertiaRotor.w,smrM.stator.core.Phi.re,smrM.stator.core.Phi.im,smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smr3.inertiaRotor.w,smr3.stator.core.Phi.re,smr3.stator.core.Phi.im,smr3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smr3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,loadInertiaM.phi,loadInertia3.phi,vfController3.x,vfControllerM.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (198): * Single equations (assignments): 191 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,5,100.0%), (4,33,93.8%), (1,1,100.0%), (1,1,100.0%), (1,8,100.0%), (2,12,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007956/0.9654, allocations: 6.517 MB / 0.6325 GB, free: 85.72 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005457/0.9709, allocations: 3.824 MB / 0.6362 GB, free: 81.82 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/0.9709, allocations: 0.5 kB / 0.6362 GB, free: 81.82 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003389/0.9743, allocations: 2.742 MB / 0.6389 GB, free: 78.98 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00413/0.9784, allocations: 1.004 MB / 0.6399 GB, free: 77.98 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05273/1.031, allocations: 39.2 MB / 0.6782 GB, free: 37.49 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003246/1.034, allocations: 4.225 MB / 0.6823 GB, free: 33.24 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002416/1.037, allocations: 0.8365 MB / 0.6831 GB, free: 32.39 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002575/1.039, allocations: 2.538 MB / 0.6856 GB, free: 29.86 MB / 478.1 MB Notification: Performance of SimCode: time 1.182e-06/1.039, allocations: 4 kB / 0.6856 GB, free: 29.85 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4292/1.469, allocations: 102.9 MB / 0.786 GB, free: 170.4 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.99/21.45, allocations: 3.062 kB / 0.786 GB, free: 170.4 MB / 0.5137 GB " [Timeout remaining time 638] (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMR_Inverter_MultiPhase_fmu --startTime=0 --stopTime=1.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMR_Inverter_MultiPhase.fmu > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/SMR_Inverter_MultiPhase/SMR_Inverter_MultiPhase.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 657] Reference file matches [Calling sys.exit(0), Time elapsed: 30.61993093113415]