Skip to content

Commit

Permalink
Add reference for Example ModelicaTest.Blocks.Exponentiation
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthiasBSchaefer committed Feb 19, 2025
1 parent e73fac2 commit db71536
Show file tree
Hide file tree
Showing 6 changed files with 5,121 additions and 0 deletions.
5,003 changes: 5,003 additions & 0 deletions ModelicaTest/Blocks/Exponentiation/Exponentiation.csv

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions ModelicaTest/Blocks/Exponentiation/check_passed.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Check of <a href="Modelica://ModelicaTest.Blocks.Exponentiation">ModelicaTest.Blocks.Exponentiation</a>
The model has the same number of unknowns and equations: 21
Check of <a href="Modelica://ModelicaTest.Blocks.Exponentiation">ModelicaTest.Blocks.Exponentiation</a> successful.
8 changes: 8 additions & 0 deletions ModelicaTest/Blocks/Exponentiation/comparisonSignals.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
time
evenExponent.y
oddExponent.y
oneExponent.y
zeroExponent.y
nonInteger.y
sqrtExponent.y
inverse.y
48 changes: 48 additions & 0 deletions ModelicaTest/Blocks/Exponentiation/creation.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
[ResultCreationLog]
modelName = "ModelicaTest.Blocks.Exponentiation"

// Test info
generationTool = Dymola Version 2025x, 2025-01-15
generationDateAndTime = 2025-02-18 01:11:42
gitURL = https://github.com/modelica/ModelicaStandardLibrary
gitRevision = 7bec602c
gitStatus =
testPC = LTXA320
testOS = Windows [Version 10.0.19041]
testUser = Matthias Schaefer
testDescription =
compiler = Microsoft Visual Studio 2022

// Experiment settings (standardized annotation)
StartTime = 0.0 // set by user or program default value
StopTime = 1.0 // from experiment annotation
Interval = 0.0002 // from experiment annotation
Tolerance = 1e-06 // set by user or program default value

// Experiment settings (tool specific)
// The following lines can be used as mos-script in Dymola
clearFlags();
Advanced.HideDymosim := true;
Advanced.PlaceDymolaSourceFirst := 2;
Advanced.StoreProtectedVariables := true;
SetDymolaCompiler("vs", {"CCompiler=MSVC","MSVCDir=C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Auxiliary/Build"});
experimentSetupOutput(
textual=false,
doublePrecision=false,
states=true,
derivatives=true,
inputs=true,
outputs=true,
auxiliaries=true,
equidistant=true,
events=true,
onlyStopTime=false,
debug=false);
simulateModel(
problem="ModelicaTest.Blocks.Exponentiation",
startTime=0.0,
stopTime=1.0,
method="Dassl",
tolerance=1e-06,
resultFile="result",
outputInterval=0.0002);
31 changes: 31 additions & 0 deletions ModelicaTest/Blocks/Exponentiation/simulate_passed.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
Log-file of program ./dymosim
(generated: Tue Feb 18 01:11:42 2025)

dymosim started
... "ModelicaTest.Blocks.Exponentiation" simulating
... "dsin.txt" loading (dymosim input 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.004 seconds
CPU-time for one grid interval : 0.0008 milliseconds
CPU-time for initialization : 0 seconds
Number of result points : 5002
Number of grid points : 5001
Number of accepted steps : 23
Number of f-evaluations (dynamics) : 23
Number of Jacobian-evaluations : 22
Number of model time events : 1
Number of input time events : 0
Number of state events : 0
Number of step events : 0
Minimum integration stepsize : 2e-07
Maximum integration stepsize : 0.419
Maximum integration order : 1
Calling terminal section
... "dsfinal.txt" creating (final states)

SUCCESSFUL simulation of ModelicaTest.Blocks.Exponentiation
28 changes: 28 additions & 0 deletions ModelicaTest/Blocks/Exponentiation/translate_passed.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
Translation of <a href="Modelica://ModelicaTest.Blocks.Exponentiation">ModelicaTest.Blocks.Exponentiation</a>
The DAE has 21 scalar unknowns and 21 scalar equations.

Statistics

Original Model
Number of components: 12
Variables: 34
Parameters: 13 (13 scalars)
Unknowns: 21 (21 scalars)
Equations: 21
Nontrivial: 20
Translated Model
Constants: 8 scalars
Free parameters: 5 scalars
Time-varying variables: 9 scalars
Alias variables: 12 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
Finished

0 comments on commit db71536

Please sign in to comment.