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_trunk_cpp_ModelicaTest.MultiBody.Visualizers.Shapes") Notification: Performance of loadModel(ModelicaTest): time 2.372/2.372, allocations: 269 MB / 284.1 MB, free: 3.641 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.115e-05/3.105e-05, allocations: 4 kB / 349 MB, free: 10.79 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1323, allocations: 61.89 MB / 410.9 MB, free: 12.89 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.3781/0.5104, allocations: 33.16 MB / 444.1 MB, free: 11.44 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.02254/0.533, allocations: 6.763 MB / 450.8 MB, free: 6.973 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009489/0.5425, allocations: 166.2 kB / 451 MB, free: 6.949 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007038/0.5496, allocations: 1.699 MB / 452.7 MB, free: 6.398 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02093/0.5706, allocations: 4.638 MB / 457.3 MB, free: 3.945 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002171/0.5728, allocations: 96.73 kB / 457.4 MB, free: 3.875 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001964/0.5748, allocations: 436.7 kB / 457.9 MB, free: 3.578 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003526/0.5784, allocations: 1.555 MB / 459.4 MB, free: 2.711 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007137/0.5792, allocations: 233 kB / 459.6 MB, free: 2.609 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007189/0.5799, allocations: 299.3 kB / 459.9 MB, free: 2.449 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003127/0.5803, allocations: 30.14 kB / 460 MB, free: 2.441 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001932/0.5805, allocations: 22.84 kB / 460 MB, free: 2.441 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008127/0.5813, allocations: 0.5581 MB / 460.6 MB, free: 2.172 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004836/0.5818, allocations: 107.2 kB / 460.7 MB, free: 2.172 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003196/0.585, allocations: 1.77 MB / 462.4 MB, free: 0.9531 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.5851, allocations: 0 / 462.4 MB, free: 0.9531 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.697e-06/0.5851, allocations: 4 kB / 462.4 MB, free: 0.9492 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001147/0.5852, allocations: 1.062 kB / 462.4 MB, free: 0.9492 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: 645 * Number of variables: 645 Notification: Performance of Generate backend data structure: time 0.003946/0.5892, allocations: 1.566 MB / 464 MB, free: 15.73 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.356e-05/0.5893, allocations: 9.094 kB / 464 MB, free: 15.73 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001298/0.5906, allocations: 214.5 kB / 464.2 MB, free: 15.61 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00223/0.5929, allocations: 0.7042 MB / 464.9 MB, free: 15.07 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000142/0.5931, allocations: 119.5 kB / 465 MB, free: 15.01 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004295/0.5935, allocations: 149.5 kB / 465.2 MB, free: 14.96 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007709/0.6012, allocations: 3.36 MB / 468.5 MB, free: 12.74 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.379e-05/0.6014, allocations: 14.41 kB / 468.6 MB, free: 12.73 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002224/0.6016, allocations: 73.75 kB / 468.6 MB, free: 12.68 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001214/0.6028, allocations: 0.6143 MB / 469.2 MB, free: 12.46 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005805/0.6087, allocations: 1.847 MB / 471.1 MB, free: 10.98 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01928/0.628, allocations: 13.52 MB / 484.6 MB, free: 13.03 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000114/0.6282, allocations: 169.1 kB / 484.8 MB, free: 12.86 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.509e-05/0.6282, allocations: 79.22 kB / 484.9 MB, free: 12.78 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.039e-05/0.6283, allocations: 121.9 kB / 485 MB, free: 12.65 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 2.445e-06/0.6283, allocations: 0 / 485 MB, free: 12.65 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 0.0004354/0.6287, allocations: 148.1 kB / 485.1 MB, free: 12.5 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.4e-05/0.6288, allocations: 130.6 kB / 485.2 MB, free: 12.36 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003395/0.6322, allocations: 1.464 MB / 486.7 MB, free: 10.89 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.534e-05/0.6323, allocations: 29.7 kB / 486.7 MB, free: 10.85 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001487/0.6338, allocations: 1.373 MB / 488.1 MB, free: 9.457 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.482e-05/0.6339, allocations: 43.95 kB / 488.2 MB, free: 9.414 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001196/0.6341, allocations: 44 kB / 488.2 MB, free: 9.371 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002741/0.6344, allocations: 390.8 kB / 488.6 MB, free: 8.98 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001012/0.6354, allocations: 367.8 kB / 488.9 MB, free: 8.617 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002563/0.638, allocations: 1.917 MB / 490.9 MB, free: 5.883 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002007/0.64, allocations: 0.7724 MB / 491.6 MB, free: 5.109 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.644e-05/0.6401, allocations: 16 kB / 491.6 MB, free: 5.094 MB / 394.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.005827/0.6459, allocations: 2.053 MB / 493.7 MB, free: 3.035 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.872e-05/0.6461, allocations: 32 kB / 493.7 MB, free: 3.004 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.776e-05/0.6462, allocations: 56 kB / 493.8 MB, free: 2.949 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001209/0.6463, allocations: 80 kB / 493.9 MB, free: 2.871 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002547/0.6489, allocations: 491 kB / 494.3 MB, free: 2.391 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001361/0.649, allocations: 111.5 kB / 494.4 MB, free: 2.281 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002444/0.6515, allocations: 332.9 kB / 494.8 MB, free: 1.953 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003464/0.6519, allocations: 140 kB / 494.9 MB, free: 1.816 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 260 * Number of states: 0 () * Number of discrete variables: 39 (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],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 (260): * Single equations (assignments): 260 * 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.001929/0.6538, allocations: 0.8393 MB / 495.7 MB, free: 0.9648 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003795/0.6542, allocations: 227.4 kB / 496 MB, free: 0.7344 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00035/0.6546, allocations: 232.3 kB / 496.2 MB, free: 0.4961 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.711e-05/0.6547, allocations: 184.2 kB / 496.4 MB, free: 316 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.872e-05/0.6548, allocations: 188.2 kB / 496.6 MB, free: 120 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001082/0.655, allocations: 176.3 kB / 496.7 MB, free: 15.94 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002972/0.6579, allocations: 1.481 MB / 498.2 MB, free: 14.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-05/0.658, allocations: 105 kB / 498.3 MB, free: 14.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.524e-05/0.6581, allocations: 108.9 kB / 498.4 MB, free: 14.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.748e-05/0.6582, allocations: 184.2 kB / 498.6 MB, free: 13.99 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.54e-05/0.6583, allocations: 180.3 kB / 498.8 MB, free: 13.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.787e-05/0.6584, allocations: 180.2 kB / 499 MB, free: 13.62 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.775e-05/0.6585, allocations: 184.2 kB / 499.1 MB, free: 13.43 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004665/0.659, allocations: 437.3 kB / 499.6 MB, free: 12.98 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005635/0.6595, allocations: 296.7 kB / 499.8 MB, free: 12.66 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003126/0.6599, allocations: 180.2 kB / 0.4883 GB, free: 12.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005129/0.6604, allocations: 109 kB / 0.4884 GB, free: 12.37 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.502e-05/0.6605, allocations: 184.2 kB / 0.4886 GB, free: 12.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.122e-05/0.6606, allocations: 104.9 kB / 0.4887 GB, free: 12.07 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00251/0.6631, allocations: 1.007 MB / 0.4897 GB, free: 11.07 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.392e-06/0.6631, allocations: 0 / 0.4897 GB, free: 11.07 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002538/0.6657, allocations: 438 kB / 0.4901 GB, free: 10.64 MB / 410.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.0002288/0.666, allocations: 170.5 kB / 0.4902 GB, free: 10.46 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002392/0.6684, allocations: 0.8954 MB / 0.4911 GB, free: 9.578 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.574e-06/0.6684, allocations: 0 / 0.4911 GB, free: 9.578 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.492e-06/0.6684, allocations: 0 / 0.4911 GB, free: 9.578 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001236/0.6697, allocations: 0.6518 MB / 0.4918 GB, free: 8.922 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008561/0.6783, allocations: 3.568 MB / 0.4952 GB, free: 5.316 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002655/0.681, allocations: 1.615 MB / 0.4968 GB, free: 3.668 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002841/0.6813, allocations: 95.38 kB / 0.4969 GB, free: 3.574 MB / 410.7 MB Notification: Performance of SimCode: time 1.543e-06/0.6813, allocations: 0 / 0.4969 GB, free: 3.574 MB / 410.7 MB Notification: Performance of Templates: time 0.04251/0.7239, allocations: 17.27 MB / 0.5138 GB, free: 2.301 MB / 426.7 MB