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.1_Modelica.Mechanics.Rotational.Examples.ElasticBearing") Notification: Performance of loadModel(Modelica): time 1.685/1.685, allocations: 171.2 MB / 185.7 MB, free: 1.395 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.473e-05/3.473e-05, allocations: 4 kB / 228.1 MB, free: 7.332 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09352/0.09358, allocations: 38.77 MB / 266.9 MB, free: 484 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.003229/0.09687, allocations: 1.883 MB / 268.8 MB, free: 14.57 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001083/0.09798, allocations: 0.5109 MB / 269.3 MB, free: 14.05 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001256/0.09813, allocations: 8 kB / 269.3 MB, free: 14.05 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 6.839e-05/0.09821, allocations: 27.72 kB / 269.3 MB, free: 14.02 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002383/0.09846, allocations: 75.8 kB / 269.4 MB, free: 13.95 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001633/0.09864, allocations: 43.95 kB / 269.5 MB, free: 13.9 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003353/0.09898, allocations: 163.6 kB / 269.6 MB, free: 13.74 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000184/0.09918, allocations: 57.03 kB / 269.7 MB, free: 13.69 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001429/0.09934, allocations: 79.83 kB / 269.8 MB, free: 13.61 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001788/0.09953, allocations: 95.66 kB / 269.8 MB, free: 13.52 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.98e-05/0.09961, allocations: 12 kB / 269.9 MB, free: 13.5 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.318e-05/0.09965, allocations: 8 kB / 269.9 MB, free: 13.5 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.382e-05/0.09971, allocations: 35.84 kB / 269.9 MB, free: 13.46 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 7.203e-05/0.0998, allocations: 24 kB / 269.9 MB, free: 13.44 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000312/0.1001, allocations: 211.6 kB / 270.1 MB, free: 13.23 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.1001, allocations: 0 / 270.1 MB, free: 13.23 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.375e-06/0.1002, allocations: 4 kB / 270.1 MB, free: 13.23 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.072e-05/0.1002, allocations: 0 / 270.1 MB, free: 13.23 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0009654/0.1011, allocations: 495.2 kB / 270.6 MB, free: 12.7 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.1012, allocations: 8.031 kB / 270.6 MB, free: 12.69 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.869e-05/0.1013, allocations: 35.7 kB / 270.7 MB, free: 12.65 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000328/0.1016, allocations: 235.2 kB / 270.9 MB, free: 12.38 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.795e-05/0.1017, allocations: 20.52 kB / 270.9 MB, free: 12.36 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.4e-05/0.1018, allocations: 35.91 kB / 270.9 MB, free: 12.33 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006815/0.1025, allocations: 228.8 kB / 271.2 MB, free: 12.1 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.48e-05/0.1025, allocations: 3.984 kB / 271.2 MB, free: 12.09 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.278e-05/0.1025, allocations: 8 kB / 271.2 MB, free: 12.09 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.1026, allocations: 8 kB / 271.2 MB, free: 12.08 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006848/0.1033, allocations: 186.1 kB / 271.4 MB, free: 11.9 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001728/0.105, allocations: 0.7695 MB / 272.1 MB, free: 11.07 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007164/0.1057, allocations: 222.7 kB / 272.4 MB, free: 10.84 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.664e-05/0.1058, allocations: 0 / 272.4 MB, free: 10.84 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.772e-05/0.1058, allocations: 34.56 kB / 272.4 MB, free: 10.8 MB / 234.7 MB Notification: Performance of pre-optimization done (n=26): time 4.108e-06/0.1058, allocations: 0 / 272.4 MB, free: 10.8 MB / 234.7 MB Notification: Performance of matching and sorting (n=28): time 0.002623/0.1085, allocations: 0.9858 MB / 273.4 MB, free: 9.727 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.076e-05/0.1085, allocations: 55.41 kB / 273.4 MB, free: 9.66 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001753/0.1087, allocations: 142.2 kB / 273.6 MB, free: 9.512 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 3.101e-05/0.1088, allocations: 29.7 kB / 273.6 MB, free: 9.477 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001138/0.1089, allocations: 160.4 kB / 273.8 MB, free: 9.316 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001051/0.109, allocations: 102.6 kB / 273.9 MB, free: 9.215 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.592e-05/0.109, allocations: 4 kB / 273.9 MB, free: 9.211 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.1092, allocations: 326.8 kB / 274.2 MB, free: 8.883 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003039/0.1095, allocations: 79.95 kB / 274.3 MB, free: 8.805 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003472/0.1099, allocations: 115.4 kB / 274.4 MB, free: 8.68 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000342/0.1102, allocations: 99.98 kB / 274.5 MB, free: 8.582 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.1102, allocations: 4 kB / 274.5 MB, free: 8.578 MB / 234.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000864/0.1111, allocations: 269.3 kB / 274.7 MB, free: 8.309 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.1112, allocations: 4 kB / 274.7 MB, free: 8.305 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/0.1112, allocations: 7.953 kB / 274.7 MB, free: 8.297 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.1112, allocations: 96 / 274.7 MB, free: 8.297 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005488/0.1118, allocations: 75.91 kB / 274.8 MB, free: 8.223 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.477e-05/0.1118, allocations: 7.984 kB / 274.8 MB, free: 8.215 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002268/0.112, allocations: 12 kB / 274.8 MB, free: 8.203 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.628e-05/0.1121, allocations: 12 kB / 274.9 MB, free: 8.191 MB / 234.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.0001793/0.1123, allocations: 133.8 kB / 275 MB, free: 8.051 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.322e-05/0.1123, allocations: 23.72 kB / 275 MB, free: 8.027 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.125e-05/0.1124, allocations: 30.55 kB / 275 MB, free: 8 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.405e-05/0.1124, allocations: 7.953 kB / 275 MB, free: 7.992 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.1125, allocations: 0 / 275 MB, free: 7.992 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.1125, allocations: 0 / 275 MB, free: 7.992 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001509/0.114, allocations: 0.68 MB / 275.7 MB, free: 7.25 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.114, allocations: 0 / 275.7 MB, free: 7.25 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006452/0.1147, allocations: 71.89 kB / 275.8 MB, free: 7.18 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.643e-06/0.1147, allocations: 4 kB / 275.8 MB, free: 7.176 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.668e-05/0.1147, allocations: 11.94 kB / 275.8 MB, free: 7.164 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.97e-06/0.1148, allocations: 4.062 kB / 275.8 MB, free: 7.16 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.1148, allocations: 0 / 275.8 MB, free: 7.16 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001167/0.1159, allocations: 476.8 kB / 276.3 MB, free: 6.66 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.01e-05/0.1161, allocations: 100.8 kB / 276.4 MB, free: 6.543 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.988e-05/0.1161, allocations: 8.188 kB / 276.4 MB, free: 6.535 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002535/0.1164, allocations: 16 kB / 276.4 MB, free: 6.52 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.91e-05/0.1165, allocations: 19.97 kB / 276.4 MB, free: 6.5 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.273e-05/0.1165, allocations: 8 kB / 276.4 MB, free: 6.492 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.0001251/0.1166, allocations: 124.4 kB / 276.5 MB, free: 6.371 MB / 234.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.1166, allocations: 0 / 276.5 MB, free: 6.371 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0004245/0.1171, allocations: 56 kB / 276.6 MB, free: 6.316 MB / 234.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.000154/0.1172, allocations: 115.1 kB / 276.7 MB, free: 6.191 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0007448/0.118, allocations: 211.8 kB / 276.9 MB, free: 5.984 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 5.451e-06/0.118, allocations: 4 kB / 276.9 MB, free: 5.98 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003493/0.1184, allocations: 108.1 kB / 277 MB, free: 5.875 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000448/0.1188, allocations: 35.97 kB / 277.1 MB, free: 5.84 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002196/0.1211, allocations: 0.9806 MB / 278 MB, free: 4.824 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003777/0.1215, allocations: 0.7563 MB / 278.8 MB, free: 4.039 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 0.0001437/0.1216, allocations: 21.94 kB / 278.8 MB, free: 4.016 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.325e-05/0.1217, allocations: 19.44 kB / 278.8 MB, free: 3.996 MB / 234.7 MB Notification: Performance of SimCode: time 1.343e-06/0.1217, allocations: 0 / 278.8 MB, free: 3.996 MB / 234.7 MB Notification: Performance of Templates: time 0.007409/0.1291, allocations: 1.923 MB / 280.8 MB, free: 2.082 MB / 234.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