Check of Modelica.Electrical.Analog.Examples.GenerationOfFMUs
The model has the same number of unknowns and equations: 306
Check of Modelica.Electrical.Analog.Examples.GenerationOfFMUs successful.
| MSL410 experiment tolerance | MSL410 tightend tolerance | |
|---|---|---|
| Testrun ID | 20250225023730 | 20250224233152 |
| Simulator | Dymola | Dymola |
| Status | PASS | PASS |
| Run time | 3.61 | 3.61 |
| Workdir | D:/MSL_Nightly/Output/Testruns/Dymola/Modelica_org\Modelica.Electrical.Analog.Examples.GenerationOfFMUs\WorkDir | D:/MSL_Nightly/Output/Testruns/Dymola/Modelica\Modelica.Electrical.Analog.Examples.GenerationOfFMUs\WorkDir |
| MSL410 experiment tolerance | MSL410 tightend tolerance | |
|---|---|---|
| Status | PASS | PASS |
| Task runtime | 0.52 s | 0.51 s |
| Warnings | 0 | 0 |
| Errors | 0 | 0 |
| Open log  | Open log  |
| MSL410 experiment tolerance | MSL410 tightend tolerance | |
|---|---|---|
| Status | PASS | PASS |
| Task runtime | 2.55 s | 2.55 s |
| Warnings | 0 | 0 |
| Errors | 0 | 0 |
| Open log  | Open log  | |
| Numerical Jacobians | 0 | 0 |
| Continuous time states | 6 | 6 |
| Number NL equation systems | 0 | 0 |
| Largest NL equation system | 0 | 0 |
| MSL410 experiment tolerance | MSL410 tightend tolerance | |
|---|---|---|
| Status | PASS | PASS |
| Task runtime | 0.50 s | 0.51 s |
| Simulation time | 1.00 s | 1.00 s |
| Copy result file path  | Copy result file path  | |
| Open log  | Open log  | |
| Time Events | 0 | 0 |
| State Events | 0 | 0 |
| Jacobian evaluations | 16 | 16 |
| Integrator Steps | 181 | 178 |
| Total CPU time | 0.00 s | 0.00 s |
| CPU time Integration | 0.00 s | 0.00 s |
| CPU time Initialization | 0.00 s | 0.00 s |
check - Open log
Check of Modelica.Electrical.Analog.Examples.GenerationOfFMUs
The model has the same number of unknowns and equations: 306
Check of Modelica.Electrical.Analog.Examples.GenerationOfFMUs successful.
check - Open log
Check of Modelica.Electrical.Analog.Examples.GenerationOfFMUs
The model has the same number of unknowns and equations: 306
Check of Modelica.Electrical.Analog.Examples.GenerationOfFMUs successful.
translate - Open log
Translation of Modelica.Electrical.Analog.Examples.GenerationOfFMUs
The DAE has 306 scalar unknowns and 306 scalar equations.
Redundant consistent initial conditions.
Removed the following equations which are redundant and consistent:
if (inverseCapacitor1.voltageToCurrent.use_pder and inverseCapacitor1.voltageToCurrent.use_pder2) then
inverseCapacitor1.voltageToCurrent.u = Modelica.Blocks.Interfaces.Adaptors.Functions.state2 ({inverseCapacitor1.voltageToCurrent.p, inverseCapacitor1.voltageToCurrent.u1, inverseCapacitor1.voltageToCurrent.u2}, time);
elseif (inverseCapacitor1.voltageToCurrent.use_pder and not inverseCapacitor1.voltageToCurrent.use_pder2) then
inverseCapacitor1.voltageToCurrent.u = Modelica.Blocks.Interfaces.Adaptors.Functions.state1 ({inverseCapacitor1.voltageToCurrent.p, inverseCapacitor1.voltageToCurrent.u1}, time);
else
inverseCapacitor1.voltageToCurrent.u = inverseCapacitor1.voltageToCurrent.p;
end if;
if (inverseInductor3.currentToVoltage.use_fder and inverseInductor3.currentToVoltage.use_fder2) then
inverseInductor3.currentToVoltage.u = Modelica.Blocks.Interfaces.Adaptors.Functions.state2 ({inverseInductor3.currentToVoltage.f, inverseInductor3.currentToVoltage.u1, inverseInductor3.currentToVoltage.u2}, time);
elseif (inverseInductor3.currentToVoltage.use_fder and not inverseInductor3.currentToVoltage.use_fder2) then
inverseInductor3.currentToVoltage.u = Modelica.Blocks.Interfaces.Adaptors.Functions.state1 ({inverseInductor3.currentToVoltage.f, inverseInductor3.currentToVoltage.u1}, time);
else
inverseInductor3.currentToVoltage.u = inverseInductor3.currentToVoltage.f;
end if;
This required evaluation of
the interactive start values of
directCapacitor1.capacitor.v(start = 0)
directInductor3.inductor.i(start = 0)
inverseCapacitor1.capacitor.v(start = 0)
inverseInductor3.inductor.i(start = 0)
The redundancies involve
active start values:
directCapacitor1.capacitor.v = 0;
inverseCapacitor1.capacitor.v = 0;
directInductor3.inductor.i = 0;
inverseInductor3.inductor.i = 0;
Statistics
Original Model
Number of components: 45
Variables: 462
Parameters: 156 (156 scalars)
Unknowns: 306 (306 scalars)
Differentiated variables: 10 scalars
Equations: 307
Nontrivial: 241
Translated Model
Constants: 208 scalars
Free parameters: 24 scalars
Parameter depending: 10 scalars
Continuous time states: 6 scalars
Time-varying variables: 25 scalars
Alias variables: 195 scalars
Number of mixed real/discrete systems of equations: 0
Sizes of linear systems of equations: {3, 3}
Sizes after manipulation of the linear systems: {0, 0}
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
Statically selected continuous time states
capacitor2a.v
capacitor2b.v
directCapacitor1.capacitor.v
directInductor3.inductor.i
inductor4a.i
inductor4b.i
Finished
translate - Open log
Translation of Modelica.Electrical.Analog.Examples.GenerationOfFMUs
The DAE has 306 scalar unknowns and 306 scalar equations.
Redundant consistent initial conditions.
Removed the following equations which are redundant and consistent:
if (inverseCapacitor1.voltageToCurrent.use_pder and inverseCapacitor1.voltageToCurrent.use_pder2) then
inverseCapacitor1.voltageToCurrent.u = Modelica.Blocks.Interfaces.Adaptors.Functions.state2 ({inverseCapacitor1.voltageToCurrent.p, inverseCapacitor1.voltageToCurrent.u1, inverseCapacitor1.voltageToCurrent.u2}, time);
elseif (inverseCapacitor1.voltageToCurrent.use_pder and not inverseCapacitor1.voltageToCurrent.use_pder2) then
inverseCapacitor1.voltageToCurrent.u = Modelica.Blocks.Interfaces.Adaptors.Functions.state1 ({inverseCapacitor1.voltageToCurrent.p, inverseCapacitor1.voltageToCurrent.u1}, time);
else
inverseCapacitor1.voltageToCurrent.u = inverseCapacitor1.voltageToCurrent.p;
end if;
if (inverseInductor3.currentToVoltage.use_fder and inverseInductor3.currentToVoltage.use_fder2) then
inverseInductor3.currentToVoltage.u = Modelica.Blocks.Interfaces.Adaptors.Functions.state2 ({inverseInductor3.currentToVoltage.f, inverseInductor3.currentToVoltage.u1, inverseInductor3.currentToVoltage.u2}, time);
elseif (inverseInductor3.currentToVoltage.use_fder and not inverseInductor3.currentToVoltage.use_fder2) then
inverseInductor3.currentToVoltage.u = Modelica.Blocks.Interfaces.Adaptors.Functions.state1 ({inverseInductor3.currentToVoltage.f, inverseInductor3.currentToVoltage.u1}, time);
else
inverseInductor3.currentToVoltage.u = inverseInductor3.currentToVoltage.f;
end if;
This required evaluation of
the interactive start values of
directCapacitor1.capacitor.v(start = 0)
directInductor3.inductor.i(start = 0)
inverseCapacitor1.capacitor.v(start = 0)
inverseInductor3.inductor.i(start = 0)
The redundancies involve
active start values:
directCapacitor1.capacitor.v = 0;
inverseCapacitor1.capacitor.v = 0;
directInductor3.inductor.i = 0;
inverseInductor3.inductor.i = 0;
Statistics
Original Model
Number of components: 45
Variables: 462
Parameters: 156 (156 scalars)
Unknowns: 306 (306 scalars)
Differentiated variables: 10 scalars
Equations: 307
Nontrivial: 241
Translated Model
Constants: 208 scalars
Free parameters: 24 scalars
Parameter depending: 10 scalars
Continuous time states: 6 scalars
Time-varying variables: 25 scalars
Alias variables: 195 scalars
Number of mixed real/discrete systems of equations: 0
Sizes of linear systems of equations: {3, 3}
Sizes after manipulation of the linear systems: {0, 0}
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
Statically selected continuous time states
capacitor2a.v
capacitor2b.v
directCapacitor1.capacitor.v
directInductor3.inductor.i
inductor4a.i
inductor4b.i
Finished
translate - Continuous time states
translate - Continuous time states
translate - Largest NL equation system
translate - Largest NL equation system
simulate - Open log
Log-file of program ./dymosim
(generated: Tue Feb 25 03:00:37 2025)
dymosim started
... "Modelica.Electrical.Analog.Examples.GenerationOfFMUs" 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.002 seconds
CPU-time for one grid interval : 0.002 milliseconds
CPU-time for initialization : 0 seconds
Number of result points : 1002
Number of grid points : 1001
Number of accepted steps : 181
Number of f-evaluations (dynamics) : 366
Number of Jacobian-evaluations : 16
Number of model time events : 0
Number of input time events : 0
Number of state events : 0
Number of step events : 0
Minimum integration stepsize : 1e-06
Maximum integration stepsize : 0.00981
Maximum integration order : 5
Calling terminal section
... "dsfinal.txt" creating (final states)
SUCCESSFUL simulation of Modelica.Electrical.Analog.Examples.GenerationOfFMUs
simulate - Open log
Log-file of program ./dymosim
(generated: Mon Feb 24 23:55:44 2025)
dymosim started
... "Modelica.Electrical.Analog.Examples.GenerationOfFMUs" 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.003 seconds
CPU-time for one grid interval : 0.0015 milliseconds
CPU-time for initialization : 0 seconds
Number of result points : 2002
Number of grid points : 2001
Number of accepted steps : 178
Number of f-evaluations (dynamics) : 356
Number of Jacobian-evaluations : 16
Number of model time events : 0
Number of input time events : 0
Number of state events : 0
Number of step events : 0
Minimum integration stepsize : 5e-07
Maximum integration stepsize : 0.0102
Maximum integration order : 5
Calling terminal section
... "dsfinal.txt" creating (final states)
SUCCESSFUL simulation of Modelica.Electrical.Analog.Examples.GenerationOfFMUs