Running command: translateModel(ModelicaTest.MultiBody.Visualizers.Torus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="// No comparison signals available. Just an animation test.",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Visualizers.Torus") Notification: Performance of loadModel(ModelicaTest): time 2.502/2.502, allocations: 234.9 MB / 250.1 MB, free: 9.801 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.438e-05/3.444e-05, allocations: 4 kB / 308 MB, free: 15.78 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3842/0.3842, allocations: 54.86 MB / 362.8 MB, free: 11.82 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.03684/0.4211, allocations: 22.76 MB / 385.6 MB, free: 4.98 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01391/0.4351, allocations: 4.665 MB / 390.3 MB, free: 304 kB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005286/0.4404, allocations: 111.8 kB / 390.4 MB, free: 192 kB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004421/0.4449, allocations: 1.241 MB / 391.6 MB, free: 14.94 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0121/0.4571, allocations: 3.179 MB / 394.8 MB, free: 11.75 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001376/0.4585, allocations: 83.88 kB / 394.9 MB, free: 11.67 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003186/0.4618, allocations: 0.9898 MB / 395.9 MB, free: 10.68 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004128/0.4659, allocations: 1.779 MB / 397.7 MB, free: 8.871 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001457/0.4675, allocations: 0.5688 MB / 398.2 MB, free: 8.301 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001973/0.4695, allocations: 0.9193 MB / 399.1 MB, free: 7.379 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001364/0.4709, allocations: 359.5 kB / 399.5 MB, free: 7.027 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006092/0.4715, allocations: 80 kB / 399.6 MB, free: 6.949 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001967/0.4735, allocations: 1.13 MB / 400.7 MB, free: 5.816 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001609/0.4752, allocations: 188 kB / 400.9 MB, free: 5.633 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01042/0.4857, allocations: 4.185 MB / 405.1 MB, free: 1.438 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.495e-05/0.4858, allocations: 0 / 405.1 MB, free: 1.438 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.278e-06/0.4859, allocations: 0 / 405.1 MB, free: 1.438 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002501/0.4861, allocations: 0 / 405.1 MB, free: 1.438 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: 1440 * Number of variables: 1440 Notification: Performance of Generate backend data structure: time 0.008067/0.4942, allocations: 3.017 MB / 408.1 MB, free: 14.36 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.368e-05/0.4943, allocations: 11.97 kB / 408.1 MB, free: 14.35 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0222/0.5165, allocations: 3.571 MB / 411.7 MB, free: 10.77 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006072/0.5226, allocations: 1.501 MB / 413.2 MB, free: 9.219 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003122/0.523, allocations: 176.2 kB / 413.3 MB, free: 9.043 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001476/0.5245, allocations: 223.8 kB / 413.6 MB, free: 8.824 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03115/0.5557, allocations: 9.483 MB / 423 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001066/0.5558, allocations: 19.88 kB / 423.1 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008554/0.5567, allocations: 107.8 kB / 423.2 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009352/0.5661, allocations: 2.373 MB / 425.5 MB, free: 12.46 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03311/0.5992, allocations: 8.676 MB / 434.2 MB, free: 3.77 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06265/0.6619, allocations: 29.25 MB / 463.5 MB, free: 5.719 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008213/0.6702, allocations: 3.048 MB / 466.5 MB, free: 2.445 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01469/0.685, allocations: 4.861 MB / 471.4 MB, free: 13.33 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.489e-05/0.6851, allocations: 39.22 kB / 471.4 MB, free: 13.29 MB / 410.7 MB Notification: Performance of pre-optimization done (n=126): time 5.4e-06/0.6851, allocations: 0 / 471.4 MB, free: 13.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=126): time 0.01127/0.6964, allocations: 3.244 MB / 474.7 MB, free: 9.922 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.844e-05/0.6965, allocations: 64 kB / 474.7 MB, free: 9.848 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005293/0.7018, allocations: 2.259 MB / 477 MB, free: 7.562 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002169/0.7021, allocations: 37.7 kB / 477 MB, free: 7.52 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002858/0.7049, allocations: 2.659 MB / 479.7 MB, free: 4.824 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008243/0.7058, allocations: 497.7 kB / 480.2 MB, free: 4.332 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004195/0.7062, allocations: 87.94 kB / 480.3 MB, free: 4.246 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004383/0.7067, allocations: 0.5007 MB / 480.8 MB, free: 3.734 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003577/0.7103, allocations: 1.336 MB / 482.1 MB, free: 2.391 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.324/1.034, allocations: 4.058 MB / 486.1 MB, free: 102.8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006784/1.041, allocations: 2.347 MB / 488.5 MB, free: 102.3 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002159/1.041, allocations: 27.38 kB / 488.5 MB, free: 102.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=585) (initialization): time 0.01512/1.057, allocations: 5.172 MB / 493.7 MB, free: 100.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001245/1.057, allocations: 52.03 kB / 493.7 MB, free: 100.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001731/1.057, allocations: 95.12 kB / 493.8 MB, free: 100.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001973/1.057, allocations: 143 kB / 494 MB, free: 100.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006143/1.063, allocations: 0.969 MB / 494.9 MB, free: 100.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000211/1.064, allocations: 187.1 kB / 495.1 MB, free: 100.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004775/1.068, allocations: 0.6083 MB / 495.7 MB, free: 100.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009116/1.069, allocations: 274.4 kB / 496 MB, free: 100.1 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 443 * Number of states: 0 () * Number of discrete variables: 18 (fixedFrame1.color_x[3],fixedFrame1.color_x[2],fixedFrame1.color_x[1],fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (537): * Single equations (assignments): 531 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004484/1.074, allocations: 1.858 MB / 497.9 MB, free: 99.27 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005056/1.074, allocations: 214.4 kB / 498.1 MB, free: 99.15 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007143/1.075, allocations: 270.7 kB / 498.3 MB, free: 99.01 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.123e-05/1.075, allocations: 19.44 kB / 498.4 MB, free: 99.01 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.397e-05/1.075, allocations: 0 / 498.4 MB, free: 99.01 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.27e-05/1.075, allocations: 7.078 kB / 498.4 MB, free: 99.01 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01399/1.089, allocations: 5.592 MB / 0.4921 GB, free: 96.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.612e-05/1.089, allocations: 10.61 kB / 0.4922 GB, free: 96.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001166/1.091, allocations: 135.3 kB / 0.4923 GB, free: 96.35 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.902e-05/1.091, allocations: 8 kB / 0.4923 GB, free: 96.34 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001181/1.091, allocations: 20.94 kB / 0.4923 GB, free: 96.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.575e-05/1.091, allocations: 16.58 kB / 0.4923 GB, free: 96.31 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.202e-06/1.091, allocations: 4 kB / 0.4923 GB, free: 96.3 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003318/1.094, allocations: 2.113 MB / 0.4944 GB, free: 94.15 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007078/1.095, allocations: 301.8 kB / 0.4947 GB, free: 93.84 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005112/1.095, allocations: 16.62 kB / 0.4947 GB, free: 93.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001119/1.096, allocations: 40.73 kB / 0.4947 GB, free: 93.8 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001642/1.097, allocations: 67.11 kB / 0.4948 GB, free: 93.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001166/1.097, allocations: 38.52 kB / 0.4948 GB, free: 93.71 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003348/1.1, allocations: 1.528 MB / 0.4963 GB, free: 92.45 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.112e-06/1.1, allocations: 0 / 0.4963 GB, free: 92.45 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004867/1.105, allocations: 0.9996 MB / 0.4973 GB, free: 91.45 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 72 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004716/1.106, allocations: 145.1 kB / 0.4974 GB, free: 91.3 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006434/1.112, allocations: 3.101 MB / 0.5005 GB, free: 88.58 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.087e-05/1.112, allocations: 1.875 kB / 0.5005 GB, free: 88.58 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001367/1.114, allocations: 0.74 MB / 0.5012 GB, free: 87.92 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001584/1.115, allocations: 230.3 kB / 0.5014 GB, free: 87.72 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01861/1.134, allocations: 9.166 MB / 0.5104 GB, free: 78.91 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005388/1.139, allocations: 3.042 MB / 0.5133 GB, free: 75.83 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009435/1.14, allocations: 199.4 kB / 0.5135 GB, free: 75.64 MB / 410.7 MB Notification: Performance of SimCode: time 1.523e-06/1.14, allocations: 0 / 0.5135 GB, free: 75.64 MB / 410.7 MB Notification: Performance of Templates: time 0.1161/1.256, allocations: 40.63 MB / 0.5532 GB, free: 34.99 MB / 410.7 MB