Running command: translateModel(Modelica.Mechanics.Rotational.Examples.ElasticBearing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|load.phi|load.w|shaft.phi|shaft.w|springDamper.phi_rel|springDamper.w_rel",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Mechanics.Rotational.Examples.ElasticBearing") Notification: Performance of loadModel(Modelica): time 1.862/1.862, allocations: 194.9 MB / 208.4 MB, free: 3.242 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.302e-05/4.32e-05, allocations: 4.938 kB / 255.3 MB, free: 3.191 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09227/0.09235, allocations: 44.5 MB / 299.8 MB, free: 6.641 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4131/0.5055, allocations: 73.38 MB / 373.2 MB, free: 22.37 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002123/0.5057, allocations: 69.34 kB / 373.3 MB, free: 22.37 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01555/0.5213, allocations: 4.047 MB / 377.3 MB, free: 21.78 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.111e-06/0.5213, allocations: 0 / 377.3 MB, free: 21.78 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.888e-05/0.5214, allocations: 5.219 kB / 377.3 MB, free: 21.78 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0006642/0.522, allocations: 499.9 kB / 377.8 MB, free: 21.38 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.5221, allocations: 13.78 kB / 377.8 MB, free: 21.37 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.148e-05/0.5222, allocations: 29.34 kB / 377.9 MB, free: 21.36 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002456/0.5224, allocations: 233.3 kB / 378.1 MB, free: 21.13 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.474e-05/0.5225, allocations: 21.59 kB / 378.1 MB, free: 21.13 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.221e-05/0.5226, allocations: 28.69 kB / 378.1 MB, free: 21.13 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000458/0.523, allocations: 204.5 kB / 378.3 MB, free: 21.09 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.463e-05/0.5231, allocations: 4.969 kB / 378.3 MB, free: 21.09 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.058e-05/0.5231, allocations: 9.594 kB / 378.4 MB, free: 21.09 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/0.5231, allocations: 6.156 kB / 378.4 MB, free: 21.09 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003737/0.5235, allocations: 145.9 kB / 378.5 MB, free: 21.09 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001419/0.525, allocations: 0.7648 MB / 379.3 MB, free: 20.72 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004845/0.5255, allocations: 196.3 kB / 379.5 MB, free: 20.7 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002019/0.5257, allocations: 102.1 kB / 379.6 MB, free: 20.68 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.801e-05/0.5257, allocations: 2.656 kB / 379.6 MB, free: 20.68 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.877e-05/0.5258, allocations: 36 kB / 379.6 MB, free: 20.64 MB / 314.7 MB Notification: Performance of pre-optimization done (n=26): time 3.438e-06/0.5258, allocations: 5.75 kB / 379.6 MB, free: 20.64 MB / 314.7 MB Notification: Performance of matching and sorting (n=28): time 0.00142/0.5272, allocations: 0.8259 MB / 380.4 MB, free: 20.14 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.456e-05/0.5272, allocations: 58.66 kB / 380.5 MB, free: 20.08 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001448/0.5274, allocations: 133.2 kB / 380.6 MB, free: 19.99 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.204e-05/0.5274, allocations: 32.72 kB / 380.7 MB, free: 19.96 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.276e-05/0.5275, allocations: 204.9 kB / 380.9 MB, free: 19.78 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.621e-05/0.5276, allocations: 105.7 kB / 381 MB, free: 19.71 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.395e-05/0.5276, allocations: 5 kB / 381 MB, free: 19.71 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.927e-05/0.5277, allocations: 325.9 kB / 381.3 MB, free: 19.39 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001581/0.5279, allocations: 63.44 kB / 381.3 MB, free: 19.39 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001804/0.5281, allocations: 96.06 kB / 381.4 MB, free: 19.36 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000182/0.5283, allocations: 76.59 kB / 381.5 MB, free: 19.36 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.543e-06/0.5283, allocations: 0 / 381.5 MB, free: 19.36 MB / 314.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004823/0.5288, allocations: 227.8 kB / 381.7 MB, free: 19.3 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.5288, allocations: 6.859 kB / 381.7 MB, free: 19.3 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.5288, allocations: 1.062 kB / 381.7 MB, free: 19.3 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.5289, allocations: 6.281 kB / 381.7 MB, free: 19.3 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003904/0.5293, allocations: 76.97 kB / 381.8 MB, free: 19.3 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.218e-05/0.5293, allocations: 6.656 kB / 381.8 MB, free: 19.29 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000179/0.5295, allocations: 18.84 kB / 381.8 MB, free: 19.29 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.34e-05/0.5295, allocations: 10.97 kB / 381.9 MB, free: 19.29 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.742e-05/0.5296, allocations: 117 kB / 382 MB, free: 19.18 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.33e-05/0.5297, allocations: 16.56 kB / 382 MB, free: 19.17 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.334e-05/0.5298, allocations: 33.67 kB / 382 MB, free: 19.16 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.5298, allocations: 6.938 kB / 382 MB, free: 19.16 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.326e-06/0.5298, allocations: 7.938 kB / 382 MB, free: 19.15 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.427e-06/0.5298, allocations: 2.984 kB / 382 MB, free: 19.15 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001607/0.5314, allocations: 0.6228 MB / 382.7 MB, free: 18.82 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.827e-06/0.5315, allocations: 0 / 382.7 MB, free: 18.82 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007568/0.5322, allocations: 81.45 kB / 382.7 MB, free: 18.82 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-05/0.5323, allocations: 1.062 kB / 382.7 MB, free: 18.82 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.768e-05/0.5323, allocations: 6.438 kB / 382.7 MB, free: 18.82 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.886e-06/0.5324, allocations: 4.578 kB / 382.8 MB, free: 18.82 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.896e-06/0.5324, allocations: 1.406 kB / 382.8 MB, free: 18.82 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001073/0.5335, allocations: 429.6 kB / 383.2 MB, free: 18.61 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.748e-05/0.5336, allocations: 94.55 kB / 383.3 MB, free: 18.5 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.546e-05/0.5337, allocations: 7.562 kB / 383.3 MB, free: 18.5 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003969/0.5341, allocations: 17.84 kB / 383.3 MB, free: 18.5 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.808e-05/0.5342, allocations: 19.52 kB / 383.3 MB, free: 18.5 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.573e-05/0.5343, allocations: 5.312 kB / 383.3 MB, free: 18.5 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000162/0.5345, allocations: 114.4 kB / 383.4 MB, free: 18.43 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.268e-06/0.5345, allocations: 4 kB / 383.4 MB, free: 18.42 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000863/0.5354, allocations: 61.44 kB / 383.5 MB, free: 18.42 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (shaft.phi,shaft.w,load.phi,load.w,springDamper.phi_rel,springDamper.w_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 28 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001943/0.5356, allocations: 107.9 kB / 383.6 MB, free: 18.33 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007116/0.5363, allocations: 177.8 kB / 383.8 MB, free: 18.32 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.057e-06/0.5364, allocations: 0 / 383.8 MB, free: 18.32 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000348/0.5367, allocations: 90.69 kB / 383.9 MB, free: 18.31 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006726/0.5374, allocations: 38.64 kB / 383.9 MB, free: 18.3 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002127/0.5396, allocations: 0.7277 MB / 384.6 MB, free: 17.83 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002254/0.5398, allocations: 0.7591 MB / 385.4 MB, free: 17.12 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.806e-05/0.5399, allocations: 21.69 kB / 385.4 MB, free: 17.12 MB / 314.7 MB Notification: Performance of SimCode: time 1.819e-06/0.54, allocations: 0 / 385.4 MB, free: 17.12 MB / 314.7 MB Notification: Performance of Templates: time 0.005458/0.5454, allocations: 2.685 MB / 388.1 MB, free: 16.9 MB / 314.7 MB "Error: Could not read variable springDamper.tau_c in file Modelica_3.2.2_cpp_Modelica.Mechanics.Rotational.Examples.ElasticBearing_res.mat. Warning: Get data of variable springDamper.tau_c from file Modelica_3.2.2_cpp_Modelica.Mechanics.Rotational.Examples.ElasticBearing_res.mat failed! Error: Could not read variable springDamper.tau_d in file Modelica_3.2.2_cpp_Modelica.Mechanics.Rotational.Examples.ElasticBearing_res.mat. Warning: Get data of variable springDamper.tau_d from file Modelica_3.2.2_cpp_Modelica.Mechanics.Rotational.Examples.ElasticBearing_res.mat failed! " Variables in the reference:time,load.phi,load.w,shaft.phi,shaft.w,springDamper.phi_rel,springDamper.w_rel Variables in the result:fixed.flange.phi,fixed.flange.tau,fixed.phi0,housing.J,housing.a,der(housing.w),housing.flange_a.phi,housing.flange_a.tau,housing.flange_b.phi,housing.flange_b.tau,housing.phi,housing.w,idealGear.flange_a.phi,idealGear.flange_a.tau,idealGear.flange_b.phi,idealGear.flange_b.tau,idealGear.phi_a,idealGear.phi_b,idealGear.ratio,idealGear.support.phi,idealGear.support.tau,load.J,load.a,der(load.phi),der(load.w),load.flange_a.phi,load.flange_a.tau,load.flange_b.phi,load.flange_b.tau,load.phi,load.w,der(multiSensor.flange_a.phi),multiSensor.flange_a.phi,multiSensor.flange_a.tau,multiSensor.flange_b.phi,multiSensor.flange_b.tau,multiSensor.power,multiSensor.tau,multiSensor.w,ramp.duration,ramp.height,ramp.offset,ramp.startTime,ramp.y,shaft.J,shaft.a,der(shaft.phi),der(shaft.w),shaft.flange_a.phi,shaft.flange_a.tau,shaft.flange_b.phi,shaft.flange_b.tau,shaft.phi,shaft.w,spring.c,spring.flange_a.phi,spring.flange_a.tau,spring.flange_b.phi,spring.flange_b.tau,spring.phi_rel,spring.phi_rel0,spring.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.lossPower,springDamper.phi_nominal,springDamper.phi_rel,springDamper.phi_rel0,springDamper.tau,springDamper.w_rel,time,torque.flange.phi,torque.flange.tau,torque.support.phi,torque.support.tau,torque.tau