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.3_ModelicaTest.Rotational.ForUsersGuide.Directions2") Notification: Performance of loadModel(ModelicaTest): time 2.369/2.369, allocations: 249.5 MB / 261.6 MB, free: 2.156 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.668e-05/3.678e-05, allocations: 4 kB / 323.4 MB, free: 4.312 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3661/0.3662, allocations: 58.84 MB / 382.2 MB, free: 10.32 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1369/0.5031, allocations: 86.87 MB / 469.1 MB, free: 5.656 MB / 394.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002356/0.5034, allocations: 71.95 kB / 469.1 MB, free: 5.586 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.02512/0.5285, allocations: 6.097 MB / 475.2 MB, free: 15.47 MB / 410.8 MB Notification: Performance of FrontEnd: time 2.604e-06/0.5286, allocations: 0 / 475.2 MB, free: 15.47 MB / 410.8 MB Notification: Performance of Transformations before backend: time 2.252e-05/0.5286, allocations: 8 kB / 475.2 MB, free: 15.46 MB / 410.8 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.0009795/0.5296, allocations: 0.5481 MB / 475.8 MB, free: 14.87 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.5297, allocations: 8.031 kB / 475.8 MB, free: 14.86 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001096/0.5298, allocations: 47.47 kB / 475.8 MB, free: 14.82 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003799/0.5302, allocations: 255.3 kB / 476.1 MB, free: 14.52 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.228e-05/0.5303, allocations: 32.78 kB / 476.1 MB, free: 14.49 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.984e-05/0.5304, allocations: 39.91 kB / 476.2 MB, free: 14.45 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007743/0.5311, allocations: 361.8 kB / 476.5 MB, free: 14.07 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.632e-05/0.5312, allocations: 15.83 kB / 476.5 MB, free: 14.05 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.053e-05/0.5313, allocations: 23.95 kB / 476.6 MB, free: 14.03 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.629e-05/0.5313, allocations: 12 kB / 476.6 MB, free: 14.02 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004836/0.5318, allocations: 183.9 kB / 476.8 MB, free: 13.84 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003117/0.5349, allocations: 1.708 MB / 478.5 MB, free: 12.02 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005253/0.5355, allocations: 242.4 kB / 478.7 MB, free: 11.72 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001796/0.5357, allocations: 98.02 kB / 478.8 MB, free: 11.61 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 3.032e-05/0.5357, allocations: 7.984 kB / 478.8 MB, free: 11.6 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.889e-05/0.5358, allocations: 42.5 kB / 478.8 MB, free: 11.55 MB / 410.8 MB Notification: Performance of pre-optimization done (n=26): time 3.483e-06/0.5358, allocations: 4 kB / 478.8 MB, free: 11.54 MB / 410.8 MB Notification: Performance of matching and sorting (n=26): time 0.0006991/0.5365, allocations: 185.2 kB / 479 MB, free: 11.36 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001434/0.5367, allocations: 213.6 kB / 479.2 MB, free: 11.1 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003644/0.537, allocations: 235.3 kB / 479.5 MB, free: 10.86 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 3.065e-05/0.5371, allocations: 25.7 kB / 479.5 MB, free: 10.82 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002121/0.5373, allocations: 247.5 kB / 479.7 MB, free: 10.57 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001319/0.5375, allocations: 122.5 kB / 479.9 MB, free: 10.45 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.759e-05/0.5375, allocations: 12 kB / 479.9 MB, free: 10.44 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0002015/0.5377, allocations: 346.8 kB / 480.2 MB, free: 10.09 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002239/0.538, allocations: 81.56 kB / 480.3 MB, free: 10.02 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005321/0.5385, allocations: 408.5 kB / 480.7 MB, free: 9.453 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003625/0.5389, allocations: 155.8 kB / 480.8 MB, free: 9.301 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.129e-05/0.5389, allocations: 4 kB / 480.8 MB, free: 9.297 MB / 410.8 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001115/0.54, allocations: 481.2 kB / 481.3 MB, free: 8.82 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.421e-05/0.5401, allocations: 12.62 kB / 481.3 MB, free: 8.809 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.952e-05/0.5401, allocations: 8.281 kB / 481.3 MB, free: 8.801 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.058e-05/0.5402, allocations: 20 kB / 481.3 MB, free: 8.781 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006597/0.5408, allocations: 143.8 kB / 481.5 MB, free: 8.641 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.268e-05/0.5409, allocations: 24.39 kB / 481.5 MB, free: 8.617 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004782/0.5414, allocations: 75.38 kB / 481.6 MB, free: 8.543 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.397e-05/0.5415, allocations: 32 kB / 481.6 MB, free: 8.512 MB / 410.8 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.0001712/0.5416, allocations: 148.7 kB / 481.8 MB, free: 8.359 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002383/0.5419, allocations: 39.55 kB / 481.8 MB, free: 8.32 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001019/0.542, allocations: 33.91 kB / 481.8 MB, free: 8.285 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.892e-06/0.542, allocations: 4 kB / 481.8 MB, free: 8.281 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.485e-06/0.5421, allocations: 4 kB / 481.8 MB, free: 8.277 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.394e-06/0.5421, allocations: 4 kB / 481.8 MB, free: 8.273 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001802/0.5439, allocations: 0.6358 MB / 482.5 MB, free: 7.574 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.878e-06/0.5439, allocations: 4 kB / 482.5 MB, free: 7.57 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006452/0.5446, allocations: 91.89 kB / 482.6 MB, free: 7.48 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.573e-06/0.5446, allocations: 0 / 482.6 MB, free: 7.48 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.986e-05/0.5447, allocations: 20.05 kB / 482.6 MB, free: 7.461 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.105e-05/0.5447, allocations: 4 kB / 482.6 MB, free: 7.457 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.641e-06/0.5447, allocations: 3.938 kB / 482.6 MB, free: 7.453 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001006/0.5457, allocations: 0.8979 MB / 483.5 MB, free: 6.473 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001318/0.5459, allocations: 108.8 kB / 483.6 MB, free: 6.348 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.258e-05/0.546, allocations: 12 kB / 483.6 MB, free: 6.336 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005057/0.5465, allocations: 15.95 kB / 483.6 MB, free: 6.32 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.546e-05/0.5466, allocations: 24.09 kB / 483.7 MB, free: 6.297 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-05/0.5466, allocations: 15.98 kB / 483.7 MB, free: 6.281 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.0002561/0.5469, allocations: 179.1 kB / 483.8 MB, free: 6.109 MB / 410.8 MB Notification: Performance of sort global known variables: time 7.98e-07/0.5469, allocations: 4 kB / 483.8 MB, free: 6.105 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.001031/0.5479, allocations: 99.78 kB / 483.9 MB, free: 6.008 MB / 410.8 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.0001833/0.5481, allocations: 111.2 kB / 484.1 MB, free: 5.891 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0006086/0.5488, allocations: 245.7 kB / 484.3 MB, free: 5.652 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.5488, allocations: 0 / 484.3 MB, free: 5.652 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.000179/0.549, allocations: 75.86 kB / 484.4 MB, free: 5.578 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008359/0.5498, allocations: 62.17 kB / 484.4 MB, free: 5.52 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002903/0.5527, allocations: 1.52 MB / 485.9 MB, free: 3.953 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006041/0.5534, allocations: 0.8111 MB / 486.8 MB, free: 3.117 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0002654/0.5536, allocations: 47.25 kB / 486.8 MB, free: 3.066 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.514e-05/0.5537, allocations: 27.44 kB / 486.8 MB, free: 3.039 MB / 410.8 MB Notification: Performance of SimCode: time 4.006e-06/0.5538, allocations: 0 / 486.8 MB, free: 3.039 MB / 410.8 MB Notification: Performance of Templates: time 0.009154/0.5629, allocations: 2.641 MB / 489.5 MB, free: 424 kB / 410.8 MB