Error - cond="it != m_ueInfoMap.end()", msg="could not find any UE with IMSI 1"

127 views
Skip to first unread message

satya singh

unread,
Jul 6, 2024, 11:59:06 PMJul 6
to ns-3-users
I am getting error when i am calling function attachToEnb
jarvis@jarvis-HP-Pavilion-x360-Convertible-14-dh1xxx:~/Documents/ns-allinone-3.42/ns-3.42$ ./ns3 run scratch/scratchraw.cc
[0/2] Re-checking globbed directories...
ninja: no work to do.
Location of ground random ue are :
0:27.6466:74.0119:0
1:96.2257:6.06602:0
2:92.9867:41.8288:0
3:85.6661:8.02182:0
4:4.49325:78.8029:0
UE 0 IP Address: 7.0.0.2
UE 1 IP Address: 7.0.0.3
UE 2 IP Address: 7.0.0.4
UE 3 IP Address: 7.0.0.5
UE 4 IP Address: 7.0.0.6
------------------------------------------------NS_ASSERT failed, cond="it != m_ueInfoMap.end()", msg="could not find any UE with IMSI 1", +0.000000000s -1 file=/home/jarvis/Documents/ns-allinone-3.42/ns-3.42/src/lte/model/epc-mme-application.cc, line=107
NS_FATAL, terminating
terminate called without an active exception
Command 'build/scratch/ns3.42-scratchraw-default' died with <Signals.SIGABRT: 6>.



scratchraw.cc

satya singh

unread,
Jul 8, 2024, 12:33:20 AMJul 8
to ns-3-users
Hi, i tried other way to perform similar thing and my issue got resolve , but there is another error which i am getting , although this error is runtime error not any compilation error, please take a look -
Error-cond="Sum((*rxPsd) * (*m_rxSignal)) == 0.0", +0.000000000s 4

jarvis@jarvis-HP-Pavilion-x360-Convertible-14-dh1xxx:~/Documents/ns-allinone-3.42/ns-3.42$ ./ns3 run scratch/scratchraw.cc
[0/2] Re-checking globbed directories...
[2/2] Linking CXX executable ../build/scratch/ns3.42-scratchraw-default

Location of ground random ue are :
0:27.6466:74.0119:0
1:96.2257:6.06602:0
2:92.9867:41.8288:0
3:85.6661:8.02182:0
4:4.49325:78.8029:0
UE 0 IP Address: 7.0.0.2
UE 1 IP Address: 7.0.0.3
UE 2 IP Address: 7.0.0.4
UE 3 IP Address: 7.0.0.5
UE 4 IP Address: 7.0.0.6
UE 1 is attached to gNB (backhaul) 5
UE 4 is attached to gNB (backhaul) 2
UE 7 is attached to gNB (fronthaul) 0
UE 8 is attached to gNB (fronthaul) 3
UE 9 is attached to gNB (fronthaul) 3
UE 10 is attached to gNB (fronthaul) 3
UE 11 is attached to gNB (fronthaul) 0
Position of UAV are :
UAV ID: 1, Position: 76.1682:57.1678:20
UAV ID: 2, Position: 88.7889:30.4719:20
UAV ID: 3, Position: 5:5:10
----------------------
AnimationInterface WARNING:Node:12 Does not have a mobility model. Use SetConstantPosition if it is stationary
AnimationInterface WARNING:Node:13 Does not have a mobility model. Use SetConstantPosition if it is stationary
AnimationInterface WARNING:Node:14 Does not have a mobility model. Use SetConstantPosition if it is stationary
AnimationInterface WARNING:Node:15 Does not have a mobility model. Use SetConstantPosition if it is stationary
AnimationInterface WARNING:Node:12 Does not have a mobility model. Use SetConstantPosition if it is stationary
AnimationInterface WARNING:Node:13 Does not have a mobility model. Use SetConstantPosition if it is stationary
AnimationInterface WARNING:Node:14 Does not have a mobility model. Use SetConstantPosition if it is stationary
AnimationInterface WARNING:Node:15 Does not have a mobility model. Use SetConstantPosition if it is stationary
----------------------
ERROR--
NS_ASSERT failed, cond="Sum((*rxPsd) * (*m_rxSignal)) == 0.0", +0.000000000s 4 file=/home/jarvis/Documents/ns-allinone-3.42/ns-3.42/src/lte/model/lte-interference.cc, line=96

NS_FATAL, terminating
terminate called without an active exception
Command 'build/scratch/ns3.42-scratchraw-default' died with <Signals.SIGABRT: 6>.

I have attached the script below.
scratchraw.cc

satya singh

unread,
Jul 8, 2024, 12:34:44 AMJul 8
to ns-3-users
Is this error related to power or something else.

Gabriel Ferreira

unread,
Jul 8, 2024, 7:01:02 AMJul 8
to ns-3-users
You either didn't set the mobility model or set the positions to the same.
Resulting in hitting this very funny bug
https://gitlab.com/nsnam/ns-3-dev/-/merge_requests/2049

satya singh

unread,
Jul 8, 2024, 9:15:28 AM (14 days ago) Jul 8
to ns-3-users
Hey Gabriel , thanks for your response , yes i indeed set the position of 2 gnb and a ue same . Actually in my scenarion , these 3 tuple representing a single uav. Now, i have reconfigured it with each node at different position  as well as i made a custom function to check mobility whether correctly setup for each container (each node of container) in my simulation , but the result is same.I am attaching the snapshot showing position of each node i have in my simulation as well as output of mobillity model and modified script.

Screenshot from 2024-07-08 18-38-34.png
scratchraw.cc

satya singh

unread,
Jul 9, 2024, 12:19:41 AM (13 days ago) Jul 9
to ns-3-users
This is what i am getting , sum of the product of the received power spectral density (rxPsd) and the received signal (m_rxSignal) .

rxPsd & m_rxSignal values and their product:
rxPsd[0]: 3.93967e-21, m_rxSignal[0]: 5.56818e-19, product: 2.19368e-39
rxPsd[1]: 4.0844e-21, m_rxSignal[1]: 5.42434e-19, product: 2.21552e-39
rxPsd[2]: 4.15919e-21, m_rxSignal[2]: 5.12945e-19, product: 2.13344e-39
rxPsd[3]: 4.1587e-21, m_rxSignal[3]: 4.91344e-19, product: 2.04335e-39
rxPsd[4]: 4.08262e-21, m_rxSignal[4]: 4.9483e-19, product: 2.0202e-39
Sum: 1.06062e-38
NS_ASSERT failed, cond="Sum((*rxPsd) * (*m_rxSignal)) == 0.0", +0.000000000s 1 file=/home/jarvis/Documents/ns-allinone-3.42/ns-3.42/src/lte/model/lte-interference.cc, line=108

NS_FATAL, terminating
terminate called without an active exception
Command 'build/scratch/ns3.42-scratchraw-default' died with <Signals.SIGABRT: 6>.

On Monday, July 8, 2024 at 4:31:02 PM UTC+5:30 Gabriel Ferreira wrote:

Gabriel Ferreira

unread,
Jul 9, 2024, 9:16:11 AM (13 days ago) Jul 9
to ns-3-users
Hi Satya, make sure all wireless devices have a position that is different from one another.

satya singh

unread,
Jul 9, 2024, 10:10:07 AM (13 days ago) Jul 9
to ns-3-users
Thanks Gabriel , Actually ,  i have printed position of each node on the console to check manually , they all are located at different positions as well as mobility model is also correctly setup , although i will check once again and let you know . Is there any other possible misconfiguration which can cause the same error.

Gabriel Ferreira

unread,
Jul 10, 2024, 6:42:50 AM (12 days ago) Jul 10
to ns-3-users
Hmm, then it should be a misconfiguration indeed. If you're using VsCode, use the visual debugger, put a conditional breakpoint where it fails, then trace it back through the stack where there is a missing value. Probably a Ptr<somethin> = NULL.

satya singh

unread,
Jul 10, 2024, 1:59:25 PM (12 days ago) Jul 10
to ns-3-users
Hey Gabriel ,  let me tell you what i am trying to achieve, so basically i have taken 1 gnb (using it  as relay node between core and uav network ) attached p2p with core , and i am trying to attach it uav network . I don't want to connect other gnb (fronthaul and backhaul which are part of uav network ) directly connected  to core . So in my simulation  a single uav is represented by 3 nodes (2 gnb and 1 ue) , ue will also be used as relay node  for beamforming purpose , 1fronthaul gnb for ground user and 1 backhaul gnb for intercommunication between two uavs.

satya singh

unread,
Jul 10, 2024, 2:00:54 PM (12 days ago) Jul 10
to ns-3-users
For the time being i removed fronthaul gnb which was for serving the ground users , still the problem exist.

satya singh

unread,
Jul 12, 2024, 1:07:34 AM (10 days ago) Jul 12
to ns-3-users
Hey Gabriel , i make the scenario a little bit simpler ,
I want this kind of communication -


remotehost-----[p2p]----> core(mme,sgw,pgw)------[p2p-]---->gnb1--------[beamforming]------ue1 --------[p2p]----- gnb2----------------[beamforming]------ue2

basically what i am trying to achieve is make it multihop network ,
the thing is when i am using nrhelper and passing epchelper object to it , and after that configuring gnb , all the gnb are getting attached to core using s1 .

The possible solution was thinking is to take another nrhelper and configure other gnbs except one that we want to attach with core using p2p , but unfortunately it did not work.

please suggest me how i can make a multihop network using beamforming , i am attaching my script.



only_backhaul.cc

satya singh

unread,
Jul 12, 2024, 1:18:19 AM (10 days ago) Jul 12
to ns-3-users
here ue1 is acting like a relay node between 2 gnb , becuase i think  intercommunication between 2 gnb using beamforming is not possible in nr  .
Reply all
Reply to author
Forward
0 new messages