Functional safety analysis of control systems consisting of programmable units for using in transportation