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.315/2.315, allocations: 234.9 MB / 249.4 MB, free: 9.789 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.946e-05/3.927e-05, allocations: 0 / 308 MB, free: 15.14 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3698/0.3698, allocations: 54.87 MB / 362.9 MB, free: 11.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions2): time 0.003657/0.3735, allocations: 2.181 MB / 365.1 MB, free: 9.508 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001367/0.3749, allocations: 0.6246 MB / 365.7 MB, free: 8.879 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001844/0.3752, allocations: 11.94 kB / 365.7 MB, free: 8.867 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.679e-05/0.3753, allocations: 43.69 kB / 365.7 MB, free: 8.824 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003397/0.3756, allocations: 123.6 kB / 365.9 MB, free: 8.703 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002461/0.3759, allocations: 59.94 kB / 365.9 MB, free: 8.645 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004209/0.3763, allocations: 235.4 kB / 366.1 MB, free: 8.414 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001814/0.3765, allocations: 66.94 kB / 366.2 MB, free: 8.348 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002582/0.3768, allocations: 123.7 kB / 366.3 MB, free: 8.227 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002636/0.3771, allocations: 143.5 kB / 366.5 MB, free: 8.086 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.858e-05/0.3771, allocations: 12 kB / 366.5 MB, free: 8.074 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.499e-05/0.3772, allocations: 12 kB / 366.5 MB, free: 8.062 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.711e-05/0.3773, allocations: 59.75 kB / 366.6 MB, free: 8.004 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001099/0.3774, allocations: 40 kB / 366.6 MB, free: 7.965 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004359/0.3779, allocations: 305.5 kB / 366.9 MB, free: 7.668 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3779, allocations: 0 / 366.9 MB, free: 7.668 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.3779, allocations: 4 kB / 366.9 MB, free: 7.664 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.303e-05/0.3779, allocations: 0 / 366.9 MB, free: 7.664 MB / 298.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.001207/0.3791, allocations: 0.5694 MB / 367.5 MB, free: 7.047 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.215e-05/0.3792, allocations: 12.02 kB / 367.5 MB, free: 7.035 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001061/0.3793, allocations: 39.53 kB / 367.5 MB, free: 6.996 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004312/0.3797, allocations: 267.3 kB / 367.8 MB, free: 6.695 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.586e-05/0.3798, allocations: 32.94 kB / 367.8 MB, free: 6.66 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001049/0.3799, allocations: 43.89 kB / 367.8 MB, free: 6.617 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001014/0.3809, allocations: 398.1 kB / 368.2 MB, free: 6.195 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.53e-05/0.381, allocations: 7.906 kB / 368.2 MB, free: 6.188 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.278e-05/0.3811, allocations: 20 kB / 368.3 MB, free: 6.168 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.498e-05/0.3811, allocations: 12 kB / 368.3 MB, free: 6.156 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007609/0.3819, allocations: 228.6 kB / 368.5 MB, free: 5.934 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003791/0.3857, allocations: 1.719 MB / 370.2 MB, free: 4.109 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001175/0.3869, allocations: 270.3 kB / 370.5 MB, free: 3.781 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.574e-05/0.387, allocations: 4 kB / 370.5 MB, free: 3.777 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.866e-05/0.3871, allocations: 46.5 kB / 370.5 MB, free: 3.723 MB / 298.7 MB Notification: Performance of pre-optimization done (n=26): time 4.499e-06/0.3871, allocations: 0 / 370.5 MB, free: 3.723 MB / 298.7 MB Notification: Performance of matching and sorting (n=26): time 0.001804/0.3889, allocations: 281.4 kB / 370.8 MB, free: 3.441 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002095/0.3892, allocations: 209.6 kB / 371 MB, free: 3.188 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007328/0.3899, allocations: 238 kB / 371.2 MB, free: 2.945 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.309e-05/0.39, allocations: 29.7 kB / 371.3 MB, free: 2.91 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003706/0.3904, allocations: 247.6 kB / 371.5 MB, free: 2.66 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002062/0.3907, allocations: 114.4 kB / 371.6 MB, free: 2.547 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.696e-05/0.3907, allocations: 12 kB / 371.6 MB, free: 2.535 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000226/0.391, allocations: 346.8 kB / 372 MB, free: 2.188 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005184/0.3915, allocations: 101.2 kB / 372.1 MB, free: 2.09 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009469/0.3925, allocations: 428.8 kB / 372.5 MB, free: 1.508 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000844/0.3934, allocations: 164.2 kB / 372.7 MB, free: 1.348 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.708e-05/0.3934, allocations: 4 kB / 372.7 MB, free: 1.344 MB / 298.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.00202/0.3954, allocations: 0.5396 MB / 373.2 MB, free: 0.7969 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.324e-05/0.3955, allocations: 11.94 kB / 373.2 MB, free: 0.7852 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.313e-05/0.3956, allocations: 12.84 kB / 373.2 MB, free: 0.7734 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.069e-05/0.3956, allocations: 16 kB / 373.2 MB, free: 0.7578 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001233/0.3969, allocations: 151.8 kB / 373.4 MB, free: 0.6094 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.706e-05/0.397, allocations: 23.92 kB / 373.4 MB, free: 0.5859 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000767/0.3977, allocations: 67.31 kB / 373.5 MB, free: 0.5195 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.524e-05/0.3979, allocations: 39.98 kB / 373.5 MB, free: 492 kB / 298.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.0003637/0.3982, allocations: 177.5 kB / 373.7 MB, free: 304 kB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002398/0.3985, allocations: 31.62 kB / 373.7 MB, free: 272 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.854e-05/0.3986, allocations: 37.78 kB / 373.8 MB, free: 236 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.179e-05/0.3986, allocations: 4 kB / 373.8 MB, free: 232 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.048e-05/0.3987, allocations: 4 kB / 373.8 MB, free: 228 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.3987, allocations: 0 / 373.8 MB, free: 228 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00191/0.4006, allocations: 0.6475 MB / 374.4 MB, free: 15.51 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.845e-06/0.4006, allocations: 4 kB / 374.4 MB, free: 15.51 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000927/0.4016, allocations: 87.95 kB / 374.5 MB, free: 15.42 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.254e-05/0.4016, allocations: 4 kB / 374.5 MB, free: 15.42 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.957e-05/0.4016, allocations: 16 kB / 374.5 MB, free: 15.4 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.267e-06/0.4017, allocations: 4.609 kB / 374.5 MB, free: 15.4 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.533e-06/0.4017, allocations: 4 kB / 374.5 MB, free: 15.39 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001138/0.4028, allocations: 0.9291 MB / 375.5 MB, free: 14.39 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001164/0.403, allocations: 116.8 kB / 375.6 MB, free: 14.26 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.597e-05/0.4031, allocations: 12 kB / 375.6 MB, free: 14.25 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004916/0.4036, allocations: 11.98 kB / 375.6 MB, free: 14.23 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.403e-05/0.4037, allocations: 27.91 kB / 375.6 MB, free: 14.21 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.402e-05/0.4037, allocations: 8 kB / 375.6 MB, free: 14.2 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002489/0.4039, allocations: 182 kB / 375.8 MB, free: 14.02 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.404, allocations: 0 / 375.8 MB, free: 14.02 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009866/0.405, allocations: 99.84 kB / 375.9 MB, free: 13.93 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 18 (inertia2.phi,inertia2.w,inertia1.phi,inertia1.w,inertia5.phi,inertia5.w,inertia6.phi,inertia6.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.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.000153/0.4051, allocations: 107.2 kB / 376 MB, free: 13.81 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000856/0.406, allocations: 293.6 kB / 376.3 MB, free: 13.52 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.406, allocations: 0.75 kB / 376.3 MB, free: 13.52 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002903/0.4063, allocations: 99.77 kB / 376.4 MB, free: 13.43 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008956/0.4072, allocations: 72.7 kB / 376.5 MB, free: 13.36 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003651/0.4109, allocations: 1.856 MB / 378.3 MB, free: 11.45 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004773/0.4114, allocations: 0.8033 MB / 379.1 MB, free: 10.62 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003051/0.4117, allocations: 47.19 kB / 379.2 MB, free: 10.57 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.715e-05/0.4118, allocations: 27.44 kB / 379.2 MB, free: 10.55 MB / 314.7 MB Notification: Performance of SimCode: time 1.102e-06/0.4118, allocations: 0 / 379.2 MB, free: 10.55 MB / 314.7 MB Notification: Performance of Templates: time 0.009713/0.4216, allocations: 2.658 MB / 381.9 MB, free: 7.895 MB / 314.7 MB