Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField") Notification: Performance of loadModel(Modelica): time 1.736/1.736, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.626e-05/3.634e-05, allocations: 4 kB / 225 MB, free: 2.32 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2128/0.2128, allocations: 38.76 MB / 263.8 MB, free: 9.812 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1243/0.3371, allocations: 80.96 MB / 344.7 MB, free: 8.73 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002843/0.3375, allocations: 83.95 kB / 344.8 MB, free: 8.648 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4079/0.7453, allocations: 57.69 MB / 402.5 MB, free: 70.86 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.342e-06/0.7454, allocations: 0 / 402.5 MB, free: 70.86 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.968e-05/0.7455, allocations: 48 kB / 402.6 MB, free: 70.82 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: 948 * Number of variables: 948 Notification: Performance of Generate backend data structure: time 0.007056/0.7526, allocations: 2.621 MB / 405.2 MB, free: 68.15 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.7526, allocations: 8.031 kB / 405.2 MB, free: 68.14 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009928/0.7626, allocations: 1.919 MB / 407.1 MB, free: 66.22 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009932/0.7725, allocations: 3.389 MB / 410.5 MB, free: 62.83 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001898/0.7728, allocations: 183.7 kB / 410.7 MB, free: 62.67 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009818/0.7738, allocations: 243.4 kB / 410.9 MB, free: 62.45 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01296/0.7867, allocations: 6.748 MB / 417.7 MB, free: 55.01 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001118/0.7869, allocations: 43.58 kB / 417.7 MB, free: 54.96 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005099/0.7874, allocations: 123.9 kB / 417.8 MB, free: 54.84 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001084/0.7885, allocations: 0.7344 MB / 418.6 MB, free: 54.11 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01185/0.8004, allocations: 5.716 MB / 424.3 MB, free: 48.39 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0333/0.8337, allocations: 31.13 MB / 455.4 MB, free: 16.25 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006804/0.8406, allocations: 2.599 MB / 458 MB, free: 13.5 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001884/0.8425, allocations: 1.196 MB / 459.2 MB, free: 12.3 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0102/0.8527, allocations: 5.145 MB / 464.4 MB, free: 6.996 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.932e-05/0.8528, allocations: 42.56 kB / 464.4 MB, free: 6.945 MB / 314.7 MB Notification: Performance of pre-optimization done (n=97): time 5.807e-06/0.8528, allocations: 4 kB / 464.4 MB, free: 6.941 MB / 314.7 MB Notification: Performance of matching and sorting (n=105): time 0.0238/0.8766, allocations: 8.011 MB / 472.4 MB, free: 14.8 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/0.8768, allocations: 141 kB / 472.5 MB, free: 14.63 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005393/0.8822, allocations: 2.372 MB / 474.9 MB, free: 12.23 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002478/0.8825, allocations: 37.7 kB / 475 MB, free: 12.19 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002261/0.8848, allocations: 2.037 MB / 477 MB, free: 10.12 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007361/0.8855, allocations: 430.7 kB / 477.4 MB, free: 9.699 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004347/0.886, allocations: 80 kB / 477.5 MB, free: 9.621 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0004309/0.8864, allocations: 486.9 kB / 478 MB, free: 9.137 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00341/0.8899, allocations: 1.394 MB / 479.4 MB, free: 7.738 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005912/0.8958, allocations: 3.939 MB / 483.3 MB, free: 2.496 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004987/0.9008, allocations: 2.309 MB / 485.6 MB, free: 196 kB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.811e-05/0.901, allocations: 28 kB / 485.6 MB, free: 168 kB / 330.7 MB Notification: Performance of matching and sorting (n=529) (initialization): time 0.01586/0.9168, allocations: 5.603 MB / 491.2 MB, free: 10.55 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001029/0.917, allocations: 44.94 kB / 491.3 MB, free: 10.5 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001498/0.9172, allocations: 95.98 kB / 491.4 MB, free: 10.41 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003301/0.9205, allocations: 0.828 MB / 492.2 MB, free: 9.578 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004315/0.9248, allocations: 0.9435 MB / 493.1 MB, free: 8.633 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008332/0.9332, allocations: 4.282 MB / 497.4 MB, free: 4.223 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004559/0.9378, allocations: 279.6 kB / 497.7 MB, free: 3.949 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009679/0.9388, allocations: 256 kB / 498 MB, free: 3.699 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 420 * Number of states: 0 () * Number of discrete variables: 18 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (493): * Single equations (assignments): 489 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009447/0.9398, allocations: 424.5 kB / 498.4 MB, free: 3.273 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006143/0.9404, allocations: 221.7 kB / 498.6 MB, free: 3.055 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005981/0.9464, allocations: 2.122 MB / 0.489 GB, free: 0.9102 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.026e-05/0.9465, allocations: 12 kB / 0.489 GB, free: 0.8984 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-05/0.9465, allocations: 7.953 kB / 0.489 GB, free: 0.8906 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.22e-05/0.9466, allocations: 3.984 kB / 0.489 GB, free: 0.8867 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.236/1.183, allocations: 5.065 MB / 0.4939 GB, free: 92.59 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.46e-05/1.183, allocations: 5.578 kB / 0.4939 GB, free: 92.59 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002105/1.185, allocations: 142.5 kB / 0.4941 GB, free: 92.59 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006239/1.191, allocations: 0.6813 MB / 0.4947 GB, free: 92.58 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004149/1.192, allocations: 18.55 kB / 0.4948 GB, free: 92.58 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01319/1.205, allocations: 3.84 MB / 0.4985 GB, free: 91.33 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.905e-06/1.205, allocations: 7.562 kB / 0.4985 GB, free: 91.33 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01273/1.218, allocations: 4.12 MB / 0.5025 GB, free: 90.79 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00125/1.219, allocations: 457.5 kB / 0.503 GB, free: 90.7 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005325/1.219, allocations: 15.58 kB / 0.503 GB, free: 90.7 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001683/1.221, allocations: 81.64 kB / 0.5031 GB, free: 90.7 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002592/1.221, allocations: 57.39 kB / 0.5031 GB, free: 90.69 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001305/1.222, allocations: 38.28 kB / 0.5032 GB, free: 90.69 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.003207/1.225, allocations: 1.64 MB / 0.5048 GB, free: 90.53 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.034e-06/1.225, allocations: 0 / 0.5048 GB, free: 90.53 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.004518/1.229, allocations: 0.6715 MB / 0.5054 GB, free: 90.53 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 70 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000506/1.23, allocations: 187 kB / 0.5056 GB, free: 90.45 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.009198/1.239, allocations: 3.258 MB / 0.5088 GB, free: 89.73 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.858e-06/1.239, allocations: 0 / 0.5088 GB, free: 89.73 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002791/1.242, allocations: 1.023 MB / 0.5098 GB, free: 89.33 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001653/1.244, allocations: 234.6 kB / 0.51 GB, free: 89.21 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009388/1.253, allocations: 4.539 MB / 0.5144 GB, free: 87.62 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00278/1.256, allocations: 2.28 MB / 0.5167 GB, free: 86.59 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.00427/1.26, allocations: 1.32 MB / 0.518 GB, free: 86.56 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006685/1.261, allocations: 160.3 kB / 0.5181 GB, free: 86.55 MB / 346.7 MB Notification: Performance of SimCode: time 1.727e-06/1.261, allocations: 0 / 0.5181 GB, free: 86.55 MB / 346.7 MB Notification: Performance of Templates: time 0.05864/1.32, allocations: 21.82 MB / 0.5394 GB, free: 72.87 MB / 346.7 MB