Structure-phase states evolution in rails during a long operation