Running command: translateModel(ModelicaTest.MultiBody.Visualizers.Shapes,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.Shapes") Notification: Performance of loadModel(ModelicaTest): time 2.237/2.237, allocations: 235 MB / 247.6 MB, free: 14.35 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.434e-05/3.446e-05, allocations: 4 kB / 304.9 MB, free: 5.664 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3218/0.3219, allocations: 54.85 MB / 359.8 MB, free: 2.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1318/0.4537, allocations: 85.41 MB / 445.2 MB, free: 11.57 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000237/0.454, allocations: 71.97 kB / 445.2 MB, free: 11.5 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09827/0.5523, allocations: 26.75 MB / 472 MB, free: 0.5625 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.517e-06/0.5524, allocations: 0 / 472 MB, free: 0.5625 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.196e-05/0.5525, allocations: 32 kB / 472 MB, free: 0.5312 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 642 * Number of variables: 642 Notification: Performance of Generate backend data structure: time 0.00309/0.5556, allocations: 1.569 MB / 473.6 MB, free: 14.91 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/0.5556, allocations: 15.97 kB / 473.6 MB, free: 14.89 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001103/0.5567, allocations: 257.2 kB / 473.9 MB, free: 14.64 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001862/0.5586, allocations: 0.8255 MB / 474.7 MB, free: 13.77 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000157/0.5588, allocations: 147.7 kB / 474.8 MB, free: 13.63 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000347/0.5592, allocations: 188 kB / 475 MB, free: 13.45 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006173/0.5653, allocations: 3.293 MB / 478.3 MB, free: 9.758 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.448e-05/0.5654, allocations: 15.88 kB / 478.3 MB, free: 9.742 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000268/0.5657, allocations: 91.95 kB / 478.4 MB, free: 9.652 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005442/0.5663, allocations: 332 kB / 478.7 MB, free: 9.328 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004291/0.5706, allocations: 1.753 MB / 480.5 MB, free: 7.57 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01884/0.5895, allocations: 15.12 MB / 495.6 MB, free: 7.953 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000126/0.5897, allocations: 169.1 kB / 495.8 MB, free: 7.777 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.586e-05/0.5897, allocations: 80.14 kB / 495.8 MB, free: 7.695 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.464e-05/0.5898, allocations: 75.28 kB / 495.9 MB, free: 7.621 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.588e-05/0.5898, allocations: 105.8 kB / 496 MB, free: 7.508 MB / 426.7 MB Notification: Performance of pre-optimization done (n=0): time 2.828e-06/0.5899, allocations: 7.938 kB / 496 MB, free: 7.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=0): time 0.0003116/0.5902, allocations: 148.1 kB / 496.2 MB, free: 7.348 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.588e-05/0.5903, allocations: 126.7 kB / 496.3 MB, free: 7.211 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002655/0.5929, allocations: 1.422 MB / 497.7 MB, free: 5.781 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.492e-05/0.593, allocations: 29.7 kB / 497.8 MB, free: 5.746 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001323/0.5943, allocations: 1.369 MB / 499.1 MB, free: 4.355 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.613e-05/0.5944, allocations: 47.89 kB / 499.2 MB, free: 4.309 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.081e-05/0.5945, allocations: 40 kB / 499.2 MB, free: 4.27 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002707/0.5948, allocations: 394.8 kB / 499.6 MB, free: 3.875 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007326/0.5955, allocations: 347.9 kB / 499.9 MB, free: 3.531 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002031/0.5976, allocations: 1.868 MB / 0.49 GB, free: 0.8594 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001418/0.599, allocations: 0.7761 MB / 0.4908 GB, free: 84 kB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.172e-05/0.5991, allocations: 16 kB / 0.4908 GB, free: 68 kB / 426.7 MB Notification: Performance of matching and sorting (n=257) (initialization): time 0.004153/0.6032, allocations: 1.843 MB / 0.4926 GB, free: 14.22 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.025e-05/0.6033, allocations: 32.94 kB / 0.4926 GB, free: 14.19 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.116e-05/0.6034, allocations: 56 kB / 0.4927 GB, free: 14.13 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001236/0.6036, allocations: 83.98 kB / 0.4928 GB, free: 14.05 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001584/0.6052, allocations: 483.1 kB / 0.4932 GB, free: 13.58 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001223/0.6053, allocations: 107.6 kB / 0.4933 GB, free: 13.47 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001929/0.6072, allocations: 316.5 kB / 0.4936 GB, free: 13.16 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002136/0.6075, allocations: 136 kB / 0.4938 GB, free: 13.03 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 257 * Number of states: 0 () * Number of discrete variables: 36 (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],cone.color[3],cone.color[2],cone.color[1],spring.color[3],spring.color[2],spring.color[1],gearwheel.color[3],gearwheel.color[2],gearwheel.color[1],beam.color[3],beam.color[2],beam.color[1],pipe.color[3],pipe.color[2],pipe.color[1],cylinder.color[3],cylinder.color[2],cylinder.color[1],sphere.color[3],sphere.color[2],sphere.color[1],box.color[3],box.color[2],box.color[1],fixed.color[3],fixed.color[2],fixed.color[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (257): * Single equations (assignments): 257 * Array equations: 0 * 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.0003996/0.6079, allocations: 384.3 kB / 0.4941 GB, free: 12.64 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002461/0.6081, allocations: 223.4 kB / 0.4944 GB, free: 12.42 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003089/0.6085, allocations: 224.1 kB / 0.4946 GB, free: 12.19 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.279e-05/0.6086, allocations: 184.2 kB / 0.4947 GB, free: 12 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.461e-05/0.6087, allocations: 180.8 kB / 0.4949 GB, free: 11.82 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.174e-05/0.6088, allocations: 184.3 kB / 0.4951 GB, free: 11.63 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00246/0.6112, allocations: 1.469 MB / 0.4965 GB, free: 10.1 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-05/0.6113, allocations: 104.9 kB / 0.4966 GB, free: 9.992 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.98e-05/0.6114, allocations: 105 kB / 0.4967 GB, free: 9.883 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.383e-05/0.6115, allocations: 188.3 kB / 0.4969 GB, free: 9.691 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.863e-05/0.6116, allocations: 180.3 kB / 0.4971 GB, free: 9.508 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.235e-05/0.6117, allocations: 184.3 kB / 0.4973 GB, free: 9.32 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.084e-05/0.6118, allocations: 180.2 kB / 0.4974 GB, free: 9.137 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003939/0.6122, allocations: 421.3 kB / 0.4978 GB, free: 8.699 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004349/0.6127, allocations: 304.4 kB / 0.4981 GB, free: 8.375 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002282/0.6129, allocations: 184.3 kB / 0.4983 GB, free: 8.188 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004264/0.6134, allocations: 105 kB / 0.4984 GB, free: 8.078 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.52e-05/0.6135, allocations: 180.2 kB / 0.4986 GB, free: 7.895 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.513e-05/0.6135, allocations: 101 kB / 0.4987 GB, free: 7.789 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001874/0.6154, allocations: 0.9732 MB / 0.4996 GB, free: 6.816 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.426e-06/0.6155, allocations: 0 / 0.4996 GB, free: 6.816 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002301/0.6178, allocations: 438.1 kB / 0.5 GB, free: 6.387 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * 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.0002105/0.618, allocations: 182.5 kB / 0.5002 GB, free: 6.195 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001754/0.6198, allocations: 0.7946 MB / 0.501 GB, free: 5.414 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.92e-06/0.6198, allocations: 4 kB / 0.501 GB, free: 5.41 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 5.795e-06/0.6198, allocations: 4 kB / 0.501 GB, free: 5.406 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009849/0.6208, allocations: 0.6371 MB / 0.5016 GB, free: 4.766 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004987/0.6258, allocations: 2.233 MB / 0.5038 GB, free: 2.488 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002021/0.6279, allocations: 1.614 MB / 0.5054 GB, free: 0.8398 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002426/0.6281, allocations: 95.44 kB / 0.5055 GB, free: 0.7461 MB / 442.7 MB Notification: Performance of SimCode: time 1.592e-06/0.6281, allocations: 0 / 0.5055 GB, free: 0.7461 MB / 442.7 MB Notification: Performance of Templates: time 0.2765/0.9047, allocations: 16.77 MB / 0.5218 GB, free: 133.8 MB / 458.7 MB