I moved your question to the Extensionsp category. It would be helpful if you correct your profile.
Probably you need to have someone who uses the Trainz simulator and is familiar with importing files into it look at your files. The fact that your file can be viewed in the Trainz mesh viewer seems to indicate the output with Ruby TMiX is adequate so what’s wrong on the Trainz end? Do they have a forum where you can ask?