Finite element analysis of stability of thin-walled beams of open section