Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.HeatLosses,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Mechanics_Rotational_Examples_HeatLosses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.605/1.605, allocations: 171.2 MB / 186.7 MB, free: 1.113 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004654/0.0004656, allocations: 8 kB / 233.2 MB, free: 2.969 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08068/0.08118, allocations: 38.77 MB / 272 MB, free: 12.12 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.HeatLosses): time 0.006525/0.08775, allocations: 3.971 MB / 276 MB, free: 8.121 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00463/0.09242, allocations: 1.822 MB / 277.8 MB, free: 6.297 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004522/0.09291, allocations: 15.94 kB / 277.8 MB, free: 6.281 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003273/0.09325, allocations: 115.2 kB / 277.9 MB, free: 6.168 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001339/0.09461, allocations: 422.7 kB / 278.4 MB, free: 5.754 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001369/0.09599, allocations: 403.3 kB / 278.7 MB, free: 5.359 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001679/0.09769, allocations: 0.9864 MB / 279.7 MB, free: 4.375 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005155/0.09822, allocations: 253.5 kB / 280 MB, free: 4.113 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009612/0.09919, allocations: 0.5802 MB / 280.6 MB, free: 3.531 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001061/0.1003, allocations: 0.6618 MB / 281.2 MB, free: 2.867 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002119/0.1005, allocations: 64 kB / 281.3 MB, free: 2.805 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000711/0.1012, allocations: 227.7 kB / 281.5 MB, free: 2.582 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003698/0.1016, allocations: 263.1 kB / 281.8 MB, free: 2.324 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002868/0.1019, allocations: 209.1 kB / 282 MB, free: 2.113 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00162/0.1035, allocations: 1.072 MB / 283 MB, free: 1.039 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.1036, allocations: 4 kB / 283 MB, free: 1.035 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.1036, allocations: 0 / 283 MB, free: 1.035 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.991e-05/0.1036, allocations: 0 / 283 MB, free: 1.035 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: 243 * Number of variables: 243 Notification: Performance of Generate backend data structure: time 0.005174/0.1088, allocations: 1.399 MB / 284.4 MB, free: 15.58 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/0.1088, allocations: 8.031 kB / 284.5 MB, free: 15.57 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002946/0.1091, allocations: 152 kB / 284.6 MB, free: 15.41 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006641/0.1098, allocations: 138.6 kB / 284.7 MB, free: 15.28 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001269/0.1111, allocations: 0.5723 MB / 285.3 MB, free: 14.67 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004997/0.1116, allocations: 199.1 kB / 285.5 MB, free: 14.46 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002752/0.1119, allocations: 103.9 kB / 285.6 MB, free: 14.36 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003717/0.1156, allocations: 1.251 MB / 286.9 MB, free: 13.09 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.645e-05/0.1157, allocations: 11.89 kB / 286.9 MB, free: 13.07 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001627/0.1159, allocations: 40 kB / 286.9 MB, free: 13.04 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.154e-05/0.1159, allocations: 28 kB / 286.9 MB, free: 13.01 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004769/0.1207, allocations: 1.335 MB / 288.3 MB, free: 11.67 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009946/0.1307, allocations: 3.702 MB / 292 MB, free: 7.805 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003516/0.1342, allocations: 1.054 MB / 293 MB, free: 6.742 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001404/0.1344, allocations: 17.3 kB / 293 MB, free: 6.727 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.256e-05/0.1345, allocations: 51.88 kB / 293.1 MB, free: 6.668 MB / 250.7 MB Notification: Performance of pre-optimization done (n=129): time 3.877e-06/0.1345, allocations: 0 / 293.1 MB, free: 6.668 MB / 250.7 MB Notification: Performance of matching and sorting (n=141): time 0.02318/0.1577, allocations: 5.79 MB / 298.9 MB, free: 0.7148 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.141e-05/0.1578, allocations: 98.38 kB / 299 MB, free: 0.6016 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001051/0.1588, allocations: 0.5887 MB / 299.6 MB, free: 8 kB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.2012/0.36, allocations: 59.91 kB / 299.6 MB, free: 31.11 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000345/0.3604, allocations: 369.6 kB / 300 MB, free: 30.95 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005815/0.361, allocations: 485.5 kB / 300.5 MB, free: 30.7 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001472/0.3612, allocations: 28.67 kB / 300.5 MB, free: 30.7 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.3613, allocations: 363.8 kB / 300.8 MB, free: 30.39 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002027/0.3633, allocations: 0.5699 MB / 301.4 MB, free: 30.39 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00191/0.3653, allocations: 0.707 MB / 302.1 MB, free: 30.23 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0016/0.3669, allocations: 0.5128 MB / 302.6 MB, free: 30.04 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.3669, allocations: 0 / 302.6 MB, free: 30.04 MB / 250.7 MB Notification: Performance of matching and sorting (n=179) (initialization): time 0.006212/0.3731, allocations: 2.028 MB / 304.7 MB, free: 29.36 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.471e-05/0.3732, allocations: 10.84 kB / 304.7 MB, free: 29.36 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.339e-05/0.3732, allocations: 1.094 kB / 304.7 MB, free: 29.36 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002527/0.3757, allocations: 0.7692 MB / 305.4 MB, free: 29.12 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001869/0.3776, allocations: 262.9 kB / 305.7 MB, free: 29.1 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003163/0.3808, allocations: 1.962 MB / 307.7 MB, free: 27.68 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002163/0.383, allocations: 208.2 kB / 307.9 MB, free: 27.64 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001514/0.3832, allocations: 55.28 kB / 307.9 MB, free: 27.62 MB / 250.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.0005815/0.3838, allocations: 267.4 kB / 308.2 MB, free: 27.41 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002342/0.384, allocations: 93.72 kB / 308.3 MB, free: 27.37 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003262/0.3843, allocations: 133 kB / 308.4 MB, free: 27.25 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.71e-05/0.3844, allocations: 18.27 kB / 308.4 MB, free: 27.25 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.056e-05/0.3844, allocations: 1.219 kB / 308.4 MB, free: 27.25 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.764e-05/0.3844, allocations: 6.891 kB / 308.4 MB, free: 27.25 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009166/0.3936, allocations: 3.308 MB / 311.7 MB, free: 25.87 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.487e-06/0.3936, allocations: 0.5625 kB / 311.7 MB, free: 25.87 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002042/0.3957, allocations: 262.3 kB / 312 MB, free: 25.84 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002365/0.3981, allocations: 0.7352 MB / 312.7 MB, free: 25.62 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001493/0.3982, allocations: 46.98 kB / 312.8 MB, free: 25.6 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003095/0.4013, allocations: 1.889 MB / 314.7 MB, free: 24.23 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/0.4014, allocations: 3.969 kB / 314.7 MB, free: 24.23 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008614/0.41, allocations: 2.731 MB / 317.4 MB, free: 23.07 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006472/0.4107, allocations: 284.5 kB / 317.7 MB, free: 22.82 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003143/0.411, allocations: 43.39 kB / 317.7 MB, free: 22.8 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001972/0.413, allocations: 214.6 kB / 317.9 MB, free: 22.71 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005824/0.4136, allocations: 220.8 kB / 318.1 MB, free: 22.49 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001423/0.4138, allocations: 51.95 kB / 318.2 MB, free: 22.44 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0006426/0.4144, allocations: 418.8 kB / 318.6 MB, free: 22.03 MB / 250.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.4144, allocations: 0.6562 kB / 318.6 MB, free: 22.03 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.001132/0.4156, allocations: 335 kB / 318.9 MB, free: 21.71 MB / 250.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,oneWayClutch.stuck,oneWayClutch.startForward,brake.startBackward,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.008626/0.4242, allocations: 3.372 MB / 322.3 MB, free: 18.31 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.004645/0.4289, allocations: 1.489 MB / 323.8 MB, free: 16.83 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.4289, allocations: 0 / 323.8 MB, free: 16.83 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002771/0.4317, allocations: 0.8445 MB / 324.6 MB, free: 15.98 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001274/0.433, allocations: 134.7 kB / 324.8 MB, free: 15.86 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0263/0.4593, allocations: 8.284 MB / 333 MB, free: 7.418 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005535/0.4599, allocations: 1.055 MB / 334.1 MB, free: 6.336 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009115/0.4608, allocations: 352 kB / 334.4 MB, free: 5.992 MB / 250.7 MB Notification: Performance of SimCode: time 1.272e-06/0.4609, allocations: 0 / 334.4 MB, free: 5.992 MB / 250.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.389/3.85, allocations: 21.97 MB / 356.4 MB, free: 15.99 MB / 282.7 MB "Warning: Resultfile and Reference have different end time points! Reffile[20258]=1.000000 File[2]=0.010101 Error: Could not read variable bearingFriction.Backward in file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat. Warning: Get data of variable bearingFriction.Backward from file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat failed! Error: Could not read variable bearingFriction.Forward in file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat. Warning: Get data of variable bearingFriction.Forward from file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat failed! Error: Could not read variable bearingFriction.Free in file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat. Warning: Get data of variable bearingFriction.Free from file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat failed! Error: Could not read variable bearingFriction.Stuck in file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat. Warning: Get data of variable bearingFriction.Stuck from file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat failed! Error: Could not read variable bearingFriction.Unknown in file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat. Warning: Get data of variable bearingFriction.Unknown from file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat failed! Error: Could not read variable brake.Backward in file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat. Warning: Get data of variable brake.Backward from file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat failed! Error: Could not read variable brake.Forward in file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat. Warning: Get data of variable brake.Forward from file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat failed! Error: Could not read variable brake.Free in file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat. Warning: Get data of variable brake.Free from file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat failed! Error: Could not read variable brake.Stuck in file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat. Warning: Get data of variable brake.Stuck from file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat failed! Error: Could not read variable brake.Unknown in file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat. Warning: Get data of variable brake.Unknown from file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat failed! Error: Could not read variable clutch.Backward in file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat. Warning: Get data of variable clutch.Backward from file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat failed! Error: Could not read variable clutch.Forward in file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat. Warning: Get data of variable clutch.Forward from file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat failed! Error: Could not read variable clutch.Free in file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat. Warning: Get data of variable clutch.Free from file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat failed! Error: Could not read variable clutch.Stuck in file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat. Warning: Get data of variable clutch.Stuck from file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat failed! Error: Could not read variable clutch.Unknown in file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat. Warning: Get data of variable clutch.Unknown from file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat failed! Error: Could not read variable elastoBacklash.bEps in file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat. Warning: Get data of variable elastoBacklash.bEps from file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat failed! Error: Could not read variable lossyGear.Backward in file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat. Warning: Get data of variable lossyGear.Backward from file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat failed! Error: Could not read variable lossyGear.Forward in file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat. Warning: Get data of variable lossyGear.Forward from file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat failed! Error: Could not read variable lossyGear.Free in file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat. Warning: Get data of variable lossyGear.Free from file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat failed! Error: Could not read variable lossyGear.Stuck in file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat. Warning: Get data of variable lossyGear.Stuck from file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat failed! Error: Could not read variable lossyGear.Unknown in file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat. Warning: Get data of variable lossyGear.Unknown from file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat failed! Error: Could not read variable lossyGear.der(w_a) in file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat. Warning: Get data of variable lossyGear.der(w_a) from file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat failed! Error: Could not read variable lossyGear.flange_b.der(phi) in file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat. Warning: Get data of variable lossyGear.flange_b.der(phi) from file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat failed! Error: Could not read variable lossyGear.flange_b.der(phi,2) in file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat. Warning: Get data of variable lossyGear.flange_b.der(phi,2) from file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat failed! Error: Could not read variable lossyGear.unitAngularAcceleration in file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat. Warning: Get data of variable lossyGear.unitAngularAcceleration from file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat failed! Error: Could not read variable lossyGear.unitTorque in file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat. Warning: Get data of variable lossyGear.unitTorque from file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat failed! Error: Could not read variable oneWayClutch.eps0 in file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat. Warning: Get data of variable oneWayClutch.eps0 from file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat failed! Error: Could not read variable oneWayClutch.unitAngularAcceleration in file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat. Warning: Get data of variable oneWayClutch.unitAngularAcceleration from file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat failed! Error: Could not read variable oneWayClutch.unitTorque in file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat. Warning: Get data of variable oneWayClutch.unitTorque from file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat failed! Error: Could not read variable sine.pi in file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat. Warning: Get data of variable sine.pi from file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat failed! Error: Could not read variable sine2.pi in file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat. Warning: Get data of variable sine2.pi from file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.HeatLosses_res.mat failed! " Variables in the reference:time,clutch.phi_rel,clutch.w_rel,damper.phi_rel,damper.w_rel,elastoBacklash.phi_rel,elastoBacklash.w_rel,inertia5.phi,inertia5.w,oneWayClutch.phi_rel,oneWayClutch.w_rel,springDamper.phi_rel,springDamper.w_rel,bearingFriction.mode,bearingFriction.startBackward,bearingFriction.startForward,brake.mode,brake.startBackward,brake.startForward,clutch.mode,clutch.startBackward,clutch.startForward,lossyGear.mode,oneWayClutch.startForward,oneWayClutch.stuck Variables in the result:TAmbient.T,TAmbient.port.Q_flow,TAmbient.port.T,bearingFriction.a,bearingFriction.a_relfric,bearingFriction.flange_a.phi,bearingFriction.flange_a.tau,bearingFriction.flange_b.phi,bearingFriction.flange_b.tau,bearingFriction.free,bearingFriction.heatPort.Q_flow,bearingFriction.heatPort.T,bearingFriction.locked,bearingFriction.lossPower,bearingFriction.mode,bearingFriction.peak,bearingFriction.phi,bearingFriction.phi_support,bearingFriction.sa,bearingFriction.startBackward,bearingFriction.startForward,bearingFriction.tau,bearingFriction.tau0,bearingFriction.tau0_max,bearingFriction.tau_pos[1,1],bearingFriction.tau_pos[1,2],bearingFriction.useHeatPort,bearingFriction.useSupport,bearingFriction.w,bearingFriction.w_relfric,bearingFriction.w_small,brake.a,brake.a_relfric,brake.cgeo,brake.f_normalized,brake.flange_a.phi,brake.flange_a.tau,brake.flange_b.phi,brake.flange_b.tau,brake.fn,brake.fn_max,brake.free,brake.heatPort.Q_flow,brake.heatPort.T,brake.locked,brake.lossPower,brake.mode,brake.mue0,brake.mue_pos[1,1],brake.mue_pos[1,2],brake.peak,brake.phi,brake.phi_support,brake.sa,brake.startBackward,brake.startForward,brake.tau,brake.tau0,brake.tau0_max,brake.useHeatPort,brake.useSupport,brake.w,brake.w_relfric,brake.w_small,clutch.a_rel,clutch.a_relfric,clutch.cgeo,clutch.f_normalized,clutch.flange_a.phi,clutch.flange_a.tau,clutch.flange_b.phi,clutch.flange_b.tau,clutch.fn,clutch.fn_max,clutch.free,clutch.heatPort.Q_flow,clutch.heatPort.T,clutch.locked,clutch.lossPower,clutch.mode,clutch.mue0,clutch.mue_pos[1,1],clutch.mue_pos[1,2],clutch.peak,clutch.phi_nominal,clutch.phi_rel,clutch.sa,clutch.startBackward,clutch.startForward,clutch.stateSelect,clutch.tau,clutch.tau0,clutch.tau0_max,clutch.useHeatPort,clutch.w_rel,clutch.w_relfric,clutch.w_small,const.k,const.y,convection.Gc,convection.Q_flow,convection.dT,convection.fluid.Q_flow,convection.fluid.T,convection.solid.Q_flow,convection.solid.T,damper.a_rel,damper.d,damper.flange_a.phi,damper.flange_a.tau,damper.flange_b.phi,damper.flange_b.tau,damper.heatPort.Q_flow,damper.heatPort.T,damper.lossPower,damper.phi_nominal,damper.phi_rel,damper.stateSelect,damper.tau,damper.useHeatPort,damper.w_rel,der(bearingFriction.phi),der(brake.phi),der(clutch.phi_rel),der(clutch.w_rel),der(damper.phi_rel),der(damper.w_rel),der(der(lossyGear.phi_b)),der(elastoBacklash.phi_rel),der(elastoBacklash.w_rel),der(inertia1.phi),der(inertia1.w),der(inertia2.phi),der(inertia2.w),der(inertia3.w),der(inertia4.w),der(inertia5.phi),der(inertia5.w),der(inertia6.w),der(lossyGear.phi_a),der(lossyGear.phi_b),der(oneWayClutch.phi_rel),der(oneWayClutch.w_rel),der(springDamper.phi_rel),der(springDamper.w_rel),elastoBacklash.a_rel,elastoBacklash.b,elastoBacklash.bMax,elastoBacklash.bMin,elastoBacklash.c,elastoBacklash.d,elastoBacklash.flange_a.phi,elastoBacklash.flange_a.tau,elastoBacklash.flange_b.phi,elastoBacklash.flange_b.tau,elastoBacklash.heatPort.Q_flow,elastoBacklash.heatPort.T,elastoBacklash.lossPower,elastoBacklash.phi_diff,elastoBacklash.phi_nominal,elastoBacklash.phi_rel,elastoBacklash.phi_rel0,elastoBacklash.stateSelect,elastoBacklash.tau,elastoBacklash.tau_c,elastoBacklash.tau_d,elastoBacklash.useHeatPort,elastoBacklash.w_rel,fixed.flange.phi,fixed.flange.tau,fixed.phi0,inertia1.J,inertia1.a,inertia1.flange_a.phi,inertia1.flange_a.tau,inertia1.flange_b.phi,inertia1.flange_b.tau,inertia1.phi,inertia1.stateSelect,inertia1.w,inertia2.J,inertia2.a,inertia2.flange_a.phi,inertia2.flange_a.tau,inertia2.flange_b.phi,inertia2.flange_b.tau,inertia2.phi,inertia2.stateSelect,inertia2.w,inertia3.J,inertia3.a,inertia3.flange_a.phi,inertia3.flange_a.tau,inertia3.flange_b.phi,inertia3.flange_b.tau,inertia3.phi,inertia3.stateSelect,inertia3.w,inertia4.J,inertia4.a,inertia4.flange_a.phi,inertia4.flange_a.tau,inertia4.flange_b.phi,inertia4.flange_b.tau,inertia4.phi,inertia4.stateSelect,inertia4.w,inertia5.J,inertia5.a,inertia5.flange_a.phi,inertia5.flange_a.tau,inertia5.flange_b.phi,inertia5.flange_b.tau,inertia5.phi,inertia5.stateSelect,inertia5.w,inertia6.J,inertia6.a,inertia6.flange_a.phi,inertia6.flange_a.tau,inertia6.flange_b.phi,inertia6.flange_b.tau,inertia6.phi,inertia6.stateSelect,inertia6.w,lossyGear.a_a,lossyGear.eta_mf1,lossyGear.eta_mf1_0,lossyGear.eta_mf2,lossyGear.eta_mf2_0,lossyGear.flange_a.phi,lossyGear.flange_a.tau,lossyGear.flange_b.phi,lossyGear.flange_b.tau,lossyGear.heatPort.Q_flow,lossyGear.heatPort.T,lossyGear.ideal,lossyGear.interpolation_result[1,1],lossyGear.interpolation_result[1,2],lossyGear.interpolation_result[1,3],lossyGear.interpolation_result[1,4],lossyGear.locked,lossyGear.lossPower,lossyGear.lossTable[1,1],lossyGear.lossTable[1,2],lossyGear.lossTable[1,3],lossyGear.lossTable[1,4],lossyGear.lossTable[1,5],lossyGear.lossTable[2,1],lossyGear.lossTable[2,2],lossyGear.lossTable[2,3],lossyGear.lossTable[2,4],lossyGear.lossTable[2,5],lossyGear.mode,lossyGear.phi_a,lossyGear.phi_b,lossyGear.phi_support,lossyGear.quadrant1,lossyGear.quadrant1_p,lossyGear.quadrant2,lossyGear.quadrant2_p,lossyGear.quadrant3,lossyGear.quadrant3_m,lossyGear.quadrant4,lossyGear.quadrant4_m,lossyGear.ratio,lossyGear.sa,lossyGear.startBackward,lossyGear.startForward,lossyGear.tauLoss,lossyGear.tauLossMax,lossyGear.tauLossMax_p,lossyGear.tauLossMin,lossyGear.tauLossMin_m,lossyGear.tau_aPos,lossyGear.tau_bf1,lossyGear.tau_bf1_0,lossyGear.tau_bf2,lossyGear.tau_bf2_0,lossyGear.tau_bf_a,lossyGear.tau_bf_a_0,lossyGear.tau_eta,lossyGear.tau_etaPos,lossyGear.tau_eta_m,lossyGear.tau_eta_p,lossyGear.useHeatPort,lossyGear.useSupport,lossyGear.w_a,oneWayClutch.a_rel,oneWayClutch.cgeo,oneWayClutch.f_normalized,oneWayClutch.flange_a.phi,oneWayClutch.flange_a.tau,oneWayClutch.flange_b.phi,oneWayClutch.flange_b.tau,oneWayClutch.fn,oneWayClutch.fn_max,oneWayClutch.free,oneWayClutch.heatPort.Q_flow,oneWayClutch.heatPort.T,oneWayClutch.locked,oneWayClutch.lossPower,oneWayClutch.mue0,oneWayClutch.mue_pos[1,1],oneWayClutch.mue_pos[1,2],oneWayClutch.peak,oneWayClutch.peak2,oneWayClutch.phi_nominal,oneWayClutch.phi_rel,oneWayClutch.sa,oneWayClutch.startForward,oneWayClutch.stateSelect,oneWayClutch.stuck,oneWayClutch.tau,oneWayClutch.tau0,oneWayClutch.tau0_max,oneWayClutch.tau0_max_low,oneWayClutch.u,oneWayClutch.useHeatPort,oneWayClutch.w_rel,oneWayClutch.w_small,sine.amplitude,sine.freqHz,sine.offset,sine.phase,sine.startTime,sine.y,sine2.amplitude,sine2.freqHz,sine2.offset,sine2.phase,sine2.startTime,sine2.y,spring3.c,spring3.flange_a.phi,spring3.flange_a.tau,spring3.flange_b.phi,spring3.flange_b.tau,spring3.phi_rel,spring3.phi_rel0,spring3.tau,springDamper.a_rel,springDamper.c,springDamper.d,springDamper.flange_a.phi,springDamper.flange_a.tau,springDamper.flange_b.phi,springDamper.flange_b.tau,springDamper.heatPort.Q_flow,springDamper.heatPort.T,springDamper.lossPower,springDamper.phi_nominal,springDamper.phi_rel,springDamper.phi_rel0,springDamper.stateSelect,springDamper.tau,springDamper.tau_c,springDamper.tau_d,springDamper.useHeatPort,springDamper.w_rel,time,torque.flange.phi,torque.flange.tau,torque.phi_support,torque.tau,torque.useSupport