Measurement and modeling of magnetic configurations to mimic overload scenarios in the W7-X stellarator