Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField") Notification: Performance of loadModel(Modelica): time 1.966/1.966, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.076e-05/3.087e-05, allocations: 4 kB / 292.7 MB, free: 8.379 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1401, allocations: 50.42 MB / 343.1 MB, free: 5.945 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3933/0.5335, allocations: 93.96 MB / 437 MB, free: 484 kB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002659/0.5338, allocations: 87.64 kB / 437.1 MB, free: 440 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2441/0.7779, allocations: 59.41 MB / 496.5 MB, free: 9.035 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.637e-06/0.7779, allocations: 0 / 496.5 MB, free: 9.035 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001178/0.7781, allocations: 47.94 kB / 496.6 MB, free: 8.988 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.008424/0.7865, allocations: 2.626 MB / 499.2 MB, free: 6.305 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.7866, allocations: 12.03 kB / 499.2 MB, free: 6.293 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01058/0.7972, allocations: 1.927 MB / 0.4894 GB, free: 4.359 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01097/0.8082, allocations: 3.268 MB / 0.4926 GB, free: 1.043 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002221/0.8085, allocations: 180.8 kB / 0.4928 GB, free: 0.8633 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007537/0.8092, allocations: 247.8 kB / 0.493 GB, free: 0.6211 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01503/0.8243, allocations: 6.749 MB / 0.4996 GB, free: 9.176 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001182/0.8244, allocations: 39.69 kB / 0.4996 GB, free: 9.137 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005037/0.8249, allocations: 123.9 kB / 0.4998 GB, free: 9.016 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001354/0.8263, allocations: 0.7228 MB / 0.5005 GB, free: 8.289 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0141/0.8404, allocations: 5.731 MB / 0.5061 GB, free: 2.555 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.292/1.132, allocations: 31.21 MB / 0.5365 GB, free: 95.48 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007281/1.14, allocations: 2.594 MB / 0.5391 GB, free: 94.82 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002077/1.142, allocations: 1.195 MB / 0.5402 GB, free: 94.79 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01055/1.152, allocations: 5.138 MB / 0.5453 GB, free: 93.37 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.9e-05/1.153, allocations: 47.59 kB / 0.5453 GB, free: 93.33 MB / 442.7 MB Notification: Performance of pre-optimization done (n=97): time 5.405e-06/1.153, allocations: 0 / 0.5453 GB, free: 93.33 MB / 442.7 MB Notification: Performance of matching and sorting (n=105): time 0.02354/1.176, allocations: 7.986 MB / 0.5531 GB, free: 91.42 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.098e-05/1.176, allocations: 139.2 kB / 0.5532 GB, free: 91.26 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003829/1.18, allocations: 2.377 MB / 0.5556 GB, free: 90.98 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001631/1.18, allocations: 38.92 kB / 0.5556 GB, free: 90.95 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001185/1.181, allocations: 2.054 MB / 0.5576 GB, free: 89.92 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004035/1.182, allocations: 434.8 kB / 0.558 GB, free: 89.69 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002463/1.182, allocations: 79.58 kB / 0.5581 GB, free: 89.69 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002374/1.182, allocations: 485.9 kB / 0.5586 GB, free: 89.38 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002507/1.185, allocations: 1.391 MB / 0.5599 GB, free: 89.37 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003453/1.188, allocations: 3.961 MB / 0.5638 GB, free: 86 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003729/1.192, allocations: 2.325 MB / 0.5661 GB, free: 85.56 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.715e-05/1.192, allocations: 26.53 kB / 0.5661 GB, free: 85.56 MB / 442.7 MB Notification: Performance of matching and sorting (n=532) (initialization): time 0.01237/1.205, allocations: 5.629 MB / 0.5716 GB, free: 84.16 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.165e-05/1.205, allocations: 47.97 kB / 0.5716 GB, free: 84.16 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.945e-05/1.205, allocations: 91.41 kB / 0.5717 GB, free: 84.16 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002758/1.208, allocations: 0.8254 MB / 0.5725 GB, free: 84.07 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003835/1.211, allocations: 0.9444 MB / 0.5734 GB, free: 83.96 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006895/1.218, allocations: 4.293 MB / 0.5776 GB, free: 81.73 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004222/1.223, allocations: 283.2 kB / 0.5779 GB, free: 81.66 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004898/1.223, allocations: 257.8 kB / 0.5781 GB, free: 81.62 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.0006589/1.224, allocations: 425.4 kB / 0.5785 GB, free: 81.28 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004227/1.224, allocations: 226.4 kB / 0.5788 GB, free: 81.15 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005188/1.229, allocations: 2.11 MB / 0.5808 GB, free: 80.52 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.892e-05/1.229, allocations: 19.67 kB / 0.5808 GB, free: 80.52 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.834e-06/1.229, allocations: 3.312 kB / 0.5808 GB, free: 80.52 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.21e-05/1.229, allocations: 3.422 kB / 0.5808 GB, free: 80.52 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01129/1.241, allocations: 5.063 MB / 0.5858 GB, free: 78.75 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.016e-05/1.241, allocations: 3.25 kB / 0.5858 GB, free: 78.75 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009725/1.242, allocations: 143.8 kB / 0.5859 GB, free: 78.75 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002781/1.245, allocations: 0.6756 MB / 0.5866 GB, free: 78.66 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001138/1.245, allocations: 15.84 kB / 0.5866 GB, free: 78.65 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006044/1.251, allocations: 3.846 MB / 0.5904 GB, free: 76.61 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.216e-06/1.251, allocations: 3.938 kB / 0.5904 GB, free: 76.6 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007778/1.259, allocations: 4.135 MB / 0.5944 GB, free: 74.92 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006239/1.259, allocations: 289.5 kB / 0.5947 GB, free: 74.69 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003352/1.26, allocations: 14.62 kB / 0.5947 GB, free: 74.68 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001292/1.261, allocations: 85.91 kB / 0.5948 GB, free: 74.66 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001987/1.261, allocations: 56.08 kB / 0.5948 GB, free: 74.66 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001253/1.261, allocations: 32.3 kB / 0.5949 GB, free: 74.65 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0028/1.264, allocations: 1.648 MB / 0.5965 GB, free: 74.05 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.31e-07/1.264, allocations: 0 / 0.5965 GB, free: 74.05 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004112/1.268, allocations: 0.6747 MB / 0.5971 GB, free: 73.96 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.0004449/1.269, allocations: 186.4 kB / 0.5973 GB, free: 73.86 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005745/1.274, allocations: 3.282 MB / 0.6005 GB, free: 71.79 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.211e-06/1.275, allocations: 0 / 0.6005 GB, free: 71.79 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001586/1.276, allocations: 1.018 MB / 0.6015 GB, free: 70.87 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001425/1.278, allocations: 236.7 kB / 0.6017 GB, free: 70.66 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00817/1.286, allocations: 4.566 MB / 0.6062 GB, free: 66.58 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002577/1.288, allocations: 2.294 MB / 0.6084 GB, free: 64.77 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003971/1.292, allocations: 1.316 MB / 0.6097 GB, free: 63.93 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005519/1.293, allocations: 162.7 kB / 0.6099 GB, free: 63.79 MB / 442.7 MB Notification: Performance of SimCode: time 1.627e-06/1.293, allocations: 0 / 0.6099 GB, free: 63.79 MB / 442.7 MB Notification: Performance of Templates: time 0.05542/1.348, allocations: 21.95 MB / 0.6313 GB, free: 45.53 MB / 442.7 MB