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. Node
  3. 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 3 months ago

Hi Srinivasan, Your file…

Hi Srinivasan,

Your file name is different when you start the simulator.

BR,
Mikko

palanisami.sri…

2 years 3 months 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

  • Wed, 08/26/2026 - 09:04
    Gurux.DLMS.Python 1.0.203
  • Mon, 08/17/2026 - 11:28
    Gurux.DLMS.Python 1.0.202
  • Mon, 08/17/2026 - 09:47
    gurux.dlms.cpp 9.0.2608.1701
  • Mon, 08/17/2026 - 09:25
    gurux.dlms.c 9.0.2608.1701
  • Mon, 07/27/2026 - 12:37
    gurux.dlms.cpp 9.0.2607.2701

New forum topics

  • Security vulnerability report — request for a private contact (GuruxDLMS.c / ANSI C)
  • Topic: Insufficient Memory Error When Reading Class 7 Profile Generic Objects
  • SN ReadResponse returns all-null values when response spans multiple HDLC frames
  • Gurux.Serial.Android 3.0.6 – CH340 (HL-340) USB-Serial Adapter Not Working,
  • Trying to talk to a L&G E360 meter (Using Python Gurux)
More
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin