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 1.933/1.933, allocations: 195 MB / 203.2 MB, free: 13.78 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.277e-05/2.289e-05, allocations: 4 kB / 249.6 MB, free: 15.29 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2501/0.2501, allocations: 44.49 MB / 294.1 MB, free: 14.36 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1338/0.384, allocations: 86.06 MB / 380.2 MB, free: 11.92 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002728/0.3843, allocations: 95.83 kB / 380.3 MB, free: 11.83 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4292/0.8135, allocations: 56.68 MB / 436.9 MB, free: 91.52 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.8136, allocations: 0 / 436.9 MB, free: 91.52 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001029/0.8137, allocations: 46.12 kB / 437 MB, free: 91.52 MB / 362.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.00708/0.8208, allocations: 2.62 MB / 439.6 MB, free: 90.3 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.8209, allocations: 7.5 kB / 439.6 MB, free: 90.3 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01092/0.8318, allocations: 1.927 MB / 441.5 MB, free: 90.12 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01034/0.8422, allocations: 3.395 MB / 444.9 MB, free: 89.7 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00015/0.8424, allocations: 77.19 kB / 445 MB, free: 89.7 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001036/0.8434, allocations: 137.2 kB / 445.1 MB, free: 89.7 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0081/0.8516, allocations: 4.094 MB / 449.2 MB, free: 89.68 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01137/0.863, allocations: 6.204 MB / 455.4 MB, free: 86.62 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001144/0.8631, allocations: 36.25 kB / 455.5 MB, free: 86.6 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004416/0.8636, allocations: 22.47 kB / 455.5 MB, free: 86.6 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001112/0.8647, allocations: 0.7204 MB / 456.2 MB, free: 86.46 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03361/0.8983, allocations: 30.46 MB / 486.7 MB, free: 59.61 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002977/0.9014, allocations: 2.18 MB / 488.9 MB, free: 57.28 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001691/0.9031, allocations: 1.126 MB / 490 MB, free: 56.14 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001016/0.9041, allocations: 343.2 kB / 490.3 MB, free: 55.76 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.088e-05/0.9042, allocations: 46.94 kB / 490.4 MB, free: 55.7 MB / 362.7 MB Notification: Performance of pre-optimization done (n=106): time 4.983e-06/0.9042, allocations: 3.938 kB / 490.4 MB, free: 55.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=114): time 0.02445/0.9287, allocations: 9.709 MB / 0.4884 GB, free: 45.87 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.368e-05/0.9288, allocations: 144.9 kB / 0.4885 GB, free: 45.7 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003527/0.9323, allocations: 2.05 MB / 0.4905 GB, free: 43.62 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002519/0.9326, allocations: 25.7 kB / 0.4905 GB, free: 43.59 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001233/0.9339, allocations: 2.085 MB / 0.4926 GB, free: 41.47 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005343/0.9344, allocations: 454.2 kB / 0.493 GB, free: 41.02 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002751/0.9347, allocations: 0 / 0.493 GB, free: 41.02 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002695/0.935, allocations: 0.4885 MB / 0.4935 GB, free: 40.52 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002367/0.9374, allocations: 1.379 MB / 0.4948 GB, free: 39.13 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003753/0.9411, allocations: 4.039 MB / 0.4988 GB, free: 33.73 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005001/0.9462, allocations: 2.476 MB / 0.5012 GB, free: 31.26 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.208e-05/0.9463, allocations: 32 kB / 0.5012 GB, free: 31.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=556) (initialization): time 0.01416/0.9605, allocations: 5.593 MB / 0.5067 GB, free: 25.63 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.92e-05/0.9606, allocations: 44 kB / 0.5067 GB, free: 25.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001017/0.9607, allocations: 96 kB / 0.5068 GB, free: 25.49 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002999/0.9637, allocations: 0.8475 MB / 0.5076 GB, free: 24.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003893/0.9676, allocations: 0.9825 MB / 0.5086 GB, free: 23.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006757/0.9744, allocations: 4.249 MB / 0.5127 GB, free: 19.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004429/0.9789, allocations: 207.6 kB / 0.5129 GB, free: 19.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000843/0.9798, allocations: 264 kB / 0.5132 GB, free: 18.84 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 438 * 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 (520): * Single equations (assignments): 516 * 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.0008497/0.9807, allocations: 347.9 kB / 0.5135 GB, free: 18.49 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005026/0.9812, allocations: 205.3 kB / 0.5137 GB, free: 18.29 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006362/0.9876, allocations: 2.24 MB / 0.5159 GB, free: 16.04 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.78e-05/0.9877, allocations: 12 kB / 0.5159 GB, free: 16.02 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.245e-05/0.9877, allocations: 11.95 kB / 0.5159 GB, free: 16.01 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.276e-05/0.9877, allocations: 3.984 kB / 0.5159 GB, free: 16.01 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01282/1.001, allocations: 5.125 MB / 0.5209 GB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.661e-05/1.001, allocations: 4 kB / 0.5209 GB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001003/1.002, allocations: 155.8 kB / 0.5211 GB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00262/1.004, allocations: 0.6839 MB / 0.5218 GB, free: 9.969 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001959/1.004, allocations: 10.14 kB / 0.5218 GB, free: 9.961 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005583/1.01, allocations: 3.696 MB / 0.5254 GB, free: 6.145 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.117e-06/1.01, allocations: 8.016 kB / 0.5254 GB, free: 6.137 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008492/1.019, allocations: 4.368 MB / 0.5297 GB, free: 1.672 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001118/1.02, allocations: 445.5 kB / 0.5301 GB, free: 1.219 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004052/1.02, allocations: 11.98 kB / 0.5301 GB, free: 1.207 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001483/1.022, allocations: 71.84 kB / 0.5302 GB, free: 1.137 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000231/1.022, allocations: 64.34 kB / 0.5302 GB, free: 1.074 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001324/1.022, allocations: 39.94 kB / 0.5303 GB, free: 1.039 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.00259/1.025, allocations: 1.359 MB / 0.5316 GB, free: 15.66 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.899e-06/1.025, allocations: 0 / 0.5316 GB, free: 15.66 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.005045/1.03, allocations: 0.5897 MB / 0.5322 GB, free: 15.07 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (83): * Single equations (assignments): 79 * 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.0006626/1.031, allocations: 163.5 kB / 0.5323 GB, free: 14.91 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.007784/1.038, allocations: 3.324 MB / 0.5356 GB, free: 11.59 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.033e-05/1.038, allocations: 4 kB / 0.5356 GB, free: 11.58 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002241/1.041, allocations: 1.037 MB / 0.5366 GB, free: 10.54 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001589/1.042, allocations: 196.6 kB / 0.5368 GB, free: 10.34 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01284/1.055, allocations: 4.869 MB / 0.5415 GB, free: 5.422 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00436/1.06, allocations: 2.294 MB / 0.5438 GB, free: 3.102 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008686/1.06, allocations: 191.4 kB / 0.5439 GB, free: 2.914 MB / 378.7 MB Notification: Performance of SimCode: time 2.144e-06/1.06, allocations: 0 / 0.5439 GB, free: 2.914 MB / 378.7 MB Notification: Performance of Templates: time 0.2949/1.355, allocations: 45.19 MB / 0.5881 GB, free: 106.6 MB / 394.7 MB