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_cpp_ModelicaTest.MultiBody.Parts.PointMass") Notification: Performance of loadModel(ModelicaTest): time 1.905/1.905, allocations: 209.3 MB / 224.4 MB, free: 0.5117 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.126e-05/3.121e-05, allocations: 4 kB / 276.1 MB, free: 15.87 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3458/0.3458, allocations: 48.69 MB / 324.8 MB, free: 2.898 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.02087/0.3668, allocations: 13.59 MB / 338.4 MB, free: 9.938 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01023/0.3771, allocations: 3.396 MB / 341.8 MB, free: 7.695 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003265/0.3804, allocations: 64.88 kB / 341.9 MB, free: 7.688 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0027/0.3831, allocations: 0.6672 MB / 342.6 MB, free: 7.477 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007752/0.3909, allocations: 1.786 MB / 344.3 MB, free: 6.613 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001457/0.3924, allocations: 217.1 kB / 344.6 MB, free: 6.52 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002569/0.395, allocations: 0.7645 MB / 345.3 MB, free: 6.125 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002662/0.3977, allocations: 1.276 MB / 346.6 MB, free: 5.395 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008835/0.3986, allocations: 430.4 kB / 347 MB, free: 5.211 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001234/0.3999, allocations: 0.641 MB / 347.7 MB, free: 4.898 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001569/0.4015, allocations: 0.6098 MB / 348.3 MB, free: 4.625 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004057/0.4019, allocations: 68.75 kB / 348.3 MB, free: 4.625 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009951/0.4029, allocations: 0.7699 MB / 349.1 MB, free: 4.254 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005309/0.4034, allocations: 134 kB / 349.2 MB, free: 4.25 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004908/0.4084, allocations: 2.815 MB / 352 MB, free: 2.43 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.4084, allocations: 1.094 kB / 352 MB, free: 2.43 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.534e-06/0.4084, allocations: 0 / 352 MB, free: 2.43 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001256/0.4086, allocations: 0 / 352 MB, free: 2.43 MB / 282.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.007508/0.4161, allocations: 2.288 MB / 354.3 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/0.4162, allocations: 9.031 kB / 354.3 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01155/0.4277, allocations: 1.891 MB / 356.2 MB, free: 15.8 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003554/0.4313, allocations: 1.06 MB / 357.3 MB, free: 14.95 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001361/0.4315, allocations: 114.9 kB / 357.4 MB, free: 14.84 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005373/0.4321, allocations: 155.8 kB / 357.6 MB, free: 14.68 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01525/0.4473, allocations: 6.216 MB / 363.8 MB, free: 7.98 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.668e-05/0.4474, allocations: 31.81 kB / 363.8 MB, free: 7.949 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003771/0.4478, allocations: 79.89 kB / 363.9 MB, free: 7.871 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003621/0.4515, allocations: 1.378 MB / 365.3 MB, free: 6.496 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01623/0.4677, allocations: 5.404 MB / 370.7 MB, free: 1.082 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04111/0.5089, allocations: 24.63 MB / 395.3 MB, free: 7.656 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007869/0.5168, allocations: 2.374 MB / 397.7 MB, free: 5.137 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005134/0.5174, allocations: 335.6 kB / 398 MB, free: 4.754 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.42e-05/0.5174, allocations: 46.44 kB / 398 MB, free: 4.699 MB / 330.7 MB Notification: Performance of pre-optimization done (n=96): time 6.502e-06/0.5175, allocations: 112 / 398 MB, free: 4.699 MB / 330.7 MB Notification: Performance of matching and sorting (n=106): time 0.03941/0.5569, allocations: 8.763 MB / 406.8 MB, free: 11.74 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.237e-05/0.557, allocations: 136.5 kB / 406.9 MB, free: 11.58 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006648/0.5637, allocations: 2.334 MB / 409.3 MB, free: 9.223 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003112/0.5641, allocations: 37.7 kB / 409.3 MB, free: 9.18 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002715/0.5668, allocations: 2.015 MB / 411.3 MB, free: 7.137 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008613/0.5677, allocations: 434.6 kB / 411.7 MB, free: 6.707 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005595/0.5683, allocations: 91.98 kB / 411.8 MB, free: 6.617 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0004611/0.5688, allocations: 0.4924 MB / 412.3 MB, free: 6.113 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003947/0.5727, allocations: 1.316 MB / 413.6 MB, free: 4.789 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006872/0.5796, allocations: 4.047 MB / 417.7 MB, free: 15.35 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005995/0.5857, allocations: 2.295 MB / 420 MB, free: 13.05 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.019e-05/0.5858, allocations: 28 kB / 420 MB, free: 13.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=557) (initialization): time 0.01661/0.6025, allocations: 5.366 MB / 425.4 MB, free: 7.652 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.828e-05/0.6026, allocations: 48 kB / 425.4 MB, free: 7.605 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001581/0.6028, allocations: 104 kB / 425.5 MB, free: 7.504 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001907/0.6047, allocations: 477.2 kB / 426 MB, free: 7.035 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005898/0.6106, allocations: 0.9708 MB / 427 MB, free: 6.062 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006622/0.6173, allocations: 3.463 MB / 430.4 MB, free: 2.469 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004164/0.6215, allocations: 231.5 kB / 430.7 MB, free: 2.242 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008509/0.6224, allocations: 272 kB / 430.9 MB, free: 1.977 MB / 362.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.003529/0.626, allocations: 1.329 MB / 432.3 MB, free: 0.6367 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005937/0.6266, allocations: 217.1 kB / 432.5 MB, free: 432 kB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003983/0.6306, allocations: 1.325 MB / 433.8 MB, free: 15.08 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.933e-05/0.6307, allocations: 12 kB / 433.8 MB, free: 15.07 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.139e-05/0.6307, allocations: 4 kB / 433.8 MB, free: 15.06 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.809e-05/0.6307, allocations: 3.984 kB / 433.8 MB, free: 15.06 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01255/0.6433, allocations: 4.241 MB / 438 MB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-05/0.6433, allocations: 7.938 kB / 438.1 MB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001252/0.6446, allocations: 135.8 kB / 438.2 MB, free: 10.61 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001484/0.6461, allocations: 316.5 kB / 438.5 MB, free: 10.3 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001292/0.6462, allocations: 12 kB / 438.5 MB, free: 10.29 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005387/0.6516, allocations: 2.897 MB / 441.4 MB, free: 7.258 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.6517, allocations: 4.031 kB / 441.4 MB, free: 7.254 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007212/0.6589, allocations: 3.108 MB / 444.5 MB, free: 4.105 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001398/0.6604, allocations: 418 kB / 444.9 MB, free: 3.676 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004455/0.6608, allocations: 16 kB / 444.9 MB, free: 3.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001283/0.6621, allocations: 48 kB / 445 MB, free: 3.613 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001927/0.6623, allocations: 52.36 kB / 445 MB, free: 3.562 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001165/0.6625, allocations: 28 kB / 445.1 MB, free: 3.535 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.003816/0.6663, allocations: 1.605 MB / 446.7 MB, free: 1.918 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.92e-07/0.6663, allocations: 0 / 446.7 MB, free: 1.918 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004482/0.6708, allocations: 0.6015 MB / 447.3 MB, free: 1.316 MB / 378.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.0004707/0.6714, allocations: 131.1 kB / 447.4 MB, free: 1.18 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.008026/0.6794, allocations: 3.186 MB / 450.6 MB, free: 13.99 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/0.6795, allocations: 0 / 450.6 MB, free: 13.99 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001966/0.6814, allocations: 0.8638 MB / 451.5 MB, free: 13.11 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00149/0.6829, allocations: 193.9 kB / 451.6 MB, free: 12.92 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01637/0.6993, allocations: 6.656 MB / 458.3 MB, free: 6.223 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003785/0.7032, allocations: 2.221 MB / 460.5 MB, free: 3.965 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009916/0.7042, allocations: 187.4 kB / 460.7 MB, free: 3.781 MB / 394.7 MB Notification: Performance of SimCode: time 1.163e-06/0.7042, allocations: 3.938 kB / 460.7 MB, free: 3.777 MB / 394.7 MB Notification: Performance of Templates: time 0.5041/1.208, allocations: 43.73 MB / 0.4926 GB, free: 117 MB / 410.7 MB