Running command: translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J2.phi|J2.w|J4.phi|J4.w|J6.phi|J6.w|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Rotational.ForUsersGuide.Directions2") Notification: Performance of loadModel(ModelicaTest): time 2.132/2.132, allocations: 235 MB / 247.6 MB, free: 14.39 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.969e-05/2.987e-05, allocations: 4 kB / 304.9 MB, free: 5.672 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3317/0.3318, allocations: 54.85 MB / 359.8 MB, free: 2.676 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1265/0.4583, allocations: 81.8 MB / 441.5 MB, free: 15.24 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002336/0.4586, allocations: 72.7 kB / 441.6 MB, free: 15.17 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02499/0.4836, allocations: 5.77 MB / 447.4 MB, free: 9.426 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.4837, allocations: 0 / 447.4 MB, free: 9.426 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.427e-05/0.4837, allocations: 8 kB / 447.4 MB, free: 9.418 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001009/0.4847, allocations: 0.5576 MB / 448 MB, free: 8.816 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.4848, allocations: 12.03 kB / 448 MB, free: 8.805 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001012/0.4849, allocations: 43.03 kB / 448 MB, free: 8.766 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003821/0.4853, allocations: 259.2 kB / 448.3 MB, free: 8.469 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.506e-05/0.4853, allocations: 28.78 kB / 448.3 MB, free: 8.438 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.547e-05/0.4855, allocations: 47.91 kB / 448.3 MB, free: 8.391 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007617/0.4862, allocations: 372.3 kB / 448.7 MB, free: 7.996 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.537e-05/0.4863, allocations: 7.906 kB / 448.7 MB, free: 7.988 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.559e-05/0.4863, allocations: 16 kB / 448.7 MB, free: 7.973 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.627e-05/0.4864, allocations: 8 kB / 448.7 MB, free: 7.965 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004834/0.4869, allocations: 187.8 kB / 448.9 MB, free: 7.781 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003205/0.4901, allocations: 1.716 MB / 450.6 MB, free: 5.957 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005321/0.4906, allocations: 246.4 kB / 450.9 MB, free: 5.652 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001651/0.4908, allocations: 82.14 kB / 451 MB, free: 5.551 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.775e-05/0.4909, allocations: 0 / 451 MB, free: 5.551 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.416e-05/0.4909, allocations: 50.48 kB / 451 MB, free: 5.492 MB / 378.7 MB Notification: Performance of pre-optimization done (n=26): time 3.075e-06/0.4909, allocations: 0 / 451 MB, free: 5.492 MB / 378.7 MB Notification: Performance of matching and sorting (n=26): time 0.0006636/0.4916, allocations: 185.1 kB / 451.2 MB, free: 5.305 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001454/0.4918, allocations: 221.7 kB / 451.4 MB, free: 5.039 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003662/0.4922, allocations: 239.2 kB / 451.6 MB, free: 4.793 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.296e-05/0.4922, allocations: 29.7 kB / 451.7 MB, free: 4.758 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002215/0.4924, allocations: 293.7 kB / 451.9 MB, free: 4.465 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001306/0.4926, allocations: 118.5 kB / 452.1 MB, free: 4.348 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.475e-05/0.4926, allocations: 8 kB / 452.1 MB, free: 4.34 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001818/0.4928, allocations: 334.8 kB / 452.4 MB, free: 4.004 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002322/0.4931, allocations: 85.55 kB / 452.5 MB, free: 3.922 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005213/0.4936, allocations: 404.6 kB / 452.9 MB, free: 3.367 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003598/0.494, allocations: 159.8 kB / 453 MB, free: 3.211 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.045e-05/0.494, allocations: 4 kB / 453 MB, free: 3.207 MB / 378.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001064/0.4951, allocations: 457.9 kB / 453.5 MB, free: 2.754 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.906e-05/0.4951, allocations: 9.719 kB / 453.5 MB, free: 2.746 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.237e-05/0.4951, allocations: 12 kB / 453.5 MB, free: 2.734 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.096e-05/0.4952, allocations: 25.41 kB / 453.5 MB, free: 2.715 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006684/0.4959, allocations: 155.7 kB / 453.7 MB, free: 2.562 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.756e-05/0.4959, allocations: 23.92 kB / 453.7 MB, free: 2.539 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004712/0.4964, allocations: 71.27 kB / 453.8 MB, free: 2.469 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.003e-05/0.4965, allocations: 32 kB / 453.8 MB, free: 2.438 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 71 * 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.0001698/0.4967, allocations: 144.7 kB / 453.9 MB, free: 2.289 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002369/0.4969, allocations: 47.53 kB / 454 MB, free: 2.242 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.312e-05/0.497, allocations: 33.91 kB / 454 MB, free: 2.211 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.801e-06/0.4971, allocations: 4 kB / 454 MB, free: 2.207 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.604e-06/0.4971, allocations: 0 / 454 MB, free: 2.207 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/0.4971, allocations: 4 kB / 454 MB, free: 2.203 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001829/0.4989, allocations: 0.6438 MB / 454.7 MB, free: 1.496 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.071e-05/0.499, allocations: 8.062 kB / 454.7 MB, free: 1.488 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006469/0.4996, allocations: 83.89 kB / 454.8 MB, free: 1.406 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.274e-05/0.4997, allocations: 4 kB / 454.8 MB, free: 1.402 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.53e-05/0.4997, allocations: 8 kB / 454.8 MB, free: 1.395 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.499e-05/0.4997, allocations: 11.94 kB / 454.8 MB, free: 1.383 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.879e-06/0.4997, allocations: 7.938 kB / 454.8 MB, free: 1.375 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009928/0.5008, allocations: 0.9026 MB / 455.7 MB, free: 404 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000131/0.5009, allocations: 110.2 kB / 455.8 MB, free: 276 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.441e-05/0.501, allocations: 8 kB / 455.8 MB, free: 268 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005139/0.5015, allocations: 12 kB / 455.8 MB, free: 256 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.949e-05/0.5016, allocations: 31.91 kB / 455.9 MB, free: 224 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.597e-05/0.5016, allocations: 8 kB / 455.9 MB, free: 216 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002497/0.5019, allocations: 183.1 kB / 456 MB, free: 36 kB / 378.7 MB Notification: Performance of sort global known variables: time 7.58e-07/0.5019, allocations: 0 / 456 MB, free: 36 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.001086/0.503, allocations: 100.2 kB / 456.1 MB, free: 15.93 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 18 (inertia5.phi,inertia5.w,inertia6.phi,inertia6.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,inertia2.phi,inertia2.w,inertia1.phi,inertia1.w,J6.phi,J6.w,J4.phi,J4.w,J2.phi,J2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 26 * 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.0001814/0.5032, allocations: 123.1 kB / 456.3 MB, free: 15.8 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006146/0.5038, allocations: 245.7 kB / 456.5 MB, free: 15.56 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.032e-06/0.5039, allocations: 0 / 456.5 MB, free: 15.56 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001797/0.504, allocations: 80.61 kB / 456.6 MB, free: 15.48 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008273/0.5049, allocations: 66.64 kB / 456.6 MB, free: 15.42 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002857/0.5078, allocations: 1.546 MB / 458.2 MB, free: 13.82 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005945/0.5084, allocations: 0.8033 MB / 459 MB, free: 12.99 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001134/0.5085, allocations: 31.44 kB / 459 MB, free: 12.96 MB / 394.7 MB Notification: Performance of SimCode: time 1.785e-06/0.5085, allocations: 0 / 459 MB, free: 12.96 MB / 394.7 MB Notification: Performance of Templates: time 0.00825/0.5168, allocations: 3.965 MB / 463 MB, free: 9 MB / 394.7 MB