This indicates that this triangle or tetrahedron has one angle is too small. It might mean that the device has thin layers, spheres or cylinders . You can set the cureved objects below the ideal surface. You may also reduce the optical power, or first disable the optical generation and see if the mesh can be created. you may also try to reduce the simulation volume and see if it can improve, or simplify the simulation in 2D.