Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField") Notification: Performance of loadModel(Modelica): time 1.904/1.904, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.885e-05/2.895e-05, allocations: 8 kB / 292.2 MB, free: 8.348 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08936/0.08941, allocations: 50.41 MB / 342.6 MB, free: 5.914 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3723/0.4617, allocations: 93.96 MB / 436.5 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002638/0.462, allocations: 91.94 kB / 436.6 MB, free: 460 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2775/0.7395, allocations: 59.41 MB / 496 MB, free: 9 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.43e-06/0.7396, allocations: 0 / 496 MB, free: 9 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001204/0.7397, allocations: 47.94 kB / 496.1 MB, free: 8.953 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: 951 * Number of variables: 951 Notification: Performance of Generate backend data structure: time 0.007368/0.7471, allocations: 2.63 MB / 498.7 MB, free: 6.266 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.7472, allocations: 8.031 kB / 498.7 MB, free: 6.258 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01056/0.7577, allocations: 1.927 MB / 0.4889 GB, free: 4.324 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01094/0.7687, allocations: 3.268 MB / 0.4921 GB, free: 1.008 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002285/0.769, allocations: 180.8 kB / 0.4923 GB, free: 0.8281 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008193/0.7698, allocations: 243.8 kB / 0.4925 GB, free: 0.5898 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01484/0.7847, allocations: 6.756 MB / 0.4991 GB, free: 9.137 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001179/0.7848, allocations: 35.69 kB / 0.4991 GB, free: 9.102 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004921/0.7853, allocations: 119.9 kB / 0.4992 GB, free: 8.984 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001322/0.7867, allocations: 0.7267 MB / 0.5 GB, free: 8.254 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0137/0.8004, allocations: 5.728 MB / 0.5055 GB, free: 2.523 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3334/1.134, allocations: 31.21 MB / 0.536 GB, free: 95.04 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007599/1.141, allocations: 2.597 MB / 0.5386 GB, free: 94.38 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002125/1.144, allocations: 1.19 MB / 0.5397 GB, free: 94.35 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0107/1.154, allocations: 5.144 MB / 0.5447 GB, free: 92.93 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.003e-05/1.154, allocations: 48.16 kB / 0.5448 GB, free: 92.89 MB / 442.7 MB Notification: Performance of pre-optimization done (n=97): time 4.726e-06/1.154, allocations: 0 / 0.5448 GB, free: 92.89 MB / 442.7 MB Notification: Performance of matching and sorting (n=105): time 0.02396/1.178, allocations: 7.984 MB / 0.5526 GB, free: 90.98 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.563e-05/1.179, allocations: 142.6 kB / 0.5527 GB, free: 90.82 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003965/1.183, allocations: 2.377 MB / 0.555 GB, free: 90.54 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002057/1.183, allocations: 40.61 kB / 0.5551 GB, free: 90.51 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001173/1.184, allocations: 2.051 MB / 0.5571 GB, free: 89.48 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003989/1.184, allocations: 429.6 kB / 0.5575 GB, free: 89.25 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002411/1.185, allocations: 83.25 kB / 0.5576 GB, free: 89.25 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002577/1.185, allocations: 489 kB / 0.558 GB, free: 88.94 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002518/1.187, allocations: 1.386 MB / 0.5594 GB, free: 88.93 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003527/1.191, allocations: 3.963 MB / 0.5633 GB, free: 85.55 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003977/1.195, allocations: 2.321 MB / 0.5655 GB, free: 85.09 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.345e-05/1.195, allocations: 29.25 kB / 0.5656 GB, free: 85.09 MB / 442.7 MB Notification: Performance of matching and sorting (n=532) (initialization): time 0.01316/1.208, allocations: 5.635 MB / 0.5711 GB, free: 83.7 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.344e-05/1.208, allocations: 44.12 kB / 0.5711 GB, free: 83.7 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-05/1.208, allocations: 91.34 kB / 0.5712 GB, free: 83.7 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003008/1.211, allocations: 0.8243 MB / 0.572 GB, free: 83.61 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004181/1.216, allocations: 0.9414 MB / 0.5729 GB, free: 83.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007021/1.223, allocations: 4.303 MB / 0.5771 GB, free: 81.27 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004537/1.227, allocations: 276.8 kB / 0.5774 GB, free: 81.19 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006312/1.228, allocations: 262.2 kB / 0.5776 GB, free: 81.16 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 423 * Number of states: 0 () * Number of discrete variables: 21 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (496): * Single equations (assignments): 492 * 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.0007138/1.229, allocations: 423.8 kB / 0.578 GB, free: 80.81 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004496/1.229, allocations: 225.3 kB / 0.5783 GB, free: 80.68 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00534/1.235, allocations: 2.111 MB / 0.5803 GB, free: 80.05 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.147e-05/1.235, allocations: 21.25 kB / 0.5803 GB, free: 80.05 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/1.235, allocations: 10.59 kB / 0.5803 GB, free: 80.05 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.715e-05/1.235, allocations: 3.375 kB / 0.5803 GB, free: 80.05 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01184/1.247, allocations: 5.051 MB / 0.5853 GB, free: 78.29 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.735e-05/1.247, allocations: 3.875 kB / 0.5853 GB, free: 78.29 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001084/1.248, allocations: 143.5 kB / 0.5854 GB, free: 78.28 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002818/1.251, allocations: 0.6745 MB / 0.5861 GB, free: 78.2 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001535/1.251, allocations: 22.95 kB / 0.5861 GB, free: 78.19 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006164/1.257, allocations: 3.848 MB / 0.5899 GB, free: 76.14 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.577e-06/1.257, allocations: 0 / 0.5899 GB, free: 76.14 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007841/1.265, allocations: 4.133 MB / 0.5939 GB, free: 74.46 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007341/1.266, allocations: 291.6 kB / 0.5942 GB, free: 74.23 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000397/1.266, allocations: 12.61 kB / 0.5942 GB, free: 74.22 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001465/1.267, allocations: 84.12 kB / 0.5943 GB, free: 74.21 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002023/1.268, allocations: 56.94 kB / 0.5943 GB, free: 74.2 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001277/1.268, allocations: 37.36 kB / 0.5944 GB, free: 74.19 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002723/1.271, allocations: 1.643 MB / 0.596 GB, free: 73.59 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.46e-07/1.271, allocations: 0 / 0.596 GB, free: 73.59 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004336/1.275, allocations: 0.6758 MB / 0.5966 GB, free: 73.51 MB / 442.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.0004668/1.275, allocations: 194 kB / 0.5968 GB, free: 73.39 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00604/1.281, allocations: 3.274 MB / 0.6 GB, free: 71.23 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.432e-06/1.282, allocations: 3.938 kB / 0.6 GB, free: 71.23 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001641/1.283, allocations: 1.018 MB / 0.601 GB, free: 70.31 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00155/1.285, allocations: 232.2 kB / 0.6012 GB, free: 70.11 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009294/1.294, allocations: 4.572 MB / 0.6057 GB, free: 66.03 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002688/1.297, allocations: 2.289 MB / 0.6079 GB, free: 64.21 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.004151/1.301, allocations: 1.318 MB / 0.6092 GB, free: 63.38 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006604/1.302, allocations: 163.2 kB / 0.6094 GB, free: 63.23 MB / 442.7 MB Notification: Performance of SimCode: time 1.693e-06/1.302, allocations: 0 / 0.6094 GB, free: 63.23 MB / 442.7 MB Notification: Performance of Templates: time 0.05559/1.357, allocations: 21.96 MB / 0.6308 GB, free: 44.87 MB / 442.7 MB