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.729/1.729, allocations: 171.2 MB / 185.7 MB, free: 1.398 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.058e-05/3.059e-05, allocations: 4 kB / 228.2 MB, free: 7.324 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0823/0.08235, allocations: 38.77 MB / 266.9 MB, free: 484 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField): time 0.02202/0.1044, allocations: 14.31 MB / 281.2 MB, free: 2.113 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.01269/0.1172, allocations: 4.306 MB / 285.5 MB, free: 13.79 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003081/0.1203, allocations: 71.88 kB / 285.6 MB, free: 13.72 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002571/0.1229, allocations: 0.696 MB / 286.3 MB, free: 13.02 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008308/0.1313, allocations: 2.166 MB / 288.5 MB, free: 10.85 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001968/0.1333, allocations: 451.1 kB / 288.9 MB, free: 10.41 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003191/0.1365, allocations: 1.053 MB / 290 MB, free: 9.355 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002751/0.1393, allocations: 1.335 MB / 291.3 MB, free: 8 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001242/0.1406, allocations: 0.4988 MB / 291.8 MB, free: 7.5 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001767/0.1424, allocations: 0.7987 MB / 292.6 MB, free: 6.699 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00236/0.1448, allocations: 0.7684 MB / 293.4 MB, free: 5.93 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007101/0.1456, allocations: 88 kB / 293.5 MB, free: 5.844 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001279/0.1469, allocations: 0.8765 MB / 294.3 MB, free: 4.965 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006231/0.1475, allocations: 148 kB / 294.5 MB, free: 4.82 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005224/0.1528, allocations: 3.106 MB / 297.6 MB, free: 1.707 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1528, allocations: 4 kB / 297.6 MB, free: 1.703 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.186e-06/0.1528, allocations: 4 kB / 297.6 MB, free: 1.699 MB / 250.7 MB Notification: Performance of Transformations before backend: time 0.000128/0.153, allocations: 0 / 297.6 MB, free: 1.699 MB / 250.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.2219/0.3749, allocations: 2.567 MB / 300.2 MB, free: 29.86 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/0.375, allocations: 9.328 kB / 300.2 MB, free: 29.86 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01184/0.3868, allocations: 1.895 MB / 302.1 MB, free: 29.69 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004982/0.3918, allocations: 1.618 MB / 303.7 MB, free: 29.08 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002227/0.3921, allocations: 127.8 kB / 303.8 MB, free: 29.05 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001241/0.3934, allocations: 170.7 kB / 304 MB, free: 29.01 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01733/0.4107, allocations: 6.586 MB / 310.6 MB, free: 25.48 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001087/0.4109, allocations: 28.09 kB / 310.6 MB, free: 25.46 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004474/0.4114, allocations: 86.25 kB / 310.7 MB, free: 25.43 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003834/0.4152, allocations: 1.407 MB / 312.1 MB, free: 24.88 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01588/0.4311, allocations: 5.867 MB / 317.9 MB, free: 20.16 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03968/0.4709, allocations: 25.72 MB / 343.7 MB, free: 9.832 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009849/0.4808, allocations: 2.588 MB / 346.2 MB, free: 7.09 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01316/0.494, allocations: 4.836 MB / 351.1 MB, free: 2.184 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.771e-05/0.4941, allocations: 54 kB / 351.1 MB, free: 2.125 MB / 266.7 MB Notification: Performance of pre-optimization done (n=97): time 5.029e-06/0.4941, allocations: 0 / 351.1 MB, free: 2.125 MB / 266.7 MB Notification: Performance of matching and sorting (n=105): time 0.04335/0.5375, allocations: 10.08 MB / 361.2 MB, free: 7.859 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.721e-05/0.5377, allocations: 140.9 kB / 361.3 MB, free: 7.691 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006086/0.5438, allocations: 2.518 MB / 363.9 MB, free: 5.156 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003163/0.5441, allocations: 41.7 kB / 363.9 MB, free: 5.109 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002304/0.5465, allocations: 2.05 MB / 366 MB, free: 3.062 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008505/0.5474, allocations: 423.4 kB / 366.4 MB, free: 2.652 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004598/0.5478, allocations: 80.94 kB / 366.5 MB, free: 2.574 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0003858/0.5482, allocations: 482.9 kB / 366.9 MB, free: 2.094 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004171/0.5524, allocations: 1.421 MB / 368.3 MB, free: 0.668 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00674/0.5592, allocations: 4.003 MB / 372.3 MB, free: 11.36 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006246/0.5655, allocations: 2.329 MB / 374.7 MB, free: 9.027 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.081e-05/0.5657, allocations: 28 kB / 374.7 MB, free: 9 MB / 298.7 MB Notification: Performance of matching and sorting (n=531) (initialization): time 0.01942/0.5851, allocations: 5.945 MB / 380.6 MB, free: 3.043 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.333e-05/0.5852, allocations: 44 kB / 380.7 MB, free: 3 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001509/0.5854, allocations: 92 kB / 380.8 MB, free: 2.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004404/0.5898, allocations: 0.8386 MB / 381.6 MB, free: 2.066 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00587/0.5957, allocations: 0.9318 MB / 382.6 MB, free: 1.133 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01017/0.606, allocations: 4.435 MB / 387 MB, free: 12.57 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004627/0.6107, allocations: 236.5 kB / 387.2 MB, free: 12.34 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009111/0.6116, allocations: 260.7 kB / 387.5 MB, free: 12.08 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 422 * 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 (495): * Single equations (assignments): 491 * 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.003569/0.6152, allocations: 1.338 MB / 388.8 MB, free: 10.73 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006976/0.6159, allocations: 225 kB / 389 MB, free: 10.51 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007717/0.6237, allocations: 2.141 MB / 391.2 MB, free: 8.355 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-05/0.6238, allocations: 17.89 kB / 391.2 MB, free: 8.34 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-05/0.6238, allocations: 4 kB / 391.2 MB, free: 8.336 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-05/0.6238, allocations: 3.984 kB / 391.2 MB, free: 8.332 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01638/0.6402, allocations: 5.079 MB / 396.3 MB, free: 3.195 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.332e-05/0.6403, allocations: 0 / 396.3 MB, free: 3.195 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001634/0.642, allocations: 155.8 kB / 396.4 MB, free: 3.043 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004153/0.6462, allocations: 0.6872 MB / 397.1 MB, free: 2.352 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002896/0.6465, allocations: 16 kB / 397.1 MB, free: 2.336 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009441/0.656, allocations: 3.98 MB / 401.1 MB, free: 14.22 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.982e-06/0.656, allocations: 7.938 kB / 401.1 MB, free: 14.21 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01519/0.6712, allocations: 4.151 MB / 405.3 MB, free: 10.01 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002374/0.6737, allocations: 465.9 kB / 405.7 MB, free: 9.531 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009734/0.6747, allocations: 16 kB / 405.7 MB, free: 9.516 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003052/0.6778, allocations: 71.89 kB / 405.8 MB, free: 9.445 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004839/0.6783, allocations: 56.42 kB / 405.9 MB, free: 9.391 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002138/0.6785, allocations: 32 kB / 405.9 MB, free: 9.359 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0067/0.6853, allocations: 1.763 MB / 407.7 MB, free: 7.586 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.072e-06/0.6853, allocations: 0 / 407.7 MB, free: 7.586 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.007773/0.6931, allocations: 0.6881 MB / 408.3 MB, free: 6.91 MB / 330.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.001041/0.6942, allocations: 192.5 kB / 408.5 MB, free: 6.723 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.01255/0.7068, allocations: 3.437 MB / 412 MB, free: 3.301 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.349e-05/0.7069, allocations: 4.188 kB / 412 MB, free: 3.297 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003546/0.7104, allocations: 1.028 MB / 413 MB, free: 2.254 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003207/0.7137, allocations: 237.1 kB / 413.2 MB, free: 2.02 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0183/0.7321, allocations: 6.613 MB / 419.8 MB, free: 11.36 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004363/0.7365, allocations: 2.292 MB / 422.1 MB, free: 9.039 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.006056/0.7426, allocations: 1.321 MB / 423.5 MB, free: 7.711 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009745/0.7436, allocations: 155.4 kB / 423.6 MB, free: 7.559 MB / 346.7 MB Notification: Performance of SimCode: time 1.613e-06/0.7436, allocations: 0 / 423.6 MB, free: 7.559 MB / 346.7 MB Notification: Performance of Templates: time 0.3592/1.103, allocations: 22.74 MB / 446.3 MB, free: 106.9 MB / 346.7 MB