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_Modelica.Mechanics.Rotational.Examples.ElasticBearing") Notification: Performance of loadModel(Modelica): time 1.804/1.804, allocations: 194.9 MB / 210.6 MB, free: 8.352 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.865e-05/2.866e-05, allocations: 7.906 kB / 258.8 MB, free: 8.055 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2878/0.2878, allocations: 44.5 MB / 303.3 MB, free: 12.97 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.003096/0.291, allocations: 1.887 MB / 305.2 MB, free: 11.44 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001081/0.2921, allocations: 0.519 MB / 305.7 MB, free: 11.01 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001305/0.2922, allocations: 6.25 kB / 305.7 MB, free: 11.01 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 6.32e-05/0.2923, allocations: 23.81 kB / 305.8 MB, free: 10.99 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002435/0.2925, allocations: 79.2 kB / 305.8 MB, free: 10.92 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001563/0.2927, allocations: 41.95 kB / 305.9 MB, free: 10.88 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002964/0.293, allocations: 158.6 kB / 306 MB, free: 10.77 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001737/0.2932, allocations: 60.41 kB / 306.1 MB, free: 10.73 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001396/0.2934, allocations: 85.92 kB / 306.2 MB, free: 10.69 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001659/0.2936, allocations: 91.77 kB / 306.3 MB, free: 10.64 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.411e-05/0.2936, allocations: 9.594 kB / 306.3 MB, free: 10.64 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.281e-05/0.2937, allocations: 9.219 kB / 306.3 MB, free: 10.64 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.843e-05/0.2937, allocations: 35.28 kB / 306.3 MB, free: 10.61 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.305e-05/0.2938, allocations: 28 kB / 306.3 MB, free: 10.58 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002934/0.2941, allocations: 205.8 kB / 306.5 MB, free: 10.38 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.2941, allocations: 0 / 306.5 MB, free: 10.38 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.2941, allocations: 0 / 306.5 MB, free: 10.38 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.338e-05/0.2942, allocations: 0 / 306.5 MB, free: 10.38 MB / 250.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.0009239/0.2951, allocations: 0.4953 MB / 307 MB, free: 9.836 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.2951, allocations: 8.031 kB / 307 MB, free: 9.828 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.528e-05/0.2952, allocations: 27.62 kB / 307.1 MB, free: 9.801 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003108/0.2955, allocations: 239.1 kB / 307.3 MB, free: 9.527 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.749e-05/0.2956, allocations: 24.56 kB / 307.3 MB, free: 9.504 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.062e-05/0.2957, allocations: 31.98 kB / 307.4 MB, free: 9.473 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006622/0.2963, allocations: 224.9 kB / 307.6 MB, free: 9.246 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.424e-05/0.2964, allocations: 4 kB / 307.6 MB, free: 9.242 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.346e-05/0.2964, allocations: 8 kB / 307.6 MB, free: 9.234 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.222e-05/0.2964, allocations: 8 kB / 307.6 MB, free: 9.227 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006844/0.2971, allocations: 186.1 kB / 307.8 MB, free: 9.043 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001655/0.2988, allocations: 0.7696 MB / 308.6 MB, free: 8.219 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006855/0.2995, allocations: 218.7 kB / 308.8 MB, free: 7.996 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.613e-05/0.2996, allocations: 4 kB / 308.8 MB, free: 7.992 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.374e-05/0.2996, allocations: 34.56 kB / 308.8 MB, free: 7.949 MB / 250.7 MB Notification: Performance of pre-optimization done (n=26): time 2.194e-06/0.2996, allocations: 0 / 308.8 MB, free: 7.949 MB / 250.7 MB Notification: Performance of matching and sorting (n=28): time 0.002516/0.3021, allocations: 0.9966 MB / 309.8 MB, free: 6.863 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.759e-05/0.3022, allocations: 55.41 kB / 309.9 MB, free: 6.797 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001589/0.3023, allocations: 141.8 kB / 310 MB, free: 6.652 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.61e-05/0.3024, allocations: 37.64 kB / 310 MB, free: 6.609 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.892e-05/0.3025, allocations: 144.6 kB / 310.2 MB, free: 6.465 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001054/0.3026, allocations: 94.56 kB / 310.3 MB, free: 6.371 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.771e-05/0.3026, allocations: 8 kB / 310.3 MB, free: 6.363 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.3028, allocations: 330.8 kB / 310.6 MB, free: 6.031 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003271/0.3031, allocations: 71.97 kB / 310.7 MB, free: 5.961 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003383/0.3035, allocations: 119.4 kB / 310.8 MB, free: 5.832 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003284/0.3038, allocations: 83.98 kB / 310.9 MB, free: 5.75 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.3038, allocations: 4 kB / 310.9 MB, free: 5.746 MB / 250.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0007914/0.3046, allocations: 285.2 kB / 311.1 MB, free: 5.461 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.3047, allocations: 8.875 kB / 311.2 MB, free: 5.453 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.3047, allocations: 0 / 311.2 MB, free: 5.453 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.367e-05/0.3047, allocations: 8.094 kB / 311.2 MB, free: 5.445 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005331/0.3053, allocations: 79.89 kB / 311.2 MB, free: 5.367 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.288e-05/0.3053, allocations: 4 kB / 311.2 MB, free: 5.363 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002143/0.3055, allocations: 12 kB / 311.3 MB, free: 5.352 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.138e-05/0.3055, allocations: 4 kB / 311.3 MB, free: 5.348 MB / 250.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.0001513/0.3057, allocations: 147.1 kB / 311.4 MB, free: 5.195 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.954e-05/0.3058, allocations: 27.77 kB / 311.4 MB, free: 5.168 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.063e-05/0.3059, allocations: 22.56 kB / 311.5 MB, free: 5.145 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/0.3059, allocations: 4 kB / 311.5 MB, free: 5.141 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.3059, allocations: 0 / 311.5 MB, free: 5.141 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.378e-06/0.3059, allocations: 3.984 kB / 311.5 MB, free: 5.137 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00143/0.3073, allocations: 0.6677 MB / 312.1 MB, free: 4.406 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.3074, allocations: 0 / 312.1 MB, free: 4.406 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006287/0.308, allocations: 75.95 kB / 312.2 MB, free: 4.332 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.512e-06/0.308, allocations: 7.938 kB / 312.2 MB, free: 4.324 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.323e-05/0.3081, allocations: 4 kB / 312.2 MB, free: 4.32 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.843e-06/0.3081, allocations: 8.062 kB / 312.2 MB, free: 4.312 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.3081, allocations: 0 / 312.2 MB, free: 4.312 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00109/0.3092, allocations: 478.6 kB / 312.7 MB, free: 3.812 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.563e-05/0.3093, allocations: 92.91 kB / 312.8 MB, free: 3.703 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.758e-05/0.3093, allocations: 8.062 kB / 312.8 MB, free: 3.695 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002398/0.3096, allocations: 19.98 kB / 312.8 MB, free: 3.676 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.89e-05/0.3097, allocations: 23.88 kB / 312.8 MB, free: 3.652 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.073e-05/0.3097, allocations: 4.125 kB / 312.8 MB, free: 3.648 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001102/0.3098, allocations: 119.2 kB / 312.9 MB, free: 3.531 MB / 250.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.3098, allocations: 4 kB / 313 MB, free: 3.527 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004105/0.3102, allocations: 56 kB / 313 MB, free: 3.473 MB / 250.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.0001383/0.3104, allocations: 103.2 kB / 313.1 MB, free: 3.363 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0007191/0.3111, allocations: 215.7 kB / 313.3 MB, free: 3.152 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.3111, allocations: 0 / 313.3 MB, free: 3.152 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003449/0.3115, allocations: 116.1 kB / 313.4 MB, free: 3.039 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004386/0.3119, allocations: 35.91 kB / 313.5 MB, free: 3.004 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002079/0.314, allocations: 0.973 MB / 314.4 MB, free: 1.996 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00034/0.3144, allocations: 0.7679 MB / 315.2 MB, free: 1.199 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001263/0.3145, allocations: 17.94 kB / 315.2 MB, free: 1.184 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.231e-05/0.3146, allocations: 23.44 kB / 315.2 MB, free: 1.164 MB / 250.7 MB Notification: Performance of SimCode: time 3.647e-06/0.3146, allocations: 0 / 315.2 MB, free: 1.164 MB / 250.7 MB Notification: Performance of Templates: time 0.007301/0.3219, allocations: 1.916 MB / 317.2 MB, free: 15.26 MB / 266.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.phi0,housing.J,idealGear.ratio,load.J,load.phi,load.w,ramp.duration,ramp.height,ramp.offset,ramp.startTime,shaft.J,shaft.phi,shaft.w,spring.c,spring.phi_rel0,springDamper.c,springDamper.d,springDamper.flange_a.phi,springDamper.phi_nominal,springDamper.phi_rel,springDamper.phi_rel0,springDamper.w_rel,time,torque.phi_support,torque.support.phi