ATTENTION

This FlexSim Community Forum is read-only. Please post any new questions, ideas, or discussions to our new community (we call it Answers) at https://answers.flexsim.com/. Our new Question & Answer site brings a modern, mobile-friendly interface and more focus on getting answers quickly. There are a few differences between how our new Q&A community works vs. a classic, threaded-conversation-style forum like the one below, so be sure to read our Answers Best Practices.


flexsim.com

Go Back   FlexSim Community Forum > FlexSim Software > Q&A
Downloads

Q&A Using Flexsim and building models

  #1  
Old 04-16-2008
Martin Kooijman Martin Kooijman is offline
Flexsim User
 
Join Date: Sep 2007
Posts: 10
Downloads: 13
Uploads: 0
Thanks: 1
Thanked 0 Times in 0 Posts
Rep Power: 154
Martin Kooijman is on a distinguished road
Default error message "Clock overflow, running stopped"

When I create 50 flowitems at once, the following message appears. "clock overflow, running stopped"!

I tried to split the flowitems in batches of 25 with 0.01 second delay, but the same message appears. 2 batches of 10 items is no problem, but 2 batches of 11 items is a problem.

Can anybody explain this message and give a solution? I guess the problem is that to much events are fired on the same time. After creating the TaskExecuterFlowItems a message is send to the TEFI.
  #2  
Old 04-16-2008
Martijn van Oostenbrugge's Avatar
Martijn van Oostenbrugge Martijn van Oostenbrugge is offline
Talumis, Flexsim Distributor, The Netherlands
 
Join Date: Aug 2007
Posts: 71
Downloads: 12
Uploads: 0
Thanks: 44
Thanked 44 Times in 24 Posts
Rep Power: 268
Martijn van Oostenbrugge is a name known to allMartijn van Oostenbrugge is a name known to allMartijn van Oostenbrugge is a name known to allMartijn van Oostenbrugge is a name known to allMartijn van Oostenbrugge is a name known to allMartijn van Oostenbrugge is a name known to all
Default

I would think it determines a zero velocity for the task executer flowitems. How do you create the flowitems?

Martijn
  #3  
Old 04-16-2008
Martin Kooijman Martin Kooijman is offline
Flexsim User
 
Join Date: Sep 2007
Posts: 10
Downloads: 13
Uploads: 0
Thanks: 1
Thanked 0 Times in 0 Posts
Rep Power: 154
Martin Kooijman is on a distinguished road
Default

My TEFIs walk 'autonomous', they are dropped in the model, and by recieving a message they'll travel away. In the source I use the InterArrivalTime option and I use the on creation trigger to position my items in the model.

Every thing was ok, as long as my IAT was 0.15 and bigger. But when I try to fill my model very fast with for example 50 items with the arrival schedule (50 at once) or with an IAT of 0.01 the message appears
  #4  
Old 04-16-2008
Brandon Peterson's Avatar
Brandon Peterson Brandon Peterson is offline
The Flexsim Consultant
 
Join Date: Jul 2007
Location: Salt Lake City, Utah
Posts: 382
Downloads: 29
Uploads: 6
Thanks: 192
Thanked 516 Times in 235 Posts
Rep Power: 490
Brandon Peterson has a brilliant futureBrandon Peterson has a brilliant futureBrandon Peterson has a brilliant futureBrandon Peterson has a brilliant futureBrandon Peterson has a brilliant futureBrandon Peterson has a brilliant futureBrandon Peterson has a brilliant futureBrandon Peterson has a brilliant futureBrandon Peterson has a brilliant futureBrandon Peterson has a brilliant futureBrandon Peterson has a brilliant future
Default

Martin,

Normally when a task executer flowitem is used its position is set in the "Request Transport From" trigger. Where you are setting it in the "On Creation" trigger, this could be the root of your problem. If you post a sample of your model we could help more?

Good Luck,
Brandon
__________________
thats not normal.
  #5  
Old 04-16-2008
Martin Kooijman Martin Kooijman is offline
Flexsim User
 
Join Date: Sep 2007
Posts: 10
Downloads: 13
Uploads: 0
Thanks: 1
Thanked 0 Times in 0 Posts
Rep Power: 154
Martin Kooijman is on a distinguished road
Default

I used the principle "steal if it is done before". so I copied from, I guess, "Request Transport From" trigger en pasted it in the on creation trigger. On the end of my custom code I set the position. after that only a delayed message is send to the Item self. Everything is okay, until I create the items in a very short time.

after the message trigger is fired of the items a user command is called. this command hold a number of if statements. it seems this is to heavy for the program because a simple model with a source, queue,processor and a sink don't have a problem with an IAT of 0.01
  #6  
Old 04-16-2008
Martijn van Oostenbrugge's Avatar
Martijn van Oostenbrugge Martijn van Oostenbrugge is offline
Talumis, Flexsim Distributor, The Netherlands
 
Join Date: Aug 2007
Posts: 71
Downloads: 12
Uploads: 0
Thanks: 44
Thanked 44 Times in 24 Posts
Rep Power: 268
Martijn van Oostenbrugge is a name known to allMartijn van Oostenbrugge is a name known to allMartijn van Oostenbrugge is a name known to allMartijn van Oostenbrugge is a name known to allMartijn van Oostenbrugge is a name known to allMartijn van Oostenbrugge is a name known to all
Default

I don't think your model being to heavy for Flexsim is the problem. Something is going wrong and it's hard to analyze without seeing it happen, so as Brandon metioned a sample model would help. Only that's maybe something you don't want.
  #7  
Old 04-16-2008
AlanZhang's Avatar
AlanZhang AlanZhang is offline
Flexsim Super Moderator
 
Join Date: Aug 2007
Location: CA
Posts: 289
Downloads: 64
Uploads: 0
Thanks: 88
Thanked 91 Times in 47 Posts
Rep Power: 225
AlanZhang is a jewel in the roughAlanZhang is a jewel in the roughAlanZhang is a jewel in the rough
Default

I got this kind of problem before. If you have a 0 speed TE or TEFlowItem, when it is traveled, Flexsim will do the calculation using the 0 speed. Since the distance is divided by 0, you get an infinite event time, which is the meaning of "clock overflow" in the message.
__________________
Best,
Alan
The Following 2 Users Say Thank You to AlanZhang For This Useful Post:
Hao Zhou (03-18-2013)
  #8  
Old 04-16-2008
Martijn van Oostenbrugge's Avatar
Martijn van Oostenbrugge Martijn van Oostenbrugge is offline
Talumis, Flexsim Distributor, The Netherlands
 
Join Date: Aug 2007
Posts: 71
Downloads: 12
Uploads: 0
Thanks: 44
Thanked 44 Times in 24 Posts
Rep Power: 268
Martijn van Oostenbrugge is a name known to allMartijn van Oostenbrugge is a name known to allMartijn van Oostenbrugge is a name known to allMartijn van Oostenbrugge is a name known to allMartijn van Oostenbrugge is a name known to allMartijn van Oostenbrugge is a name known to all
Default

Here's a very simple model in which a task executer is used. The maximum speed of the TE is set to zero -> Clock overflow.
Attached Files
File Type: zip Overflow.zip (40.6 KB, 326 views)
  #9  
Old 04-16-2008
Jeff Nordgren's Avatar
Jeff Nordgren Jeff Nordgren is offline
Technical Support Manager
 
Join Date: Jul 2007
Location: Orem, UT
Posts: 65
Downloads: 79
Uploads: 0
Thanks: 40
Thanked 21 Times in 17 Posts
Rep Power: 233
Jeff Nordgren is just really niceJeff Nordgren is just really niceJeff Nordgren is just really niceJeff Nordgren is just really nice
Default

You can get that error if you have an infinite loop or when there is a division by zero.
__________________
Jeff
Flexsim Support
The Following User Says Thank You to Jeff Nordgren For This Useful Post:
Martin Kooijman (04-16-2008)
  #10  
Old 04-16-2008
Martin Kooijman Martin Kooijman is offline
Flexsim User
 
Join Date: Sep 2007
Posts: 10
Downloads: 13
Uploads: 0
Thanks: 1
Thanked 0 Times in 0 Posts
Rep Power: 154
Martin Kooijman is on a distinguished road
Default

Thanks all for your reply. Now I know where I have to search to solve this problem. I'll tell you my solution.
  #11  
Old 04-16-2008
Martin Kooijman Martin Kooijman is offline
Flexsim User
 
Join Date: Sep 2007
Posts: 10
Downloads: 13
Uploads: 0
Thanks: 1
Thanked 0 Times in 0 Posts
Rep Power: 154
Martin Kooijman is on a distinguished road
Default

hi all,

during the building of my model I used the command sendmessage in the OnCreation trigger to activate a usercommand to activate my TEFI. Yesterday a changed this to the senddelayedmessage command and changed some other things.

Now I just changed back my sendmessage command and there is no clock overflow any more. maybe the fault is still there, but the model runs as I expect.

thanks all for your help

Martin
  #12  
Old 04-17-2008
Cliff King's Avatar
Cliff King Cliff King is offline
Vice President Technical Services
 
Join Date: Jul 2007
Location: Utah
Posts: 272
Downloads: 158
Uploads: 14
Thanks: 102
Thanked 304 Times in 110 Posts
Rep Power: 412
Cliff King has much to be proud ofCliff King has much to be proud ofCliff King has much to be proud ofCliff King has much to be proud ofCliff King has much to be proud ofCliff King has much to be proud ofCliff King has much to be proud ofCliff King has much to be proud ofCliff King has much to be proud of
Default

Always open your System Console and run your model before you sign-off that all is ok. You might find some exceptions being thrown... Exceptions are usually printed out on a line that starts with ex: By the way, if you turn on the Trace Debugger, it will sometimes print a little extra information about the exceptions shown in the System Console (not sure why this is so)


Thread Thread Starter Forum Replies Last Post
Self-paced video tutorial: "My Very First Flexsim Model" Brenton King Marketing and Sales Information 0 04-01-2008 01:29 PM
about "no select" and "show parameter window from side bar" qin tian Gripes and Goodies 3 03-21-2008 08:10 AM
Which variable stores "Properties -> General ->Flags -> Protected" information? KelvinHo Q&A 1 03-06-2008 06:18 AM
"Getting Started" and "Tutorial" models for v4.01 Cliff King Product Announcements 0 12-10-2007 07:34 PM
Canceling "Set Object Reset Position" AlanZhang Q&A 8 10-15-2007 12:04 PM


All times are GMT -6.
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.
Copyright 1993-2018 FlexSim Software Products, Inc.