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_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions2") Notification: Performance of loadModel(ModelicaTest): time 2.616/2.616, allocations: 270.1 MB / 283.6 MB, free: 3.113 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.601e-05/3.614e-05, allocations: 4 kB / 348.4 MB, free: 10.83 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1392, allocations: 61.89 MB / 410.3 MB, free: 13 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4265/0.5658, allocations: 87.92 MB / 498.2 MB, free: 252 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002241/0.566, allocations: 67.97 kB / 498.3 MB, free: 184 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02722/0.5933, allocations: 6.289 MB / 0.4927 GB, free: 9.879 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.514e-06/0.5933, allocations: 0 / 0.4927 GB, free: 9.879 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3e-05/0.5934, 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.001614/0.595, allocations: 0.5454 MB / 0.4933 GB, free: 9.277 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.52e-05/0.5951, allocations: 12.03 kB / 0.4933 GB, free: 9.266 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001911/0.5953, allocations: 47.38 kB / 0.4933 GB, free: 9.219 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006416/0.596, allocations: 255.3 kB / 0.4936 GB, free: 8.926 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.724e-05/0.5961, allocations: 24.78 kB / 0.4936 GB, free: 8.902 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001631/0.5963, allocations: 47.91 kB / 0.4936 GB, free: 8.855 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001199/0.5975, allocations: 365.8 kB / 0.494 GB, free: 8.465 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.692e-05/0.5975, allocations: 4 kB / 0.494 GB, free: 8.461 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.457e-05/0.5976, allocations: 16 kB / 0.494 GB, free: 8.445 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.458e-05/0.5977, allocations: 8 kB / 0.494 GB, free: 8.438 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007732/0.5985, allocations: 191.8 kB / 0.4942 GB, free: 8.25 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004853/0.6033, allocations: 1.711 MB / 0.4959 GB, free: 6.434 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008338/0.6042, allocations: 238.4 kB / 0.4961 GB, free: 6.137 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000281/0.6045, allocations: 88.98 kB / 0.4962 GB, free: 6.031 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.167e-05/0.6046, allocations: 19.88 kB / 0.4962 GB, free: 6.012 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.971e-05/0.6047, allocations: 42.56 kB / 0.4962 GB, free: 5.961 MB / 410.7 MB Notification: Performance of pre-optimization done (n=26): time 5.641e-06/0.6047, allocations: 0 / 0.4962 GB, free: 5.961 MB / 410.7 MB Notification: Performance of matching and sorting (n=26): time 0.001073/0.6058, allocations: 181.1 kB / 0.4964 GB, free: 5.777 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001953/0.606, allocations: 217.7 kB / 0.4966 GB, free: 5.516 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006055/0.6066, allocations: 235.3 kB / 0.4968 GB, free: 5.285 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.211e-05/0.6067, allocations: 29.7 kB / 0.4969 GB, free: 5.25 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003206/0.6071, allocations: 247.4 kB / 0.4971 GB, free: 5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001651/0.6073, allocations: 114.4 kB / 0.4972 GB, free: 4.887 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.185e-05/0.6073, allocations: 16 kB / 0.4972 GB, free: 4.871 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001964/0.6075, allocations: 338.8 kB / 0.4976 GB, free: 4.531 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002304/0.6078, allocations: 85.56 kB / 0.4976 GB, free: 4.445 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005122/0.6083, allocations: 412.6 kB / 0.498 GB, free: 3.883 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003641/0.6087, allocations: 159.8 kB / 0.4982 GB, free: 3.727 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.066e-05/0.6087, allocations: 4 kB / 0.4982 GB, free: 3.723 MB / 410.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001125/0.6098, allocations: 473.6 kB / 0.4986 GB, free: 3.254 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.175e-05/0.6099, allocations: 11.95 kB / 0.4987 GB, free: 3.242 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.105e-05/0.6099, allocations: 24.05 kB / 0.4987 GB, free: 3.219 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.535e-05/0.6099, allocations: 16 kB / 0.4987 GB, free: 3.203 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006702/0.6106, allocations: 143.8 kB / 0.4988 GB, free: 3.062 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.268e-05/0.6107, allocations: 27.86 kB / 0.4989 GB, free: 3.035 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004745/0.6112, allocations: 63.38 kB / 0.4989 GB, free: 2.973 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.717e-05/0.6112, allocations: 36 kB / 0.4989 GB, free: 2.938 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.0001801/0.6114, allocations: 151.2 kB / 0.4991 GB, free: 2.785 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002386/0.6117, allocations: 35.7 kB / 0.4991 GB, free: 2.75 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001014/0.6118, allocations: 41.8 kB / 0.4992 GB, free: 2.707 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.705e-06/0.6118, allocations: 4 kB / 0.4992 GB, free: 2.703 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.006e-05/0.6118, allocations: 7.938 kB / 0.4992 GB, free: 2.695 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.348e-06/0.6119, allocations: 0 / 0.4992 GB, free: 2.695 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001825/0.6137, allocations: 0.6397 MB / 0.4998 GB, free: 1.992 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.501e-06/0.6137, allocations: 4 kB / 0.4998 GB, free: 1.988 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001321/0.6151, allocations: 87.89 kB / 0.4999 GB, free: 1.902 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.567e-05/0.6151, allocations: 4 kB / 0.4999 GB, free: 1.898 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.081e-05/0.6152, allocations: 15.98 kB / 0.4999 GB, free: 1.883 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.534e-05/0.6153, allocations: 4.188 kB / 0.4999 GB, free: 1.879 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.295e-05/0.6153, allocations: 4 kB / 0.4999 GB, free: 1.875 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001934/0.6172, allocations: 0.9009 MB / 0.5008 GB, free: 0.8945 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002518/0.6175, allocations: 104.9 kB / 0.5009 GB, free: 0.7734 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001415/0.6177, allocations: 12 kB / 0.5009 GB, free: 0.7617 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001323/0.6191, allocations: 8 kB / 0.5009 GB, free: 0.7539 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001433/0.6192, allocations: 31.92 kB / 0.5009 GB, free: 0.7227 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.194e-05/0.6193, allocations: 8 kB / 0.501 GB, free: 0.7148 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005297/0.6199, allocations: 179.1 kB / 0.5011 GB, free: 0.543 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.169e-06/0.6199, allocations: 0 / 0.5011 GB, free: 0.543 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002571/0.6225, allocations: 103.8 kB / 0.5012 GB, free: 452 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.0003149/0.6228, allocations: 115.4 kB / 0.5013 GB, free: 328 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001336/0.6242, allocations: 241.6 kB / 0.5016 GB, free: 88 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.128e-05/0.6242, allocations: 4 kB / 0.5016 GB, free: 84 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003816/0.6246, allocations: 77.45 kB / 0.5016 GB, free: 8 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00201/0.6267, allocations: 69.88 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.006193/0.6329, allocations: 1.523 MB / 0.5032 GB, free: 14.37 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001121/0.6341, allocations: 0.8072 MB / 0.504 GB, free: 13.54 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000594/0.6347, allocations: 39.27 kB / 0.504 GB, free: 13.49 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001712/0.6349, allocations: 35.36 kB / 0.5041 GB, free: 13.46 MB / 426.7 MB Notification: Performance of SimCode: time 2.769e-06/0.6349, allocations: 0 / 0.5041 GB, free: 13.46 MB / 426.7 MB Notification: Performance of Templates: time 0.02761/0.6625, allocations: 2.645 MB / 0.5066 GB, free: 10.82 MB / 426.7 MB