Tlycan:
Just some food for thought, no instant or profound solutions....
The variables needed to solve this problem are pretty tough to really put your finger on, so there may be a hundred numerical answers, non of them all right or wrong. The stopping or restraint devices designed for highways and the like have a large design component involved with stopping the vehicle without killing the occupants. That is absorbing a lot of energy, over some reasonably distance and period of time, so as to reduce high instantaneous impact forces. But, these aren’t your objectives, you want to stop the vehicle and don’t care about the damage to it or its driver. Notice in the picture you show, there is a good deal of cab damage above the elevation of the motor. You want to crumple a whole bunch of steel and sheet metal on the truck to absorb the energy, plus some on your gate. Start bustin up metal above and below the mass of the engine as quickly as possible, and then start stopping that concentrated mass too.
I think that having the gate be operational after the impact, may not be impossible, but is a pretty unreasonable design requirement. You can’t stop the gate from deforming and if so how can you pull it back into its slot, and will it operate properly after that. Why not work on a design which is fairly easily removable with available maintenance equipment, like fork lifts, front end loaders or a small truck crane. Use readily available components, like off-the-shelf WF beam shapes to span the 9m opening, so things can be replaced quickly, but not immediately. Heck, you’re going to spend a day gettin that busted up truck out of there. As your picture shows, two large conc. abutments and wing walls to take the impact. The gate slides through the one and locks into an 18" deep slot in the other, so it can deform quite a bit without disengaging. A track on the ground, may actually be a piece of RR rail, and chain drive pulling the gate either direction. This track system might be set in a 3'x5' deep reinforced conc. sill 9m long. In this sill you might also have some conc. filled pipes which could be pulled or pushed up 24-30" cantilevering out of sleeves in the conc. sill block, to start grabbing axles and underframe parts and bot. of the motor. Most of this stuff can be picked out in pieces and replaced, but straightening a bent gate may be quite a different matter.