Running command: translateModel(ModelicaTest.MultiBody.Visualizers.Torus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|torus1.surface.nu|torus1.surface.nv|torus2.surface.nu|torus2.surface.nv",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus") Notification: Performance of loadModel(ModelicaTest): time 2.371/2.371, allocations: 270.1 MB / 283.6 MB, free: 3.02 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.069e-05/3.079e-05, allocations: 1.969 kB / 348.4 MB, free: 10.79 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1296, allocations: 61.88 MB / 410.3 MB, free: 12.97 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4667/0.5964, allocations: 97.75 MB / 0.4961 GB, free: 6.355 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00024/0.5967, allocations: 79.95 kB / 0.4962 GB, free: 6.277 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3604/0.9571, allocations: 69.71 MB / 0.5643 GB, free: 15.91 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.049e-06/0.9571, allocations: 4 kB / 0.5643 GB, free: 15.9 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002213/0.9574, allocations: 64 kB / 0.5643 GB, free: 15.84 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1443 * Number of variables: 1443 Notification: Performance of Generate backend data structure: time 0.01229/0.9697, allocations: 3.048 MB / 0.5673 GB, free: 12.73 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.974e-05/0.9697, allocations: 12.03 kB / 0.5673 GB, free: 12.72 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01803/0.9878, allocations: 3.287 MB / 0.5705 GB, free: 9.426 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006254/0.9941, allocations: 2.075 MB / 0.5726 GB, free: 7.305 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003942/0.9945, allocations: 271.1 kB / 0.5728 GB, free: 7.039 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001803/0.9963, allocations: 359.9 kB / 0.5732 GB, free: 6.688 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02251/1.019, allocations: 8.943 MB / 0.5819 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.957e-05/1.019, allocations: 15.88 kB / 0.5819 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000845/1.02, allocations: 163.9 kB / 0.5821 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001848/1.022, allocations: 1.049 MB / 0.5831 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02209/1.044, allocations: 8.421 MB / 0.5913 GB, free: 3.711 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.374/1.418, allocations: 29.2 MB / 0.6198 GB, free: 122.2 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006608/1.425, allocations: 3.025 MB / 0.6228 GB, free: 121.1 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002034/1.427, allocations: 0.9674 MB / 0.6237 GB, free: 121.1 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0115/1.438, allocations: 4.872 MB / 0.6285 GB, free: 119.5 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.145e-05/1.438, allocations: 38.47 kB / 0.6285 GB, free: 119.5 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=126): time 4.736e-06/1.438, allocations: 0 / 0.6285 GB, free: 119.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=126): time 0.007913/1.446, allocations: 2.095 MB / 0.6306 GB, free: 119.3 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.77e-05/1.446, allocations: 64.59 kB / 0.6306 GB, free: 119.3 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005745/1.452, allocations: 2.259 MB / 0.6328 GB, free: 119 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001557/1.452, allocations: 42.95 kB / 0.6329 GB, free: 118.9 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002436/1.455, allocations: 2.646 MB / 0.6355 GB, free: 117.7 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001182/1.456, allocations: 498.8 kB / 0.6359 GB, free: 117.4 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006692/1.457, allocations: 85.36 kB / 0.636 GB, free: 117.4 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0009615/1.458, allocations: 0.5489 MB / 0.6366 GB, free: 117.1 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006548/1.464, allocations: 1.307 MB / 0.6378 GB, free: 117.1 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009071/1.473, allocations: 4.03 MB / 0.6418 GB, free: 113.5 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009726/1.483, allocations: 2.353 MB / 0.6441 GB, free: 113.5 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002289/1.483, allocations: 28.72 kB / 0.6441 GB, free: 113.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=586) (initialization): time 0.02379/1.507, allocations: 4.92 MB / 0.6489 GB, free: 113.1 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001799/1.507, allocations: 45.72 kB / 0.6489 GB, free: 113.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000251/1.508, allocations: 97.59 kB / 0.649 GB, free: 113.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003748/1.508, allocations: 145.7 kB / 0.6492 GB, free: 113.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008984/1.517, allocations: 0.9721 MB / 0.6501 GB, free: 113 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003479/1.518, allocations: 193 kB / 0.6503 GB, free: 113 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008734/1.526, allocations: 0.5996 MB / 0.6509 GB, free: 112.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001512/1.528, allocations: 282.4 kB / 0.6512 GB, free: 112.6 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 446 * Number of states: 0 () * Number of discrete variables: 21 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (538): * Single equations (assignments): 532 * 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.001466/1.529, allocations: 442.6 kB / 0.6516 GB, free: 112.4 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007998/1.53, allocations: 213.4 kB / 0.6518 GB, free: 112.3 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00112/1.531, allocations: 273.7 kB / 0.6521 GB, free: 112.2 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.495e-05/1.531, allocations: 15.83 kB / 0.6521 GB, free: 112.2 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.045e-05/1.532, allocations: 0 / 0.6521 GB, free: 112.2 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.245e-05/1.532, allocations: 3.844 kB / 0.6521 GB, free: 112.2 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01456/1.546, allocations: 5.613 MB / 0.6576 GB, free: 110.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.159e-05/1.546, allocations: 7.125 kB / 0.6576 GB, free: 110.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007542/1.547, allocations: 136.4 kB / 0.6577 GB, free: 110.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.789e-05/1.547, allocations: 11.77 kB / 0.6577 GB, free: 110.6 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.991e-05/1.547, allocations: 19.84 kB / 0.6577 GB, free: 110.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.24e-05/1.547, allocations: 14.25 kB / 0.6577 GB, free: 110.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.217e-06/1.547, allocations: 3.438 kB / 0.6577 GB, free: 110.6 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002514/1.55, allocations: 2.109 MB / 0.6598 GB, free: 109.4 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005335/1.55, allocations: 303.3 kB / 0.6601 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000291/1.551, allocations: 27.36 kB / 0.6601 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008694/1.551, allocations: 37.53 kB / 0.6602 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001313/1.552, allocations: 64.98 kB / 0.6602 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001046/1.552, allocations: 40.83 kB / 0.6603 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.00322/1.555, allocations: 1.521 MB / 0.6617 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1e-06/1.555, allocations: 0 / 0.6617 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004882/1.56, allocations: 1.008 MB / 0.6627 GB, free: 108.2 MB / 0.5105 GB 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.0003646/1.56, allocations: 162.5 kB / 0.6629 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.005294/1.566, allocations: 2.936 MB / 0.6657 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.113e-06/1.566, allocations: 3.969 kB / 0.6657 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001061/1.567, allocations: 0.7309 MB / 0.6665 GB, free: 107 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001318/1.568, allocations: 224.4 kB / 0.6667 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01253/1.581, allocations: 5.826 MB / 0.6724 GB, free: 104.8 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004529/1.585, allocations: 3.043 MB / 0.6753 GB, free: 103.6 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.00439/1.59, allocations: 1.482 MB / 0.6768 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005423/1.59, allocations: 160.8 kB / 0.6769 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of SimCode: time 1.708e-06/1.59, allocations: 0 / 0.6769 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of Templates: time 0.05414/1.644, allocations: 17.35 MB / 0.6939 GB, free: 99.01 MB / 0.5105 GB