<div dir="auto">Hi Sangita</div><div dir="auto"><br></div><div dir="auto">My guess is that the scenario somehow scheduled an event in the past.</div><div dir="auto"><br></div><div dir="auto">Yours, Junxiao</div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Sep 21, 2021 at 06:02 sangita...... via ndnSIM <<a href="mailto:ndnsim@lists.cs.ucla.edu">ndnsim@lists.cs.ucla.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p style="text-align:center"><font color="red"><strong>External Email</strong><br></font></p><div dir="ltr"><div dir="auto" style="font-family:sans-serif;font-size:12.8px">Dear members,</div><div dir="auto" style="font-family:sans-serif;font-size:12.8px">I am developing a vehicular network by incorporating a large sumo trace file in ndnsim using the traci client.<br></div><div dir="auto" style="font-family:sans-serif;font-size:12.8px"><br></div><div dir="auto" style="font-family:sans-serif;font-size:12.8px"><div style="font-family:Arial,Helvetica,sans-serif;font-size:small">My simulation is halted with the message:</div><div style="font-family:Arial,Helvetica,sans-serif;font-size:small">assert failed. cond="next.key.m_ts >= m_currentTs", file=../src/core/model/default-simulator-impl.cc, line=143<br></div><div style="font-family:Arial,Helvetica,sans-serif;font-size:small"><br></div><div style="font-family:Arial,Helvetica,sans-serif;font-size:small">By analyzing the code of simulator-impl.cc, I understand that <b>m_events</b> is an <i>event priority queue of scheduler</i> where all the events are inserted as per the time of execution. When the recently popped even's time is lesser than the last popped event then the above mentioned  assert happened.<br></div><div style="font-family:Arial,Helvetica,sans-serif;font-size:small"><br></div><div style="font-family:Arial,Helvetica,sans-serif;font-size:small">If <b>m_events </b>it is a priority queue it should place each of the event as per its time (checking should be done at the time of insertion). Therefore,   no question should arise of failure of this condition:  next.key.m_ts >= m_currentTs" <br></div><div style="font-family:Arial,Helvetica,sans-serif;font-size:small"><br></div><div style="font-family:Arial,Helvetica,sans-serif;font-size:small">Can anyone help to understand in which situation this can take place?<br></div><div style="font-family:Arial,Helvetica,sans-serif;font-size:small">Thanks in advance.</div></div><div dir="auto" style="font-family:sans-serif;font-size:12.8px"><br></div><div><div dir="ltr" data-smartmail="gmail_signature"><div dir="ltr"><div><font color="#666666" face="arial, sans-serif">------------------------------------</font></div><div><font face="arial, sans-serif" color="#666666">Sangita Dhara </font></div><div><font face="arial, sans-serif" color="#666666">Post Doctoral Fellow<br>CONNECT / SCSS<br>Trinity College Dublin</font><br></div><div><font face="arial, sans-serif" color="#666666">-------------------------------------</font></div></div></div></div></div>
_______________________________________________<br>
ndnSIM mailing list<br>
<a href="mailto:ndnSIM@lists.cs.ucla.edu" target="_blank">ndnSIM@lists.cs.ucla.edu</a><br>
<a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim" rel="noreferrer" target="_blank">http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim</a><br>
</blockquote></div></div>