Skip to main content
Home
for DLMS smart meters
Open source solutions for DLMS smart metering

Main navigation

  • Home
  • Products
  • About us
  • Open Source
  • Community
  • Forum
  • Downloads
User account menu
  • Log in

Breadcrumb

  1. Home
  2. Assistance Needed With Gurux DLMS Simulator Setup

Assistance Needed with Gurux DLMS Simulator Setup

By palanisami.sri… , 5 June, 2024
Forums
Gurux.DLMS

Hi,

We have been trying to set up the Gurux DLMS simulator for load testing. Following the steps outlined in the Gurux repository, we generated the simulator template for client address 48 using the command below:

c:\HES\gurux.dlms.java\gurux.dlms.simulator.java>java -jar target/gurux.dlms.simulator.java-0.0.1-SNAPSHOT.jar -h -p -i WRAPPER -c 48 -a High -P -C AuthenticationEncryption -T -A -B -v 0.0.43.1.3.255 -d India -t Verbose -o allied_simulator_template.xml -t Verbose

However, we encountered an "Invalid device template file" error while executing the following command:

C:\HES\gurux.dlms.java\gurux.dlms.simulator.java>java -jar target/gurux.dlms.simulator.java-0.0.1-SNAPSHOT.jar -p 1000 -x allied_simulator_template.xml.xml -t Verbose -N 10

Error Log:
DLMS HDLC Logical Name simulator start in ports 1000-1009.
Invalid device template file allied_simulator_template.xml.xml
java.lang.RuntimeException: Invalid device template file allied_simulator_template.xml.xml
at gurux.dlms.simulator.GXDLMSMeter.init(GXDLMSMeter.java:192)
at gurux.dlms.simulator.GXDLMSMeter.initialize(GXDLMSMeter.java:115)
at gurux.dlms.simulator.Simulator.startSimulator(Simulator.java:192)
at gurux.dlms.simulator.Simulator.main(Simulator.java:283)

Could you please provide your insights on this issue and advise on how to resolve it?

Thanks,
Srinivasan

Profile picture for user Kurumi

Kurumi

2 years 1 month ago

Hi Srinivasan, Your file…

Hi Srinivasan,

Your file name is different when you start the simulator.

BR,
Mikko

palanisami.sri…

2 years 1 month ago

Hi Mikki, It's typo error…

Hi Mikki,

It's typo error while updating in this form, It's my bad.

we have generated new file again and tried still same issue.

C:\HES\Gurux.DLMS.Simulator\gurux.dlms.java\gurux.dlms.simulator.java>java -jar target/gurux.dlms.simulator.java-0.0.1-SNAPSHOT.jar -p 1000 -x ALLAL80050201.xml -t Verbose -N 10

Thanks,
Srinivasan

Image
  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Mon, 07/27/2026 - 12:37
    gurux.dlms.cpp 9.0.2607.2701
  • Thu, 07/23/2026 - 16:19
    gurux.dlms.java 4.0.96
  • Thu, 07/09/2026 - 14:34
    Gurux.DLMS.Python 1.0.201
  • Fri, 06/26/2026 - 16:32
    Gurux.Service 3.0.2606.2601
  • Wed, 06/24/2026 - 08:36
    Gurux.DLMS.Python 1.0.200

New forum topics

  • Service not known error on gprs communication
  • Help Needed: Interfacing Saral 100 Energy Meter with Microcontroller via RS232
  • Connecting Meter to Agent via serial
  • Reading block profile with Compact array
  • DLMS server - serving multiple similar datasets gathered from multiple meters across distinct logical addresses
More
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin