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_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField") Notification: Performance of loadModel(Modelica): time 2.001/2.001, allocations: 194.9 MB / 211.2 MB, free: 8.352 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.074e-05/3.078e-05, allocations: 4 kB / 258.8 MB, free: 8.699 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3085/0.3085, allocations: 44.51 MB / 303.3 MB, free: 12.75 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField): time 0.02272/0.3313, allocations: 14.32 MB / 317.6 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01247/0.3438, allocations: 4.322 MB / 321.9 MB, free: 11.01 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00323/0.3471, allocations: 71.81 kB / 322 MB, free: 10.94 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003212/0.3504, allocations: 0.6921 MB / 322.7 MB, free: 10.24 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01059/0.3611, allocations: 2.174 MB / 324.9 MB, free: 8.062 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002597/0.3637, allocations: 435.1 kB / 325.3 MB, free: 7.637 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004152/0.3679, allocations: 1.053 MB / 326.4 MB, free: 6.582 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00376/0.3718, allocations: 1.332 MB / 327.7 MB, free: 5.219 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001547/0.3734, allocations: 0.5066 MB / 328.2 MB, free: 4.711 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002342/0.3758, allocations: 0.7909 MB / 329 MB, free: 3.918 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003229/0.379, allocations: 0.7685 MB / 329.8 MB, free: 3.148 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001038/0.3801, allocations: 91.94 kB / 329.8 MB, free: 3.059 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002001/0.3822, allocations: 0.8804 MB / 330.7 MB, free: 2.176 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009665/0.3832, allocations: 148 kB / 330.9 MB, free: 2.031 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007033/0.3903, allocations: 3.104 MB / 334 MB, free: 14.92 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.3903, allocations: 0 / 334 MB, free: 14.92 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.657e-06/0.3904, allocations: 0 / 334 MB, free: 14.92 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001589/0.3905, allocations: 0 / 334 MB, free: 14.92 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.01133/0.4019, allocations: 2.58 MB / 336.6 MB, free: 12.29 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.867e-05/0.402, allocations: 8.031 kB / 336.6 MB, free: 12.28 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01642/0.4184, allocations: 1.9 MB / 338.5 MB, free: 10.37 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006373/0.4248, allocations: 1.624 MB / 340.1 MB, free: 8.703 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002654/0.4252, allocations: 123 kB / 340.2 MB, free: 8.582 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001196/0.4264, allocations: 159.8 kB / 340.4 MB, free: 8.426 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02089/0.4473, allocations: 6.596 MB / 347 MB, free: 1.348 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001147/0.4475, allocations: 23.81 kB / 347 MB, free: 1.324 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000598/0.4481, allocations: 87.84 kB / 347.1 MB, free: 1.238 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004091/0.4522, allocations: 1.41 MB / 348.5 MB, free: 15.83 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0185/0.4707, allocations: 5.869 MB / 354.3 MB, free: 9.953 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0464/0.5172, allocations: 25.7 MB / 380 MB, free: 15.5 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009952/0.5272, allocations: 2.581 MB / 382.6 MB, free: 12.77 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01307/0.5403, allocations: 4.846 MB / 387.5 MB, free: 7.82 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.366e-05/0.5404, allocations: 46.44 kB / 387.5 MB, free: 7.766 MB / 330.7 MB Notification: Performance of pre-optimization done (n=97): time 4.558e-06/0.5405, allocations: 4 kB / 387.5 MB, free: 7.762 MB / 330.7 MB Notification: Performance of matching and sorting (n=105): time 0.0431/0.5836, allocations: 10.07 MB / 397.6 MB, free: 13.49 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.307e-05/0.5837, allocations: 140.9 kB / 397.7 MB, free: 13.32 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005792/0.5895, allocations: 2.526 MB / 400.2 MB, free: 10.78 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002918/0.5899, allocations: 41.7 kB / 400.3 MB, free: 10.73 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002109/0.592, allocations: 2.023 MB / 402.3 MB, free: 8.684 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007875/0.5928, allocations: 430.7 kB / 402.7 MB, free: 8.258 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000396/0.5932, allocations: 80 kB / 402.8 MB, free: 8.18 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003627/0.5936, allocations: 487.8 kB / 403.3 MB, free: 7.691 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004104/0.5977, allocations: 1.421 MB / 404.7 MB, free: 6.266 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006592/0.6044, allocations: 4.007 MB / 408.7 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006357/0.6108, allocations: 2.325 MB / 411 MB, free: 14.62 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001271/0.611, allocations: 27.94 kB / 411.1 MB, free: 14.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=531) (initialization): time 0.01941/0.6304, allocations: 5.888 MB / 417 MB, free: 8.699 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.826e-05/0.6306, allocations: 48 kB / 417 MB, free: 8.652 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001456/0.6307, allocations: 92 kB / 417.1 MB, free: 8.562 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004391/0.6351, allocations: 0.8363 MB / 417.9 MB, free: 7.723 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006033/0.6412, allocations: 0.9397 MB / 418.9 MB, free: 6.781 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01036/0.6516, allocations: 4.418 MB / 423.3 MB, free: 2.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004514/0.6562, allocations: 247.5 kB / 423.5 MB, free: 1.988 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008294/0.6571, allocations: 264 kB / 423.8 MB, free: 1.73 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.003448/0.6605, allocations: 1.341 MB / 425.1 MB, free: 388 kB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006527/0.6612, allocations: 221.1 kB / 425.3 MB, free: 164 kB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2655/0.9267, allocations: 2.124 MB / 427.5 MB, free: 105 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.795e-05/0.9268, allocations: 11.34 kB / 427.5 MB, free: 105 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.326e-05/0.9268, allocations: 4.344 kB / 427.5 MB, free: 105 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.607e-05/0.9268, allocations: 5.281 kB / 427.5 MB, free: 105 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01557/0.9424, allocations: 5.084 MB / 432.6 MB, free: 103.4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.904e-05/0.9425, allocations: 7.531 kB / 432.6 MB, free: 103.4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001592/0.9441, allocations: 156.4 kB / 432.7 MB, free: 103.4 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003747/0.9479, allocations: 0.6877 MB / 433.4 MB, free: 103.3 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002517/0.9482, allocations: 11.84 kB / 433.4 MB, free: 103.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008006/0.9562, allocations: 3.987 MB / 437.4 MB, free: 101.2 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.9563, allocations: 0 / 437.4 MB, free: 101.2 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01072/0.967, allocations: 4.152 MB / 441.6 MB, free: 99.16 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001431/0.9685, allocations: 461.7 kB / 442 MB, free: 98.96 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005793/0.9691, allocations: 27.73 kB / 442 MB, free: 98.94 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002022/0.9711, allocations: 69.86 kB / 442.1 MB, free: 98.91 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003302/0.9715, allocations: 59.39 kB / 442.2 MB, free: 98.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001343/0.9717, allocations: 27.53 kB / 442.2 MB, free: 98.88 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.003875/0.9755, allocations: 1.768 MB / 444 MB, free: 97.36 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.71e-07/0.9756, allocations: 0 / 444 MB, free: 97.36 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.004468/0.9801, allocations: 0.6883 MB / 444.7 MB, free: 96.69 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.0007865/0.9809, allocations: 187.8 kB / 444.8 MB, free: 96.52 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.007929/0.9889, allocations: 3.44 MB / 448.3 MB, free: 93.12 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.644e-06/0.9889, allocations: 0 / 448.3 MB, free: 93.12 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002307/0.9912, allocations: 1.034 MB / 449.3 MB, free: 92.08 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002151/0.9935, allocations: 242.8 kB / 449.6 MB, free: 91.85 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01459/1.008, allocations: 6.894 MB / 456.4 MB, free: 84.98 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003254/1.011, allocations: 2.291 MB / 458.7 MB, free: 82.66 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001058/1.013, allocations: 191.4 kB / 458.9 MB, free: 82.47 MB / 362.7 MB Notification: Performance of SimCode: time 1.383e-06/1.013, allocations: 4 kB / 458.9 MB, free: 82.46 MB / 362.7 MB Notification: Performance of Templates: time 0.08692/1.099, allocations: 46.78 MB / 0.4939 GB, free: 35.64 MB / 362.7 MB