← #8 .
* Forgot to tell you that your (edited) file.tcl
cannot have the same name as an already existing file.
The file in post #8 is not "aomdv.tcl". See ``1aomdv.diff´´.
And furthermore, the file has DOS (Windows©) characters,
not usable as is in a Unix/Linux environment.
( Easily fixed with $ dos2unix

)
When edited, no issues : $ ns aomdv-Nindu.tcl
.. The files ns.trc 213 MB, scenario.trc 1.5 kB are created.
Edited to include {Exponential and Pareto} :
$ ns aomdv-Pareto.tcl
OK, ns-P.trc 213 MB, scenario-P.trc 1.5 kB
-