Page 1 of 1

Vensim crashing when running command scripts

Posted: Wed Dec 13, 2017 5:24 pm
by RobbieOrvis
Hello,

I'm having an issue where Vensim DSS is randomly crashing when I run command scripts (generated using Python) to do multiple runs. It appears this bug was introduced in the 7.x series of Vensim. I do not have have this problem as of the 6.4E release.

Vensim will execute a seemingly random number of the command lines before closing without completing the entire script. I have not been able to identify the source of the issue.

Re: Vensim crashing when running command scripts

Posted: Wed Dec 13, 2017 7:41 pm
by Administrator
Can you email an example that crashes to us, vensim@vensim.com?

Re: Vensim crashing when running command scripts

Posted: Wed Dec 13, 2017 7:44 pm
by Administrator
The only thing we've done was to fix a couple of bugs with the FILE>COPY command, do you used that in your scripts?

Re: Vensim crashing when running command scripts

Posted: Wed Dec 13, 2017 7:52 pm
by RobbieOrvis
I will e-mail along the model in a minute.

I should be clearer here - the problem is not completely elminated in 6.4E. Vensim still occasionally will crash when running scripts. But it is much, much less frequent than when running any of the 7.x series models.

We do not use FILE>COPY command.

We use the following commands (the full script will be included in the file I e-mail your way in a minute):

SPECIAL>LOADMODEL
SIMULATE>RUNNAME
SIMULATE>SETVAL
MENU>RUN
MENU>VDF2TAB

I am also going to check now to see if the error may have to do with the character count as part of the script export names.

Re: Vensim crashing when running command scripts

Posted: Wed Dec 13, 2017 7:54 pm
by Administrator
One more question. Are you running this from within a shared folder (such as Dropbox, Google Drive, OneDrive etc)?

Re: Vensim crashing when running command scripts

Posted: Wed Dec 13, 2017 7:58 pm
by RobbieOrvis
It's a good question but no, we specifically removed these from shared folders to avoid the crash from syncing that we've seen before.