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.862/1.862, allocations: 194.9 MB / 208.4 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.806e-05/4.828e-05, allocations: 6.531 kB / 255.4 MB, free: 3.176 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1124, allocations: 44.49 MB / 299.9 MB, free: 6.633 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3412/0.4536, allocations: 86.72 MB / 386.6 MB, free: 20.85 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000248/0.4539, allocations: 85.2 kB / 386.7 MB, free: 20.85 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2153/0.6693, allocations: 57.68 MB / 444.3 MB, free: 10.32 MB / 330.7 MB Notification: Performance of FrontEnd: time 5.436e-06/0.6693, allocations: 0 / 444.3 MB, free: 10.32 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001351/0.6695, allocations: 47.94 kB / 444.4 MB, free: 10.27 MB / 330.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.008592/0.6781, allocations: 2.623 MB / 447 MB, free: 7.789 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/0.6781, allocations: 8.031 kB / 447 MB, free: 7.781 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01128/0.6894, allocations: 1.922 MB / 448.9 MB, free: 5.867 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01175/0.7012, allocations: 3.403 MB / 452.3 MB, free: 3.004 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003012/0.7016, allocations: 184.3 kB / 452.5 MB, free: 2.883 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001247/0.7028, allocations: 239.4 kB / 452.7 MB, free: 2.707 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01718/0.72, allocations: 6.742 MB / 459.5 MB, free: 12.31 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001368/0.7202, allocations: 39.59 kB / 459.5 MB, free: 12.27 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007417/0.721, allocations: 119.9 kB / 459.6 MB, free: 12.15 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001497/0.7225, allocations: 0.7267 MB / 460.4 MB, free: 11.42 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01482/0.7373, allocations: 5.72 MB / 466.1 MB, free: 5.699 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04677/0.7842, allocations: 31.15 MB / 497.2 MB, free: 5.543 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008254/0.7925, allocations: 2.6 MB / 499.8 MB, free: 2.793 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002403/0.7949, allocations: 1.192 MB / 0.4893 GB, free: 1.59 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0123/0.8072, allocations: 5.142 MB / 0.4943 GB, free: 12.3 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.707e-05/0.8073, allocations: 42.56 kB / 0.4943 GB, free: 12.25 MB / 394.7 MB Notification: Performance of pre-optimization done (n=97): time 4.848e-06/0.8074, allocations: 0 / 0.4943 GB, free: 12.25 MB / 394.7 MB Notification: Performance of matching and sorting (n=105): time 0.02822/0.8356, allocations: 8.009 MB / 0.5022 GB, free: 4.105 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001271/0.8358, allocations: 141 kB / 0.5023 GB, free: 3.938 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005867/0.8416, allocations: 2.372 MB / 0.5046 GB, free: 1.543 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002554/0.8419, allocations: 41.69 kB / 0.5047 GB, free: 1.496 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.2221/1.064, allocations: 2.02 MB / 0.5066 GB, free: 98.29 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005875/1.065, allocations: 431.5 kB / 0.507 GB, free: 98.18 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003872/1.065, allocations: 81.34 kB / 0.5071 GB, free: 98.18 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002731/1.065, allocations: 490.1 kB / 0.5076 GB, free: 97.86 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003016/1.068, allocations: 1.384 MB / 0.5089 GB, free: 97.85 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004522/1.073, allocations: 3.941 MB / 0.5128 GB, free: 94.51 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004921/1.078, allocations: 2.318 MB / 0.5151 GB, free: 94.5 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001392/1.078, allocations: 26.86 kB / 0.5151 GB, free: 94.5 MB / 394.7 MB Notification: Performance of matching and sorting (n=529) (initialization): time 0.01532/1.093, allocations: 5.55 MB / 0.5205 GB, free: 94.16 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001098/1.094, allocations: 48.12 kB / 0.5205 GB, free: 94.16 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000152/1.094, allocations: 92.5 kB / 0.5206 GB, free: 94.16 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003042/1.097, allocations: 0.8198 MB / 0.5214 GB, free: 94.15 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004373/1.101, allocations: 0.9393 MB / 0.5224 GB, free: 94.07 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006773/1.108, allocations: 4.29 MB / 0.5265 GB, free: 92.66 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004918/1.113, allocations: 279.3 kB / 0.5268 GB, free: 92.65 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009276/1.114, allocations: 257 kB / 0.5271 GB, free: 92.65 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 420 * 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 (493): * Single equations (assignments): 489 * 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.0007617/1.115, allocations: 428.5 kB / 0.5275 GB, free: 92.46 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005181/1.115, allocations: 227.9 kB / 0.5277 GB, free: 92.34 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005241/1.121, allocations: 2.112 MB / 0.5297 GB, free: 92.24 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.115e-05/1.121, allocations: 11.19 kB / 0.5298 GB, free: 92.24 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.75e-06/1.121, allocations: 3.562 kB / 0.5298 GB, free: 92.24 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.033e-05/1.121, allocations: 6.562 kB / 0.5298 GB, free: 92.24 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01169/1.132, allocations: 5.07 MB / 0.5347 GB, free: 91.62 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.007e-05/1.132, allocations: 5.562 kB / 0.5347 GB, free: 91.62 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00099/1.133, allocations: 144.5 kB / 0.5349 GB, free: 91.61 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002635/1.136, allocations: 0.6717 MB / 0.5355 GB, free: 91.53 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002125/1.136, allocations: 18.81 kB / 0.5355 GB, free: 91.52 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00614/1.143, allocations: 3.843 MB / 0.5393 GB, free: 89.46 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.114e-06/1.143, allocations: 3.469 kB / 0.5393 GB, free: 89.46 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007982/1.151, allocations: 4.122 MB / 0.5433 GB, free: 87.8 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00127/1.152, allocations: 448.9 kB / 0.5437 GB, free: 87.53 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004288/1.152, allocations: 24.47 kB / 0.5438 GB, free: 87.52 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001378/1.154, allocations: 77.97 kB / 0.5438 GB, free: 87.5 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002106/1.154, allocations: 64.31 kB / 0.5439 GB, free: 87.49 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001237/1.154, allocations: 31.81 kB / 0.5439 GB, free: 87.48 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002942/1.157, allocations: 1.644 MB / 0.5455 GB, free: 86.88 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.86e-07/1.157, allocations: 0 / 0.5455 GB, free: 86.88 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00455/1.162, allocations: 0.6698 MB / 0.5462 GB, free: 86.81 MB / 394.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.0004849/1.162, allocations: 186.2 kB / 0.5464 GB, free: 86.7 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.006202/1.168, allocations: 3.26 MB / 0.5495 GB, free: 85.58 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.445e-06/1.168, allocations: 0 / 0.5495 GB, free: 85.58 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001804/1.17, allocations: 1.025 MB / 0.5506 GB, free: 85.16 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001581/1.172, allocations: 228.3 kB / 0.5508 GB, free: 85.05 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009654/1.182, allocations: 4.83 MB / 0.5555 GB, free: 83.22 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002624/1.184, allocations: 2.295 MB / 0.5577 GB, free: 82.19 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008282/1.185, allocations: 185.7 kB / 0.5579 GB, free: 82.18 MB / 394.7 MB Notification: Performance of SimCode: time 1.76e-06/1.185, allocations: 0 / 0.5579 GB, free: 82.18 MB / 394.7 MB Notification: Performance of Templates: time 0.06348/1.249, allocations: 45.64 MB / 0.6025 GB, free: 46.21 MB / 394.7 MB