diff --git a/src/ModelicaExperiment.ts b/src/ModelicaExperiment.ts index aa59114..70b7d2f 100644 --- a/src/ModelicaExperiment.ts +++ b/src/ModelicaExperiment.ts @@ -72,7 +72,7 @@ export class ModelicaExperiment { include_protected_variables: false, }, runtimeOptions: {}, - compilerLogLevel: 'w', + compilerLogLevel: 'warning', fmiTarget: 'me', fmiVersion: '2.0', platform: 'auto', @@ -82,10 +82,10 @@ export class ModelicaExperiment { type: this.customFunction, parameters: this.parameters || this.DefaultParameters, simulationOptions: { - ncp: 500, + ncp: 100, dynamic_diagnostics: false, }, - solverOptions: { rtol: '1e-6' }, + solverOptions: {}, simulationLogLevel: 'WARNING', }, modifiers: this.modifiers || {}, diff --git a/tests/unit/experiment.test.ts b/tests/unit/experiment.test.ts index 00f7aff..c8c6b8b 100644 --- a/tests/unit/experiment.test.ts +++ b/tests/unit/experiment.test.ts @@ -20,7 +20,7 @@ test('Create experiment without modifiers and parameters', () => { include_protected_variables: false, }, runtimeOptions: {}, - compilerLogLevel: 'w', + compilerLogLevel: 'warning', fmiTarget: 'me', fmiVersion: '2.0', platform: 'auto', @@ -33,10 +33,10 @@ test('Create experiment without modifiers and parameters', () => { final_time: 1, }, simulationOptions: { - ncp: 500, + ncp: 100, dynamic_diagnostics: false, }, - solverOptions: { rtol: '1e-6' }, + solverOptions: {}, simulationLogLevel: 'WARNING', }, modifiers: {}, @@ -81,7 +81,7 @@ test('Create experiment with modifiers and parameters', () => { include_protected_variables: false, }, runtimeOptions: {}, - compilerLogLevel: 'w', + compilerLogLevel: 'warning', fmiTarget: 'me', fmiVersion: '2.0', platform: 'auto', @@ -91,10 +91,10 @@ test('Create experiment with modifiers and parameters', () => { type: customFunction, parameters: { start_time: 0, final_time: 4 }, simulationOptions: { - ncp: 500, + ncp: 100, dynamic_diagnostics: false, }, - solverOptions: { rtol: '1e-6' }, + solverOptions: {}, simulationLogLevel: 'WARNING', }, modifiers,