Optical magnetometry and micromagnetic simulations of three-dimensional magnetic nanostructures