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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/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.618/1.618, allocations: 171.2 MB / 186.7 MB, free: 1.043 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003559/0.0003561, allocations: 12 kB / 233.2 MB, free: 3.02 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06836/0.06874, allocations: 38.77 MB / 272 MB, free: 12.17 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3103/0.3791, allocations: 77.86 MB / 349.9 MB, free: 12.18 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002315/0.3793, allocations: 76.7 kB / 349.9 MB, free: 12.14 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1436/0.5229, allocations: 23.04 MB / 373 MB, free: 8.453 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.609e-06/0.523, allocations: 0 / 373 MB, free: 8.453 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.293e-05/0.5231, allocations: 20 kB / 373 MB, free: 8.434 MB / 298.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.004071/0.5271, allocations: 1.382 MB / 374.4 MB, free: 7.066 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.5272, allocations: 8.031 kB / 374.4 MB, free: 7.059 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007358/0.5279, allocations: 146.6 kB / 374.5 MB, free: 6.914 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00133/0.5293, allocations: 0.5489 MB / 375.1 MB, free: 6.402 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000425/0.5297, allocations: 200 kB / 375.3 MB, free: 6.223 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003342/0.5301, allocations: 104.2 kB / 375.4 MB, free: 6.156 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00346/0.5336, allocations: 1.256 MB / 376.6 MB, free: 5.246 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.64e-05/0.5337, allocations: 7.906 kB / 376.6 MB, free: 5.238 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000161/0.5338, allocations: 41.19 kB / 376.7 MB, free: 5.23 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.923e-05/0.5339, allocations: 24 kB / 376.7 MB, free: 5.207 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004182/0.5381, allocations: 1.358 MB / 378.1 MB, free: 4.203 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009352/0.5475, allocations: 3.691 MB / 381.8 MB, free: 1.164 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002884/0.5504, allocations: 1.047 MB / 382.8 MB, free: 452 kB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001046/0.5505, allocations: 20.05 kB / 382.8 MB, free: 436 kB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.058e-05/0.5506, allocations: 45.62 kB / 382.9 MB, free: 392 kB / 298.7 MB Notification: Performance of pre-optimization done (n=129): time 4.775e-06/0.5506, allocations: 0 / 382.9 MB, free: 392 kB / 298.7 MB Notification: Performance of matching and sorting (n=141): time 0.02078/0.5714, allocations: 5.882 MB / 388.7 MB, free: 10.89 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.415e-05/0.5715, allocations: 94.42 kB / 388.8 MB, free: 10.78 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001011/0.5725, allocations: 486.1 kB / 389.3 MB, free: 10.3 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002495/0.5728, allocations: 65.69 kB / 389.4 MB, free: 10.23 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003401/0.5732, allocations: 371.7 kB / 389.7 MB, free: 9.859 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006373/0.5738, allocations: 481.3 kB / 390.2 MB, free: 9.383 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001355/0.574, allocations: 31.98 kB / 390.2 MB, free: 9.352 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002347/0.5742, allocations: 358.8 kB / 390.6 MB, free: 8.992 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001823/0.5761, allocations: 0.5739 MB / 391.2 MB, free: 8.418 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001979/0.5781, allocations: 0.7075 MB / 391.9 MB, free: 7.688 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001662/0.5797, allocations: 0.5174 MB / 392.4 MB, free: 7.172 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.869e-06/0.5798, allocations: 0 / 392.4 MB, free: 7.172 MB / 314.7 MB Notification: Performance of matching and sorting (n=179) (initialization): time 0.006045/0.5858, allocations: 1.912 MB / 394.3 MB, free: 5.246 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.787e-05/0.5859, allocations: 8 kB / 394.3 MB, free: 5.238 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.5859, allocations: 0 / 394.3 MB, free: 5.238 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0029/0.5888, allocations: 1.009 MB / 395.3 MB, free: 4.223 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001501/0.5903, allocations: 259.7 kB / 395.6 MB, free: 3.969 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003764/0.5941, allocations: 1.982 MB / 397.6 MB, free: 1.934 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001614/0.5958, allocations: 211.9 kB / 397.8 MB, free: 1.727 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002141/0.596, allocations: 63.97 kB / 397.8 MB, free: 1.664 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 () * Number of clocked 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.0008045/0.5968, allocations: 261.7 kB / 398.1 MB, free: 1.398 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003339/0.5972, allocations: 94.88 kB / 398.2 MB, free: 1.305 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000346/0.5976, allocations: 137.2 kB / 398.3 MB, free: 1.168 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.797e-05/0.5976, allocations: 12 kB / 398.3 MB, free: 1.156 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.154e-05/0.5976, allocations: 4 kB / 398.3 MB, free: 1.152 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.808e-05/0.5976, allocations: 11.97 kB / 398.3 MB, free: 1.141 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009377/0.607, allocations: 3.304 MB / 401.6 MB, free: 13.76 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.38e-05/0.6071, allocations: 11.94 kB / 401.7 MB, free: 13.75 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001537/0.6086, allocations: 255.8 kB / 401.9 MB, free: 13.5 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002763/0.6114, allocations: 0.9497 MB / 402.9 MB, free: 12.54 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002328/0.6117, allocations: 51.94 kB / 402.9 MB, free: 12.49 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003574/0.6153, allocations: 1.921 MB / 404.8 MB, free: 10.51 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.372e-06/0.6153, allocations: 0 / 404.8 MB, free: 10.51 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008741/0.6241, allocations: 2.692 MB / 407.5 MB, free: 7.781 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009652/0.6251, allocations: 299.8 kB / 407.8 MB, free: 7.469 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002919/0.6254, allocations: 40.11 kB / 407.8 MB, free: 7.43 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001461/0.6269, allocations: 219.7 kB / 408.1 MB, free: 7.215 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006119/0.6275, allocations: 228.8 kB / 408.3 MB, free: 6.992 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001861/0.6277, allocations: 67.94 kB / 408.4 MB, free: 6.926 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007553/0.6285, allocations: 374.8 kB / 408.7 MB, free: 6.559 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.079e-06/0.6285, allocations: 4 kB / 408.7 MB, free: 6.555 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001314/0.6298, allocations: 339.9 kB / 409.1 MB, free: 6.223 MB / 330.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) * Number of clocked states: 0 () * 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.0005383/0.6304, allocations: 209.2 kB / 409.3 MB, free: 6.012 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.004489/0.6349, allocations: 1.469 MB / 410.7 MB, free: 4.547 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.847e-06/0.6349, allocations: 0 / 410.7 MB, free: 4.547 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002648/0.6376, allocations: 0.8325 MB / 411.6 MB, free: 3.715 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001144/0.6387, allocations: 146.4 kB / 411.7 MB, free: 3.57 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01153/0.6503, allocations: 3.806 MB / 415.5 MB, free: 15.73 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009321/0.6513, allocations: 1.051 MB / 416.6 MB, free: 14.66 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005997/0.6519, allocations: 91.31 kB / 416.6 MB, free: 14.57 MB / 346.7 MB Notification: Performance of SimCode: time 1.741e-06/0.6519, allocations: 0 / 416.6 MB, free: 14.57 MB / 346.7 MB Notification: Performance of Templates: time 0.2132/0.8651, allocations: 18.38 MB / 435 MB, free: 105 MB / 346.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