### Error report for Modelica.Mechanics.Rotational.Examples.LossyGearDemo2

**Warning**: in file 'C:\Users\tove_021\AppData\Local\Temp\jmc2327243069389785542out\sources\Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.mof':

At line 0, column 0:

Iteration variable "Inertia2.a" is missing start value!

**Warning**: in file 'C:\Users\tove_021\AppData\Local\Temp\jmc2327243069389785542out\sources\Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.mof':

At line 0, column 0:

Iteration variable "bearingFriction.sa" is missing start value!

**Warning**: in file 'C:\Users\tove_021\AppData\Local\Temp\jmc2327243069389785542out\sources\Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.mof':

At line 0, column 0:

Iteration variable "gear.sa" is missing start value!

Compiling...

... elapsed time: 4.21s

Loading...

... elapsed time: 0.10s

Initializing...

... elapsed time: 0.01s

Simulating...

SIMULATION LOG:

**Warning**: <Regularization>Singular Jacobian detected when factorizing in linear solver. Will try to regularize the equations in <value name="block">0</value></Regularization>

**Warning**: <Regularization>Singular Jacobian detected when factorizing in linear solver. Will try to regularize the equations in <value name="block">0</value></Regularization>

**Warning**: <Regularization>Singular Jacobian detected when factorizing in linear solver. Will try to regularize the equations in <value name="block">0</value></Regularization>

**Warning**: <Regularization>Singular Jacobian detected when factorizing in linear solver. Will try to regularize the equations in <value name="block">0</value></Regularization>

**Warning**: <Regularization>Singular Jacobian detected when factorizing in linear solver. Will try to regularize the equations in <value name="block">0</value></Regularization>

**Warning**: <Regularization>Singular Jacobian detected when factorizing in linear solver. Will try to regularize the equations in <value name="block">0</value></Regularization>

**Warning**: <Regularization>Singular Jacobian detected when factorizing in linear solver. Will try to regularize the equations in <value name="block">0</value></Regularization>

**Warning**: <Regularization>Singular Jacobian detected when factorizing in linear solver. Will try to regularize the equations in <value name="block">0</value></Regularization>

**Warning**: <Regularization>Singular Jacobian detected when factorizing in linear solver. Will try to regularize the equations in <value name="block">0</value></Regularization>

**Warning**: <Regularization>Singular Jacobian detected when factorizing in linear solver. Will try to regularize the equations in <value name="block">0</value></Regularization>

**Warning**: <Regularization>Singular Jacobian detected when factorizing in linear solver. Will try to regularize the equations in <value name="block">0</value></Regularization>

**Warning**: <Regularization>Singular Jacobian detected when factorizing in linear solver. Will try to regularize the equations in <value name="block">0</value></Regularization>

**Warning**: <Regularization>Singular Jacobian detected when factorizing in linear solver. Will try to regularize the equations in <value name="block">0</value></Regularization>

**Warning**: <Regularization>Singular Jacobian detected when factorizing in linear solver. Will try to regularize the equations in <value name="block">0</value></Regularization>

**Warning**: <Regularization>Singular Jacobian detected when factorizing in linear solver. Will try to regularize the equations in <value name="block">0</value></Regularization>

**Warning**: <Regularization>Singular Jacobian detected when factorizing in linear solver. Will try to regularize the equations in <value name="block">0</value></Regularization>

**Warning**: <Regularization>Singular Jacobian detected when factorizing in linear solver. Will try to regularize the equations in <value name="block">0</value></Regularization>

**Warning**: <Regularization>Singular Jacobian detected when factorizing in linear solver. Will try to regularize the equations in <value name="block">0</value></Regularization>

**Warning**: <Regularization>Singular Jacobian detected when factorizing in linear solver. Will try to regularize the equations in <value name="block">0</value></Regularization>

**Warning**: <Regularization>Singular Jacobian detected when factorizing in linear solver. Will try to regularize the equations in <value name="block">0</value></Regularization>

**Warning**: <Regularization>Singular Jacobian detected when factorizing in linear solver. Will try to regularize the equations in <value name="block">0</value></Regularization>

**Warning**: <Regularization>Singular Jacobian detected when factorizing in linear solver. Will try to regularize the equations in <value name="block">0</value></Regularization>

**Warning**: <Regularization>Singular Jacobian detected when factorizing in linear solver. Will try to regularize the equations in <value name="block">0</value></Regularization>

**Warning**: <Regularization>Singular Jacobian detected when factorizing in linear solver. Will try to regularize the equations in <value name="block">0</value></Regularization>

**Warning**: <Regularization>Singular Jacobian detected when factorizing in linear solver. Will try to regularize the equations in <value name="block">0</value></Regularization>

**Error**: <Error>Error updating discrete variables with the new x <value name="block">0</value><value name="iter">1</value> at <value name="t"> 4.5624266080909487E-001</value></Error>

**Error**: <Error>Failed to find a consistent solution in switch iteration in <value name="block">0</value><value name="iter">1</value> at <value name="t"> 4.5624266080909487E-001</value></Error>

FMIL: module = Model, log level = 2: [INFO][FMU status:Error] Evaluation of model equations during event iteration failed.

Failed to update the events.

... elapsed time: 0.28s