Running command: translateModel(ModelicaTest.MultiBody.Parts.PointMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.PointMass") Notification: Performance of loadModel(ModelicaTest): time 1.942/1.942, allocations: 209.3 MB / 221.5 MB, free: 7.734 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.223e-05/3.225e-05, allocations: 4 kB / 273.1 MB, free: 3.18 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08632/0.08638, allocations: 48.7 MB / 321.8 MB, free: 2.383 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3555/0.4419, allocations: 82.89 MB / 404.7 MB, free: 6.105 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002128/0.4422, allocations: 70.59 kB / 404.7 MB, free: 6.098 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1759/0.6181, allocations: 46.87 MB / 451.6 MB, free: 3.418 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.289e-06/0.6181, allocations: 0 / 451.6 MB, free: 3.418 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.315e-05/0.6182, allocations: 47.94 kB / 451.7 MB, free: 3.371 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 945 * Number of variables: 945 Notification: Performance of Generate backend data structure: time 0.006293/0.6245, allocations: 2.306 MB / 454 MB, free: 1.191 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.6246, allocations: 11.97 kB / 454 MB, free: 1.18 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00963/0.6342, allocations: 1.767 MB / 455.7 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003721/0.638, allocations: 1.349 MB / 457.1 MB, free: 14.28 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000191/0.6382, allocations: 181 kB / 457.3 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007502/0.639, allocations: 236.8 kB / 457.5 MB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01364/0.6526, allocations: 6.501 MB / 464 MB, free: 7.414 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001175/0.6528, allocations: 47.53 kB / 464 MB, free: 7.367 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004851/0.6533, allocations: 131.9 kB / 464.2 MB, free: 7.238 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001176/0.6545, allocations: 0.6877 MB / 464.9 MB, free: 6.547 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01259/0.6671, allocations: 5.282 MB / 470.1 MB, free: 1.262 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0402/0.7073, allocations: 31.56 MB / 0.4899 GB, free: 0.5898 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006023/0.7134, allocations: 2.327 MB / 0.4922 GB, free: 14.11 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001718/0.7151, allocations: 0.981 MB / 0.4932 GB, free: 13.12 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001268/0.7153, allocations: 43.92 kB / 0.4932 GB, free: 13.08 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.824e-05/0.7154, allocations: 50.55 kB / 0.4933 GB, free: 13.02 MB / 410.7 MB Notification: Performance of pre-optimization done (n=96): time 4.602e-06/0.7154, allocations: 3.938 kB / 0.4933 GB, free: 13.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=115): time 0.03038/0.7458, allocations: 8.464 MB / 0.5015 GB, free: 4.426 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001084/0.7459, allocations: 145 kB / 0.5017 GB, free: 4.254 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004799/0.7507, allocations: 2.313 MB / 0.5039 GB, free: 1.914 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00021/0.751, allocations: 45.69 kB / 0.504 GB, free: 1.863 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002127/0.7531, allocations: 2.009 MB / 0.5059 GB, free: 15.82 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006899/0.7538, allocations: 470.1 kB / 0.5064 GB, free: 15.36 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003761/0.7542, allocations: 88 kB / 0.5065 GB, free: 15.27 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004403/0.7547, allocations: 499.6 kB / 0.5069 GB, free: 14.78 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002956/0.7576, allocations: 1.344 MB / 0.5083 GB, free: 13.43 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005469/0.7631, allocations: 4.068 MB / 0.5122 GB, free: 7.969 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004765/0.7679, allocations: 2.36 MB / 0.5145 GB, free: 5.605 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-05/0.768, allocations: 28 kB / 0.5146 GB, free: 5.578 MB / 426.7 MB Notification: Performance of matching and sorting (n=567) (initialization): time 0.01314/0.7812, allocations: 5.243 MB / 0.5197 GB, free: 336 kB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.149e-05/0.7813, allocations: 47.98 kB / 0.5197 GB, free: 288 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001283/0.7814, allocations: 100.9 kB / 0.5198 GB, free: 188 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.229/1.01, allocations: 468.2 kB / 0.5203 GB, free: 116.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004835/1.015, allocations: 1.016 MB / 0.5213 GB, free: 116.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004906/1.02, allocations: 3.38 MB / 0.5246 GB, free: 115.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004072/1.024, allocations: 231.5 kB / 0.5248 GB, free: 115.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008469/1.025, allocations: 273.5 kB / 0.525 GB, free: 115.1 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 448 * Number of states: 0 () * Number of discrete variables: 18 (rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (534): * Single equations (assignments): 530 * 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 prepare postOptimizeDAE: time 0.0007549/1.026, allocations: 443.1 kB / 0.5255 GB, free: 115 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004957/1.027, allocations: 219.9 kB / 0.5257 GB, free: 115 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00333/1.03, allocations: 1.468 MB / 0.5271 GB, free: 114.9 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.317e-05/1.03, allocations: 13.97 kB / 0.5271 GB, free: 114.9 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.03e-05/1.03, allocations: 5 kB / 0.5271 GB, free: 114.9 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.781e-05/1.03, allocations: 4.25 kB / 0.5271 GB, free: 114.9 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01098/1.041, allocations: 4.449 MB / 0.5315 GB, free: 114.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.405e-05/1.041, allocations: 1.406 kB / 0.5315 GB, free: 114.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001134/1.042, allocations: 168.8 kB / 0.5316 GB, free: 114.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001166/1.043, allocations: 319.6 kB / 0.5319 GB, free: 114.5 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001528/1.044, allocations: 19.45 kB / 0.532 GB, free: 114.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003908/1.048, allocations: 2.807 MB / 0.5347 GB, free: 113.2 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.714e-06/1.048, allocations: 1.188 kB / 0.5347 GB, free: 113.2 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005945/1.054, allocations: 3.298 MB / 0.5379 GB, free: 112.7 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001115/1.055, allocations: 435.2 kB / 0.5383 GB, free: 112.6 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003219/1.055, allocations: 20.75 kB / 0.5384 GB, free: 112.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001118/1.056, allocations: 55.12 kB / 0.5384 GB, free: 112.6 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001993/1.056, allocations: 54.22 kB / 0.5385 GB, free: 112.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001208/1.057, allocations: 30.55 kB / 0.5385 GB, free: 112.6 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002925/1.059, allocations: 1.578 MB / 0.54 GB, free: 112.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.155e-06/1.06, allocations: 0.7656 kB / 0.54 GB, free: 112.5 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004553/1.064, allocations: 0.6246 MB / 0.5406 GB, free: 112.5 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (86): * Single equations (assignments): 82 * 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%) 7} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003936/1.064, allocations: 141.2 kB / 0.5408 GB, free: 112.4 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00607/1.071, allocations: 3.139 MB / 0.5438 GB, free: 112 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.997e-06/1.071, allocations: 3.609 kB / 0.5438 GB, free: 112 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001607/1.072, allocations: 0.9171 MB / 0.5447 GB, free: 111.6 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001295/1.074, allocations: 190.5 kB / 0.5449 GB, free: 111.5 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01041/1.084, allocations: 4.564 MB / 0.5494 GB, free: 109.9 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003062/1.087, allocations: 2.232 MB / 0.5516 GB, free: 108.8 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.004552/1.092, allocations: 1.405 MB / 0.5529 GB, free: 108.8 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007044/1.092, allocations: 163.6 kB / 0.5531 GB, free: 108.8 MB / 426.7 MB Notification: Performance of SimCode: time 1.944e-06/1.092, allocations: 0 / 0.5531 GB, free: 108.8 MB / 426.7 MB Notification: Performance of Templates: time 0.05445/1.147, allocations: 19.72 MB / 0.5723 GB, free: 105.6 MB / 426.7 MB