Nevermind, try this:
29/07/2015 23:08:06.49 - ONGOING-ISRUNNING-230806-459.TXT - Start of [HG612_stats.exe] - **** Version 5.1.0.0 16/05/2015 ****
29/07/2015 23:08:06.68 - ONGOING-ISRUNNING-230806-459.TXT - Immediately after ini_parse() - About to determine the OS version. ERROR.LOG status = 0,
29/07/2015 23:08:06.70 - ONGOING-ISRUNNING-230806-459.TXT - *** Windows version = [5.1.2600] ***
29/07/2015 23:08:06.72 - ONGOING-ISRUNNING-230806-459.TXT - In [HG612_stats.exe] - After obtaining the OS version. ERROR.LOG status = 0,
29/07/2015 23:08:06.73 - ONGOING-ISRUNNING-230806-459.TXT - From ini file, Modem_type = HG622. Status = 0,
29/07/2015 23:08:06.77 - ONGOING-ISRUNNING-230806-459.TXT - ERROR.LOG successfully opened. Status = 1,
29/07/2015 23:08:06.84 - ONGOING-ISRUNNING-230806-459.TXT - **** From IsRunningVB.exe, dslstatssampling.exe is *NOT* running
29/07/2015 23:08:06.92 - ONGOING-ISRUNNING-230806-459.TXT - ONGOING-ISRUNNING-230806-459.TXT created. Status = 1,
29/07/2015 23:08:07.05 - ONGOING-ISRUNNING-230806-459.TXT - There are 1 instances of HG612_stats.exe running. Status = 1,
29/07/2015 23:08:07.07 - ONGOING-ISRUNNING-230806-459.TXT - Continuing as there are only 1 instances of HG612_stats.exe running **. Status = 1,
29/07/2015 23:08:07.09 - ONGOING-ISRUNNING-230806-459.TXT - WSAStartup() SUCCESSFUL!!! Status = 1,
29/07/2015 23:08:07.12 - ONGOING-ISRUNNING-230806-459.TXT - hg612ip = 192.168.3.254, HG612PORT = 23. Status = 1,
29/07/2015 23:08:07.14 - ONGOING-ISRUNNING-230806-459.TXT - getaddrinfo() O.K. Status = 1,
29/07/2015 23:08:07.17 - ONGOING-ISRUNNING-230806-459.TXT - socket() O.K. Status = 1,
29/07/2015 23:08:07.20 - ONGOING-ISRUNNING-230806-459.TXT - sockfd = 120, "res->ai_addrlen" = 16 connect() ERROR CODE = 0. Status = 1,
29/07/2015 23:08:07.22 - ONGOING-ISRUNNING-230806-459.TXT - connect() O.K. Status = 1,
29/07/2015 23:08:07.24 - ONGOING-ISRUNNING-230806-459.TXT - *************************************************************************
29/07/2015 23:08:07.26 - ONGOING-ISRUNNING-230806-459.TXT - At start of expect("gin:"), times in loop = 01 *** numbytes = 0
29/07/2015 23:08:07.28 - ONGOING-ISRUNNING-230806-459.TXT - ****** PC_Speed is set as "FAST" in the ini file, times in loop = 01 *** numbytes = 0
29/07/2015 23:08:07.30 - ONGOING-ISRUNNING-230806-459.TXT - At start of expect("gin:"), sleeping for 0.500 seconds *** numbytes = 0
29/07/2015 23:08:07.82 - ONGOING-ISRUNNING-230806-459.TXT - numbytes received from recv(sockfd, rxbuf, RXBUFSIZE-1, 0) = 9
29/07/2015 23:08:07.83 - ONGOING-ISRUNNING-230806-459.TXT - Still in expect("gin:") loop, times in loop = 02
29/07/2015 23:08:27.25 - ONGOING-ISRUNNING-230806-459.TXT - numbytes received from recv(sockfd, rxbuf, RXBUFSIZE-1, 0) = 0
29/07/2015 23:08:27.28 - ONGOING-ISRUNNING-230806-459.TXT - Still in expect("gin:") loop, times in loop = 03
29/07/2015 23:08:27.30 - ONGOING-ISRUNNING-230806-459.TXT - numbytes received from recv(sockfd, rxbuf, RXBUFSIZE-1, 0) = 0
29/07/2015 23:08:27.32 - ONGOING-ISRUNNING-230806-459.TXT - Still in expect("gin:") loop, times in loop = 04
29/07/2015 23:08:27.35 - ONGOING-ISRUNNING-230806-459.TXT - numbytes received from recv(sockfd, rxbuf, RXBUFSIZE-1, 0) = 0
29/07/2015 23:08:27.37 - ONGOING-ISRUNNING-230806-459.TXT - In expect("gin:"). Because times in loop = 5, sleeping for 0.500 seconds *** numbytes = 0
29/07/2015 23:08:27.91 - ONGOING-ISRUNNING-230806-459.TXT - Still in expect("gin:") loop, times in loop = 05
29/07/2015 23:08:27.93 - ONGOING-ISRUNNING-230806-459.TXT - numbytes received from recv(sockfd, rxbuf, RXBUFSIZE-1, 0) = 0
29/07/2015 23:08:27.96 - ONGOING-ISRUNNING-230806-459.TXT - Still in expect("gin:") loop, times in loop = 06
29/07/2015 23:08:27.98 - ONGOING-ISRUNNING-230806-459.TXT - numbytes received from recv(sockfd, rxbuf, RXBUFSIZE-1, 0) = 0
29/07/2015 23:08:28.00 - ONGOING-ISRUNNING-230806-459.TXT - Still in expect("gin:") loop, times in loop = 07
29/07/2015 23:08:28.02 - ONGOING-ISRUNNING-230806-459.TXT - numbytes received from recv(sockfd, rxbuf, RXBUFSIZE-1, 0) = 0
29/07/2015 23:08:28.04 - ONGOING-ISRUNNING-230806-459.TXT - Still in expect("gin:") loop, times in loop = 08
29/07/2015 23:08:28.07 - ONGOING-ISRUNNING-230806-459.TXT - numbytes received from recv(sockfd, rxbuf, RXBUFSIZE-1, 0) = 0
29/07/2015 23:08:28.09 - ONGOING-ISRUNNING-230806-459.TXT - Still in expect("gin:") loop, times in loop = 09
29/07/2015 23:08:28.11 - ONGOING-ISRUNNING-230806-459.TXT - numbytes received from recv(sockfd, rxbuf, RXBUFSIZE-1, 0) = 0
29/07/2015 23:08:28.13 - ONGOING-ISRUNNING-230806-459.TXT - End of expect("gin:")
29/07/2015 23:08:28.15 - ONGOING-ISRUNNING-230806-459.TXT - *************************************************************************
29/07/2015 23:08:28.17 - ONGOING-ISRUNNING-230806-459.TXT - expect("gin:") O.K. Status = 1.
29/07/2015 23:08:28.20 - ONGOING-ISRUNNING-230806-459.TXT - reply(config.Username) O.K. Status = 1.
29/07/2015 23:08:28.22 - ONGOING-ISRUNNING-230806-459.TXT - Username from HG612_stats.ini = "!!Huawei". Status = 1.
29/07/2015 23:08:28.24 - ONGOING-ISRUNNING-230806-459.TXT - *************************************************************************
29/07/2015 23:08:28.26 - ONGOING-ISRUNNING-230806-459.TXT - At start of expect("ssword:"), times in loop = 01 *** numbytes = 0
29/07/2015 23:08:28.29 - ONGOING-ISRUNNING-230806-459.TXT - ****** PC_Speed is set as "FAST" in the ini file, times in loop = 01 *** numbytes = 0
29/07/2015 23:08:28.31 - ONGOING-ISRUNNING-230806-459.TXT - At start of expect("ssword:"), sleeping for 0.500 seconds *** numbytes = 0
29/07/2015 23:08:28.83 - ONGOING-ISRUNNING-230806-459.TXT - numbytes received from recv(sockfd, rxbuf, RXBUFSIZE-1, 0) = 0
29/07/2015 23:08:28.85 - ONGOING-ISRUNNING-230806-459.TXT - Still in expect("ssword:") loop, times in loop = 02
29/07/2015 23:08:28.87 - ONGOING-ISRUNNING-230806-459.TXT - numbytes received from recv(sockfd, rxbuf, RXBUFSIZE-1, 0) = 0
29/07/2015 23:08:28.90 - ONGOING-ISRUNNING-230806-459.TXT - Still in expect("ssword:") loop, times in loop = 03
29/07/2015 23:08:28.94 - ONGOING-ISRUNNING-230806-459.TXT - numbytes received from recv(sockfd, rxbuf, RXBUFSIZE-1, 0) = 0
29/07/2015 23:08:28.96 - ONGOING-ISRUNNING-230806-459.TXT - Still in expect("ssword:") loop, times in loop = 04
29/07/2015 23:08:28.99 - ONGOING-ISRUNNING-230806-459.TXT - numbytes received from recv(sockfd, rxbuf, RXBUFSIZE-1, 0) = 0
29/07/2015 23:08:29.01 - ONGOING-ISRUNNING-230806-459.TXT - In expect("ssword:"). Because times in loop = 5, sleeping for 0.500 seconds *** numbytes = 0
29/07/2015 23:08:29.53 - ONGOING-ISRUNNING-230806-459.TXT - Still in expect("ssword:") loop, times in loop = 05
29/07/2015 23:08:29.56 - ONGOING-ISRUNNING-230806-459.TXT - numbytes received from recv(sockfd, rxbuf, RXBUFSIZE-1, 0) = 0
29/07/2015 23:08:29.58 - ONGOING-ISRUNNING-230806-459.TXT - Still in expect("ssword:") loop, times in loop = 06
29/07/2015 23:08:29.61 - ONGOING-ISRUNNING-230806-459.TXT - numbytes received from recv(sockfd, rxbuf, RXBUFSIZE-1, 0) = 0
29/07/2015 23:08:29.63 - ONGOING-ISRUNNING-230806-459.TXT - Still in expect("ssword:") loop, times in loop = 07
29/07/2015 23:08:29.66 - ONGOING-ISRUNNING-230806-459.TXT - numbytes received from recv(sockfd, rxbuf, RXBUFSIZE-1, 0) = 0
29/07/2015 23:08:29.68 - ONGOING-ISRUNNING-230806-459.TXT - Still in expect("ssword:") loop, times in loop = 08
29/07/2015 23:08:29.70 - ONGOING-ISRUNNING-230806-459.TXT - numbytes received from recv(sockfd, rxbuf, RXBUFSIZE-1, 0) = 0
29/07/2015 23:08:29.72 - ONGOING-ISRUNNING-230806-459.TXT - Still in expect("ssword:") loop, times in loop = 09
29/07/2015 23:08:29.75 - ONGOING-ISRUNNING-230806-459.TXT - numbytes received from recv(sockfd, rxbuf, RXBUFSIZE-1, 0) = 0
29/07/2015 23:08:29.77 - ONGOING-ISRUNNING-230806-459.TXT - End of expect("ssword:")
29/07/2015 23:08:29.80 - ONGOING-ISRUNNING-230806-459.TXT - *************************************************************************
29/07/2015 23:08:29.82 - ONGOING-ISRUNNING-230806-459.TXT - expect("ssword:") O.K. Status = 1.
29/07/2015 23:08:29.84 - ONGOING-ISRUNNING-230806-459.TXT - reply(config.Password) O.K. Status = 1.
29/07/2015 23:08:29.86 - ONGOING-ISRUNNING-230806-459.TXT - Password from HG612_stats.ini = "zgj019283". Status = 1.
29/07/2015 23:08:29.88 - ONGOING-ISRUNNING-230806-459.TXT - *************************************************************************
29/07/2015 23:08:29.90 - ONGOING-ISRUNNING-230806-459.TXT - At start of expect("ATP>"), times in loop = 01 *** numbytes = 0
29/07/2015 23:08:29.93 - ONGOING-ISRUNNING-230806-459.TXT - ****** PC_Speed is set as "FAST" in the ini file, times in loop = 01 *** numbytes = 0
29/07/2015 23:08:29.96 - ONGOING-ISRUNNING-230806-459.TXT - At start of expect("ATP>"), sleeping for 0.500 seconds *** numbytes = 0
29/07/2015 23:08:30.49 - ONGOING-ISRUNNING-230806-459.TXT - numbytes received from recv(sockfd, rxbuf, RXBUFSIZE-1, 0) = 0
29/07/2015 23:08:30.51 - ONGOING-ISRUNNING-230806-459.TXT - Still in expect("ATP>") loop, times in loop = 02
29/07/2015 23:08:30.53 - ONGOING-ISRUNNING-230806-459.TXT - numbytes received from recv(sockfd, rxbuf, RXBUFSIZE-1, 0) = 0
29/07/2015 23:08:30.55 - ONGOING-ISRUNNING-230806-459.TXT - Still in expect("ATP>") loop, times in loop = 03
29/07/2015 23:08:30.57 - ONGOING-ISRUNNING-230806-459.TXT - numbytes received from recv(sockfd, rxbuf, RXBUFSIZE-1, 0) = 0
29/07/2015 23:08:30.60 - ONGOING-ISRUNNING-230806-459.TXT - Still in expect("ATP>") loop, times in loop = 04
29/07/2015 23:08:30.62 - ONGOING-ISRUNNING-230806-459.TXT - numbytes received from recv(sockfd, rxbuf, RXBUFSIZE-1, 0) = 0
29/07/2015 23:08:30.64 - ONGOING-ISRUNNING-230806-459.TXT - In expect("ATP>"). Because times in loop = 5, sleeping for 0.500 seconds *** numbytes = 0
29/07/2015 23:08:31.16 - ONGOING-ISRUNNING-230806-459.TXT - Still in expect("ATP>") loop, times in loop = 05
29/07/2015 23:08:31.18 - ONGOING-ISRUNNING-230806-459.TXT - numbytes received from recv(sockfd, rxbuf, RXBUFSIZE-1, 0) = 0
29/07/2015 23:08:31.20 - ONGOING-ISRUNNING-230806-459.TXT - Still in expect("ATP>") loop, times in loop = 06
29/07/2015 23:08:31.22 - ONGOING-ISRUNNING-230806-459.TXT - numbytes received from recv(sockfd, rxbuf, RXBUFSIZE-1, 0) = 0
29/07/2015 23:08:31.25 - ONGOING-ISRUNNING-230806-459.TXT - Still in expect("ATP>") loop, times in loop = 07
29/07/2015 23:08:31.27 - ONGOING-ISRUNNING-230806-459.TXT - numbytes received from recv(sockfd, rxbuf, RXBUFSIZE-1, 0) = 0
29/07/2015 23:08:31.29 - ONGOING-ISRUNNING-230806-459.TXT - Still in expect("ATP>") loop, times in loop = 08
29/07/2015 23:08:31.31 - ONGOING-ISRUNNING-230806-459.TXT - numbytes received from recv(sockfd, rxbuf, RXBUFSIZE-1, 0) = 0
29/07/2015 23:08:31.34 - ONGOING-ISRUNNING-230806-459.TXT - Still in expect("ATP>") loop, times in loop = 09
29/07/2015 23:08:31.36 - ONGOING-ISRUNNING-230806-459.TXT - numbytes received from recv(sockfd, rxbuf, RXBUFSIZE-1, 0) = 0
29/07/2015 23:08:31.38 - ONGOING-ISRUNNING-230806-459.TXT - End of expect("ATP>")
29/07/2015 23:08:31.40 - ONGOING-ISRUNNING-230806-459.TXT - *************************************************************************
29/07/2015 23:08:31.42 - ONGOING-ISRUNNING-230806-459.TXT - expect("ATP>") O.K. Status = 1.
29/07/2015 23:08:31.45 - ONGOING-ISRUNNING-230806-459.TXT - Reaching this point means logging in to the modem was successful. Status = 1,
29/07/2015 23:08:31.47 - ONGOING-ISRUNNING-230806-459.TXT - reply(xdslcmd info --stats) O.K. Status = 1, return value = 0
29/07/2015 23:08:31.49 - ONGOING-ISRUNNING-230806-459.TXT - **** Because this is attempt #025, sleeping for 0.500 seconds *** numbytes = 0
29/07/2015 23:08:32.02 - ONGOING-ISRUNNING-230806-459.TXT - **** Because this is attempt #050, sleeping for 0.500 seconds *** numbytes = 0
29/07/2015 23:08:32.54 - ONGOING-ISRUNNING-230806-459.TXT - **** Because this is attempt #075, sleeping for 0.500 seconds *** numbytes = 0
29/07/2015 23:08:33.07 - ONGOING-ISRUNNING-230806-459.TXT - **** Because this is attempt #100, sleeping for 0.500 seconds *** numbytes = 0
29/07/2015 23:08:33.59 - ONGOING-ISRUNNING-230806-459.TXT - **** Because this is attempt #125, sleeping for 0.500 seconds *** numbytes = 0
29/07/2015 23:08:34.11 - ONGOING-ISRUNNING-230806-459.TXT - **** Because this is attempt #150, sleeping for 0.500 seconds *** numbytes = 0
29/07/2015 23:08:34.63 - ONGOING-ISRUNNING-230806-459.TXT - **** Because this is attempt #175, sleeping for 0.500 seconds *** numbytes = 0
29/07/2015 23:08:35.16 - ONGOING-ISRUNNING-230806-459.TXT - **** Because this is attempt #200, sleeping for 0.500 seconds *** numbytes = 0
29/07/2015 23:08:35.68 - ONGOING-ISRUNNING-230806-459.TXT - **** Because this is attempt #225, sleeping for 0.500 seconds *** numbytes = 0
29/07/2015 23:08:36.20 - ONGOING-ISRUNNING-230806-459.TXT - **** Because this is attempt #250, sleeping for 0.500 seconds *** numbytes = 0
29/07/2015 23:08:36.72 - ONGOING-ISRUNNING-230806-459.TXT - **** Because this is attempt #275, sleeping for 0.500 seconds *** numbytes = 0
29/07/2015 23:08:37.24 - ONGOING-ISRUNNING-230806-459.TXT - **** Because this is attempt #300, sleeping for 0.500 seconds *** numbytes = 0
29/07/2015 23:08:37.76 - ONGOING-ISRUNNING-230806-459.TXT - **** Because this is attempt #325, sleeping for 0.500 seconds *** numbytes = 0
29/07/2015 23:08:38.30 - ONGOING-ISRUNNING-230806-459.TXT - **** Because this is attempt #350, sleeping for 0.500 seconds *** numbytes = 0
29/07/2015 23:08:38.88 - ONGOING-ISRUNNING-230806-459.TXT - **** Because this is attempt #375, sleeping for 0.500 seconds *** numbytes = 0
29/07/2015 23:08:39.45 - ONGOING-ISRUNNING-230806-459.TXT - **** Because this is attempt #400, sleeping for 0.500 seconds *** numbytes = 0
29/07/2015 23:08:40.02 - ONGOING-ISRUNNING-230806-459.TXT - **** Because this is attempt #425, sleeping for 0.500 seconds *** numbytes = 0
29/07/2015 23:08:40.59 - ONGOING-ISRUNNING-230806-459.TXT - **** Because this is attempt #450, sleeping for 0.500 seconds *** numbytes = 0
29/07/2015 23:08:41.17 - ONGOING-ISRUNNING-230806-459.TXT - **** Because this is attempt #475, sleeping for 0.500 seconds *** numbytes = 0
29/07/2015 23:08:41.74 - ONGOING-ISRUNNING-230806-459.TXT - **** Because this is attempt #500, sleeping for 0.500 seconds *** numbytes = 0
29/07/2015 23:08:42.31 - ONGOING-ISRUNNING-230806-459.TXT - *** ERROR!!! - Now in get_data_exit as times_in_loop was 500. Status = 1,
29/07/2015 23:08:42.35 - ONGOING-ISRUNNING-230806-459.TXT - Temp File ONGOING_GET_DATA_ERROR-230842-317.TXT was created. Status = 1,
29/07/2015 23:08:42.48 - ONGOING-ISRUNNING-230806-459.TXT - About to close(sockfd). Status = 1,
29/07/2015 23:08:42.51 - ONGOING-ISRUNNING-230806-459.TXT - *** WSACleanup has completed.
29/07/2015 23:08:42.54 - ONGOING-ISRUNNING-230806-459.TXT - *** About to free(txbuf).
29/07/2015 23:08:42.59 - ONGOING-ISRUNNING-230806-459.TXT - *** txbuf has been freed.
29/07/2015 23:08:42.62 - ONGOING-ISRUNNING-230806-459.TXT - *** About to free(rxbuf).
29/07/2015 23:08:42.68 - ONGOING-ISRUNNING-230806-459.TXT - *** rxbuf has been freed.
29/07/2015 23:08:42.74 - ONGOING-ISRUNNING-230806-459.TXT - ONGOING-ISRUNNING-230806-459.TXT DELETED - Status = 1,
29/07/2015 23:08:42.82 - ONGOING-ISRUNNING-230806-459.TXT - ERROR.LOG successfully closed. Status = 0,
29/07/2015 23:08:42.86 - ONGOING-ISRUNNING-230806-459.TXT - Abnormal End of [HG612_stats.exe]