Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: translateModel(Modelica.Mechanics.Rotational.Examples.HeatLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|clutch.phi_rel|clutch.w_rel|damper.phi_rel|damper.w_rel|elastoBacklash.phi_rel|elastoBacklash.w_rel|inertia5.phi|inertia5.w|oneWayClutch.phi_rel|oneWayClutch.w_rel|springDamper.phi_rel|springDamper.w_rel|bearingFriction.mode|bearingFriction.startBackward|bearingFriction.startForward|brake.mode|brake.startBackward|brake.startForward|clutch.mode|clutch.startBackward|clutch.startForward|lossyGear.mode|oneWayClutch.startForward|oneWayClutch.stuck",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses") Notification: Performance of loadModel(Modelica): time 1.657/1.657, allocations: 171.3 MB / 179.2 MB, free: 180 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.165e-05/2.184e-05, allocations: 8.203 kB / 222.5 MB, free: 4.746 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2132/0.2132, allocations: 38.77 MB / 261.3 MB, free: 12.97 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1182/0.3314, allocations: 77.1 MB / 338.4 MB, free: 412 kB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002477/0.3317, allocations: 75.95 kB / 338.5 MB, free: 336 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09835/0.4301, allocations: 22.85 MB / 361.3 MB, free: 9.395 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.4302, allocations: 0 / 361.3 MB, free: 9.395 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.221e-05/0.4302, allocations: 23.98 kB / 361.3 MB, free: 9.371 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 243 * Number of variables: 243 Notification: Performance of Generate backend data structure: time 0.003603/0.4338, allocations: 1.286 MB / 362.6 MB, free: 8.039 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.4339, allocations: 8.031 kB / 362.6 MB, free: 8.031 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007299/0.4346, allocations: 138.6 kB / 362.8 MB, free: 7.895 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001295/0.4359, allocations: 0.5452 MB / 363.3 MB, free: 7.305 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003897/0.4364, allocations: 171 kB / 363.5 MB, free: 7.117 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002413/0.4366, allocations: 59.91 kB / 363.5 MB, free: 7.059 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003006/0.4396, allocations: 1.16 MB / 364.7 MB, free: 5.898 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002619/0.4423, allocations: 1.056 MB / 365.7 MB, free: 4.824 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.364e-05/0.4424, allocations: 11.89 kB / 365.8 MB, free: 4.812 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001333/0.4425, allocations: 0 / 365.8 MB, free: 4.812 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.138e-05/0.4426, allocations: 24 kB / 365.8 MB, free: 4.789 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009244/0.4518, allocations: 3.545 MB / 369.3 MB, free: 1.098 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002235/0.4541, allocations: 0.9094 MB / 370.2 MB, free: 184 kB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1808/0.635, allocations: 0.5577 MB / 370.8 MB, free: 88.1 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001181/0.6351, allocations: 19.5 kB / 370.8 MB, free: 88.1 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.672e-05/0.6352, allocations: 45.75 kB / 370.9 MB, free: 88.06 MB / 314.7 MB Notification: Performance of pre-optimization done (n=129): time 5.282e-06/0.6352, allocations: 0 / 370.9 MB, free: 88.06 MB / 314.7 MB Notification: Performance of matching and sorting (n=141): time 0.01061/0.6458, allocations: 3.585 MB / 374.4 MB, free: 87.4 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.076e-05/0.6459, allocations: 99.97 kB / 374.5 MB, free: 87.3 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006571/0.6466, allocations: 449.3 kB / 375 MB, free: 87.19 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001914/0.6468, allocations: 42.97 kB / 375 MB, free: 87.16 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002039/0.647, allocations: 374.8 kB / 375.4 MB, free: 86.93 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004048/0.6474, allocations: 463.3 kB / 375.8 MB, free: 86.69 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001206/0.6476, allocations: 3.234 kB / 375.8 MB, free: 86.69 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001001/0.6477, allocations: 361.6 kB / 376.2 MB, free: 86.38 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001186/0.6489, allocations: 0.5322 MB / 376.7 MB, free: 86.38 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00127/0.6501, allocations: 0.6475 MB / 377.4 MB, free: 86.29 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001459/0.6516, allocations: 485.2 kB / 377.9 MB, free: 86.27 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.671e-06/0.6516, allocations: 0 / 377.9 MB, free: 86.27 MB / 314.7 MB Notification: Performance of matching and sorting (n=179) (initialization): time 0.004703/0.6564, allocations: 1.732 MB / 379.6 MB, free: 86.14 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.569e-05/0.6564, allocations: 9.469 kB / 379.6 MB, free: 86.14 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/0.6565, allocations: 3.969 kB / 379.6 MB, free: 86.14 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002208/0.6587, allocations: 0.9714 MB / 380.6 MB, free: 85.93 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001352/0.66, allocations: 268.2 kB / 380.8 MB, free: 85.91 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003218/0.6633, allocations: 2.1 MB / 382.9 MB, free: 84.43 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001493/0.6648, allocations: 183.7 kB / 383.1 MB, free: 84.43 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000184/0.665, allocations: 63.66 kB / 383.2 MB, free: 84.41 MB / 314.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: bearingFriction.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic tau = f(a_relfric)" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: brake.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic tau = f(a_relfric)" type: Real lossyGear.sa:VARIABLE(unit = "1" ) "Path parameter for acceleration and torque loss" type: Real clutch.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic tau = f(a_relfric)" type: Real oneWayClutch.sa:VARIABLE(unit = "1" protected = true ) "Path parameter of tau = f(a_rel) Friction characteristic" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 37 (bearingFriction.free,$PRE.bearingFriction.startForward,bearingFriction.startForward,$PRE.bearingFriction.startBackward,bearingFriction.startBackward,bearingFriction.locked,$PRE.bearingFriction.mode,bearingFriction.mode,lossyGear.tau_aPos,lossyGear.startForward,lossyGear.startBackward,lossyGear.locked,$PRE.lossyGear.mode,lossyGear.mode,clutch.free,$PRE.clutch.startForward,clutch.startForward,$PRE.clutch.startBackward,clutch.startBackward,clutch.locked,$PRE.clutch.mode,clutch.mode,$PRE.oneWayClutch.startForward,oneWayClutch.startForward,oneWayClutch.locked,$PRE.oneWayClutch.stuck,oneWayClutch.stuck,oneWayClutch.free,brake.free,$PRE.brake.startForward,brake.startForward,$PRE.brake.startBackward,brake.startBackward,brake.locked,$PRE.brake.mode,brake.mode,lossyGear.ideal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (129): * Single equations (assignments): 127 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {4 40,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0004087/0.6655, allocations: 148.7 kB / 383.3 MB, free: 84.3 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000267/0.6657, allocations: 89.41 kB / 383.4 MB, free: 84.25 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002726/0.666, allocations: 111.5 kB / 383.5 MB, free: 84.16 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.42e-05/0.6661, allocations: 17.73 kB / 383.5 MB, free: 84.16 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.286e-05/0.6661, allocations: 3.406 kB / 383.5 MB, free: 84.16 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.675e-05/0.6661, allocations: 7.688 kB / 383.5 MB, free: 84.16 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006984/0.6731, allocations: 2.954 MB / 386.5 MB, free: 82.96 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.035e-05/0.6732, allocations: 0 / 386.5 MB, free: 82.96 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001571/0.6747, allocations: 257.2 kB / 386.7 MB, free: 82.96 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002347/0.6771, allocations: 0.9318 MB / 387.7 MB, free: 82.75 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001913/0.6773, allocations: 31.66 kB / 387.7 MB, free: 82.74 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003013/0.6803, allocations: 2.023 MB / 389.7 MB, free: 81.31 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.708e-06/0.6804, allocations: 3.406 kB / 389.7 MB, free: 81.31 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00567/0.6861, allocations: 2.355 MB / 392.1 MB, free: 80.21 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007123/0.6868, allocations: 307.7 kB / 392.4 MB, free: 79.95 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002748/0.6871, allocations: 20 kB / 392.4 MB, free: 79.93 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001338/0.6885, allocations: 188.6 kB / 392.6 MB, free: 79.79 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004998/0.689, allocations: 228.2 kB / 392.8 MB, free: 79.68 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001575/0.6892, allocations: 66.95 kB / 392.9 MB, free: 79.63 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004524/0.6896, allocations: 341.8 kB / 393.2 MB, free: 79.33 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.32e-07/0.6896, allocations: 0 / 393.2 MB, free: 79.33 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001097/0.6908, allocations: 289.3 kB / 393.5 MB, free: 79.05 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 12 (damper.phi_rel,damper.w_rel,springDamper.phi_rel,springDamper.w_rel,elastoBacklash.phi_rel,elastoBacklash.w_rel,inertia4.w,lossyGear.phi_a,clutch.phi_rel,clutch.w_rel,oneWayClutch.phi_rel,oneWayClutch.w_rel) * Number of discrete variables: 23 (bearingFriction.startForward,bearingFriction.startBackward,bearingFriction.locked,bearingFriction.mode,lossyGear.tau_aPos,lossyGear.startForward,lossyGear.startBackward,lossyGear.locked,lossyGear.mode,clutch.free,clutch.startForward,clutch.startBackward,clutch.locked,clutch.mode,oneWayClutch.startForward,oneWayClutch.locked,oneWayClutch.stuck,oneWayClutch.free,brake.free,brake.startForward,brake.startBackward,brake.locked,brake.mode) * Number of discrete states: 12 (clutch.mode,clutch.startForward,brake.mode,brake.startForward,brake.startBackward,oneWayClutch.stuck,oneWayClutch.startForward,clutch.startBackward,lossyGear.mode,bearingFriction.mode,bearingFriction.startForward,bearingFriction.startBackward) * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 6,4 38} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003891/0.6912, allocations: 182.1 kB / 393.7 MB, free: 78.89 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002685/0.6939, allocations: 1.276 MB / 395 MB, free: 77.68 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.199e-06/0.6939, allocations: 0 / 395 MB, free: 77.68 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001567/0.6955, allocations: 0.702 MB / 395.7 MB, free: 77.02 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009944/0.6965, allocations: 117.2 kB / 395.8 MB, free: 76.93 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008477/0.705, allocations: 2.907 MB / 398.7 MB, free: 74.41 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005354/0.7056, allocations: 1.051 MB / 399.7 MB, free: 73.46 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005285/0.7061, allocations: 84.17 kB / 399.8 MB, free: 73.4 MB / 314.7 MB Notification: Performance of SimCode: time 1.893e-06/0.7061, allocations: 8 kB / 399.8 MB, free: 73.39 MB / 314.7 MB Notification: Performance of Templates: time 0.02415/0.7303, allocations: 18.32 MB / 418.1 MB, free: 57.33 MB / 314.7 MB "Error: Could not read variable bearingFriction.Backward in file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat. Warning: Get data of variable bearingFriction.Backward from file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat failed! Error: Could not read variable bearingFriction.Forward in file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat. Warning: Get data of variable bearingFriction.Forward from file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat failed! Error: Could not read variable bearingFriction.Free in file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat. Warning: Get data of variable bearingFriction.Free from file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat failed! Error: Could not read variable bearingFriction.Stuck in file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat. Warning: Get data of variable bearingFriction.Stuck from file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat failed! Error: Could not read variable bearingFriction.Unknown in file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat. Warning: Get data of variable bearingFriction.Unknown from file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat failed! Error: Could not read variable brake.Backward in file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat. Warning: Get data of variable brake.Backward from file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat failed! Error: Could not read variable brake.Forward in file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat. Warning: Get data of variable brake.Forward from file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat failed! Error: Could not read variable brake.Free in file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat. Warning: Get data of variable brake.Free from file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat failed! Error: Could not read variable brake.Stuck in file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat. Warning: Get data of variable brake.Stuck from file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat failed! Error: Could not read variable brake.Unknown in file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat. Warning: Get data of variable brake.Unknown from file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat failed! Error: Could not read variable clutch.Backward in file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat. Warning: Get data of variable clutch.Backward from file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat failed! Error: Could not read variable clutch.Forward in file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat. Warning: Get data of variable clutch.Forward from file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat failed! Error: Could not read variable clutch.Free in file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat. Warning: Get data of variable clutch.Free from file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat failed! Error: Could not read variable clutch.Stuck in file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat. Warning: Get data of variable clutch.Stuck from file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat failed! Error: Could not read variable clutch.Unknown in file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat. Warning: Get data of variable clutch.Unknown from file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat failed! Error: Could not read variable elastoBacklash.bEps in file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat. Warning: Get data of variable elastoBacklash.bEps from file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat failed! Error: Could not read variable lossyGear.Backward in file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat. Warning: Get data of variable lossyGear.Backward from file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat failed! Error: Could not read variable lossyGear.Forward in file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat. Warning: Get data of variable lossyGear.Forward from file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat failed! Error: Could not read variable lossyGear.Free in file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat. Warning: Get data of variable lossyGear.Free from file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat failed! Error: Could not read variable lossyGear.Stuck in file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat. Warning: Get data of variable lossyGear.Stuck from file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat failed! Error: Could not read variable lossyGear.Unknown in file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat. Warning: Get data of variable lossyGear.Unknown from file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat failed! Error: Could not read variable lossyGear.der(w_a) in file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat. Warning: Get data of variable lossyGear.der(w_a) from file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat failed! Error: Could not read variable lossyGear.flange_b.der(phi) in file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat. Warning: Get data of variable lossyGear.flange_b.der(phi) from file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat failed! Error: Could not read variable lossyGear.flange_b.der(phi,2) in file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat. Warning: Get data of variable lossyGear.flange_b.der(phi,2) from file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat failed! Error: Could not read variable lossyGear.unitAngularAcceleration in file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat. Warning: Get data of variable lossyGear.unitAngularAcceleration from file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat failed! Error: Could not read variable lossyGear.unitTorque in file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat. Warning: Get data of variable lossyGear.unitTorque from file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat failed! Error: Could not read variable oneWayClutch.eps0 in file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat. Warning: Get data of variable oneWayClutch.eps0 from file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat failed! Error: Could not read variable oneWayClutch.unitAngularAcceleration in file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat. Warning: Get data of variable oneWayClutch.unitAngularAcceleration from file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat failed! Error: Could not read variable oneWayClutch.unitTorque in file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat. Warning: Get data of variable oneWayClutch.unitTorque from file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat failed! Error: Could not read variable sine.pi in file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat. Warning: Get data of variable sine.pi from file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat failed! Error: Could not read variable sine2.pi in file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat. Warning: Get data of variable sine2.pi from file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat failed! " Variables in the reference:time,clutch.phi_rel,clutch.w_rel,damper.phi_rel,damper.w_rel,elastoBacklash.phi_rel,elastoBacklash.w_rel,inertia5.phi,inertia5.w,oneWayClutch.phi_rel,oneWayClutch.w_rel,springDamper.phi_rel,springDamper.w_rel,bearingFriction.mode,bearingFriction.startBackward,bearingFriction.startForward,brake.mode,brake.startBackward,brake.startForward,clutch.mode,clutch.startBackward,clutch.startForward,lossyGear.mode,oneWayClutch.startForward,oneWayClutch.stuck Variables in the result:TAmbient.T,TAmbient.port.Q_flow,TAmbient.port.T,bearingFriction.a,bearingFriction.a_relfric,der(bearingFriction.phi),bearingFriction.flange_a.phi,bearingFriction.flange_a.tau,bearingFriction.flange_b.phi,bearingFriction.flange_b.tau,bearingFriction.free,bearingFriction.heatPort.Q_flow,bearingFriction.heatPort.T,bearingFriction.locked,bearingFriction.lossPower,bearingFriction.mode,bearingFriction.peak,bearingFriction.phi,bearingFriction.phi_support,bearingFriction.sa,bearingFriction.startBackward,bearingFriction.startForward,bearingFriction.tau,bearingFriction.tau0,bearingFriction.tau0_max,bearingFriction.tau_pos[1,1],bearingFriction.tau_pos[1,2],bearingFriction.useHeatPort,bearingFriction.useSupport,bearingFriction.w,bearingFriction.w_relfric,bearingFriction.w_small,brake.a,brake.a_relfric,brake.cgeo,der(brake.phi),brake.f_normalized,brake.flange_a.phi,brake.flange_a.tau,brake.flange_b.phi,brake.flange_b.tau,brake.fn,brake.fn_max,brake.free,brake.heatPort.Q_flow,brake.heatPort.T,brake.locked,brake.lossPower,brake.mode,brake.mue0,brake.mue_pos[1,1],brake.mue_pos[1,2],brake.peak,brake.phi,brake.phi_support,brake.sa,brake.startBackward,brake.startForward,brake.tau,brake.tau0,brake.tau0_max,brake.useHeatPort,brake.useSupport,brake.w,brake.w_relfric,brake.w_small,clutch.a_rel,clutch.a_relfric,clutch.cgeo,der(clutch.phi_rel),der(clutch.w_rel),clutch.f_normalized,clutch.flange_a.phi,clutch.flange_a.tau,clutch.flange_b.phi,clutch.flange_b.tau,clutch.fn,clutch.fn_max,clutch.free,clutch.heatPort.Q_flow,clutch.heatPort.T,clutch.locked,clutch.lossPower,clutch.mode,clutch.mue0,clutch.mue_pos[1,1],clutch.mue_pos[1,2],clutch.peak,clutch.phi_nominal,clutch.phi_rel,clutch.sa,clutch.startBackward,clutch.startForward,clutch.stateSelect,clutch.tau,clutch.tau0,clutch.tau0_max,clutch.useHeatPort,clutch.w_rel,clutch.w_relfric,clutch.w_small,const.k,const.y,convection.Gc,convection.Q_flow,convection.dT,convection.fluid.Q_flow,convection.fluid.T,convection.solid.Q_flow,convection.solid.T,damper.a_rel,damper.d,der(damper.phi_rel),der(damper.w_rel),damper.flange_a.phi,damper.flange_a.tau,damper.flange_b.phi,damper.flange_b.tau,damper.heatPort.Q_flow,damper.heatPort.T,damper.lossPower,damper.phi_nominal,damper.phi_rel,damper.stateSelect,damper.tau,damper.useHeatPort,damper.w_rel,elastoBacklash.a_rel,elastoBacklash.b,elastoBacklash.bMax,elastoBacklash.bMin,elastoBacklash.c,elastoBacklash.d,der(elastoBacklash.phi_rel),der(elastoBacklash.w_rel),elastoBacklash.flange_a.phi,elastoBacklash.flange_a.tau,elastoBacklash.flange_b.phi,elastoBacklash.flange_b.tau,elastoBacklash.heatPort.Q_flow,elastoBacklash.heatPort.T,elastoBacklash.lossPower,elastoBacklash.phi_diff,elastoBacklash.phi_nominal,elastoBacklash.phi_rel,elastoBacklash.phi_rel0,elastoBacklash.stateSelect,elastoBacklash.tau,elastoBacklash.tau_c,elastoBacklash.tau_d,elastoBacklash.useHeatPort,elastoBacklash.w_rel,fixed.flange.phi,fixed.flange.tau,fixed.phi0,inertia1.J,inertia1.a,der(inertia1.phi),der(inertia1.w),inertia1.flange_a.phi,inertia1.flange_a.tau,inertia1.flange_b.phi,inertia1.flange_b.tau,inertia1.phi,inertia1.stateSelect,inertia1.w,inertia2.J,inertia2.a,der(inertia2.phi),der(inertia2.w),inertia2.flange_a.phi,inertia2.flange_a.tau,inertia2.flange_b.phi,inertia2.flange_b.tau,inertia2.phi,inertia2.stateSelect,inertia2.w,inertia3.J,inertia3.a,der(inertia3.w),inertia3.flange_a.phi,inertia3.flange_a.tau,inertia3.flange_b.phi,inertia3.flange_b.tau,inertia3.phi,inertia3.stateSelect,inertia3.w,inertia4.J,inertia4.a,der(inertia4.w),inertia4.flange_a.phi,inertia4.flange_a.tau,inertia4.flange_b.phi,inertia4.flange_b.tau,inertia4.phi,inertia4.stateSelect,inertia4.w,inertia5.J,inertia5.a,der(inertia5.phi),der(inertia5.w),inertia5.flange_a.phi,inertia5.flange_a.tau,inertia5.flange_b.phi,inertia5.flange_b.tau,inertia5.phi,inertia5.stateSelect,inertia5.w,inertia6.J,inertia6.a,der(inertia6.w),inertia6.flange_a.phi,inertia6.flange_a.tau,inertia6.flange_b.phi,inertia6.flange_b.tau,inertia6.phi,inertia6.stateSelect,inertia6.w,lossyGear.a_a,der(lossyGear.der(phi_b)),der(lossyGear.phi_a),der(lossyGear.phi_b),lossyGear.eta_mf1,lossyGear.eta_mf1_0,lossyGear.eta_mf2,lossyGear.eta_mf2_0,lossyGear.flange_a.phi,lossyGear.flange_a.tau,lossyGear.flange_b.phi,lossyGear.flange_b.tau,lossyGear.heatPort.Q_flow,lossyGear.heatPort.T,lossyGear.ideal,lossyGear.interpolation_result[1,1],lossyGear.interpolation_result[1,2],lossyGear.interpolation_result[1,3],lossyGear.interpolation_result[1,4],lossyGear.locked,lossyGear.lossPower,lossyGear.lossTable[1,1],lossyGear.lossTable[1,2],lossyGear.lossTable[1,3],lossyGear.lossTable[1,4],lossyGear.lossTable[1,5],lossyGear.lossTable[2,1],lossyGear.lossTable[2,2],lossyGear.lossTable[2,3],lossyGear.lossTable[2,4],lossyGear.lossTable[2,5],lossyGear.mode,lossyGear.phi_a,lossyGear.phi_b,lossyGear.phi_support,lossyGear.quadrant1,lossyGear.quadrant1_p,lossyGear.quadrant2,lossyGear.quadrant2_p,lossyGear.quadrant3,lossyGear.quadrant3_m,lossyGear.quadrant4,lossyGear.quadrant4_m,lossyGear.ratio,lossyGear.sa,lossyGear.startBackward,lossyGear.startForward,lossyGear.tauLoss,lossyGear.tauLossMax,lossyGear.tauLossMax_p,lossyGear.tauLossMin,lossyGear.tauLossMin_m,lossyGear.tau_aPos,lossyGear.tau_bf1,lossyGear.tau_bf1_0,lossyGear.tau_bf2,lossyGear.tau_bf2_0,lossyGear.tau_bf_a,lossyGear.tau_bf_a_0,lossyGear.tau_eta,lossyGear.tau_etaPos,lossyGear.tau_eta_m,lossyGear.tau_eta_p,lossyGear.useHeatPort,lossyGear.useSupport,lossyGear.w_a,oneWayClutch.a_rel,oneWayClutch.cgeo,der(oneWayClutch.phi_rel),der(oneWayClutch.w_rel),oneWayClutch.f_normalized,oneWayClutch.flange_a.phi,oneWayClutch.flange_a.tau,oneWayClutch.flange_b.phi,oneWayClutch.flange_b.tau,oneWayClutch.fn,oneWayClutch.fn_max,oneWayClutch.free,oneWayClutch.heatPort.Q_flow,oneWayClutch.heatPort.T,oneWayClutch.locked,oneWayClutch.lossPower,oneWayClutch.mue0,oneWayClutch.mue_pos[1,1],oneWayClutch.mue_pos[1,2],oneWayClutch.peak,oneWayClutch.peak2,oneWayClutch.phi_nominal,oneWayClutch.phi_rel,oneWayClutch.sa,oneWayClutch.startForward,oneWayClutch.stateSelect,oneWayClutch.stuck,oneWayClutch.tau,oneWayClutch.tau0,oneWayClutch.tau0_max,oneWayClutch.tau0_max_low,oneWayClutch.u,oneWayClutch.useHeatPort,oneWayClutch.w_rel,oneWayClutch.w_small,sine.amplitude,sine.freqHz,sine.offset,sine.phase,sine.startTime,sine.y,sine2.amplitude,sine2.freqHz,sine2.offset,sine2.phase,sine2.startTime,sine2.y,spring3.c,spring3.flange_a.phi,spring3.flange_a.tau,spring3.flange_b.phi,spring3.flange_b.tau,spring3.phi_rel,spring3.phi_rel0,spring3.tau,springDamper.a_rel,springDamper.c,springDamper.d,der(springDamper.phi_rel),der(springDamper.w_rel),springDamper.flange_a.phi,springDamper.flange_a.tau,springDamper.flange_b.phi,springDamper.flange_b.tau,springDamper.heatPort.Q_flow,springDamper.heatPort.T,springDamper.lossPower,springDamper.phi_nominal,springDamper.phi_rel,springDamper.phi_rel0,springDamper.stateSelect,springDamper.tau,springDamper.tau_c,springDamper.tau_d,springDamper.useHeatPort,springDamper.w_rel,time,torque.flange.phi,torque.flange.tau,torque.phi_support,torque.tau,torque.useSupport