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.1_cpp_ModelicaTest.MultiBody.Visualizers.Shapes") Notification: Performance of loadModel(ModelicaTest): time 1.921/1.921, allocations: 209.3 MB / 221.9 MB, free: 7.734 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.408e-05/3.428e-05, allocations: 4 kB / 273.1 MB, free: 3.664 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08784/0.0879, allocations: 48.69 MB / 321.7 MB, free: 2.879 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3459/0.4339, allocations: 78.96 MB / 400.7 MB, free: 6.789 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002097/0.4341, allocations: 76.27 kB / 400.8 MB, free: 6.777 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08944/0.5236, allocations: 26.74 MB / 427.5 MB, free: 8.465 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.958e-06/0.5236, allocations: 0 / 427.5 MB, free: 8.465 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.068e-05/0.5237, allocations: 32 kB / 427.6 MB, free: 8.434 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: 642 * Number of variables: 642 Notification: Performance of Generate backend data structure: time 0.003002/0.5267, allocations: 1.579 MB / 429.1 MB, free: 6.93 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.5268, allocations: 8.031 kB / 429.1 MB, free: 6.922 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00115/0.5279, allocations: 257.2 kB / 429.4 MB, free: 6.668 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001959/0.5299, allocations: 0.8285 MB / 430.2 MB, free: 5.949 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000135/0.5301, allocations: 143.1 kB / 430.4 MB, free: 5.871 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003362/0.5304, allocations: 184.1 kB / 430.5 MB, free: 5.75 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006237/0.5367, allocations: 3.302 MB / 433.8 MB, free: 2.914 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.965e-05/0.5368, allocations: 19.81 kB / 433.9 MB, free: 2.895 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002404/0.537, allocations: 84.38 kB / 433.9 MB, free: 2.871 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005441/0.5376, allocations: 330.3 kB / 434.3 MB, free: 2.59 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004145/0.5418, allocations: 1.748 MB / 436 MB, free: 1.355 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01817/0.56, allocations: 15.12 MB / 451.1 MB, free: 3.395 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001201/0.5601, allocations: 169.1 kB / 451.3 MB, free: 3.219 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.569e-05/0.5602, allocations: 80.14 kB / 451.4 MB, free: 3.137 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.88e-05/0.5602, allocations: 86.59 kB / 451.5 MB, free: 3.055 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.049e-05/0.5603, allocations: 105.8 kB / 451.6 MB, free: 2.941 MB / 346.7 MB Notification: Performance of pre-optimization done (n=0): time 2.78e-06/0.5603, allocations: 0 / 451.6 MB, free: 2.941 MB / 346.7 MB Notification: Performance of matching and sorting (n=0): time 0.0003113/0.5606, allocations: 156 kB / 451.7 MB, free: 2.781 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.272e-05/0.5607, allocations: 126.7 kB / 451.8 MB, free: 2.645 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002528/0.5633, allocations: 1.424 MB / 453.3 MB, free: 1.555 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.211e-05/0.5633, allocations: 25.7 kB / 453.3 MB, free: 1.523 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001162/0.5645, allocations: 1.37 MB / 454.7 MB, free: 348 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.296e-05/0.5646, allocations: 46.45 kB / 454.7 MB, free: 316 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.085e-05/0.5647, allocations: 40.62 kB / 454.7 MB, free: 308 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002883/0.565, allocations: 394.8 kB / 455.1 MB, free: 15.94 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007421/0.5657, allocations: 343.4 kB / 455.5 MB, free: 15.61 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002108/0.5678, allocations: 1.877 MB / 457.3 MB, free: 12.93 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001491/0.5694, allocations: 0.7684 MB / 458.1 MB, free: 12.16 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.602e-05/0.5694, allocations: 16 kB / 458.1 MB, free: 12.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=257) (initialization): time 0.004208/0.5736, allocations: 1.847 MB / 460 MB, free: 10.29 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.106e-05/0.5737, allocations: 28 kB / 460 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.726e-05/0.5738, allocations: 56 kB / 460 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000121/0.574, allocations: 84 kB / 460.1 MB, free: 10.13 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001621/0.5756, allocations: 487 kB / 460.6 MB, free: 9.652 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001192/0.5757, allocations: 107.6 kB / 460.7 MB, free: 9.547 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002082/0.5778, allocations: 320.5 kB / 461 MB, free: 9.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002928/0.5781, allocations: 136 kB / 461.2 MB, free: 9.098 MB / 362.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.0004324/0.5786, allocations: 374.1 kB / 461.5 MB, free: 8.723 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002868/0.5789, allocations: 219.5 kB / 461.7 MB, free: 8.5 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003299/0.5792, allocations: 228.2 kB / 462 MB, free: 8.262 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.948e-05/0.5793, allocations: 176.3 kB / 462.1 MB, free: 8.082 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.465e-05/0.5794, allocations: 188.2 kB / 462.3 MB, free: 7.891 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.32e-05/0.5795, allocations: 180.2 kB / 462.5 MB, free: 7.707 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002538/0.5821, allocations: 1.481 MB / 464 MB, free: 6.172 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.452e-05/0.5822, allocations: 101 kB / 464.1 MB, free: 6.066 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.742e-05/0.5822, allocations: 108.9 kB / 464.2 MB, free: 5.953 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.949e-05/0.5823, allocations: 176.4 kB / 464.3 MB, free: 5.773 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.355e-05/0.5824, allocations: 184.3 kB / 464.5 MB, free: 5.586 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.634e-05/0.5826, allocations: 188.2 kB / 464.7 MB, free: 5.395 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.061e-05/0.5827, allocations: 176.3 kB / 464.9 MB, free: 5.215 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003864/0.5831, allocations: 429.1 kB / 465.3 MB, free: 4.77 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004359/0.5835, allocations: 300.5 kB / 465.6 MB, free: 4.449 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002244/0.5837, allocations: 176.3 kB / 465.8 MB, free: 4.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004311/0.5842, allocations: 112.9 kB / 465.9 MB, free: 4.152 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/0.5843, allocations: 176.3 kB / 466.1 MB, free: 3.973 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.593e-05/0.5844, allocations: 101 kB / 466.2 MB, free: 3.867 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001972/0.5864, allocations: 0.981 MB / 467.1 MB, free: 2.887 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.76e-07/0.5864, allocations: 4 kB / 467.1 MB, free: 2.883 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002299/0.5887, allocations: 434.1 kB / 467.6 MB, free: 2.457 MB / 362.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.000215/0.5889, allocations: 170.5 kB / 467.7 MB, free: 2.281 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001787/0.5907, allocations: 0.7986 MB / 468.5 MB, free: 1.496 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.5907, allocations: 0 / 468.5 MB, free: 1.496 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.529e-06/0.5908, allocations: 3.984 kB / 468.5 MB, free: 1.492 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009936/0.5918, allocations: 0.6464 MB / 469.2 MB, free: 0.8438 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00548/0.5973, allocations: 2.237 MB / 471.4 MB, free: 14.56 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002101/0.5994, allocations: 1.607 MB / 473 MB, free: 12.92 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002463/0.5997, allocations: 87.44 kB / 473.1 MB, free: 12.84 MB / 378.7 MB Notification: Performance of SimCode: time 1.764e-06/0.5997, allocations: 0 / 473.1 MB, free: 12.84 MB / 378.7 MB Notification: Performance of Templates: time 0.03278/0.6325, allocations: 16.78 MB / 489.9 MB, free: 12.04 MB / 394.7 MB