Skip to content

Testing issue: Misleading output in PhasorDynamicsSystemSingleComponentTest #527

Description

@pelesh

Failed test outputs or steps to reproduce the failure(s)

PhasorDynamicsSystemSingleComponentTest returns warning but passes anyway. If the warning is intentional, we need to add a message stating it. Otherwise, we ned to fix the warning.

test 53
      Start 53: PhasorDynamicsSystemSingleComponentTest

53: Test command: /Users/55y/src/gridkit/build-clang/tests/UnitTests/PhasorDynamics/test_phasor_system_single_component
53: Working Directory: /Users/55y/src/gridkit/build-clang/tests/UnitTests/PhasorDynamics
53: Test timeout computed to be: 1500
53: --- PASS: Test branch
53: --- PASS: Test bus
53: --- PASS: Test busFault
53: --- PASS: Test ieeet1
53: Testing expected ESDC1A missing-bus configuration error.
53: [ERROR] Esdc1a: bus pointer is null
53: --- PASS: Test esdc1a
53: --- PASS: Test load
53: --- PASS: Test loadZIP
53: --- PASS: Test regca
53: [WARNING] Reecb: any of Trv, Tp, Tiq, or Tpord below 0.001 s is raised to that floor to keep the controller lags well posed
53: --- PASS: Test reecb
53: Testing expected component initialization failure.
53: [ERROR] Regca: terminal voltage magnitude must be at least VA1 at initialization
53: [ERROR] System model initialization failed with status 1
53: --- PASS: Test initializationFailure
53: --- PASS: Test genrou
53: --- PASS: Test genClassical
53: --- PASS: Test tgov1
53: Testing expected HYGOV missing-output configuration error.
53: [ERROR] Hygov: pmech output signal must be assigned
53: --- PASS: Test hygov
53: 
53: 
53: Test Summary
53: ----------------------------
53:     Successful tests:     14
53:     Failed test:          0
53:     Skipped tests:        0
53:     Expected failures:    0
53:     Unexpected successes: 0
53: 
53/60 Test #53: PhasorDynamicsSystemSingleComponentTest ...   Passed    0.03 sec

GridKit™ version

develop at aebd086

System and environment details

MacOS 15.7.8, clang 18 from MacPorts

Additional information

No response

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions