Running command: translateModel(Modelica.Mechanics.Rotational.Examples.FirstGrounded,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.FirstGrounded") Notification: Performance of loadModel(Modelica): time 1.766/1.766, allocations: 194.9 MB / 210.6 MB, free: 8.148 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.471e-05/2.479e-05, allocations: 4 kB / 258.8 MB, free: 7.867 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2846/0.2847, allocations: 44.51 MB / 303.3 MB, free: 12.95 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.003078/0.2878, allocations: 1.822 MB / 305.1 MB, free: 11.47 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001086/0.2889, allocations: 0.5126 MB / 305.7 MB, free: 11.05 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001236/0.289, allocations: 9.781 kB / 305.7 MB, free: 11.05 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 7.017e-05/0.2891, allocations: 23.69 kB / 305.7 MB, free: 11.03 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000246/0.2894, allocations: 78.14 kB / 305.8 MB, free: 10.96 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001817/0.2896, allocations: 42.59 kB / 305.8 MB, free: 10.92 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002706/0.2899, allocations: 137.1 kB / 305.9 MB, free: 10.83 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001498/0.29, allocations: 47.64 kB / 306 MB, free: 10.8 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001751/0.2902, allocations: 80.7 kB / 306.1 MB, free: 10.76 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001667/0.2904, allocations: 75.78 kB / 306.1 MB, free: 10.71 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.85e-05/0.2905, allocations: 8.25 kB / 306.1 MB, free: 10.71 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.052e-05/0.2905, allocations: 6.969 kB / 306.2 MB, free: 10.71 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.653e-05/0.2906, allocations: 35.19 kB / 306.2 MB, free: 10.69 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.703e-05/0.2906, allocations: 23.62 kB / 306.2 MB, free: 10.68 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002857/0.2909, allocations: 165.9 kB / 306.4 MB, free: 10.52 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.291, allocations: 4 kB / 306.4 MB, free: 10.52 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.291, allocations: 0 / 306.4 MB, free: 10.52 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.427e-06/0.291, allocations: 0 / 306.4 MB, free: 10.52 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0007932/0.2918, allocations: 475.1 kB / 306.8 MB, free: 10.01 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.2918, allocations: 12.02 kB / 306.9 MB, free: 9.996 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.722e-05/0.2919, allocations: 23.72 kB / 306.9 MB, free: 9.973 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003188/0.2923, allocations: 231.4 kB / 307.1 MB, free: 9.707 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.203e-05/0.2923, allocations: 12.44 kB / 307.1 MB, free: 9.695 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.257e-05/0.2924, allocations: 27.91 kB / 307.1 MB, free: 9.668 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005241/0.2929, allocations: 213.8 kB / 307.4 MB, free: 9.445 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.915e-05/0.2929, allocations: 0 / 307.4 MB, free: 9.445 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.05e-05/0.293, allocations: 12 kB / 307.4 MB, free: 9.434 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/0.293, allocations: 4 kB / 307.4 MB, free: 9.43 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004158/0.2934, allocations: 133.7 kB / 307.5 MB, free: 9.301 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001363/0.2948, allocations: 0.7093 MB / 308.2 MB, free: 8.535 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003846/0.2952, allocations: 150.5 kB / 308.4 MB, free: 8.379 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.435e-05/0.2953, allocations: 352 / 308.4 MB, free: 8.379 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.556e-05/0.2953, allocations: 38.52 kB / 308.4 MB, free: 8.332 MB / 250.7 MB Notification: Performance of pre-optimization done (n=20): time 3.376e-06/0.2953, allocations: 0 / 308.4 MB, free: 8.332 MB / 250.7 MB Notification: Performance of matching and sorting (n=24): time 0.002148/0.2975, allocations: 0.8937 MB / 309.3 MB, free: 7.348 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.882e-05/0.2975, allocations: 59.36 kB / 309.3 MB, free: 7.277 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001814/0.2977, allocations: 149.8 kB / 309.5 MB, free: 7.117 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.189e-05/0.2977, allocations: 33.7 kB / 309.5 MB, free: 7.078 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.2979, allocations: 140.2 kB / 309.7 MB, free: 6.934 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.353e-05/0.2979, allocations: 86.75 kB / 309.7 MB, free: 6.848 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.438e-05/0.298, allocations: 4 kB / 309.7 MB, free: 6.844 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.2981, allocations: 326.8 kB / 310.1 MB, free: 6.516 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001969/0.2983, allocations: 67.91 kB / 310.1 MB, free: 6.449 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002301/0.2986, allocations: 101.3 kB / 310.2 MB, free: 6.336 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002247/0.2988, allocations: 67.94 kB / 310.3 MB, free: 6.27 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.2988, allocations: 4 kB / 310.3 MB, free: 6.266 MB / 250.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006893/0.2995, allocations: 258 kB / 310.6 MB, free: 6.004 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.2996, allocations: 7.953 kB / 310.6 MB, free: 5.996 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.2996, allocations: 4 kB / 310.6 MB, free: 5.992 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002115/0.2998, allocations: 36.89 kB / 310.6 MB, free: 5.953 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003728/0.3002, allocations: 59.89 kB / 310.7 MB, free: 5.895 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001483/0.3017, allocations: 1.378 MB / 312 MB, free: 4.383 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001854/0.3019, allocations: 11.98 kB / 312.1 MB, free: 4.371 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.304e-05/0.3019, allocations: 8 kB / 312.1 MB, free: 4.363 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 27 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001511/0.3021, allocations: 137.8 kB / 312.2 MB, free: 4.219 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.63e-05/0.3021, allocations: 19.77 kB / 312.2 MB, free: 4.199 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.611e-05/0.3022, allocations: 29.86 kB / 312.2 MB, free: 4.164 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.188e-06/0.3022, allocations: 8 kB / 312.3 MB, free: 4.156 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.3023, allocations: 4.062 kB / 312.3 MB, free: 4.152 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.3023, allocations: 0 / 312.3 MB, free: 4.152 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001289/0.3036, allocations: 0.659 MB / 312.9 MB, free: 3.426 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.3036, allocations: 0 / 312.9 MB, free: 3.426 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003965/0.304, allocations: 47.91 kB / 313 MB, free: 3.379 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001776/0.3042, allocations: 32.84 kB / 313 MB, free: 3.344 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.085e-05/0.3042, allocations: 3.984 kB / 313 MB, free: 3.34 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001381/0.3056, allocations: 1.402 MB / 314.4 MB, free: 1.809 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/0.3056, allocations: 0 / 314.4 MB, free: 1.809 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008688/0.3065, allocations: 442.2 kB / 314.8 MB, free: 1.34 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.32e-05/0.3066, allocations: 88.92 kB / 314.9 MB, free: 1.234 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.328e-05/0.3066, allocations: 8 kB / 314.9 MB, free: 1.227 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002145/0.3069, allocations: 8 kB / 314.9 MB, free: 1.219 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.802e-05/0.3069, allocations: 27.89 kB / 315 MB, free: 1.191 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.861e-05/0.307, allocations: 7.953 kB / 315 MB, free: 1.184 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001249/0.3071, allocations: 123.2 kB / 315.1 MB, free: 1.062 MB / 250.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.3071, allocations: 4 kB / 315.1 MB, free: 1.059 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004323/0.3076, allocations: 56 kB / 315.1 MB, free: 1.004 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (inertia3.phi,inertia3.w,damper.phi_rel,damper.w_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 20 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000136/0.3077, allocations: 107.2 kB / 315.3 MB, free: 0.8906 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0007315/0.3085, allocations: 286.4 kB / 315.5 MB, free: 0.5977 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3085, allocations: 0 / 315.5 MB, free: 0.5977 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004535/0.3089, allocations: 215 kB / 315.7 MB, free: 384 kB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004243/0.3094, allocations: 30.22 kB / 315.8 MB, free: 356 kB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001754/0.3111, allocations: 0.8063 MB / 316.6 MB, free: 15.51 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000325/0.3115, allocations: 0.7599 MB / 317.3 MB, free: 14.73 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001112/0.3116, allocations: 21.88 kB / 317.4 MB, free: 14.71 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.465e-05/0.3117, allocations: 23.38 kB / 317.4 MB, free: 14.68 MB / 266.7 MB Notification: Performance of SimCode: time 6.62e-07/0.3117, allocations: 0 / 317.4 MB, free: 14.68 MB / 266.7 MB Notification: Performance of Templates: time 0.007792/0.3195, allocations: 2.152 MB / 319.5 MB, free: 12.54 MB / 266.7 MB "" Variables in the reference:time,damper.phi_rel,damper.w_rel,inertia3.phi,inertia3.w Variables in the result:Jload,Jmotor,amplitude,damper.d,damper.flange_b.phi,damper.phi_nominal,damper.phi_rel,damper.w_rel,damping,fixed.flange.phi,fixed.phi0,freqHz,idealGear.ratio,inertia1.J,inertia2.J,inertia3.J,inertia3.phi,inertia3.w,ratio,sine.amplitude,sine.freqHz,sine.offset,sine.phase,sine.startTime,spring.c,spring.phi_rel0,time