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_trunk_cpp_ModelicaTest.MultiBody.Visualizers.Torus") Notification: Performance of loadModel(ModelicaTest): time 2.392/2.392, allocations: 269 MB / 284.1 MB, free: 3.656 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.119e-05/3.12e-05, allocations: 8 kB / 349 MB, free: 10.78 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.1376, allocations: 61.89 MB / 410.9 MB, free: 12.89 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.3584/0.496, allocations: 23.63 MB / 434.6 MB, free: 2.008 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.01507/0.5111, allocations: 5.133 MB / 439.7 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006331/0.5175, allocations: 116.8 kB / 439.8 MB, free: 14.73 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005032/0.5226, allocations: 1.261 MB / 441.1 MB, free: 14.34 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01467/0.5373, allocations: 3.473 MB / 444.5 MB, free: 12.75 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001568/0.5389, allocations: 85.45 kB / 444.6 MB, free: 12.7 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003317/0.5423, allocations: 0.9964 MB / 445.6 MB, free: 12.13 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004182/0.5465, allocations: 1.784 MB / 447.4 MB, free: 11.48 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001423/0.548, allocations: 0.5758 MB / 448 MB, free: 11.3 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001881/0.5499, allocations: 0.9196 MB / 448.9 MB, free: 11.03 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001512/0.5514, allocations: 369.3 kB / 449.3 MB, free: 10.91 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005488/0.552, allocations: 77.03 kB / 449.3 MB, free: 10.91 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001692/0.5537, allocations: 1.147 MB / 450.5 MB, free: 10.36 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008447/0.5546, allocations: 185 kB / 450.7 MB, free: 10.36 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006976/0.5616, allocations: 4.19 MB / 454.8 MB, free: 7.551 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.5616, allocations: 0 / 454.8 MB, free: 7.551 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.624e-06/0.5616, allocations: 0 / 454.8 MB, free: 7.551 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002388/0.5619, allocations: 0 / 454.8 MB, free: 7.551 MB / 362.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.00916/0.5711, allocations: 3.02 MB / 457.9 MB, free: 5.367 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.5711, allocations: 9.375 kB / 457.9 MB, free: 5.367 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02142/0.5926, allocations: 3.575 MB / 461.5 MB, free: 3.582 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005263/0.5979, allocations: 1.502 MB / 463 MB, free: 2.574 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002512/0.5982, allocations: 177 kB / 463.1 MB, free: 2.484 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001535/0.5997, allocations: 222.3 kB / 463.3 MB, free: 2.406 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02456/0.6243, allocations: 9.501 MB / 472.8 MB, free: 9.164 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.152e-05/0.6244, allocations: 19.81 kB / 472.9 MB, free: 9.145 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005822/0.625, allocations: 107.8 kB / 473 MB, free: 9.039 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006872/0.6319, allocations: 2.377 MB / 475.3 MB, free: 6.656 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02679/0.6588, allocations: 8.691 MB / 484 MB, free: 13.95 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06534/0.7242, allocations: 29.35 MB / 0.5014 GB, free: 15.8 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008437/0.7327, allocations: 3.052 MB / 0.5043 GB, free: 12.52 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01472/0.7474, allocations: 4.857 MB / 0.5091 GB, free: 7.414 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.814e-05/0.7475, allocations: 47.2 kB / 0.5091 GB, free: 7.359 MB / 426.7 MB Notification: Performance of pre-optimization done (n=126): time 5.411e-06/0.7475, allocations: 0 / 0.5091 GB, free: 7.359 MB / 426.7 MB Notification: Performance of matching and sorting (n=126): time 0.0111/0.7586, allocations: 3.244 MB / 0.5123 GB, free: 3.996 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.295e-05/0.7588, allocations: 64.02 kB / 0.5124 GB, free: 3.922 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005304/0.7641, allocations: 2.292 MB / 0.5146 GB, free: 1.605 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002107/0.7643, allocations: 37.7 kB / 0.5146 GB, free: 1.562 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00257/0.7669, allocations: 2.667 MB / 0.5172 GB, free: 14.86 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008314/0.7678, allocations: 493.8 kB / 0.5177 GB, free: 14.37 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000372/0.7682, allocations: 88 kB / 0.5178 GB, free: 14.29 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003994/0.7686, allocations: 0.4969 MB / 0.5183 GB, free: 13.78 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003546/0.7722, allocations: 1.336 MB / 0.5196 GB, free: 12.43 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006362/0.7786, allocations: 4.087 MB / 0.5236 GB, free: 6.957 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006018/0.7846, allocations: 2.355 MB / 0.5259 GB, free: 4.602 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.054e-05/0.7848, allocations: 28 kB / 0.5259 GB, free: 4.574 MB / 442.7 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.01453/0.7993, allocations: 5.193 MB / 0.531 GB, free: 15.36 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.014e-05/0.7994, allocations: 48 kB / 0.531 GB, free: 15.32 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001414/0.7996, allocations: 96.91 kB / 0.5311 GB, free: 15.22 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001869/0.7998, allocations: 144 kB / 0.5312 GB, free: 15.08 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005843/0.8057, allocations: 0.9747 MB / 0.5322 GB, free: 14.11 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002348/0.8059, allocations: 195.2 kB / 0.5324 GB, free: 13.91 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00457/0.8105, allocations: 0.6145 MB / 0.533 GB, free: 13.3 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008449/0.8114, allocations: 280 kB / 0.5332 GB, free: 13.02 MB / 458.7 MB 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 (540): * Single equations (assignments): 534 * 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.004874/0.8163, allocations: 1.864 MB / 0.5351 GB, free: 11.15 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005297/0.8168, allocations: 217.1 kB / 0.5353 GB, free: 10.93 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007296/0.8176, allocations: 267.4 kB / 0.5355 GB, free: 10.67 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.856e-05/0.8176, allocations: 19.98 kB / 0.5355 GB, free: 10.65 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-05/0.8177, allocations: 7.922 kB / 0.5356 GB, free: 10.64 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.274e-05/0.8177, allocations: 3.984 kB / 0.5356 GB, free: 10.64 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01504/0.8327, allocations: 5.595 MB / 0.541 GB, free: 4.918 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.279e-05/0.8328, allocations: 4 kB / 0.541 GB, free: 4.914 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001112/0.8339, allocations: 139.8 kB / 0.5412 GB, free: 4.777 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.795e-05/0.834, allocations: 11.94 kB / 0.5412 GB, free: 4.766 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.164e-05/0.8341, allocations: 24 kB / 0.5412 GB, free: 4.742 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.504e-05/0.8341, allocations: 11.94 kB / 0.5412 GB, free: 4.73 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.147e-06/0.8341, allocations: 8 kB / 0.5412 GB, free: 4.723 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003774/0.8379, allocations: 2.118 MB / 0.5433 GB, free: 2.402 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000735/0.8387, allocations: 305.8 kB / 0.5436 GB, free: 2.082 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004642/0.8391, allocations: 16 kB / 0.5436 GB, free: 2.066 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001038/0.8402, allocations: 43.95 kB / 0.5436 GB, free: 2.023 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001739/0.8404, allocations: 60.39 kB / 0.5437 GB, free: 1.965 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001276/0.8405, allocations: 43.98 kB / 0.5437 GB, free: 1.922 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003747/0.8443, allocations: 1.545 MB / 0.5452 GB, free: 372 kB / 458.7 MB Notification: Performance of sort global known variables: time 7.21e-07/0.8443, allocations: 0 / 0.5452 GB, free: 372 kB / 458.7 MB Notification: Performance of remove unused functions: time 0.005185/0.8495, allocations: 1.003 MB / 0.5462 GB, free: 15.35 MB / 474.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.000531/0.8501, allocations: 150.9 kB / 0.5464 GB, free: 15.2 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007732/0.8578, allocations: 3.105 MB / 0.5494 GB, free: 12.12 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.083e-05/0.8579, allocations: 4 kB / 0.5494 GB, free: 12.12 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001652/0.8596, allocations: 0.7377 MB / 0.5501 GB, free: 11.38 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001569/0.8612, allocations: 241 kB / 0.5503 GB, free: 11.14 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02159/0.8828, allocations: 9.197 MB / 0.5593 GB, free: 1.859 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006087/0.8889, allocations: 3.05 MB / 0.5623 GB, free: 14.78 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001002/0.89, allocations: 199.4 kB / 0.5625 GB, free: 14.59 MB / 490.7 MB Notification: Performance of SimCode: time 1.232e-06/0.89, allocations: 4 kB / 0.5625 GB, free: 14.58 MB / 490.7 MB Notification: Performance of Templates: time 0.09383/0.9838, allocations: 40.82 MB / 0.6024 GB, free: 5.793 MB / 0.5105 GB