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_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions2") Notification: Performance of loadModel(ModelicaTest): time 2.587/2.587, allocations: 270 MB / 283.6 MB, free: 3.117 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.573e-05/3.59e-05, allocations: 5.828 kB / 348.4 MB, free: 10.82 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1168, allocations: 61.88 MB / 410.3 MB, free: 13 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4237/0.5405, allocations: 87.92 MB / 498.2 MB, free: 244 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002245/0.5408, allocations: 67.97 kB / 498.2 MB, free: 176 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02579/0.5666, allocations: 6.282 MB / 0.4927 GB, free: 9.879 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.146e-06/0.5667, allocations: 0 / 0.4927 GB, free: 9.879 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.832e-05/0.5667, allocations: 8 kB / 0.4927 GB, free: 9.871 MB / 410.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.0009898/0.5677, allocations: 0.5494 MB / 0.4933 GB, free: 9.273 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.5678, allocations: 12.03 kB / 0.4933 GB, free: 9.262 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000117/0.5679, allocations: 55.36 kB / 0.4933 GB, free: 9.207 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003924/0.5683, allocations: 251.4 kB / 0.4936 GB, free: 8.918 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.818e-05/0.5684, allocations: 24.78 kB / 0.4936 GB, free: 8.895 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.097e-05/0.5685, allocations: 47.91 kB / 0.4936 GB, free: 8.848 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007633/0.5692, allocations: 361.8 kB / 0.494 GB, free: 8.461 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.483e-05/0.5693, allocations: 7.984 kB / 0.494 GB, free: 8.453 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.922e-05/0.5693, allocations: 16 kB / 0.494 GB, free: 8.438 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.397e-05/0.5694, allocations: 8 kB / 0.494 GB, free: 8.43 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004938/0.5699, allocations: 191.8 kB / 0.4942 GB, free: 8.242 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003116/0.573, allocations: 1.711 MB / 0.4959 GB, free: 6.426 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005203/0.5736, allocations: 242.4 kB / 0.4961 GB, free: 6.125 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001728/0.5737, allocations: 84.98 kB / 0.4962 GB, free: 6.023 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.724e-05/0.5738, allocations: 15.88 kB / 0.4962 GB, free: 6.008 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.668e-05/0.5738, allocations: 38.56 kB / 0.4962 GB, free: 5.961 MB / 410.7 MB Notification: Performance of pre-optimization done (n=26): time 3.896e-06/0.5739, allocations: 4 kB / 0.4962 GB, free: 5.957 MB / 410.7 MB Notification: Performance of matching and sorting (n=26): time 0.0006716/0.5745, allocations: 181.1 kB / 0.4964 GB, free: 5.773 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000152/0.5747, allocations: 225.6 kB / 0.4966 GB, free: 5.504 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00035/0.5751, allocations: 231.3 kB / 0.4968 GB, free: 5.277 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.204e-05/0.5751, allocations: 29.7 kB / 0.4969 GB, free: 5.242 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002141/0.5753, allocations: 243.3 kB / 0.4971 GB, free: 4.996 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001234/0.5755, allocations: 114.5 kB / 0.4972 GB, free: 4.883 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.816e-05/0.5755, allocations: 12 kB / 0.4972 GB, free: 4.871 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001958/0.5757, allocations: 342.8 kB / 0.4975 GB, free: 4.527 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002329/0.576, allocations: 85.56 kB / 0.4976 GB, free: 4.441 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005138/0.5765, allocations: 412.6 kB / 0.498 GB, free: 3.875 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003553/0.5769, allocations: 155.8 kB / 0.4982 GB, free: 3.723 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.029e-05/0.5769, allocations: 4 kB / 0.4982 GB, free: 3.719 MB / 410.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001104/0.578, allocations: 477.7 kB / 0.4986 GB, free: 3.246 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.181e-05/0.5781, allocations: 11.95 kB / 0.4986 GB, free: 3.234 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.034e-05/0.5781, allocations: 16.22 kB / 0.4986 GB, free: 3.219 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.37e-05/0.5781, allocations: 24 kB / 0.4987 GB, free: 3.195 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000634/0.5788, allocations: 143.8 kB / 0.4988 GB, free: 3.055 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.686e-05/0.5788, allocations: 27.86 kB / 0.4988 GB, free: 3.027 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004461/0.5793, allocations: 63.38 kB / 0.4989 GB, free: 2.965 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.724e-05/0.5794, allocations: 32 kB / 0.4989 GB, free: 2.934 MB / 410.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.0001694/0.5795, allocations: 152.7 kB / 0.4991 GB, free: 2.777 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000236/0.5798, allocations: 35.7 kB / 0.4991 GB, free: 2.742 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.365e-05/0.5799, allocations: 41.8 kB / 0.4991 GB, free: 2.699 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.562e-06/0.5799, allocations: 4 kB / 0.4991 GB, free: 2.695 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.712e-06/0.5799, allocations: 4 kB / 0.4992 GB, free: 2.691 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.337e-06/0.5799, allocations: 0 / 0.4992 GB, free: 2.691 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001783/0.5817, allocations: 0.6476 MB / 0.4998 GB, free: 1.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.253e-06/0.5818, allocations: 8.062 kB / 0.4998 GB, free: 1.973 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000633/0.5824, allocations: 87.89 kB / 0.4999 GB, free: 1.887 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.498e-05/0.5825, allocations: 4 kB / 0.4999 GB, free: 1.883 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.96e-05/0.5825, allocations: 15.98 kB / 0.4999 GB, free: 1.867 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.844e-06/0.5825, allocations: 3.938 kB / 0.4999 GB, free: 1.863 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.493e-06/0.5825, allocations: 4 kB / 0.4999 GB, free: 1.859 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009656/0.5835, allocations: 0.894 MB / 0.5008 GB, free: 0.8867 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001255/0.5837, allocations: 108.9 kB / 0.5009 GB, free: 0.7617 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.098e-05/0.5837, allocations: 8 kB / 0.5009 GB, free: 0.7539 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004998/0.5842, allocations: 12 kB / 0.5009 GB, free: 0.7422 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.501e-05/0.5843, allocations: 27.92 kB / 0.5009 GB, free: 0.7148 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.734e-05/0.5844, allocations: 15.98 kB / 0.5009 GB, free: 0.6992 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002622/0.5846, allocations: 175.1 kB / 0.5011 GB, free: 0.5312 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.021e-06/0.5847, allocations: 0 / 0.5011 GB, free: 0.5312 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001039/0.5857, allocations: 103.8 kB / 0.5012 GB, free: 440 kB / 410.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.0001786/0.5859, allocations: 117.9 kB / 0.5013 GB, free: 316 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006214/0.5865, allocations: 241.7 kB / 0.5015 GB, free: 76 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.214e-06/0.5866, allocations: 0 / 0.5015 GB, free: 76 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002036/0.5868, allocations: 80.78 kB / 0.5016 GB, free: 15.99 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000835/0.5876, allocations: 61.69 kB / 0.5017 GB, free: 15.94 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002871/0.5905, allocations: 1.524 MB / 0.5032 GB, free: 14.36 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005721/0.5911, allocations: 0.8111 MB / 0.504 GB, free: 13.52 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002716/0.5914, allocations: 43.25 kB / 0.504 GB, free: 13.48 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.337e-05/0.5915, allocations: 35.38 kB / 0.504 GB, free: 13.44 MB / 426.7 MB Notification: Performance of SimCode: time 1.94e-06/0.5915, allocations: 0 / 0.504 GB, free: 13.44 MB / 426.7 MB Notification: Performance of Templates: time 0.009665/0.6012, allocations: 2.643 MB / 0.5066 GB, free: 10.81 MB / 426.7 MB