Prove of concept of the slope evaluation method for commutation detection in DetectCommutationIntBEMFext.mo