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 2.022/2.022, allocations: 195 MB / 203.2 MB, free: 13.8 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.582e-05/1.594e-05, allocations: 0 / 249.6 MB, free: 15.3 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2526/0.2526, allocations: 44.5 MB / 294.1 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1137/0.3663, allocations: 72.72 MB / 366.8 MB, free: 9.273 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002319/0.3666, allocations: 75.89 kB / 366.9 MB, free: 9.199 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01986/0.3865, allocations: 4.006 MB / 370.9 MB, free: 5.18 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.595e-06/0.3866, allocations: 0 / 370.9 MB, free: 5.18 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.197e-05/0.3866, allocations: 4 kB / 370.9 MB, free: 5.176 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.001604/0.3883, allocations: 0.4907 MB / 371.4 MB, free: 4.641 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.235e-05/0.3884, allocations: 8.031 kB / 371.4 MB, free: 4.633 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001756/0.3886, allocations: 31.62 kB / 371.4 MB, free: 4.602 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006523/0.3892, allocations: 231.2 kB / 371.7 MB, free: 4.332 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.791e-05/0.3893, allocations: 8 kB / 371.7 MB, free: 4.324 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001144/0.3894, allocations: 16 kB / 371.7 MB, free: 4.309 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008363/0.3903, allocations: 141 kB / 371.8 MB, free: 4.172 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000913/0.3912, allocations: 167.8 kB / 372 MB, free: 4 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.389e-05/0.3913, allocations: 8 kB / 372 MB, free: 3.992 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.156e-05/0.3914, allocations: 0 / 372 MB, free: 3.992 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.873e-05/0.3914, allocations: 4 kB / 372 MB, free: 3.988 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003047/0.3945, allocations: 0.6948 MB / 372.7 MB, free: 3.246 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001007/0.3956, allocations: 195.8 kB / 372.9 MB, free: 3.047 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000426/0.396, allocations: 84.86 kB / 373 MB, free: 2.961 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.231e-05/0.3961, allocations: 4 kB / 373 MB, free: 2.957 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.598e-05/0.3962, allocations: 38.56 kB / 373 MB, free: 2.91 MB / 314.7 MB Notification: Performance of pre-optimization done (n=26): time 5.034e-06/0.3962, allocations: 0 / 373 MB, free: 2.91 MB / 314.7 MB Notification: Performance of matching and sorting (n=28): time 0.003232/0.3995, allocations: 0.7689 MB / 373.8 MB, free: 2.055 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.72e-05/0.3996, allocations: 55.41 kB / 373.8 MB, free: 1.988 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000297/0.3999, allocations: 129.1 kB / 374 MB, free: 1.855 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.96e-05/0.4, allocations: 29.64 kB / 374 MB, free: 1.82 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002559/0.4003, allocations: 206.7 kB / 374.2 MB, free: 1.617 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002078/0.4005, allocations: 98.5 kB / 374.3 MB, free: 1.52 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.415e-05/0.4005, allocations: 0 / 374.3 MB, free: 1.52 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002948/0.4009, allocations: 322.8 kB / 374.6 MB, free: 1.195 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003323/0.4012, allocations: 60 kB / 374.7 MB, free: 1.137 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004077/0.4016, allocations: 91.36 kB / 374.8 MB, free: 1.035 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004013/0.4021, allocations: 67.97 kB / 374.8 MB, free: 0.9688 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.634e-06/0.4021, allocations: 0 / 374.8 MB, free: 0.9688 MB / 314.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001038/0.4032, allocations: 205.5 kB / 375 MB, free: 0.7617 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.346e-05/0.4032, allocations: 8.094 kB / 375 MB, free: 0.7539 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.4033, allocations: 0 / 375 MB, free: 0.7539 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.031e-05/0.4033, allocations: 4 kB / 375 MB, free: 0.75 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008484/0.4042, allocations: 75.89 kB / 375.1 MB, free: 0.6758 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.239e-05/0.4042, allocations: 7.984 kB / 375.1 MB, free: 0.668 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004084/0.4047, allocations: 15.98 kB / 375.1 MB, free: 0.6523 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.482e-05/0.4047, allocations: 8 kB / 375.1 MB, free: 0.6445 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 0.0002191/0.405, allocations: 121 kB / 375.3 MB, free: 0.5234 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001544/0.4052, allocations: 23.67 kB / 375.3 MB, free: 0.5 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001382/0.4053, allocations: 21.97 kB / 375.3 MB, free: 488 kB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-05/0.4054, allocations: 7.922 kB / 375.3 MB, free: 480 kB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.026e-06/0.4054, allocations: 0 / 375.3 MB, free: 480 kB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.427e-05/0.4054, allocations: 3.984 kB / 375.3 MB, free: 476 kB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002374/0.4078, allocations: 0.5672 MB / 375.9 MB, free: 15.84 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.083e-06/0.4079, allocations: 0 / 375.9 MB, free: 15.84 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009826/0.4089, allocations: 75.89 kB / 376 MB, free: 15.77 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.249e-05/0.4089, allocations: 0 / 376 MB, free: 15.77 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.439e-05/0.409, allocations: 8 kB / 376 MB, free: 15.76 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.053e-06/0.409, allocations: 0 / 376 MB, free: 15.76 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.97e-06/0.409, allocations: 0 / 376 MB, free: 15.76 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001468/0.4105, allocations: 405 kB / 376.4 MB, free: 15.33 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001656/0.4107, allocations: 88.92 kB / 376.4 MB, free: 15.22 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.256e-05/0.4108, allocations: 8.062 kB / 376.5 MB, free: 15.21 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004873/0.4114, allocations: 15.98 kB / 376.5 MB, free: 15.2 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001184/0.4115, allocations: 15.94 kB / 376.5 MB, free: 15.18 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.029e-05/0.4116, allocations: 11.98 kB / 376.5 MB, free: 15.17 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000196/0.4118, allocations: 103.2 kB / 376.6 MB, free: 15.07 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.093e-06/0.4118, allocations: 0 / 376.6 MB, free: 15.07 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001069/0.4129, allocations: 48 kB / 376.6 MB, free: 15.02 MB / 330.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.0002798/0.4132, allocations: 103.2 kB / 376.7 MB, free: 14.91 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008468/0.4141, allocations: 163.9 kB / 376.9 MB, free: 14.75 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.622e-06/0.4141, allocations: 0 / 376.9 MB, free: 14.75 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000411/0.4146, allocations: 87.86 kB / 377 MB, free: 14.67 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008221/0.4154, allocations: 32.98 kB / 377 MB, free: 14.64 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003335/0.4188, allocations: 0.7009 MB / 377.7 MB, free: 13.9 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008706/0.4197, allocations: 0.7598 MB / 378.5 MB, free: 13.11 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001928/0.4199, allocations: 19.44 kB / 378.5 MB, free: 13.09 MB / 330.7 MB Notification: Performance of SimCode: time 2.481e-06/0.4199, allocations: 0 / 378.5 MB, free: 13.09 MB / 330.7 MB Notification: Performance of Templates: time 0.01179/0.4318, allocations: 2.609 MB / 381.1 MB, free: 10.48 MB / 330.7 MB "" 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.stateSelect,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.phi_support,idealGear.ratio,idealGear.support.phi,idealGear.support.tau,idealGear.useSupport,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.stateSelect,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.stateSelect,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.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.support.phi,torque.support.tau,torque.tau,torque.useSupport