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.LossyGearDemo2.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.LossyGearDemo2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|Inertia2.phi|Inertia2.w|bearingFriction.mode|bearingFriction.startBackward|bearingFriction.startForward|gear.mode",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2") Notification: Performance of loadModel(Modelica): time 1.705/1.705, allocations: 171.2 MB / 186.7 MB, free: 1.035 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003678/0.0003681, allocations: 8 kB / 233.2 MB, free: 3.047 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0716/0.07199, allocations: 38.76 MB / 271.9 MB, free: 12.2 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.LossyGearDemo2): time 0.003185/0.07522, allocations: 2.147 MB / 274.1 MB, free: 10.02 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002377/0.07763, allocations: 1.187 MB / 275.3 MB, free: 8.836 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002215/0.07788, allocations: 4 kB / 275.3 MB, free: 8.832 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002109/0.07811, allocations: 51.66 kB / 275.3 MB, free: 8.781 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006827/0.07882, allocations: 179.5 kB / 275.5 MB, free: 8.605 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000665/0.0795, allocations: 211.6 kB / 275.7 MB, free: 8.398 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006018/0.08012, allocations: 407.6 kB / 276.1 MB, free: 8 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00023/0.08037, allocations: 93.97 kB / 276.2 MB, free: 7.902 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004255/0.08081, allocations: 251.2 kB / 276.4 MB, free: 7.656 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004435/0.08127, allocations: 295 kB / 276.7 MB, free: 7.367 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 8.454e-05/0.08137, allocations: 24 kB / 276.7 MB, free: 7.344 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004005/0.08178, allocations: 187.8 kB / 276.9 MB, free: 7.16 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001753/0.08198, allocations: 115.7 kB / 277 MB, free: 7.047 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001219/0.08212, allocations: 97.45 kB / 277.1 MB, free: 6.945 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007442/0.08287, allocations: 495.1 kB / 277.6 MB, free: 6.461 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.092e-06/0.0829, allocations: 4 kB / 277.6 MB, free: 6.457 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.133e-06/0.08291, allocations: 0 / 277.6 MB, free: 6.457 MB / 234.7 MB Notification: Performance of Transformations before backend: time 8.186e-06/0.08293, allocations: 0 / 277.6 MB, free: 6.457 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.001727/0.08466, allocations: 0.7486 MB / 278.4 MB, free: 5.66 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.08472, allocations: 8.031 kB / 278.4 MB, free: 5.652 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000404/0.08514, allocations: 67.42 kB / 278.4 MB, free: 5.586 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000667/0.08582, allocations: 349.3 kB / 278.8 MB, free: 5.203 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001741/0.08601, allocations: 100.3 kB / 278.9 MB, free: 5.094 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001156/0.08614, allocations: 43.91 kB / 278.9 MB, free: 5.051 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001411/0.08757, allocations: 0.5488 MB / 279.5 MB, free: 4.488 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.007e-05/0.08762, allocations: 8 kB / 279.5 MB, free: 4.48 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.858e-05/0.0877, allocations: 16 kB / 279.5 MB, free: 4.465 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.382e-05/0.08773, allocations: 8 kB / 279.5 MB, free: 4.457 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001817/0.08955, allocations: 0.6401 MB / 280.1 MB, free: 3.816 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003261/0.09284, allocations: 1.299 MB / 281.4 MB, free: 2.457 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001539/0.09442, allocations: 0.5523 MB / 282 MB, free: 1.898 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.624e-05/0.09451, allocations: 8.562 kB / 282 MB, free: 1.891 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.624e-05/0.09457, allocations: 39.12 kB / 282 MB, free: 1.844 MB / 234.7 MB Notification: Performance of pre-optimization done (n=61): time 4.497e-06/0.09459, allocations: 4 kB / 282 MB, free: 1.84 MB / 234.7 MB Notification: Performance of matching and sorting (n=69): time 0.009355/0.104, allocations: 3.009 MB / 285.1 MB, free: 14.7 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.236e-05/0.1041, allocations: 85.67 kB / 285.1 MB, free: 14.6 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005566/0.1046, allocations: 334.8 kB / 285.5 MB, free: 14.27 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.345e-05/0.1047, allocations: 45.7 kB / 285.5 MB, free: 14.21 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001679/0.1049, allocations: 220 kB / 285.7 MB, free: 14 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002679/0.1052, allocations: 228.9 kB / 285.9 MB, free: 13.77 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.234e-05/0.1053, allocations: 8 kB / 286 MB, free: 13.77 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001856/0.1055, allocations: 338.8 kB / 286.3 MB, free: 13.43 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008332/0.1063, allocations: 281.2 kB / 286.6 MB, free: 13.15 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009281/0.1073, allocations: 362.4 kB / 286.9 MB, free: 12.79 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007641/0.108, allocations: 259.2 kB / 287.2 MB, free: 12.54 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.819e-06/0.1081, allocations: 0 / 287.2 MB, free: 12.54 MB / 250.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.002751/0.1108, allocations: 0.9826 MB / 288.1 MB, free: 11.54 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.368e-05/0.1109, allocations: 8 kB / 288.2 MB, free: 11.54 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.657e-06/0.1109, allocations: 4 kB / 288.2 MB, free: 11.53 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001362/0.1123, allocations: 418.8 kB / 288.6 MB, free: 11.12 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005064/0.1128, allocations: 83.89 kB / 288.7 MB, free: 11.04 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001842/0.1147, allocations: 1.06 MB / 289.7 MB, free: 9.953 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006169/0.1153, allocations: 83.98 kB / 289.8 MB, free: 9.871 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.993e-05/0.1154, allocations: 27.92 kB / 289.8 MB, free: 9.844 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 15 (bearingFriction.free,gear.tau_aPos,gear.startForward,gear.startBackward,gear.locked,$PRE.gear.mode,gear.mode,$PRE.bearingFriction.startForward,bearingFriction.startForward,$PRE.bearingFriction.startBackward,bearingFriction.startBackward,bearingFriction.locked,$PRE.bearingFriction.mode,bearingFriction.mode,gear.ideal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 32} Notification: Performance of prepare postOptimizeDAE: time 0.0003488/0.1158, allocations: 173.8 kB / 290 MB, free: 9.664 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001318/0.1159, allocations: 39.53 kB / 290 MB, free: 9.625 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001708/0.1161, allocations: 67.77 kB / 290.1 MB, free: 9.555 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.32e-06/0.1161, allocations: 4 kB / 290.1 MB, free: 9.551 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.282e-06/0.1161, allocations: 4 kB / 290.1 MB, free: 9.547 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.285e-05/0.1162, allocations: 11.94 kB / 290.1 MB, free: 9.535 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004678/0.1208, allocations: 1.847 MB / 292 MB, free: 7.621 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.194e-06/0.1209, allocations: 0 / 292 MB, free: 7.621 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004978/0.1214, allocations: 87.88 kB / 292 MB, free: 7.535 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001238/0.1226, allocations: 388.5 kB / 292.4 MB, free: 7.152 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.201e-05/0.1227, allocations: 19.97 kB / 292.4 MB, free: 7.133 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001724/0.1245, allocations: 1.017 MB / 293.5 MB, free: 6.09 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.639e-06/0.1245, allocations: 4.031 kB / 293.5 MB, free: 6.086 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003715/0.1282, allocations: 1.399 MB / 294.9 MB, free: 4.664 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003899/0.1287, allocations: 180.5 kB / 295 MB, free: 4.469 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001244/0.1288, allocations: 24 kB / 295.1 MB, free: 4.445 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000555/0.1294, allocations: 67.94 kB / 295.1 MB, free: 4.379 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002654/0.1297, allocations: 108.4 kB / 295.2 MB, free: 4.273 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.993e-05/0.1298, allocations: 19.98 kB / 295.3 MB, free: 4.254 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0004205/0.1302, allocations: 241.9 kB / 295.5 MB, free: 4.016 MB / 250.7 MB Notification: Performance of sort global known variables: time 7.29e-07/0.1302, allocations: 0 / 295.5 MB, free: 4.016 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0007109/0.1309, allocations: 156 kB / 295.6 MB, free: 3.863 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (Inertia2.phi,Inertia2.w) * Number of discrete variables: 9 (gear.tau_aPos,gear.startForward,gear.startBackward,gear.locked,gear.mode,bearingFriction.startForward,bearingFriction.startBackward,bearingFriction.locked,bearingFriction.mode) * Number of discrete states: 4 (bearingFriction.mode,bearingFriction.startBackward,bearingFriction.startForward,gear.mode) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 38 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 29} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003562/0.1313, allocations: 158.6 kB / 295.8 MB, free: 3.703 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.002101/0.1334, allocations: 0.7119 MB / 296.5 MB, free: 2.996 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.1334, allocations: 3.938 kB / 296.5 MB, free: 2.992 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001164/0.1346, allocations: 388.1 kB / 296.9 MB, free: 2.609 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004966/0.1351, allocations: 42.55 kB / 296.9 MB, free: 2.566 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003573/0.1387, allocations: 1.402 MB / 298.3 MB, free: 1.125 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005869/0.1393, allocations: 0.8329 MB / 299.2 MB, free: 268 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002437/0.1396, allocations: 43.41 kB / 299.2 MB, free: 224 kB / 250.7 MB Notification: Performance of SimCode: time 1.696e-06/0.1396, allocations: 0 / 299.2 MB, free: 224 kB / 250.7 MB Notification: Performance of Templates: time 0.2276/0.3672, allocations: 6.899 MB / 306.1 MB, free: 29.94 MB / 250.7 MB "Error: Could not read variable DriveSine.pi in file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_res.mat. Warning: Get data of variable DriveSine.pi from file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_res.mat failed! Error: Could not read variable bearingFriction.Backward in file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_res.mat. Warning: Get data of variable bearingFriction.Backward from file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_res.mat failed! Error: Could not read variable bearingFriction.Forward in file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_res.mat. Warning: Get data of variable bearingFriction.Forward from file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_res.mat failed! Error: Could not read variable bearingFriction.Free in file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_res.mat. Warning: Get data of variable bearingFriction.Free from file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_res.mat failed! Error: Could not read variable bearingFriction.Stuck in file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_res.mat. Warning: Get data of variable bearingFriction.Stuck from file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_res.mat failed! Error: Could not read variable bearingFriction.Unknown in file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_res.mat. Warning: Get data of variable bearingFriction.Unknown from file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_res.mat failed! Error: Could not read variable gear.Backward in file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_res.mat. Warning: Get data of variable gear.Backward from file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_res.mat failed! Error: Could not read variable gear.Forward in file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_res.mat. Warning: Get data of variable gear.Forward from file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_res.mat failed! Error: Could not read variable gear.Free in file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_res.mat. Warning: Get data of variable gear.Free from file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_res.mat failed! Error: Could not read variable gear.Stuck in file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_res.mat. Warning: Get data of variable gear.Stuck from file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_res.mat failed! Error: Could not read variable gear.Unknown in file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_res.mat. Warning: Get data of variable gear.Unknown from file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_res.mat failed! Error: Could not read variable gear.eta_mf1_0 in file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_res.mat. Warning: Get data of variable gear.eta_mf1_0 from file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_res.mat failed! Error: Could not read variable gear.eta_mf2_0 in file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_res.mat. Warning: Get data of variable gear.eta_mf2_0 from file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_res.mat failed! Error: Could not read variable gear.flange_b.der(phi) in file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_res.mat. Warning: Get data of variable gear.flange_b.der(phi) from file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_res.mat failed! Error: Could not read variable gear.tau_bf1_0 in file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_res.mat. Warning: Get data of variable gear.tau_bf1_0 from file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_res.mat failed! Error: Could not read variable gear.tau_bf2_0 in file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_res.mat. Warning: Get data of variable gear.tau_bf2_0 from file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_res.mat failed! Error: Could not read variable gear.tau_bf_a_0 in file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_res.mat. Warning: Get data of variable gear.tau_bf_a_0 from file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_res.mat failed! Error: Could not read variable gear.unitAngularAcceleration in file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_res.mat. Warning: Get data of variable gear.unitAngularAcceleration from file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_res.mat failed! Error: Could not read variable gear.unitTorque in file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_res.mat. Warning: Get data of variable gear.unitTorque from file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_res.mat failed! " Variables in the reference:time,Inertia2.phi,Inertia2.w,bearingFriction.mode,bearingFriction.startBackward,bearingFriction.startForward,gear.mode Variables in the result:DriveSine.amplitude,DriveSine.freqHz,DriveSine.offset,DriveSine.phase,DriveSine.startTime,DriveSine.y,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,PowerLoss,bearingFriction.a,bearingFriction.a_relfric,der(bearingFriction.phi),der(bearingFriction.w),bearingFriction.flange_a.phi,bearingFriction.flange_a.tau,bearingFriction.flange_b.phi,bearingFriction.flange_b.tau,bearingFriction.free,bearingFriction.locked,bearingFriction.lossPower,bearingFriction.mode,bearingFriction.peak,bearingFriction.phi,bearingFriction.sa,bearingFriction.startBackward,bearingFriction.startForward,bearingFriction.support.phi,bearingFriction.support.tau,bearingFriction.tau,bearingFriction.tau0,bearingFriction.tau0_max,bearingFriction.tau_pos[1,1],bearingFriction.tau_pos[1,2],bearingFriction.tau_pos[2,1],bearingFriction.tau_pos[2,2],bearingFriction.w,bearingFriction.w_relfric,bearingFriction.w_small,fixed.flange.phi,fixed.flange.tau,fixed.phi0,gear.a_a,der(gear.der(phi_b)),der(gear.phi_a),der(gear.phi_b),der(gear.w_a),gear.eta_mf1,gear.eta_mf2,gear.flange_a.phi,gear.flange_a.tau,gear.flange_b.phi,gear.flange_b.tau,gear.ideal,gear.interpolation_result[1,1],gear.interpolation_result[1,2],gear.interpolation_result[1,3],gear.interpolation_result[1,4],gear.locked,gear.lossPower,gear.lossTable[1,1],gear.lossTable[1,2],gear.lossTable[1,3],gear.lossTable[1,4],gear.lossTable[1,5],gear.mode,gear.phi_a,gear.phi_b,gear.quadrant1,gear.quadrant1_p,gear.quadrant2,gear.quadrant2_p,gear.quadrant3,gear.quadrant3_m,gear.quadrant4,gear.quadrant4_m,gear.ratio,gear.sa,gear.startBackward,gear.startForward,gear.support.phi,gear.support.tau,gear.tauLoss,gear.tauLossMax,gear.tauLossMax_p,gear.tauLossMin,gear.tauLossMin_m,gear.tau_aPos,gear.tau_bf1,gear.tau_bf2,gear.tau_bf_a,gear.tau_eta,gear.tau_etaPos,gear.tau_eta_m,gear.tau_eta_p,gear.w_a,load.duration,load.height,load.offset,load.startTime,load.y,time,torque1.flange.phi,torque1.flange.tau,torque1.support.phi,torque1.support.tau,torque1.tau,torque2.flange.phi,torque2.flange.tau,torque2.support.phi,torque2.support.tau,torque2.tau