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_cpp_Modelica.Mechanics.Rotational.Examples.FirstGrounded") Notification: Performance of loadModel(Modelica): time 1.859/1.859, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.085e-05/3.103e-05, allocations: 4 kB / 249.6 MB, free: 15.3 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2606/0.2607, allocations: 44.5 MB / 294.1 MB, free: 14.3 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1196/0.3804, allocations: 72.39 MB / 366.5 MB, free: 9.609 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002311/0.3806, allocations: 75.91 kB / 366.6 MB, free: 9.535 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01495/0.3956, allocations: 3.572 MB / 370.1 MB, free: 5.949 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.45e-06/0.3957, allocations: 0 / 370.1 MB, free: 5.949 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.063e-05/0.3957, allocations: 4 kB / 370.2 MB, free: 5.945 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.000732/0.3964, allocations: 474.2 kB / 370.6 MB, free: 5.438 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.3965, allocations: 8.031 kB / 370.6 MB, free: 5.43 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.507e-05/0.3966, allocations: 27.72 kB / 370.6 MB, free: 5.402 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003661/0.397, allocations: 227.3 kB / 370.9 MB, free: 5.137 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/0.397, allocations: 8 kB / 370.9 MB, free: 5.129 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.137e-05/0.3971, allocations: 12 kB / 370.9 MB, free: 5.117 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003001/0.3974, allocations: 96.86 kB / 371 MB, free: 5.023 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003913/0.3978, allocations: 181 kB / 371.2 MB, free: 4.832 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.906e-05/0.3978, allocations: 3.906 kB / 371.2 MB, free: 4.828 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.223e-05/0.3979, allocations: 4 kB / 371.2 MB, free: 4.824 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.693e-06/0.3979, allocations: 4 kB / 371.2 MB, free: 4.82 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001334/0.3992, allocations: 0.6544 MB / 371.8 MB, free: 4.125 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002911/0.3995, allocations: 130.6 kB / 372 MB, free: 3.988 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000149/0.3997, allocations: 59.44 kB / 372 MB, free: 3.93 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.765e-05/0.3997, allocations: 4 kB / 372 MB, free: 3.926 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.276e-05/0.3998, allocations: 42.8 kB / 372.1 MB, free: 3.875 MB / 314.7 MB Notification: Performance of pre-optimization done (n=20): time 3.567e-06/0.3998, allocations: 0 / 372.1 MB, free: 3.875 MB / 314.7 MB Notification: Performance of matching and sorting (n=24): time 0.001793/0.4016, allocations: 0.7522 MB / 372.8 MB, free: 3.031 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.906e-05/0.4017, allocations: 55.41 kB / 372.9 MB, free: 2.965 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001871/0.4019, allocations: 141.5 kB / 373 MB, free: 2.82 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.783e-05/0.4019, allocations: 25.92 kB / 373 MB, free: 2.789 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001452/0.4021, allocations: 210.7 kB / 373.2 MB, free: 2.582 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.756e-05/0.4022, allocations: 86.69 kB / 373.3 MB, free: 2.496 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.035e-05/0.4022, allocations: 4 kB / 373.3 MB, free: 2.492 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000172/0.4024, allocations: 322.8 kB / 373.6 MB, free: 2.168 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001262/0.4025, allocations: 49.59 kB / 373.7 MB, free: 2.121 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001654/0.4027, allocations: 92.2 kB / 373.8 MB, free: 2.016 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00015/0.4029, allocations: 51.98 kB / 373.8 MB, free: 1.965 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.37e-06/0.4029, allocations: 0 / 373.8 MB, free: 1.965 MB / 314.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005285/0.4034, allocations: 210.2 kB / 374 MB, free: 1.75 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.4035, allocations: 4 kB / 374 MB, free: 1.746 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.4035, allocations: 0 / 374 MB, free: 1.746 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002144/0.4037, allocations: 38.19 kB / 374.1 MB, free: 1.707 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002753/0.404, allocations: 47.92 kB / 374.1 MB, free: 1.66 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001581/0.4056, allocations: 1.327 MB / 375.4 MB, free: 224 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001902/0.4058, allocations: 8.016 kB / 375.5 MB, free: 216 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.655e-05/0.4059, allocations: 8 kB / 375.5 MB, free: 208 kB / 314.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.000134/0.406, allocations: 116.8 kB / 375.6 MB, free: 84 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.344e-05/0.4061, allocations: 15.81 kB / 375.6 MB, free: 68 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.687e-05/0.4062, allocations: 21.95 kB / 375.6 MB, free: 40 kB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.014e-06/0.4062, allocations: 4 kB / 375.6 MB, free: 36 kB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.847e-06/0.4062, allocations: 0 / 375.6 MB, free: 36 kB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.926e-06/0.4062, allocations: 7.891 kB / 375.6 MB, free: 28 kB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001201/0.4074, allocations: 0.5949 MB / 376.2 MB, free: 15.38 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.013e-06/0.4075, allocations: 0 / 376.2 MB, free: 15.38 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003003/0.4078, allocations: 39.98 kB / 376.3 MB, free: 15.34 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001843/0.408, allocations: 36.83 kB / 376.3 MB, free: 15.3 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.964e-05/0.408, allocations: 8 kB / 376.3 MB, free: 15.29 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001519/0.4095, allocations: 1.311 MB / 377.6 MB, free: 13.86 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.694e-06/0.4096, allocations: 4.062 kB / 377.6 MB, free: 13.86 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007205/0.4103, allocations: 393.5 kB / 378 MB, free: 13.44 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.906e-05/0.4104, allocations: 92.92 kB / 378.1 MB, free: 13.33 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.58e-05/0.4105, allocations: 7.953 kB / 378.1 MB, free: 13.32 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001853/0.4107, allocations: 8.031 kB / 378.1 MB, free: 13.31 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.321e-05/0.4107, allocations: 11.98 kB / 378.1 MB, free: 13.3 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.996e-05/0.4108, allocations: 8 kB / 378.1 MB, free: 13.29 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001342/0.4109, allocations: 115.3 kB / 378.2 MB, free: 13.18 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.18e-07/0.4109, allocations: 7.875 kB / 378.2 MB, free: 13.17 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005181/0.4115, allocations: 51.98 kB / 378.3 MB, free: 13.12 MB / 330.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.0001779/0.4117, allocations: 103.2 kB / 378.4 MB, free: 13.01 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006326/0.4123, allocations: 257.6 kB / 378.7 MB, free: 12.75 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.295e-06/0.4123, allocations: 0 / 378.7 MB, free: 12.75 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003842/0.4127, allocations: 190 kB / 378.8 MB, free: 12.55 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004323/0.4132, allocations: 35.97 kB / 378.9 MB, free: 12.52 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00134/0.4145, allocations: 0.5363 MB / 379.4 MB, free: 11.95 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004695/0.415, allocations: 0.7558 MB / 380.2 MB, free: 11.16 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.752e-05/0.4151, allocations: 27.42 kB / 380.2 MB, free: 11.14 MB / 330.7 MB Notification: Performance of SimCode: time 1.755e-06/0.4152, allocations: 3.938 kB / 380.2 MB, free: 11.13 MB / 330.7 MB Notification: Performance of Templates: time 0.006931/0.4221, allocations: 3.274 MB / 383.5 MB, free: 7.863 MB / 330.7 MB