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.839/1.839, allocations: 194.9 MB / 208.4 MB, free: 3.242 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.041e-05/3.064e-05, allocations: 4 kB / 255.3 MB, free: 3.176 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07996/0.08001, allocations: 44.5 MB / 299.8 MB, free: 6.613 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3415/0.4216, allocations: 86.7 MB / 386.5 MB, free: 20.74 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002434/0.4219, allocations: 82.17 kB / 386.6 MB, free: 20.74 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2167/0.6386, allocations: 57.68 MB / 444.3 MB, free: 10.23 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.439e-06/0.6386, allocations: 0 / 444.3 MB, free: 10.23 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001367/0.6388, allocations: 44 kB / 444.3 MB, free: 10.19 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.00851/0.6473, allocations: 2.621 MB / 447 MB, free: 7.703 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.6473, allocations: 8.031 kB / 447 MB, free: 7.695 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01087/0.6582, allocations: 1.923 MB / 448.9 MB, free: 5.781 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01132/0.6696, allocations: 3.399 MB / 452.3 MB, free: 2.922 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002609/0.6699, allocations: 197 kB / 452.5 MB, free: 2.785 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001184/0.6711, allocations: 239.4 kB / 452.7 MB, free: 2.613 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01676/0.6879, allocations: 6.76 MB / 459.5 MB, free: 12.24 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001379/0.6881, allocations: 47.53 kB / 459.5 MB, free: 12.2 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007734/0.6888, allocations: 119.9 kB / 459.6 MB, free: 12.08 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001449/0.6903, allocations: 0.719 MB / 460.4 MB, free: 11.36 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01476/0.7051, allocations: 5.846 MB / 466.2 MB, free: 5.508 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04659/0.7517, allocations: 31.14 MB / 497.4 MB, free: 5.355 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008185/0.76, allocations: 2.619 MB / 500 MB, free: 2.586 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002448/0.7625, allocations: 1.193 MB / 0.4894 GB, free: 1.383 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01229/0.7748, allocations: 5.134 MB / 0.4944 GB, free: 12.09 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.644e-05/0.7749, allocations: 50.5 kB / 0.4945 GB, free: 12.03 MB / 394.7 MB Notification: Performance of pre-optimization done (n=97): time 5.217e-06/0.7749, allocations: 0 / 0.4945 GB, free: 12.03 MB / 394.7 MB Notification: Performance of matching and sorting (n=105): time 0.02774/0.8026, allocations: 8.017 MB / 0.5023 GB, free: 3.887 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.982e-05/0.8028, allocations: 137 kB / 0.5024 GB, free: 3.723 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005293/0.8081, allocations: 2.369 MB / 0.5048 GB, free: 1.332 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000244/0.8084, allocations: 33.7 kB / 0.5048 GB, free: 1.293 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.218/1.026, allocations: 2.029 MB / 0.5068 GB, free: 98.88 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006021/1.027, allocations: 433.1 kB / 0.5072 GB, free: 98.69 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004295/1.027, allocations: 78.66 kB / 0.5073 GB, free: 98.69 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002904/1.028, allocations: 492.5 kB / 0.5077 GB, free: 98.37 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003039/1.031, allocations: 1.392 MB / 0.5091 GB, free: 98.36 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004778/1.036, allocations: 3.957 MB / 0.513 GB, free: 95.01 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005087/1.041, allocations: 2.316 MB / 0.5152 GB, free: 95 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001622/1.041, allocations: 26.62 kB / 0.5152 GB, free: 95 MB / 394.7 MB Notification: Performance of matching and sorting (n=529) (initialization): time 0.0155/1.056, allocations: 5.807 MB / 0.5209 GB, free: 94.57 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001124/1.057, allocations: 44.72 kB / 0.521 GB, free: 94.57 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001539/1.057, allocations: 91.44 kB / 0.521 GB, free: 94.57 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002981/1.06, allocations: 0.8273 MB / 0.5218 GB, free: 94.56 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004006/1.064, allocations: 0.9418 MB / 0.5228 GB, free: 94.47 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00715/1.071, allocations: 4.274 MB / 0.5269 GB, free: 93.07 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004578/1.076, allocations: 281.1 kB / 0.5272 GB, free: 93.07 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008728/1.077, allocations: 255.6 kB / 0.5275 GB, free: 93.07 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.0008345/1.077, allocations: 426.8 kB / 0.5279 GB, free: 92.87 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005016/1.078, allocations: 226.5 kB / 0.5281 GB, free: 92.75 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005362/1.083, allocations: 2.122 MB / 0.5301 GB, free: 92.64 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.693e-05/1.083, allocations: 11.31 kB / 0.5302 GB, free: 92.64 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.649e-06/1.083, allocations: 3.406 kB / 0.5302 GB, free: 92.64 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.696e-05/1.083, allocations: 3.891 kB / 0.5302 GB, free: 92.64 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01184/1.095, allocations: 5.069 MB / 0.5351 GB, free: 91.88 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-05/1.095, allocations: 0 / 0.5351 GB, free: 91.88 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009745/1.096, allocations: 151.8 kB / 0.5353 GB, free: 91.86 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002845/1.099, allocations: 0.6747 MB / 0.5359 GB, free: 91.78 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002048/1.099, allocations: 26.44 kB / 0.5359 GB, free: 91.77 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006212/1.106, allocations: 3.831 MB / 0.5397 GB, free: 89.73 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.416e-06/1.106, allocations: 7 kB / 0.5397 GB, free: 89.72 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00791/1.114, allocations: 4.114 MB / 0.5437 GB, free: 88.06 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00121/1.115, allocations: 453.4 kB / 0.5441 GB, free: 87.78 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003937/1.115, allocations: 25.45 kB / 0.5442 GB, free: 87.77 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001394/1.117, allocations: 78.59 kB / 0.5442 GB, free: 87.76 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002034/1.117, allocations: 58.95 kB / 0.5443 GB, free: 87.75 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001218/1.117, allocations: 34.28 kB / 0.5443 GB, free: 87.74 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.003118/1.12, allocations: 1.643 MB / 0.5459 GB, free: 87.14 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.29e-07/1.12, allocations: 0 / 0.5459 GB, free: 87.14 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004574/1.125, allocations: 0.679 MB / 0.5466 GB, free: 87.06 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.0004896/1.125, allocations: 178.5 kB / 0.5468 GB, free: 86.96 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.006501/1.132, allocations: 3.389 MB / 0.5501 GB, free: 85.77 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.448e-06/1.132, allocations: 6.656 kB / 0.5501 GB, free: 85.76 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001849/1.134, allocations: 1.036 MB / 0.5511 GB, free: 85.32 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001656/1.135, allocations: 233.8 kB / 0.5513 GB, free: 85.21 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01061/1.146, allocations: 4.836 MB / 0.556 GB, free: 83.36 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002969/1.149, allocations: 2.283 MB / 0.5583 GB, free: 82.33 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008136/1.15, allocations: 187.2 kB / 0.5585 GB, free: 82.32 MB / 394.7 MB Notification: Performance of SimCode: time 2.003e-06/1.15, allocations: 0 / 0.5585 GB, free: 82.32 MB / 394.7 MB Notification: Performance of Templates: time 0.06578/1.216, allocations: 46.27 MB / 0.6036 GB, free: 45.53 MB / 394.7 MB