Running command: translateModel(ModelicaTest.MultiBody.Parts.PointMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Parts.PointMass") Notification: Performance of loadModel(ModelicaTest): time 2.377/2.377, allocations: 234.9 MB / 250.1 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.48e-05/3.478e-05, allocations: 4 kB / 308 MB, free: 8 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3778/0.3778, allocations: 54.86 MB / 362.8 MB, free: 12.07 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.02246/0.4004, allocations: 13.6 MB / 376.4 MB, free: 236 kB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01067/0.4111, allocations: 3.411 MB / 379.9 MB, free: 12.81 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003053/0.4142, allocations: 63.88 kB / 379.9 MB, free: 12.75 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002739/0.417, allocations: 0.6689 MB / 380.6 MB, free: 12.08 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008116/0.4252, allocations: 1.784 MB / 382.4 MB, free: 10.29 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001497/0.4267, allocations: 219.5 kB / 382.6 MB, free: 10.07 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002546/0.4293, allocations: 0.7639 MB / 383.3 MB, free: 9.309 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002923/0.4323, allocations: 1.275 MB / 384.6 MB, free: 8 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009696/0.4333, allocations: 426.9 kB / 385 MB, free: 7.582 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001336/0.4347, allocations: 0.6466 MB / 385.7 MB, free: 6.934 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001757/0.4364, allocations: 0.6047 MB / 386.3 MB, free: 6.328 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006166/0.4371, allocations: 68 kB / 386.4 MB, free: 6.262 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001286/0.4384, allocations: 0.7674 MB / 387.1 MB, free: 5.492 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005772/0.439, allocations: 135.9 kB / 387.3 MB, free: 5.359 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004897/0.4439, allocations: 2.823 MB / 390.1 MB, free: 2.527 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.444, allocations: 4 kB / 390.1 MB, free: 2.523 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.955e-06/0.444, allocations: 0 / 390.1 MB, free: 2.523 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001346/0.4442, allocations: 0 / 390.1 MB, free: 2.523 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 946 * Number of variables: 946 Notification: Performance of Generate backend data structure: time 0.007367/0.4515, allocations: 2.291 MB / 392.4 MB, free: 180 kB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.173e-05/0.4516, allocations: 12.03 kB / 392.4 MB, free: 168 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01168/0.4633, allocations: 1.877 MB / 394.3 MB, free: 14.28 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003212/0.4666, allocations: 1.056 MB / 395.3 MB, free: 13.18 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001525/0.4668, allocations: 114.9 kB / 395.4 MB, free: 13.06 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000746/0.4675, allocations: 163.8 kB / 395.6 MB, free: 12.9 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.015/0.4825, allocations: 6.22 MB / 401.8 MB, free: 6.207 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.757e-05/0.4827, allocations: 27.81 kB / 401.8 MB, free: 6.18 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004008/0.4831, allocations: 75.89 kB / 401.9 MB, free: 6.105 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003757/0.4869, allocations: 1.386 MB / 403.3 MB, free: 4.719 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01617/0.5031, allocations: 5.408 MB / 408.7 MB, free: 15.3 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04397/0.5471, allocations: 24.79 MB / 433.5 MB, free: 5.719 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008218/0.5554, allocations: 2.378 MB / 435.9 MB, free: 3.191 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005552/0.556, allocations: 323.8 kB / 436.2 MB, free: 2.82 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.599e-05/0.5561, allocations: 54.36 kB / 436.2 MB, free: 2.758 MB / 362.7 MB Notification: Performance of pre-optimization done (n=96): time 4.87e-06/0.5561, allocations: 0 / 436.2 MB, free: 2.758 MB / 362.7 MB Notification: Performance of matching and sorting (n=106): time 0.0408/0.5969, allocations: 8.747 MB / 445 MB, free: 9.816 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.88e-05/0.597, allocations: 140.5 kB / 445.1 MB, free: 9.648 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00591/0.603, allocations: 2.337 MB / 447.5 MB, free: 7.289 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002581/0.6033, allocations: 37.7 kB / 447.5 MB, free: 7.246 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002338/0.6056, allocations: 2.015 MB / 449.5 MB, free: 5.203 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007578/0.6065, allocations: 438.7 kB / 449.9 MB, free: 4.77 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004623/0.6069, allocations: 87.98 kB / 450 MB, free: 4.684 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0004269/0.6074, allocations: 0.4963 MB / 450.5 MB, free: 4.176 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003838/0.6112, allocations: 1.312 MB / 451.8 MB, free: 2.855 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006537/0.6178, allocations: 4.051 MB / 455.9 MB, free: 13.41 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00603/0.6239, allocations: 2.298 MB / 458.2 MB, free: 11.12 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001003/0.6241, allocations: 28 kB / 458.2 MB, free: 11.09 MB / 394.7 MB Notification: Performance of matching and sorting (n=557) (initialization): time 0.01591/0.64, allocations: 5.37 MB / 463.6 MB, free: 5.711 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.837e-05/0.6401, allocations: 48 kB / 463.6 MB, free: 5.664 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001584/0.6403, allocations: 96 kB / 463.7 MB, free: 5.57 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001933/0.6423, allocations: 477 kB / 464.2 MB, free: 5.102 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00591/0.6482, allocations: 0.9669 MB / 465.2 MB, free: 4.133 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006949/0.6552, allocations: 3.466 MB / 468.6 MB, free: 0.5312 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004123/0.6594, allocations: 239.5 kB / 468.9 MB, free: 304 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008995/0.6603, allocations: 268.1 kB / 469.1 MB, free: 36 kB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 447 * 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 (524): * Single equations (assignments): 520 * 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.003709/0.6641, allocations: 1.333 MB / 470.5 MB, free: 14.7 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006645/0.6648, allocations: 213.2 kB / 470.7 MB, free: 14.48 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004173/0.6689, allocations: 1.321 MB / 472 MB, free: 13.14 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-05/0.6691, allocations: 12 kB / 472 MB, free: 13.13 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.658e-05/0.6691, allocations: 7.953 kB / 472 MB, free: 13.12 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.259e-05/0.6691, allocations: 3.984 kB / 472 MB, free: 13.12 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01342/0.6825, allocations: 4.226 MB / 476.2 MB, free: 8.836 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-05/0.6826, allocations: 0 / 476.2 MB, free: 8.836 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001335/0.684, allocations: 132.1 kB / 476.4 MB, free: 8.707 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001616/0.6856, allocations: 336.4 kB / 476.7 MB, free: 8.375 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001998/0.6859, allocations: 12 kB / 476.7 MB, free: 8.363 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005701/0.6916, allocations: 2.893 MB / 479.6 MB, free: 5.332 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.481e-06/0.6916, allocations: 4 kB / 479.6 MB, free: 5.328 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007764/0.6994, allocations: 3.117 MB / 482.7 MB, free: 2.172 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001381/0.7008, allocations: 414 kB / 483.1 MB, free: 1.746 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006502/0.7015, allocations: 19.98 kB / 483.1 MB, free: 1.727 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00151/0.7031, allocations: 48 kB / 483.2 MB, free: 1.68 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000247/0.7033, allocations: 56.33 kB / 483.2 MB, free: 1.625 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001457/0.7035, allocations: 27.98 kB / 483.3 MB, free: 1.598 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.004278/0.7078, allocations: 1.605 MB / 484.9 MB, free: 15.98 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.21e-07/0.7079, allocations: 0 / 484.9 MB, free: 15.98 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004634/0.7125, allocations: 0.586 MB / 485.5 MB, free: 15.39 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 (77): * Single equations (assignments): 73 * 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.000581/0.7131, allocations: 139.1 kB / 485.6 MB, free: 15.25 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.008331/0.7215, allocations: 3.193 MB / 488.8 MB, free: 12.06 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/0.7215, allocations: 0 / 488.8 MB, free: 12.06 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002052/0.7236, allocations: 0.8677 MB / 489.7 MB, free: 11.18 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001768/0.7254, allocations: 184.6 kB / 489.8 MB, free: 11 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01814/0.7436, allocations: 6.664 MB / 496.5 MB, free: 4.285 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004389/0.7481, allocations: 2.21 MB / 498.7 MB, free: 2.039 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00106/0.7492, allocations: 195.4 kB / 498.9 MB, free: 1.848 MB / 426.7 MB Notification: Performance of SimCode: time 2.204e-06/0.7492, allocations: 0 / 498.9 MB, free: 1.848 MB / 426.7 MB Notification: Performance of Templates: time 0.4159/1.165, allocations: 43.77 MB / 0.53 GB, free: 86.92 MB / 426.7 MB