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.769/1.769, allocations: 171.2 MB / 183.8 MB, free: 11.94 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.189e-05/3.207e-05, allocations: 10.75 kB / 225 MB, free: 2.691 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2144/0.2144, allocations: 38.76 MB / 263.8 MB, free: 9.859 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1187/0.3332, allocations: 77.77 MB / 341.5 MB, free: 11.97 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000241/0.3335, allocations: 75.95 kB / 341.6 MB, free: 11.9 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1019/0.4355, allocations: 22.98 MB / 364.6 MB, free: 4.84 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.329e-06/0.4355, allocations: 3.938 kB / 364.6 MB, free: 4.836 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.634e-05/0.4356, allocations: 20 kB / 364.6 MB, free: 4.816 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.003878/0.4395, allocations: 1.274 MB / 365.9 MB, free: 3.492 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/0.4395, allocations: 12.03 kB / 365.9 MB, free: 3.48 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008698/0.4404, allocations: 142.6 kB / 366 MB, free: 3.34 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001536/0.442, allocations: 0.5529 MB / 366.6 MB, free: 2.746 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004586/0.4425, allocations: 195.1 kB / 366.8 MB, free: 2.539 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003305/0.4428, allocations: 103.9 kB / 366.9 MB, free: 2.438 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003182/0.446, allocations: 1.169 MB / 368 MB, free: 1.254 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.651e-05/0.4461, allocations: 7.906 kB / 368 MB, free: 1.246 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001711/0.4463, allocations: 43.98 kB / 368.1 MB, free: 1.203 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-05/0.4464, allocations: 24 kB / 368.1 MB, free: 1.18 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1876/0.6339, allocations: 1.192 MB / 369.3 MB, free: 85.53 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009976/0.644, allocations: 3.702 MB / 373 MB, free: 84.54 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002191/0.6462, allocations: 0.9489 MB / 374 MB, free: 84.51 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001343/0.6476, allocations: 0.598 MB / 374.6 MB, free: 84.5 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.922e-05/0.6477, allocations: 18.12 kB / 374.6 MB, free: 84.5 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.585e-05/0.6478, allocations: 47.72 kB / 374.6 MB, free: 84.46 MB / 314.7 MB Notification: Performance of pre-optimization done (n=129): time 5.541e-06/0.6478, allocations: 0 / 374.6 MB, free: 84.46 MB / 314.7 MB Notification: Performance of matching and sorting (n=141): time 0.009873/0.6577, allocations: 3.829 MB / 378.4 MB, free: 83.45 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.593e-05/0.6578, allocations: 92.8 kB / 378.5 MB, free: 83.35 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007882/0.6586, allocations: 490.5 kB / 379 MB, free: 83.13 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002887/0.6589, allocations: 65.05 kB / 379.1 MB, free: 83.08 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002099/0.6591, allocations: 376.5 kB / 379.4 MB, free: 82.79 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004202/0.6595, allocations: 476.4 kB / 379.9 MB, free: 82.45 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001324/0.6597, allocations: 27.62 kB / 379.9 MB, free: 82.43 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000101/0.6598, allocations: 368.2 kB / 380.3 MB, free: 82.09 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001365/0.6612, allocations: 0.554 MB / 380.9 MB, free: 81.88 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001436/0.6626, allocations: 0.6693 MB / 381.5 MB, free: 81.58 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001229/0.6639, allocations: 0.4953 MB / 382 MB, free: 81.41 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.136e-06/0.6639, allocations: 0 / 382 MB, free: 81.41 MB / 314.7 MB Notification: Performance of matching and sorting (n=179) (initialization): time 0.004863/0.6688, allocations: 1.85 MB / 383.9 MB, free: 80.78 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.678e-05/0.6689, allocations: 3.812 kB / 383.9 MB, free: 80.78 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.384e-05/0.6689, allocations: 7.328 kB / 383.9 MB, free: 80.77 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002312/0.6712, allocations: 0.9787 MB / 384.9 MB, free: 80.55 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001466/0.6727, allocations: 263.3 kB / 385.1 MB, free: 80.54 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002871/0.6756, allocations: 1.972 MB / 387.1 MB, free: 79.13 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00164/0.6773, allocations: 208.8 kB / 387.3 MB, free: 79.11 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002069/0.6776, allocations: 59.89 kB / 387.4 MB, free: 79.1 MB / 314.7 MB 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.0003704/0.6779, allocations: 187.2 kB / 387.5 MB, free: 78.94 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002661/0.6782, allocations: 97.59 kB / 387.6 MB, free: 78.9 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002902/0.6785, allocations: 132.9 kB / 387.8 MB, free: 78.79 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.394e-05/0.6786, allocations: 15.75 kB / 387.8 MB, free: 78.79 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.045e-05/0.6786, allocations: 0 / 387.8 MB, free: 78.79 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.533e-05/0.6786, allocations: 6.375 kB / 387.8 MB, free: 78.79 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007487/0.6861, allocations: 3.174 MB / 391 MB, free: 76.95 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.245e-05/0.6862, allocations: 0 / 391 MB, free: 76.95 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001543/0.6877, allocations: 263 kB / 391.2 MB, free: 76.75 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002291/0.69, allocations: 0.9285 MB / 392.1 MB, free: 76.02 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002639/0.6903, allocations: 57.91 kB / 392.2 MB, free: 75.98 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002545/0.6929, allocations: 1.902 MB / 394.1 MB, free: 74.11 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.662e-06/0.6929, allocations: 0 / 394.1 MB, free: 74.11 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005789/0.6987, allocations: 2.469 MB / 396.6 MB, free: 71.82 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008114/0.6996, allocations: 299.4 kB / 396.9 MB, free: 71.56 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002713/0.6999, allocations: 40 kB / 396.9 MB, free: 71.52 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001435/0.7013, allocations: 215.6 kB / 397.1 MB, free: 71.36 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005313/0.7019, allocations: 228 kB / 397.3 MB, free: 71.25 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001664/0.7021, allocations: 60.45 kB / 397.4 MB, free: 71.21 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005692/0.7027, allocations: 365.7 kB / 397.7 MB, free: 70.88 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.062e-06/0.7027, allocations: 4 kB / 397.8 MB, free: 70.88 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001401/0.7041, allocations: 346.2 kB / 398.1 MB, free: 70.55 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.0004941/0.7046, allocations: 224 kB / 398.3 MB, free: 70.34 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003086/0.7077, allocations: 1.328 MB / 399.6 MB, free: 69.07 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.164e-06/0.7078, allocations: 4 kB / 399.6 MB, free: 69.07 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001849/0.7096, allocations: 0.7332 MB / 400.4 MB, free: 68.38 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001106/0.7108, allocations: 132.8 kB / 400.5 MB, free: 68.28 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009172/0.72, allocations: 2.96 MB / 403.5 MB, free: 65.7 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005597/0.7206, allocations: 1.046 MB / 404.5 MB, free: 64.76 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000567/0.7211, allocations: 91.38 kB / 404.6 MB, free: 64.69 MB / 314.7 MB Notification: Performance of SimCode: time 1.875e-06/0.7212, allocations: 0 / 404.6 MB, free: 64.69 MB / 314.7 MB Notification: Performance of Templates: time 0.02566/0.7468, allocations: 18.32 MB / 422.9 MB, free: 47.74 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 bearingFriction.phi_support in file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat. Warning: Get data of variable bearingFriction.phi_support 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 brake.phi_support in file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat. Warning: Get data of variable brake.phi_support 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 elastoBacklash.bMax in file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat. Warning: Get data of variable elastoBacklash.bMax from file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat failed! Error: Could not read variable elastoBacklash.bMin in file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat. Warning: Get data of variable elastoBacklash.bMin from file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat failed! Error: Could not read variable elastoBacklash.phi_diff in file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat. Warning: Get data of variable elastoBacklash.phi_diff from file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat failed! Error: Could not read variable elastoBacklash.tau_c in file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat. Warning: Get data of variable elastoBacklash.tau_c from file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat failed! Error: Could not read variable elastoBacklash.tau_d in file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat. Warning: Get data of variable elastoBacklash.tau_d 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.eta_mf1_0 in file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat. Warning: Get data of variable lossyGear.eta_mf1_0 from file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat failed! Error: Could not read variable lossyGear.eta_mf2_0 in file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat. Warning: Get data of variable lossyGear.eta_mf2_0 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.phi_support in file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat. Warning: Get data of variable lossyGear.phi_support from file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat failed! Error: Could not read variable lossyGear.tau_bf1_0 in file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat. Warning: Get data of variable lossyGear.tau_bf1_0 from file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat failed! Error: Could not read variable lossyGear.tau_bf2_0 in file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat. Warning: Get data of variable lossyGear.tau_bf2_0 from file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat failed! Error: Could not read variable lossyGear.tau_bf_a_0 in file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat. Warning: Get data of variable lossyGear.tau_bf_a_0 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.free in file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat. Warning: Get data of variable oneWayClutch.free from file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat failed! Error: Could not read variable oneWayClutch.peak2 in file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat. Warning: Get data of variable oneWayClutch.peak2 from file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat failed! Error: Could not read variable oneWayClutch.sa in file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat. Warning: Get data of variable oneWayClutch.sa from file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat failed! Error: Could not read variable oneWayClutch.tau0 in file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat. Warning: Get data of variable oneWayClutch.tau0 from file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat failed! Error: Could not read variable oneWayClutch.tau0_max in file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat. Warning: Get data of variable oneWayClutch.tau0_max from file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat failed! Error: Could not read variable oneWayClutch.tau0_max_low in file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat. Warning: Get data of variable oneWayClutch.tau0_max_low 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! Error: Could not read variable springDamper.tau_c in file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat. Warning: Get data of variable springDamper.tau_c from file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat failed! Error: Could not read variable springDamper.tau_d in file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat. Warning: Get data of variable springDamper.tau_d from file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat failed! Error: Could not read variable torque.phi_support in file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat. Warning: Get data of variable torque.phi_support 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.sa,bearingFriction.startBackward,bearingFriction.startForward,bearingFriction.tau,bearingFriction.tau0,bearingFriction.tau0_max,bearingFriction.tau_pos[1,1],bearingFriction.tau_pos[1,2],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.sa,brake.startBackward,brake.startForward,brake.tau,brake.tau0,brake.tau0_max,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.tau,clutch.tau0,clutch.tau0_max,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.tau,damper.w_rel,elastoBacklash.a_rel,elastoBacklash.b,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_nominal,elastoBacklash.phi_rel,elastoBacklash.phi_rel0,elastoBacklash.tau,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.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.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.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.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.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.w,lossyGear.a_a,der(lossyGear.der(phi_b)),der(lossyGear.phi_a),der(lossyGear.phi_b),lossyGear.eta_mf1,lossyGear.eta_mf2,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.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_bf2,lossyGear.tau_bf_a,lossyGear.tau_eta,lossyGear.tau_etaPos,lossyGear.tau_eta_m,lossyGear.tau_eta_p,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.heatPort.Q_flow,oneWayClutch.heatPort.T,oneWayClutch.locked,oneWayClutch.lossPower,oneWayClutch.mue_pos[1,1],oneWayClutch.mue_pos[1,2],oneWayClutch.peak,oneWayClutch.phi_nominal,oneWayClutch.phi_rel,oneWayClutch.startForward,oneWayClutch.stuck,oneWayClutch.tau,oneWayClutch.u,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.tau,springDamper.w_rel,time,torque.flange.phi,torque.flange.tau,torque.tau