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.2_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField") Notification: Performance of loadModel(Modelica): time 1.767/1.767, allocations: 194.9 MB / 210.6 MB, free: 8.348 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.369e-05/2.364e-05, allocations: 4 kB / 258.8 MB, free: 8.039 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2862/0.2862, allocations: 44.5 MB / 303.3 MB, free: 12.96 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField): time 0.0208/0.3071, allocations: 14.32 MB / 317.6 MB, free: 15.24 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01098/0.3181, allocations: 4.322 MB / 322 MB, free: 10.9 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002368/0.3205, allocations: 71.81 kB / 322 MB, free: 10.83 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001806/0.3224, allocations: 0.6882 MB / 322.7 MB, free: 10.14 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007171/0.3296, allocations: 2.17 MB / 324.9 MB, free: 7.965 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001571/0.3312, allocations: 427.1 kB / 325.3 MB, free: 7.547 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002685/0.3339, allocations: 1.072 MB / 326.4 MB, free: 6.473 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002388/0.3363, allocations: 1.339 MB / 327.7 MB, free: 5.102 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008523/0.3371, allocations: 0.4988 MB / 328.2 MB, free: 4.602 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001317/0.3385, allocations: 0.787 MB / 329 MB, free: 3.812 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001939/0.3404, allocations: 0.7724 MB / 329.8 MB, free: 3.039 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000459/0.3409, allocations: 91.94 kB / 329.9 MB, free: 2.949 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001063/0.342, allocations: 0.8765 MB / 330.7 MB, free: 2.07 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005346/0.3425, allocations: 152 kB / 330.9 MB, free: 1.922 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004306/0.3469, allocations: 3.101 MB / 334 MB, free: 14.82 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.3469, allocations: 0 / 334 MB, free: 14.82 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.3469, allocations: 4 kB / 334 MB, free: 14.81 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.741e-05/0.347, allocations: 0 / 334 MB, free: 14.81 MB / 282.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.007241/0.3542, allocations: 2.587 MB / 336.6 MB, free: 12.17 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.3543, allocations: 8.031 kB / 336.6 MB, free: 12.16 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01116/0.3654, allocations: 1.892 MB / 338.5 MB, free: 10.27 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004151/0.3696, allocations: 1.625 MB / 340.1 MB, free: 8.598 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001369/0.3698, allocations: 123 kB / 340.2 MB, free: 8.477 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005571/0.3704, allocations: 171.7 kB / 340.4 MB, free: 8.309 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01466/0.385, allocations: 6.584 MB / 347 MB, free: 1.242 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.725e-05/0.3852, allocations: 27.75 kB / 347 MB, free: 1.215 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003756/0.3856, allocations: 79.86 kB / 347.1 MB, free: 1.137 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003682/0.3892, allocations: 1.417 MB / 348.5 MB, free: 15.72 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0167/0.406, allocations: 5.865 MB / 354.4 MB, free: 9.848 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04118/0.4472, allocations: 25.71 MB / 380.1 MB, free: 15.38 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009448/0.4567, allocations: 2.582 MB / 382.7 MB, free: 12.65 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01153/0.4683, allocations: 4.846 MB / 387.5 MB, free: 7.707 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.978e-05/0.4684, allocations: 50.48 kB / 387.6 MB, free: 7.648 MB / 330.7 MB Notification: Performance of pre-optimization done (n=97): time 6.242e-06/0.4684, allocations: 4 kB / 387.6 MB, free: 7.645 MB / 330.7 MB Notification: Performance of matching and sorting (n=105): time 0.0403/0.5087, allocations: 10.06 MB / 397.6 MB, free: 13.38 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.508e-05/0.5088, allocations: 137 kB / 397.8 MB, free: 13.22 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004933/0.5137, allocations: 2.526 MB / 400.3 MB, free: 10.68 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002247/0.514, allocations: 41.64 kB / 400.3 MB, free: 10.63 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001864/0.5159, allocations: 2.044 MB / 402.4 MB, free: 8.555 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005997/0.5165, allocations: 426.7 kB / 402.8 MB, free: 8.133 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002756/0.5168, allocations: 83.98 kB / 402.9 MB, free: 8.051 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003312/0.5171, allocations: 490.9 kB / 403.3 MB, free: 7.562 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003543/0.5207, allocations: 1.413 MB / 404.8 MB, free: 6.145 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005436/0.5261, allocations: 4.011 MB / 408.8 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005421/0.5316, allocations: 2.314 MB / 411.1 MB, free: 14.51 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.124e-05/0.5317, allocations: 31.94 kB / 411.1 MB, free: 14.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=531) (initialization): time 0.01642/0.5481, allocations: 5.952 MB / 417.1 MB, free: 8.512 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.855e-05/0.5482, allocations: 44.94 kB / 417.1 MB, free: 8.469 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001392/0.5484, allocations: 100.6 kB / 417.2 MB, free: 8.371 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004048/0.5524, allocations: 0.8279 MB / 418 MB, free: 7.539 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005309/0.5578, allocations: 0.9396 MB / 419 MB, free: 6.598 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00945/0.5672, allocations: 4.43 MB / 423.4 MB, free: 2.039 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004091/0.5713, allocations: 251.6 kB / 423.6 MB, free: 1.793 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004898/0.5719, allocations: 252 kB / 423.9 MB, free: 1.547 MB / 362.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.002741/0.5746, allocations: 1.337 MB / 425.2 MB, free: 204 kB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.2443/0.8189, allocations: 221.7 kB / 425.4 MB, free: 105.4 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007944/0.8269, allocations: 2.131 MB / 427.6 MB, free: 105.3 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.387e-05/0.827, allocations: 13.12 kB / 427.6 MB, free: 105.3 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.938e-06/0.827, allocations: 3.062 kB / 427.6 MB, free: 105.3 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.699e-05/0.8271, allocations: 5.172 kB / 427.6 MB, free: 105.3 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01329/0.8404, allocations: 5.081 MB / 432.7 MB, free: 103.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-05/0.8404, allocations: 1.125 kB / 432.7 MB, free: 103.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001391/0.8418, allocations: 162.3 kB / 432.8 MB, free: 103.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003503/0.8454, allocations: 0.6708 MB / 433.5 MB, free: 103.7 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001116/0.8455, allocations: 23.5 kB / 433.5 MB, free: 103.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0073/0.8528, allocations: 3.997 MB / 437.5 MB, free: 101.6 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.8528, allocations: 3.938 kB / 437.5 MB, free: 101.6 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009474/0.8623, allocations: 4.144 MB / 441.7 MB, free: 99.44 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001091/0.8634, allocations: 463.3 kB / 442.1 MB, free: 99.09 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004677/0.8639, allocations: 16 kB / 442.1 MB, free: 99.08 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001591/0.8655, allocations: 69.69 kB / 442.2 MB, free: 99.01 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002128/0.8658, allocations: 62.88 kB / 442.3 MB, free: 98.95 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001241/0.8659, allocations: 31.12 kB / 442.3 MB, free: 98.93 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.00313/0.869, allocations: 1.767 MB / 444.1 MB, free: 97.15 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.31e-07/0.8691, allocations: 0 / 444.1 MB, free: 97.15 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003842/0.8729, allocations: 0.6915 MB / 444.8 MB, free: 96.48 MB / 362.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.0005612/0.8735, allocations: 187.8 kB / 444.9 MB, free: 96.3 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.007171/0.8807, allocations: 3.444 MB / 448.4 MB, free: 92.91 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.8807, allocations: 0 / 448.4 MB, free: 92.91 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001931/0.8827, allocations: 1.037 MB / 449.4 MB, free: 91.87 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001677/0.8844, allocations: 238.2 kB / 449.7 MB, free: 91.64 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01112/0.8955, allocations: 6.596 MB / 456.3 MB, free: 85.06 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002607/0.8981, allocations: 2.282 MB / 458.5 MB, free: 82.75 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.004935/0.9031, allocations: 1.32 MB / 459.9 MB, free: 81.42 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000626/0.9037, allocations: 163.4 kB / 460 MB, free: 81.26 MB / 362.7 MB Notification: Performance of SimCode: time 9.21e-07/0.9038, allocations: 0 / 460 MB, free: 81.26 MB / 362.7 MB Notification: Performance of Templates: time 0.05904/0.9628, allocations: 22.74 MB / 482.8 MB, free: 58.59 MB / 362.7 MB