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.1_ModelicaTest.Rotational.ForUsersGuide.Directions2") Notification: Performance of loadModel(ModelicaTest): time 1.934/1.934, allocations: 209.3 MB / 221.5 MB, free: 7.738 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.635e-05/3.652e-05, allocations: 7.938 kB / 273.1 MB, free: 3.16 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09001/0.09007, allocations: 48.68 MB / 321.8 MB, free: 2.383 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3361/0.4263, allocations: 75.43 MB / 397.2 MB, free: 7.41 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001825/0.4265, allocations: 72.88 kB / 397.3 MB, free: 7.406 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.022/0.4485, allocations: 5.79 MB / 403.1 MB, free: 5.84 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.987e-06/0.4486, allocations: 1.859 kB / 403.1 MB, free: 5.84 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.858e-05/0.4486, allocations: 7.562 kB / 403.1 MB, free: 5.84 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.0007588/0.4494, allocations: 0.5533 MB / 403.6 MB, free: 5.367 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.4494, allocations: 11.5 kB / 403.6 MB, free: 5.367 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.076e-05/0.4495, allocations: 42.25 kB / 403.7 MB, free: 5.348 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002714/0.4498, allocations: 260.2 kB / 403.9 MB, free: 5.102 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.892e-05/0.4498, allocations: 27.56 kB / 404 MB, free: 5.102 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.682e-05/0.4499, allocations: 42.19 kB / 404 MB, free: 5.098 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006197/0.4506, allocations: 368.3 kB / 404.4 MB, free: 4.938 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.35e-05/0.4506, allocations: 11.66 kB / 404.4 MB, free: 4.93 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.266e-05/0.4507, allocations: 18.81 kB / 404.4 MB, free: 4.926 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.127e-05/0.4507, allocations: 7.688 kB / 404.4 MB, free: 4.926 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004099/0.4511, allocations: 193.2 kB / 404.6 MB, free: 4.902 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00242/0.4535, allocations: 1.717 MB / 406.3 MB, free: 3.566 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004148/0.454, allocations: 247.4 kB / 406.5 MB, free: 3.379 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001325/0.4541, allocations: 89.77 kB / 406.6 MB, free: 3.316 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.94e-05/0.4542, allocations: 7.672 kB / 406.6 MB, free: 3.312 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.152e-05/0.4542, allocations: 41.97 kB / 406.7 MB, free: 3.27 MB / 314.7 MB Notification: Performance of pre-optimization done (n=26): time 3.858e-06/0.4542, allocations: 0 / 406.7 MB, free: 3.27 MB / 314.7 MB Notification: Performance of matching and sorting (n=26): time 0.0005784/0.4548, allocations: 185.5 kB / 406.9 MB, free: 3.195 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.814e-05/0.4549, allocations: 209.5 kB / 407.1 MB, free: 2.945 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002662/0.4552, allocations: 244.2 kB / 407.3 MB, free: 2.824 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.2e-05/0.4552, allocations: 28.77 kB / 407.3 MB, free: 2.793 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001144/0.4553, allocations: 239.2 kB / 407.6 MB, free: 2.609 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.641e-05/0.4554, allocations: 120.2 kB / 407.7 MB, free: 2.523 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.322e-05/0.4555, allocations: 15.84 kB / 407.7 MB, free: 2.52 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.649e-05/0.4555, allocations: 351.3 kB / 408 MB, free: 2.191 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002097/0.4558, allocations: 81.97 kB / 408.1 MB, free: 2.191 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003167/0.4561, allocations: 408.5 kB / 408.5 MB, free: 1.75 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002991/0.4564, allocations: 156.8 kB / 408.7 MB, free: 1.707 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.54e-06/0.4564, allocations: 3.844 kB / 408.7 MB, free: 1.707 MB / 314.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0009118/0.4574, allocations: 479 kB / 409.1 MB, free: 1.551 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.341e-05/0.4574, allocations: 11.66 kB / 409.2 MB, free: 1.551 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.632e-05/0.4574, allocations: 11.47 kB / 409.2 MB, free: 1.551 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.93e-05/0.4575, allocations: 15.5 kB / 409.2 MB, free: 1.551 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006119/0.4581, allocations: 147.1 kB / 409.3 MB, free: 1.523 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.186e-05/0.4581, allocations: 23.08 kB / 409.3 MB, free: 1.516 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004404/0.4586, allocations: 73.56 kB / 409.4 MB, free: 1.48 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.945e-05/0.4586, allocations: 38.55 kB / 409.5 MB, free: 1.473 MB / 314.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.000112/0.4588, allocations: 142.5 kB / 409.6 MB, free: 1.352 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002234/0.459, allocations: 34.95 kB / 409.6 MB, free: 1.332 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.25e-05/0.4591, allocations: 41.62 kB / 409.7 MB, free: 1.316 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.357e-06/0.4591, allocations: 3.844 kB / 409.7 MB, free: 1.316 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.4591, allocations: 0 / 409.7 MB, free: 1.316 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.73e-06/0.4592, allocations: 3.875 kB / 409.7 MB, free: 1.316 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001732/0.4609, allocations: 0.6467 MB / 410.3 MB, free: 16.84 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.792e-06/0.4609, allocations: 0 / 410.3 MB, free: 16.84 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005718/0.4615, allocations: 92.83 kB / 410.4 MB, free: 16.82 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.007e-05/0.4615, allocations: 7.703 kB / 410.4 MB, free: 16.82 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.119e-05/0.4616, allocations: 6.594 kB / 410.4 MB, free: 16.82 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.004e-06/0.4616, allocations: 3.594 kB / 410.4 MB, free: 16.82 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.4616, allocations: 3.969 kB / 410.4 MB, free: 16.82 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007986/0.4624, allocations: 0.9029 MB / 411.3 MB, free: 16.02 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001572/0.4626, allocations: 115.2 kB / 411.5 MB, free: 15.9 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.911e-05/0.4627, allocations: 23.02 kB / 411.5 MB, free: 15.89 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004987/0.4632, allocations: 7.719 kB / 411.5 MB, free: 15.89 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.066e-05/0.4633, allocations: 23.23 kB / 411.5 MB, free: 15.88 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.126e-05/0.4633, allocations: 11.34 kB / 411.5 MB, free: 15.88 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002249/0.4635, allocations: 187.1 kB / 411.7 MB, free: 15.79 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.24e-07/0.4635, allocations: 0 / 411.7 MB, free: 15.79 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00105/0.4646, allocations: 109.8 kB / 411.8 MB, free: 15.77 MB / 330.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.0001551/0.4648, allocations: 108.6 kB / 411.9 MB, free: 15.68 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000481/0.4653, allocations: 243.6 kB / 412.1 MB, free: 15.64 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.15e-06/0.4653, allocations: 4.125 kB / 412.2 MB, free: 15.64 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001431/0.4654, allocations: 77.8 kB / 412.2 MB, free: 15.63 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000784/0.4662, allocations: 54.36 kB / 412.3 MB, free: 15.62 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002596/0.4689, allocations: 1.528 MB / 413.8 MB, free: 14.38 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005704/0.4695, allocations: 0.8046 MB / 414.6 MB, free: 13.62 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002572/0.4697, allocations: 42.48 kB / 414.7 MB, free: 13.6 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.672e-05/0.4698, allocations: 30.39 kB / 414.7 MB, free: 13.59 MB / 330.7 MB Notification: Performance of SimCode: time 2.016e-06/0.4698, allocations: 4 kB / 414.7 MB, free: 13.59 MB / 330.7 MB Notification: Performance of Templates: time 0.008783/0.4786, allocations: 2.639 MB / 417.3 MB, free: 12.31 MB / 330.7 MB