Investigating the secondary buckling of thin films with a model based on elastic rods with hinges