Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V4.1.0 #8

Closed
wants to merge 10 commits into from
4,006 changes: 2,003 additions & 2,003 deletions Modelica/ComplexBlocks/Examples/ShowTransferFunction/ShowTransferFunction.csv

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Check of <a href="Modelica://Modelica.ComplexBlocks.Examples.ShowTransferFunction">Modelica.ComplexBlocks.Examples.ShowTransferFunction</a>
The model has the same number of unknowns and equations: 29
Check of <a href="Modelica://Modelica.ComplexBlocks.Examples.ShowTransferFunction">Modelica.ComplexBlocks.Examples.ShowTransferFunction</a> successful.

92 changes: 54 additions & 38 deletions Modelica/ComplexBlocks/Examples/ShowTransferFunction/creation.txt
Original file line number Diff line number Diff line change
@@ -1,49 +1,65 @@
[ResultCreationLog]
modelName="Modelica.ComplexBlocks.Examples.ShowTransferFunction"
modelName = "Modelica.ComplexBlocks.Examples.ShowTransferFunction"

// Test info
generationTool="Dymola Version 2020x (64-bit), 2019-10-10"
generationDateAndTime="2020-05-05T00:31:42Z"
gitURL="https://github.com/modelica/ModelicaStandardLibrary.git"
gitRevision=bd753330a
gitStatus="D Modelica/Resources/C-Sources/ModelicaInternal.c, M ModelicaServices/package.mo"
testPC="LAPTOP"
testOS="Microsoft Windows [Version 10.0.18363.815]"
testUser="tbeu"
testDescription="Reg test MSL v4.0.0-rc.1"
generationTool = Dymola Version 2023x Refresh 1, 2023-04-12
gitURL = https://github.com/modelica/ModelicaStandardLibrary
gitRevision = 677bec0b
gitStatus = M Resources/Library/win32/ModelicaIO.lib
M Resources/Library/win32/ModelicaMatIO.lib
M Resources/Library/win32/ModelicaStandardTables.lib
M Resources/Library/win32/gcctdm510/libModelicaIO.a
M Resources/Library/win32/gcctdm510/libModelicaMatIO.a
M Resources/Library/win32/gcctdm510/libModelicaStandardTables.a
M Resources/Library/win32/gcctdm510/libzlib.a
M Resources/Library/win32/zlib.lib
M Resources/Library/win64/ModelicaIO.lib
M Resources/Library/win64/ModelicaMatIO.lib
M Resources/Library/win64/ModelicaStandardTables.lib
M Resources/Library/win64/gcctdm510/libModelicaIO.a
M Resources/Library/win64/gcctdm510/libModelicaMatIO.a
M Resources/Library/win64/gcctdm510/libModelicaStandardTables.a
M Resources/Library/win64/gcctdm510/libzlib.a
M Resources/Library/win64/zlib.lib
testPC = LTXA320
testOS = Windows [Version 10.0.19041]
testUser = Matthias Schaefer
testDescription =
compiler = Microsoft Visual Studio 2022
generationDateAndTime = 2024-03-18 23:58:18

// Experiment settings (standardized annotation)
StartTime=0
StopTime=1 // from model
Interval=0.0005 // used annotation from model, multiplied by 0.5
Tolerance=1e-06 // used default, because no tolerance annotation in model
StartTime = 0.0 // set by user
StopTime = 1.0 // from model. experiment annotation or dymola default
Interval = 2000 // from model. experiment annotation or dymola default
Copy link

@maltelenz maltelenz Mar 20, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is incorrect (and similar for other updated results).

The model experiment annotation has Interval=0.001. This seems more like a "number of steps", rather than Interval.

The older creation.txt also had different comments that described how the settings were decided, while this sounds like it has the same comment regardless of how it was decided?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your feedback.

The pullrequest was reset to the draft-status, because of these inconsistencies in the NumberOfIntervals\ OutputInterval.

The creation.txt and so also the comments are generated automatically. So we don't know the intension behind the settings. With the comment we only mark that the simulation setting correspond with the experiment annotation or not.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With the comment we only mark that the simulation setting correspond with the experiment annotation or not.

But with the current comment I cannot tell if it came from the experiment annotation or from the dymola default?

Tolerance = 1e-06 // set by user

// Experiment settings (tool specific)
// The following lines can be used as mos-script in Dymola
Advanced.PedanticModelica := false;
SetDymolaCompiler("vs", {"MSVCDir=c:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Auxiliary/Build"});
Evaluate := false;
OutputCPUtime := false;
translateModel("Modelica.ComplexBlocks.Examples.ShowTransferFunction");
Advanced.StoreProtectedVariables := true;
Advanced.EfficientMinorEvents := false;
clearFlags();
Advanced.PlaceDymolaSourceFirst=2;Advanced.StoreProtectedVariables = true;
Advanced.HideDymosim := true;
Advanced.PlaceDymolaSourceFirst := 2;
Advanced.StoreProtectedVariables := true;
SetDymolaCompiler("vs", {"CCompiler=MSVC","MSVCDir=C:/Program Files (x86)/Microsoft Visual Studio 2022/Vc});
experimentSetupOutput(
textual=false,
doublePrecision=true,
states=true,
derivatives=true,
inputs=true,
outputs=true,
auxiliaries=true,
equidistant=true,
events=true,
debug=false);
textual=false,
doublePrecision=false,
states=true,
derivatives=true,
inputs=true,
outputs=true,
auxiliaries=true,
equidistant=true,
events=true,
onlyStopTime=false,
debug=false);
simulateModel(
problem="Modelica.ComplexBlocks.Examples.ShowTransferFunction",
startTime=0,
stopTime=1,
outputInterval=0.0005,
method="Dassl",
tolerance=1e-06,
resultFile="ShowTransferFunction");
problem="Modelica.ComplexBlocks.Examples.ShowTransferFunction",
startTime=0.0,
stopTime=1,
numberOfIntervals=2000,
method="Dassl",
tolerance=1e-06,
outputInterval=0.0,
resultFile="result");
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
Log-file of program ./dymosim
(generated: Tue May 5 00:31:48 2020)
(generated: Mon Mar 18 23:58:18 2024)

dymosim started
... "Modelica.ComplexBlocks.Examples.ShowTransferFunction" simulating
... "dsin.txt" loading (dymosim input file)
... "ShowTransferFunction.mat" creating (simulation result file)
... "result.mat" creating (simulation result file)

Integration started at T = 0 using integration method DASSL
(DAE multi-step solver (dassl/dasslrt of Petzold modified by Dassault Systemes))

Integration terminated successfully at T = 1
CPU-time for integration : 0.034 seconds
CPU-time for one grid interval : 0.017 milliseconds
CPU-time for integration : 0.002 seconds
CPU-time for one grid interval : 0.001 milliseconds
CPU-time for initialization : 0 seconds
Number of result points : 2002
Number of grid points : 2001
Expand All @@ -25,3 +27,5 @@ Integration terminated successfully at T = 1
Maximum integration order : 1
Calling terminal section
... "dsfinal.txt" creating (final states)

SUCCESSFUL simulation of Modelica.ComplexBlocks.Examples.ShowTransferFunction
Original file line number Diff line number Diff line change
@@ -1,29 +1,30 @@
 = true
Translation of Modelica.ComplexBlocks.Examples.ShowTransferFunction:
Translation of <a href="Modelica://Modelica.ComplexBlocks.Examples.ShowTransferFunction">Modelica.ComplexBlocks.Examples.ShowTransferFunction</a>
The DAE has 29 scalar unknowns and 29 scalar equations.

Statistics

Original Model
Number of components: 13
Variables: 44
Parameters: 15 (19 scalars)
Variables: 49
Constants: 3 (3 scalars)
Parameters: 17 (21 scalars)
Unknowns: 29 (29 scalars)
Equations: 16
Nontrivial: 14
Translated Model
Constants: 4 scalars
Free parameters: 10 scalars
Parameter depending: 6 scalars
Time-varying variables: 17 scalars
Alias variables: 11 scalars
Constants: 8 scalars
Free parameters: 11 scalars
Parameter depending: 11 scalars
Time-varying variables: 10 scalars
Alias variables: 13 scalars
Number of mixed real/discrete systems of equations: 0
Sizes of linear systems of equations: { }
Sizes after manipulation of the linear systems: { }
Sizes of nonlinear systems of equations: { }
Sizes after manipulation of the nonlinear systems: { }
Number of numerical Jacobians: 0

Settings
Advanced.StoreProtectedVariables = true
Selected continuous time states
Selected continuous time states
Finished
Loading