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_ModelicaTest.Rotational.ForUsersGuide.Directions2") Notification: Performance of loadModel(ModelicaTest): time 2.254/2.254, allocations: 235 MB / 247.2 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.889e-05/5.925e-05, allocations: 7.984 kB / 304.9 MB, free: 5.164 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3358/0.3359, allocations: 54.85 MB / 359.8 MB, free: 3.125 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1367/0.4727, allocations: 81.8 MB / 441.6 MB, free: 15.15 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003723/0.4731, allocations: 67.95 kB / 441.6 MB, free: 15.08 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04025/0.5134, allocations: 5.776 MB / 447.4 MB, free: 9.328 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.208e-06/0.5135, allocations: 0.8438 kB / 447.4 MB, free: 9.328 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.468e-05/0.5135, allocations: 4 kB / 447.4 MB, free: 9.324 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.001707/0.5152, allocations: 0.5571 MB / 448 MB, free: 8.723 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.456e-05/0.5153, allocations: 8.031 kB / 448 MB, free: 8.715 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002004/0.5155, allocations: 51.02 kB / 448 MB, free: 8.668 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006652/0.5162, allocations: 251.3 kB / 448.3 MB, free: 8.379 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.017e-05/0.5163, allocations: 28.78 kB / 448.3 MB, free: 8.348 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001803/0.5165, allocations: 47.89 kB / 448.4 MB, free: 8.301 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001451/0.518, allocations: 374.4 kB / 448.7 MB, free: 7.902 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.181e-05/0.5181, allocations: 7.891 kB / 448.7 MB, free: 7.895 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.485e-05/0.5182, allocations: 16 kB / 448.7 MB, free: 7.879 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.361e-05/0.5183, allocations: 12 kB / 448.8 MB, free: 7.867 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009544/0.5192, allocations: 183.9 kB / 448.9 MB, free: 7.688 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005368/0.5246, allocations: 1.72 MB / 450.7 MB, free: 5.859 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005378/0.5252, allocations: 234.5 kB / 450.9 MB, free: 5.566 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001679/0.5254, allocations: 87.09 kB / 451 MB, free: 5.461 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.793e-05/0.5254, allocations: 12 kB / 451 MB, free: 5.449 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.612e-05/0.5255, allocations: 42.5 kB / 451 MB, free: 5.398 MB / 378.7 MB Notification: Performance of pre-optimization done (n=26): time 3.832e-06/0.5255, allocations: 0 / 451 MB, free: 5.398 MB / 378.7 MB Notification: Performance of matching and sorting (n=26): time 0.0006454/0.5262, allocations: 181.1 kB / 451.2 MB, free: 5.215 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001461/0.5263, allocations: 221.7 kB / 451.4 MB, free: 4.949 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003366/0.5267, allocations: 235.3 kB / 451.7 MB, free: 4.707 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.631e-05/0.5267, allocations: 33.7 kB / 451.7 MB, free: 4.668 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002016/0.5269, allocations: 235.3 kB / 451.9 MB, free: 4.43 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000122/0.5271, allocations: 118.5 kB / 452 MB, free: 4.312 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.507e-05/0.5271, allocations: 8 kB / 452 MB, free: 4.305 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001943/0.5273, allocations: 344.2 kB / 452.4 MB, free: 3.961 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002288/0.5276, allocations: 89.56 kB / 452.5 MB, free: 3.875 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005068/0.5281, allocations: 408.5 kB / 452.9 MB, free: 3.316 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003518/0.5284, allocations: 155.9 kB / 453 MB, free: 3.164 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.741e-06/0.5285, allocations: 4 kB / 453 MB, free: 3.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001094/0.5296, allocations: 477.4 kB / 453.5 MB, free: 2.688 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.812e-05/0.5296, allocations: 16.25 kB / 453.5 MB, free: 2.672 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.199e-05/0.5297, allocations: 12 kB / 453.5 MB, free: 2.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.459e-05/0.5297, allocations: 19.28 kB / 453.5 MB, free: 2.645 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006641/0.5304, allocations: 147.8 kB / 453.7 MB, free: 2.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.239e-05/0.5304, allocations: 23.92 kB / 453.7 MB, free: 2.477 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004521/0.5309, allocations: 75.31 kB / 453.8 MB, free: 2.402 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.966e-05/0.531, allocations: 32 kB / 453.8 MB, free: 2.371 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.0001653/0.5311, allocations: 148.7 kB / 453.9 MB, free: 2.219 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000227/0.5314, allocations: 31.62 kB / 454 MB, free: 2.188 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.82e-05/0.5315, allocations: 35.69 kB / 454 MB, free: 2.156 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.866e-06/0.5315, allocations: 8 kB / 454 MB, free: 2.148 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.095e-06/0.5315, allocations: 128 / 454 MB, free: 2.148 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.28e-05/0.5315, allocations: 8 kB / 454 MB, free: 2.141 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001779/0.5333, allocations: 0.6436 MB / 454.7 MB, free: 1.434 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.5334, allocations: 0 / 454.7 MB, free: 1.434 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006738/0.534, allocations: 91.89 kB / 454.8 MB, free: 1.344 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.397e-05/0.5341, allocations: 7.984 kB / 454.8 MB, free: 1.336 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.705e-05/0.5341, allocations: 8 kB / 454.8 MB, free: 1.328 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.726e-06/0.5341, allocations: 7.953 kB / 454.8 MB, free: 1.32 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.428e-06/0.5342, allocations: 4 kB / 454.8 MB, free: 1.316 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009077/0.5351, allocations: 0.9033 MB / 455.7 MB, free: 340 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001177/0.5352, allocations: 108.8 kB / 455.8 MB, free: 212 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.127e-05/0.5353, allocations: 8 kB / 455.8 MB, free: 204 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005074/0.5358, allocations: 19.98 kB / 455.8 MB, free: 184 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.595e-05/0.5359, allocations: 19.92 kB / 455.8 MB, free: 164 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.476e-05/0.5359, allocations: 11.98 kB / 455.9 MB, free: 152 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002523/0.5362, allocations: 179.1 kB / 456 MB, free: 15.98 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.2e-07/0.5362, allocations: 0 / 456 MB, free: 15.98 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001034/0.5373, allocations: 109.2 kB / 456.1 MB, free: 15.87 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.0001811/0.5375, allocations: 127.6 kB / 456.3 MB, free: 15.73 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005921/0.5381, allocations: 238.4 kB / 456.5 MB, free: 15.5 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.119e-06/0.5381, allocations: 0 / 456.5 MB, free: 15.5 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001797/0.5383, allocations: 80.17 kB / 456.6 MB, free: 15.43 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000794/0.5391, allocations: 66.28 kB / 456.6 MB, free: 15.36 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002821/0.5419, allocations: 1.517 MB / 458.2 MB, free: 13.8 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005998/0.5426, allocations: 0.8033 MB / 459 MB, free: 12.97 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002613/0.5428, allocations: 47.25 kB / 459 MB, free: 12.92 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.814e-05/0.5429, allocations: 27.44 kB / 459 MB, free: 12.89 MB / 394.7 MB Notification: Performance of SimCode: time 1.898e-06/0.5429, allocations: 0 / 459 MB, free: 12.89 MB / 394.7 MB Notification: Performance of Templates: time 0.008963/0.5519, allocations: 2.652 MB / 461.7 MB, free: 10.26 MB / 394.7 MB