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.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded") Notification: Performance of loadModel(Modelica): time 1.601/1.601, allocations: 171.2 MB / 185.7 MB, free: 1.406 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.79e-05/2.785e-05, allocations: 4 kB / 228.1 MB, free: 7.332 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07866/0.07871, allocations: 38.77 MB / 266.9 MB, free: 492 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.003058/0.08183, allocations: 1.824 MB / 268.7 MB, free: 14.63 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00108/0.08293, allocations: 0.5109 MB / 269.2 MB, free: 14.12 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001165/0.08307, allocations: 11.94 kB / 269.3 MB, free: 14.11 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 6.054e-05/0.08314, allocations: 23.78 kB / 269.3 MB, free: 14.09 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002422/0.0834, allocations: 75.75 kB / 269.4 MB, free: 14.01 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001682/0.08358, allocations: 35.95 kB / 269.4 MB, free: 13.98 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002815/0.08387, allocations: 147.7 kB / 269.5 MB, free: 13.83 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001766/0.08406, allocations: 48.22 kB / 269.6 MB, free: 13.78 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001555/0.08423, allocations: 71.77 kB / 269.7 MB, free: 13.71 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001682/0.08442, allocations: 83.75 kB / 269.7 MB, free: 13.63 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.704e-05/0.08448, allocations: 8 kB / 269.7 MB, free: 13.62 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.054e-05/0.08452, allocations: 8 kB / 269.8 MB, free: 13.61 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.686e-05/0.08457, allocations: 31.83 kB / 269.8 MB, free: 13.58 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 6.29e-05/0.08465, allocations: 24 kB / 269.8 MB, free: 13.56 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000257/0.08492, allocations: 179.7 kB / 270 MB, free: 13.38 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.87e-06/0.08494, allocations: 0 / 270 MB, free: 13.38 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.08495, allocations: 3.938 kB / 270 MB, free: 13.38 MB / 234.7 MB Notification: Performance of Transformations before backend: time 9.348e-06/0.08497, allocations: 0 / 270 MB, free: 13.38 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0008048/0.08578, allocations: 471.1 kB / 270.4 MB, free: 12.87 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.08583, allocations: 8.031 kB / 270.5 MB, free: 12.86 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.928e-05/0.08591, allocations: 23.72 kB / 270.5 MB, free: 12.84 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003325/0.08626, allocations: 227.5 kB / 270.7 MB, free: 12.58 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.775e-05/0.0863, allocations: 16.39 kB / 270.7 MB, free: 12.56 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.823e-05/0.08637, allocations: 20 kB / 270.7 MB, free: 12.54 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000525/0.0869, allocations: 213.8 kB / 270.9 MB, free: 12.32 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.582e-05/0.08694, allocations: 7.906 kB / 271 MB, free: 12.31 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.782e-05/0.08698, allocations: 11.94 kB / 271 MB, free: 12.3 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/0.087, allocations: 7.984 kB / 271 MB, free: 12.29 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004171/0.08743, allocations: 129.7 kB / 271.1 MB, free: 12.17 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001445/0.08889, allocations: 0.7094 MB / 271.8 MB, free: 11.4 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004065/0.08931, allocations: 158.5 kB / 272 MB, free: 11.24 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.766e-05/0.08936, allocations: 4 kB / 272 MB, free: 11.23 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.159e-05/0.0894, allocations: 30.56 kB / 272 MB, free: 11.2 MB / 234.7 MB Notification: Performance of pre-optimization done (n=20): time 1.864e-06/0.08941, allocations: 0 / 272 MB, free: 11.2 MB / 234.7 MB Notification: Performance of matching and sorting (n=24): time 0.002254/0.09167, allocations: 0.891 MB / 272.9 MB, free: 10.22 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.666e-05/0.09174, allocations: 63.27 kB / 272.9 MB, free: 10.14 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000215/0.09196, allocations: 158.6 kB / 273.1 MB, free: 9.977 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.552e-05/0.092, allocations: 29.7 kB / 273.1 MB, free: 9.941 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001212/0.09213, allocations: 152.2 kB / 273.3 MB, free: 9.789 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.239e-05/0.09224, allocations: 86.73 kB / 273.4 MB, free: 9.703 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.426e-05/0.09226, allocations: 4 kB / 273.4 MB, free: 9.699 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.09242, allocations: 334.8 kB / 273.7 MB, free: 9.363 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002006/0.09263, allocations: 59.98 kB / 273.8 MB, free: 9.305 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002331/0.09287, allocations: 100.2 kB / 273.9 MB, free: 9.191 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002281/0.09312, allocations: 71.98 kB / 273.9 MB, free: 9.121 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.09314, allocations: 4 kB / 273.9 MB, free: 9.117 MB / 234.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006915/0.09383, allocations: 246.1 kB / 274.2 MB, free: 8.867 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/0.09387, allocations: 7.984 kB / 274.2 MB, free: 8.859 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.09389, allocations: 0 / 274.2 MB, free: 8.859 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002212/0.09412, allocations: 32.84 kB / 274.2 MB, free: 8.824 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003738/0.09451, allocations: 56.03 kB / 274.3 MB, free: 8.77 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001628/0.09615, allocations: 1.386 MB / 275.6 MB, free: 7.246 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002009/0.09637, allocations: 16.09 kB / 275.7 MB, free: 7.23 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.173e-05/0.09641, allocations: 4 kB / 275.7 MB, free: 7.227 MB / 234.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.000171/0.09659, allocations: 137.8 kB / 275.8 MB, free: 7.082 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.305e-05/0.09666, allocations: 15.81 kB / 275.8 MB, free: 7.066 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.806e-05/0.09674, allocations: 29.86 kB / 275.8 MB, free: 7.039 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.69e-06/0.09676, allocations: 4 kB / 275.8 MB, free: 7.035 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.09677, allocations: 3.953 kB / 275.9 MB, free: 7.031 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.096e-06/0.09679, allocations: 8 kB / 275.9 MB, free: 7.023 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001354/0.09816, allocations: 0.6592 MB / 276.5 MB, free: 6.297 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/0.09818, allocations: 0 / 276.5 MB, free: 6.297 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003931/0.09858, allocations: 47.91 kB / 276.6 MB, free: 6.25 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001809/0.09878, allocations: 36.83 kB / 276.6 MB, free: 6.211 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.294e-05/0.09881, allocations: 4 kB / 276.6 MB, free: 6.207 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001539/0.1004, allocations: 1.39 MB / 278 MB, free: 4.684 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.1004, allocations: 0 / 278 MB, free: 4.684 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009121/0.1013, allocations: 441.4 kB / 278.4 MB, free: 4.215 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001142/0.1014, allocations: 100.9 kB / 278.5 MB, free: 4.098 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.52e-05/0.1015, allocations: 8 kB / 278.5 MB, free: 4.09 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002016/0.1017, allocations: 15.98 kB / 278.6 MB, free: 4.074 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.317e-05/0.1018, allocations: 19.86 kB / 278.6 MB, free: 4.055 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.966e-05/0.1018, allocations: 8 kB / 278.6 MB, free: 4.047 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.000147/0.102, allocations: 133.1 kB / 278.7 MB, free: 3.918 MB / 234.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.102, allocations: 0 / 278.7 MB, free: 3.918 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0004539/0.1024, allocations: 60 kB / 278.8 MB, free: 3.859 MB / 234.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.0001431/0.1026, allocations: 103.2 kB / 278.9 MB, free: 3.746 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0007895/0.1034, allocations: 294.6 kB / 279.2 MB, free: 3.445 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1034, allocations: 0 / 279.2 MB, free: 3.445 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004983/0.1039, allocations: 215 kB / 279.4 MB, free: 3.223 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000485/0.1044, allocations: 39.92 kB / 279.4 MB, free: 3.184 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001779/0.1062, allocations: 0.8091 MB / 280.2 MB, free: 2.348 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004021/0.1066, allocations: 0.7518 MB / 281 MB, free: 1.57 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 0.000125/0.1068, allocations: 25.92 kB / 281 MB, free: 1.539 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.728e-05/0.1069, allocations: 19.44 kB / 281 MB, free: 1.52 MB / 234.7 MB Notification: Performance of SimCode: time 7.31e-07/0.1069, allocations: 0 / 281 MB, free: 1.52 MB / 234.7 MB Notification: Performance of Templates: time 0.007777/0.1147, allocations: 2.143 MB / 283.2 MB, free: 15.38 MB / 250.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