MATSim is an open source traffic simulation. It contains tools for generating a virtual population and their daily travel plans.

This tool allows to import person plans from MATSim output.

The call is:

python tools/import/matsim/ --plan-file matsim_plans.xml -o out.rou.xml

The option --vehicles-only allows to import only the passenger traffic rather than intermodal trip chains.