CPAL Playground


for ms or try the desktop editor with advanced diagram views

Quiet mode disabled
[0.000000000000:ASSIGN] Assign cpal_system new value: Scheduling_Policy.FIFO
[0.000000000000:alternating-bit-protocol:STARTING_TASK] 'sender1'
[0.000000000000:STATE] process "ABP_Sender", instance "sender1", state "Main"
[0.000000000000:alternating-bit-protocol:TASK_FINISHED] 'sender1'
[0.000000000000:alternating-bit-protocol:STARTING_TASK] 'receiver1'
[0.000000000000:STATE] process "ABP_Receiver", instance "receiver1", state "Wait0"
[0.000000000000:alternating-bit-protocol:TASK_FINISHED] 'receiver1'
[0.100000000000:alternating-bit-protocol:STARTING_TASK] 'sender1'
[0.100000000000:ASSIGN][0.100000000000] Pushed sender_to_receiver new value: {1,false}
[0.100000000000:PRINTLN] ping 1
[0.100000000000:PRINTLN] 
[0.100000000000:STATE] process "ABP_Sender", instance "sender1", state "Wait_Ack"
[0.100000000000:alternating-bit-protocol:TASK_FINISHED] 'sender1'
[0.100000000000:alternating-bit-protocol:STARTING_TASK] 'receiver1'
[0.100000000000:ASSIGN][0.100000000000] Pushed receiver_to_sender new value: {0,false}
[0.100000000000:PRINTLN] pong 1
[0.100000000000:PRINTLN] 
[0.100000000000:STATE] process "ABP_Receiver", instance "receiver1", state "Wait1"
[0.100000000000:alternating-bit-protocol:TASK_FINISHED] 'receiver1'
[0.200000000000:alternating-bit-protocol:STARTING_TASK] 'sender1'
[0.200000000000:STATE] process "ABP_Sender", instance "sender1", state "Main"
[0.200000000000:alternating-bit-protocol:TASK_FINISHED] 'sender1'
[0.200000000000:alternating-bit-protocol:STARTING_TASK] 'receiver1'
[0.200000000000:alternating-bit-protocol:TASK_FINISHED] 'receiver1'
[0.300000000000:alternating-bit-protocol:STARTING_TASK] 'sender1'
[0.300000000000:ASSIGN][0.300000000000] Pushed sender_to_receiver new value: {2,true}
[0.300000000000:PRINTLN] ping 2
[0.300000000000:PRINTLN] 
[0.300000000000:STATE] process "ABP_Sender", instance "sender1", state "Wait_Ack"
[0.300000000000:alternating-bit-protocol:TASK_FINISHED] 'sender1'
[0.300000000000:alternating-bit-protocol:STARTING_TASK] 'receiver1'
[0.300000000000:ASSIGN][0.300000000000] Pushed receiver_to_sender new value: {0,true}
[0.300000000000:PRINTLN] pong 2
[0.300000000000:PRINTLN] 
[0.300000000000:STATE] process "ABP_Receiver", instance "receiver1", state "Wait0"
[0.300000000000:alternating-bit-protocol:TASK_FINISHED] 'receiver1'
[0.400000000000:alternating-bit-protocol:STARTING_TASK] 'sender1'
[0.400000000000:STATE] process "ABP_Sender", instance "sender1", state "Main"
[0.400000000000:alternating-bit-protocol:TASK_FINISHED] 'sender1'
[0.400000000000:alternating-bit-protocol:STARTING_TASK] 'receiver1'
[0.400000000000:alternating-bit-protocol:TASK_FINISHED] 'receiver1'
[0.500000000000:alternating-bit-protocol:STARTING_TASK] 'sender1'
[0.500000000000:ASSIGN][0.500000000000] Pushed sender_to_receiver new value: {3,false}
[0.500000000000:PRINTLN] ping 3
[0.500000000000:PRINTLN] 
[0.500000000000:STATE] process "ABP_Sender", instance "sender1", state "Wait_Ack"
[0.500000000000:alternating-bit-protocol:TASK_FINISHED] 'sender1'
[0.500000000000:alternating-bit-protocol:STARTING_TASK] 'receiver1'
[0.500000000000:ASSIGN][0.500000000000] Pushed receiver_to_sender new value: {0,false}
[0.500000000000:PRINTLN] pong 3
[0.500000000000:PRINTLN] 
[0.500000000000:STATE] process "ABP_Receiver", instance "receiver1", state "Wait1"
[0.500000000000:alternating-bit-protocol:TASK_FINISHED] 'receiver1'
[0.600000000000:alternating-bit-protocol:STARTING_TASK] 'sender1'
[0.600000000000:STATE] process "ABP_Sender", instance "sender1", state "Main"
[0.600000000000:alternating-bit-protocol:TASK_FINISHED] 'sender1'
[0.600000000000:alternating-bit-protocol:STARTING_TASK] 'receiver1'
[0.600000000000:alternating-bit-protocol:TASK_FINISHED] 'receiver1'
[0.700000000000:alternating-bit-protocol:STARTING_TASK] 'sender1'
[0.700000000000:ASSIGN][0.700000000000] Pushed sender_to_receiver new value: {4,true}
[0.700000000000:PRINTLN] ping 4
[0.700000000000:PRINTLN] 
[0.700000000000:STATE] process "ABP_Sender", instance "sender1", state "Wait_Ack"
[0.700000000000:alternating-bit-protocol:TASK_FINISHED] 'sender1'
[0.700000000000:alternating-bit-protocol:STARTING_TASK] 'receiver1'
[0.700000000000:ASSIGN][0.700000000000] Pushed receiver_to_sender new value: {0,true}
[0.700000000000:PRINTLN] pong 4
[0.700000000000:PRINTLN] 
[0.700000000000:STATE] process "ABP_Receiver", instance "receiver1", state "Wait0"
[0.700000000000:alternating-bit-protocol:TASK_FINISHED] 'receiver1'
[0.800000000000:alternating-bit-protocol:STARTING_TASK] 'sender1'
[0.800000000000:STATE] process "ABP_Sender", instance "sender1", state "Main"
[0.800000000000:alternating-bit-protocol:TASK_FINISHED] 'sender1'
[0.800000000000:alternating-bit-protocol:STARTING_TASK] 'receiver1'
[0.800000000000:alternating-bit-protocol:TASK_FINISHED] 'receiver1'
[0.900000000000:alternating-bit-protocol:STARTING_TASK] 'sender1'
[0.900000000000:ASSIGN][0.900000000000] Pushed sender_to_receiver new value: {5,false}
[0.900000000000:PRINTLN] ping 5
[0.900000000000:PRINTLN] 
[0.900000000000:STATE] process "ABP_Sender", instance "sender1", state "Wait_Ack"
[0.900000000000:alternating-bit-protocol:TASK_FINISHED] 'sender1'
[0.900000000000:alternating-bit-protocol:STARTING_TASK] 'receiver1'
[0.900000000000:ASSIGN][0.900000000000] Pushed receiver_to_sender new value: {0,false}
[0.900000000000:PRINTLN] pong 5
[0.900000000000:PRINTLN] 
[0.900000000000:STATE] process "ABP_Receiver", instance "receiver1", state "Wait1"
[0.900000000000:alternating-bit-protocol:TASK_FINISHED] 'receiver1'
[1.000000000000:alternating-bit-protocol:STARTING_TASK] 'sender1'
[1.000000000000:STATE] process "ABP_Sender", instance "sender1", state "Main"
[1.000000000000:alternating-bit-protocol:TASK_FINISHED] 'sender1'
[1.000000000000:alternating-bit-protocol:STARTING_TASK] 'receiver1'
[1.000000000000:alternating-bit-protocol:TASK_FINISHED] 'receiver1'
[1.100000000000:alternating-bit-protocol:STARTING_TASK] 'sender1'
[1.100000000000:ASSIGN][1.100000000000] Pushed sender_to_receiver new value: {6,true}
[1.100000000000:PRINTLN] ping 6
[1.100000000000:PRINTLN] 
[1.100000000000:STATE] process "ABP_Sender", instance "sender1", state "Wait_Ack"
[1.100000000000:alternating-bit-protocol:TASK_FINISHED] 'sender1'
[1.100000000000:alternating-bit-protocol:STARTING_TASK] 'receiver1'
[1.100000000000:ASSIGN][1.100000000000] Pushed receiver_to_sender new value: {0,true}
[1.100000000000:PRINTLN] pong 6
[1.100000000000:PRINTLN] 
[1.100000000000:STATE] process "ABP_Receiver", instance "receiver1", state "Wait0"
[1.100000000000:alternating-bit-protocol:TASK_FINISHED] 'receiver1'
[1.200000000000:alternating-bit-protocol:STARTING_TASK] 'sender1'
[1.200000000000:STATE] process "ABP_Sender", instance "sender1", state "Main"
[1.200000000000:alternating-bit-protocol:TASK_FINISHED] 'sender1'
[1.200000000000:alternating-bit-protocol:STARTING_TASK] 'receiver1'
[1.200000000000:alternating-bit-protocol:TASK_FINISHED] 'receiver1'
[1.300000000000:alternating-bit-protocol:STARTING_TASK] 'sender1'
[1.300000000000:ASSIGN][1.300000000000] Pushed sender_to_receiver new value: {7,false}
[1.300000000000:PRINTLN] ping 7
[1.300000000000:PRINTLN] 
[1.300000000000:STATE] process "ABP_Sender", instance "sender1", state "Wait_Ack"
[1.300000000000:alternating-bit-protocol:TASK_FINISHED] 'sender1'
[1.300000000000:alternating-bit-protocol:STARTING_TASK] 'receiver1'
[1.300000000000:ASSIGN][1.300000000000] Pushed receiver_to_sender new value: {0,false}
[1.300000000000:PRINTLN] pong 7
[1.300000000000:PRINTLN] 
[1.300000000000:STATE] process "ABP_Receiver", instance "receiver1", state "Wait1"
[1.300000000000:alternating-bit-protocol:TASK_FINISHED] 'receiver1'
[1.400000000000:alternating-bit-protocol:STARTING_TASK] 'sender1'
[1.400000000000:STATE] process "ABP_Sender", instance "sender1", state "Main"
[1.400000000000:alternating-bit-protocol:TASK_FINISHED] 'sender1'
[1.400000000000:alternating-bit-protocol:STARTING_TASK] 'receiver1'
[1.400000000000:alternating-bit-protocol:TASK_FINISHED] 'receiver1'
[1.500000000000:alternating-bit-protocol:STARTING_TASK] 'sender1'
[1.500000000000:ASSIGN][1.500000000000] Pushed sender_to_receiver new value: {8,true}
[1.500000000000:PRINTLN] ping 8
[1.500000000000:PRINTLN] 
[1.500000000000:STATE] process "ABP_Sender", instance "sender1", state "Wait_Ack"
[1.500000000000:alternating-bit-protocol:TASK_FINISHED] 'sender1'
[1.500000000000:alternating-bit-protocol:STARTING_TASK] 'receiver1'
[1.500000000000:ASSIGN][1.500000000000] Pushed receiver_to_sender new value: {0,true}
[1.500000000000:PRINTLN] pong 8
[1.500000000000:PRINTLN] 
[1.500000000000:STATE] process "ABP_Receiver", instance "receiver1", state "Wait0"
[1.500000000000:alternating-bit-protocol:TASK_FINISHED] 'receiver1'
[1.600000000000:alternating-bit-protocol:STARTING_TASK] 'sender1'
[1.600000000000:STATE] process "ABP_Sender", instance "sender1", state "Main"
[1.600000000000:alternating-bit-protocol:TASK_FINISHED] 'sender1'
[1.600000000000:alternating-bit-protocol:STARTING_TASK] 'receiver1'
[1.600000000000:alternating-bit-protocol:TASK_FINISHED] 'receiver1'
[1.700000000000:alternating-bit-protocol:STARTING_TASK] 'sender1'
[1.700000000000:ASSIGN][1.700000000000] Pushed sender_to_receiver new value: {9,false}
[1.700000000000:PRINTLN] ping 9
[1.700000000000:PRINTLN] 
[1.700000000000:STATE] process "ABP_Sender", instance "sender1", state "Wait_Ack"
[1.700000000000:alternating-bit-protocol:TASK_FINISHED] 'sender1'
[1.700000000000:alternating-bit-protocol:STARTING_TASK] 'receiver1'
[1.700000000000:ASSIGN][1.700000000000] Pushed receiver_to_sender new value: {0,false}
[1.700000000000:PRINTLN] pong 9
[1.700000000000:PRINTLN] 
[1.700000000000:STATE] process "ABP_Receiver", instance "receiver1", state "Wait1"
[1.700000000000:alternating-bit-protocol:TASK_FINISHED] 'receiver1'
[1.800000000000:alternating-bit-protocol:STARTING_TASK] 'sender1'
[1.800000000000:STATE] process "ABP_Sender", instance "sender1", state "Main"
[1.800000000000:alternating-bit-protocol:TASK_FINISHED] 'sender1'
[1.800000000000:alternating-bit-protocol:STARTING_TASK] 'receiver1'
[1.800000000000:alternating-bit-protocol:TASK_FINISHED] 'receiver1'
[1.900000000000:alternating-bit-protocol:STARTING_TASK] 'sender1'
[1.900000000000:ASSIGN][1.900000000000] Pushed sender_to_receiver new value: {10,true}
[1.900000000000:PRINTLN] ping 10
[1.900000000000:PRINTLN] 
[1.900000000000:STATE] process "ABP_Sender", instance "sender1", state "Wait_Ack"
[1.900000000000:alternating-bit-protocol:TASK_FINISHED] 'sender1'
[1.900000000000:alternating-bit-protocol:STARTING_TASK] 'receiver1'
[1.900000000000:ASSIGN][1.900000000000] Pushed receiver_to_sender new value: {0,true}
[1.900000000000:PRINTLN] pong 10
[1.900000000000:PRINTLN] 
[1.900000000000:STATE] process "ABP_Receiver", instance "receiver1", state "Wait0"
[1.900000000000:alternating-bit-protocol:TASK_FINISHED] 'receiver1'
[2.000000000000:alternating-bit-protocol:STARTING_TASK] 'sender1'
[2.000000000000:STATE] process "ABP_Sender", instance "sender1", state "Main"
[2.000000000000:alternating-bit-protocol:TASK_FINISHED] 'sender1'
[2.000000000000:alternating-bit-protocol:STARTING_TASK] 'receiver1'
[2.000000000000:alternating-bit-protocol:TASK_FINISHED] 'receiver1'
[2.100000000000:alternating-bit-protocol:STARTING_TASK] 'sender1'
[2.100000000000:ASSIGN][2.100000000000] Pushed sender_to_receiver new value: {11,false}
[2.100000000000:PRINTLN] ping 11
[2.100000000000:PRINTLN] 
[2.100000000000:STATE] process "ABP_Sender", instance "sender1", state "Wait_Ack"
[2.100000000000:alternating-bit-protocol:TASK_FINISHED] 'sender1'
[2.100000000000:alternating-bit-protocol:STARTING_TASK] 'receiver1'
[2.100000000000:ASSIGN][2.100000000000] Pushed receiver_to_sender new value: {0,false}
[2.100000000000:PRINTLN] pong 11
[2.100000000000:PRINTLN] 
[2.100000000000:STATE] process "ABP_Receiver", instance "receiver1", state "Wait1"
[2.100000000000:alternating-bit-protocol:TASK_FINISHED] 'receiver1'
[2.200000000000:alternating-bit-protocol:STARTING_TASK] 'sender1'
[2.200000000000:STATE] process "ABP_Sender", instance "sender1", state "Main"
[2.200000000000:alternating-bit-protocol:TASK_FINISHED] 'sender1'
[2.200000000000:alternating-bit-protocol:STARTING_TASK] 'receiver1'
[2.200000000000:alternating-bit-protocol:TASK_FINISHED] 'receiver1'
[2.300000000000:alternating-bit-protocol:STARTING_TASK] 'sender1'
[2.300000000000:ASSIGN][2.300000000000] Pushed sender_to_receiver new value: {12,true}
[2.300000000000:PRINTLN] ping 12
[2.300000000000:PRINTLN] 
[2.300000000000:STATE] process "ABP_Sender", instance "sender1", state "Wait_Ack"
[2.300000000000:alternating-bit-protocol:TASK_FINISHED] 'sender1'
[2.300000000000:alternating-bit-protocol:STARTING_TASK] 'receiver1'
[2.300000000000:ASSIGN][2.300000000000] Pushed receiver_to_sender new value: {0,true}
[2.300000000000:PRINTLN] pong 12
[2.300000000000:PRINTLN] 
[2.300000000000:STATE] process "ABP_Receiver", instance "receiver1", state "Wait0"
[2.300000000000:alternating-bit-protocol:TASK_FINISHED] 'receiver1'
[2.400000000000:alternating-bit-protocol:STARTING_TASK] 'sender1'
[2.400000000000:STATE] process "ABP_Sender", instance "sender1", state "Main"
[2.400000000000:alternating-bit-protocol:TASK_FINISHED] 'sender1'
[2.400000000000:alternating-bit-protocol:STARTING_TASK] 'receiver1'
[2.400000000000:alternating-bit-protocol:TASK_FINISHED] 'receiver1'
[2.500000000000:alternating-bit-protocol:STARTING_TASK] 'sender1'
[2.500000000000:ASSIGN][2.500000000000] Pushed sender_to_receiver new value: {13,false}
[2.500000000000:PRINTLN] ping 13
[2.500000000000:PRINTLN] 
[2.500000000000:STATE] process "ABP_Sender", instance "sender1", state "Wait_Ack"
[2.500000000000:alternating-bit-protocol:TASK_FINISHED] 'sender1'
[2.500000000000:alternating-bit-protocol:STARTING_TASK] 'receiver1'
[2.500000000000:ASSIGN][2.500000000000] Pushed receiver_to_sender new value: {0,false}
[2.500000000000:PRINTLN] pong 13
[2.500000000000:PRINTLN] 
[2.500000000000:STATE] process "ABP_Receiver", instance "receiver1", state "Wait1"
[2.500000000000:alternating-bit-protocol:TASK_FINISHED] 'receiver1'
[2.600000000000:alternating-bit-protocol:STARTING_TASK] 'sender1'
[2.600000000000:STATE] process "ABP_Sender", instance "sender1", state "Main"
[2.600000000000:alternating-bit-protocol:TASK_FINISHED] 'sender1'
[2.600000000000:alternating-bit-protocol:STARTING_TASK] 'receiver1'
[2.600000000000:alternating-bit-protocol:TASK_FINISHED] 'receiver1'
[2.700000000000:alternating-bit-protocol:STARTING_TASK] 'sender1'
[2.700000000000:ASSIGN][2.700000000000] Pushed sender_to_receiver new value: {14,true}
[2.700000000000:PRINTLN] ping 14
[2.700000000000:PRINTLN] 
[2.700000000000:STATE] process "ABP_Sender", instance "sender1", state "Wait_Ack"
[2.700000000000:alternating-bit-protocol:TASK_FINISHED] 'sender1'
[2.700000000000:alternating-bit-protocol:STARTING_TASK] 'receiver1'
[2.700000000000:ASSIGN][2.700000000000] Pushed receiver_to_sender new value: {0,true}
[2.700000000000:PRINTLN] pong 14
[2.700000000000:PRINTLN] 
[2.700000000000:STATE] process "ABP_Receiver", instance "receiver1", state "Wait0"
[2.700000000000:alternating-bit-protocol:TASK_FINISHED] 'receiver1'
[2.800000000000:alternating-bit-protocol:STARTING_TASK] 'sender1'
[2.800000000000:STATE] process "ABP_Sender", instance "sender1", state "Main"
[2.800000000000:alternating-bit-protocol:TASK_FINISHED] 'sender1'
[2.800000000000:alternating-bit-protocol:STARTING_TASK] 'receiver1'
[2.800000000000:alternating-bit-protocol:TASK_FINISHED] 'receiver1'
[2.900000000000:alternating-bit-protocol:STARTING_TASK] 'sender1'
[2.900000000000:ASSIGN][2.900000000000] Pushed sender_to_receiver new value: {15,false}
[2.900000000000:PRINTLN] ping 15
[2.900000000000:PRINTLN] 
[2.900000000000:STATE] process "ABP_Sender", instance "sender1", state "Wait_Ack"
[2.900000000000:alternating-bit-protocol:TASK_FINISHED] 'sender1'
[2.900000000000:alternating-bit-protocol:STARTING_TASK] 'receiver1'
[2.900000000000:ASSIGN][2.900000000000] Pushed receiver_to_sender new value: {0,false}
[2.900000000000:PRINTLN] pong 15
[2.900000000000:PRINTLN] 
[2.900000000000:STATE] process "ABP_Receiver", instance "receiver1", state "Wait1"
[2.900000000000:alternating-bit-protocol:TASK_FINISHED] 'receiver1'
[3.000000000000:alternating-bit-protocol:STARTING_TASK] 'sender1'
[3.000000000000:STATE] process "ABP_Sender", instance "sender1", state "Main"
[3.000000000000:alternating-bit-protocol:TASK_FINISHED] 'sender1'
[3.000000000000:alternating-bit-protocol:STARTING_TASK] 'receiver1'
[3.000000000000:alternating-bit-protocol:TASK_FINISHED] 'receiver1'
EXIT (SUCCESS) AT 3s (3000000000000)