Safe and reliable measurement solution of electromagnetic flowmeter in nuclear industry