Running command: translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotionScalarInit.angle_1|freeMotionScalarInit.angle_2|freeMotionScalarInit.angle_3|freeMotionScalarInit.angle_d_1|freeMotionScalarInit.angle_d_2|freeMotionScalarInit.angle_d_3|freeMotionScalarInit.r_rel_a_1|freeMotionScalarInit.r_rel_a_2|freeMotionScalarInit.r_rel_a_3|freeMotionScalarInit.v_rel_a_1|freeMotionScalarInit.v_rel_a_2|freeMotionScalarInit.v_rel_a_3",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit") Notification: Performance of loadModel(ModelicaTest): time 2.045/2.045, allocations: 209.3 MB / 223.8 MB, free: 1.461 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.694e-05/3.7e-05, allocations: 4 kB / 276.2 MB, free: 15.34 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1313, allocations: 48.71 MB / 324.9 MB, free: 14.54 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit): time 0.3331/0.4644, allocations: 27.07 MB / 352 MB, free: 2.316 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.02004/0.4845, allocations: 6.646 MB / 358.6 MB, free: 13.97 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008495/0.4931, allocations: 144.9 kB / 358.7 MB, free: 13.95 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006733/0.4999, allocations: 1.447 MB / 360.2 MB, free: 13.49 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01687/0.5168, allocations: 4.06 MB / 364.2 MB, free: 11.26 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002823/0.5196, allocations: 419.1 kB / 364.7 MB, free: 11 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.005192/0.5249, allocations: 1.482 MB / 366.1 MB, free: 10 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006764/0.5317, allocations: 2.914 MB / 369.1 MB, free: 8.301 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002054/0.5338, allocations: 0.7235 MB / 369.8 MB, free: 7.98 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002983/0.5368, allocations: 1.216 MB / 371 MB, free: 7.367 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003247/0.5401, allocations: 0.833 MB / 371.8 MB, free: 7.008 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001072/0.5412, allocations: 121.6 kB / 371.9 MB, free: 7.008 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00276/0.544, allocations: 1.466 MB / 373.4 MB, free: 6.293 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001329/0.5454, allocations: 238.2 kB / 373.6 MB, free: 6.293 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01032/0.5557, allocations: 5.621 MB / 379.3 MB, free: 2.199 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.5558, allocations: 0 / 379.3 MB, free: 2.199 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.196e-06/0.5558, allocations: 0 / 379.3 MB, free: 2.199 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0002873/0.5561, allocations: 0 / 379.3 MB, free: 2.199 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1696 * Number of variables: 1696 Notification: Performance of Generate backend data structure: time 0.01564/0.5717, allocations: 4.144 MB / 383.4 MB, free: 13.99 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.28e-05/0.5718, allocations: 12.03 kB / 383.4 MB, free: 13.98 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.024/0.5958, allocations: 3.792 MB / 387.2 MB, free: 10.17 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007354/0.6032, allocations: 2.329 MB / 389.5 MB, free: 7.797 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003862/0.6037, allocations: 225.6 kB / 389.8 MB, free: 7.574 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001928/0.6056, allocations: 291.8 kB / 390 MB, free: 7.289 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03104/0.6367, allocations: 11.49 MB / 401.5 MB, free: 11.35 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001528/0.6369, allocations: 23.8 kB / 401.6 MB, free: 11.33 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00109/0.638, allocations: 139.8 kB / 401.7 MB, free: 11.19 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007783/0.6458, allocations: 2.625 MB / 404.3 MB, free: 8.562 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03464/0.6805, allocations: 10.72 MB / 415 MB, free: 13.82 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08952/0.7701, allocations: 36.42 MB / 451.5 MB, free: 8.555 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01411/0.7843, allocations: 4.408 MB / 455.9 MB, free: 3.918 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002007/0.7863, allocations: 1.315 MB / 457.2 MB, free: 2.383 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.345e-05/0.7864, allocations: 48.56 kB / 457.2 MB, free: 2.328 MB / 378.7 MB Notification: Performance of pre-optimization done (n=244): time 6.732e-06/0.7864, allocations: 3.938 kB / 457.2 MB, free: 2.324 MB / 378.7 MB Notification: Performance of matching and sorting (n=265): time 0.07559/0.862, allocations: 14.5 MB / 471.7 MB, free: 3.652 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.764e-05/0.8622, allocations: 73.41 kB / 471.8 MB, free: 3.566 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006403/0.8686, allocations: 2.615 MB / 474.4 MB, free: 0.9414 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005984/0.8692, allocations: 61.7 kB / 474.5 MB, free: 0.875 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003409/0.8726, allocations: 2.934 MB / 477.4 MB, free: 13.89 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001753/0.8744, allocations: 0.9673 MB / 478.4 MB, free: 12.91 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007002/0.8752, allocations: 116 kB / 478.5 MB, free: 12.8 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0006439/0.8758, allocations: 0.558 MB / 479.1 MB, free: 12.23 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006998/0.8829, allocations: 2.327 MB / 481.4 MB, free: 9.902 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01022/0.8931, allocations: 5.472 MB / 486.9 MB, free: 2.895 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01012/0.9033, allocations: 3.583 MB / 490.4 MB, free: 15.31 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001061/0.9035, allocations: 32 kB / 490.5 MB, free: 15.28 MB / 426.7 MB Notification: Performance of matching and sorting (n=773) (initialization): time 0.02931/0.9328, allocations: 8.529 MB / 499 MB, free: 6.738 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001001/0.9329, allocations: 52 kB / 499.1 MB, free: 6.688 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001876/0.9331, allocations: 116 kB / 499.2 MB, free: 6.574 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006837/0.94, allocations: 1.052 MB / 0.4885 GB, free: 5.512 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00885/0.9489, allocations: 1.333 MB / 0.4898 GB, free: 4.176 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004864/0.9538, allocations: 2.498 MB / 0.4922 GB, free: 1.543 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005592/0.9594, allocations: 315.8 kB / 0.4925 GB, free: 1.234 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00145/0.9609, allocations: 340 kB / 0.4929 GB, free: 0.9023 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 499 * Number of states: 0 () * Number of discrete variables: 21 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[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 (720): * Single equations (assignments): 711 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.3405/1.301, allocations: 2.22 MB / 0.495 GB, free: 132.7 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001137/1.303, allocations: 288.4 kB / 0.4953 GB, free: 132.7 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02894/1.332, allocations: 5.062 MB / 0.5002 GB, free: 131.5 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001875/1.332, allocations: 49.27 kB / 0.5003 GB, free: 131.5 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.453e-05/1.332, allocations: 4.938 kB / 0.5003 GB, free: 131.5 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.49e-05/1.332, allocations: 10.03 kB / 0.5003 GB, free: 131.5 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03868/1.371, allocations: 11.57 MB / 0.5116 GB, free: 127.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.396e-05/1.371, allocations: 7.75 kB / 0.5116 GB, free: 127.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00418/1.375, allocations: 423 kB / 0.512 GB, free: 127.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006317/1.381, allocations: 0.9159 MB / 0.5129 GB, free: 127.5 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006929/1.382, allocations: 61 kB / 0.513 GB, free: 127.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003861/1.386, allocations: 2.3 MB / 0.5152 GB, free: 126 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.18e-05/1.386, allocations: 11.81 kB / 0.5152 GB, free: 126 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02311/1.409, allocations: 8.153 MB / 0.5232 GB, free: 122.5 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001492/1.411, allocations: 333 kB / 0.5235 GB, free: 122.4 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001735/1.412, allocations: 56.5 kB / 0.5236 GB, free: 122.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004507/1.417, allocations: 143.5 kB / 0.5237 GB, free: 122.3 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00105/1.418, allocations: 158.9 kB / 0.5238 GB, free: 122.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005644/1.419, allocations: 77.5 kB / 0.5239 GB, free: 122.3 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.006491/1.425, allocations: 1.798 MB / 0.5257 GB, free: 121.6 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.483e-06/1.425, allocations: 0 / 0.5257 GB, free: 121.6 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01031/1.436, allocations: 1.016 MB / 0.5267 GB, free: 121.5 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 12 (freeMotionScalarInit.r_rel_a_1,freeMotionScalarInit.r_rel_a_2,freeMotionScalarInit.r_rel_a_3,freeMotionScalarInit.v_rel_a_1,freeMotionScalarInit.v_rel_a_2,freeMotionScalarInit.v_rel_a_3,freeMotionScalarInit.angle_1,freeMotionScalarInit.angle_2,freeMotionScalarInit.angle_3,freeMotionScalarInit.angle_d_1,freeMotionScalarInit.angle_d_2,freeMotionScalarInit.angle_d_3) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (216): * Single equations (assignments): 207 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001508/1.437, allocations: 210.4 kB / 0.5269 GB, free: 121.4 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.02452/1.462, allocations: 6.139 MB / 0.5329 GB, free: 118.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.97e-05/1.462, allocations: 1.094 kB / 0.5329 GB, free: 118.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01167/1.474, allocations: 2.602 MB / 0.5354 GB, free: 116.2 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005016/1.479, allocations: 393.8 kB / 0.5358 GB, free: 115.9 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04131/1.52, allocations: 12.93 MB / 0.5484 GB, free: 102.8 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01058/1.531, allocations: 3.586 MB / 0.5519 GB, free: 99.21 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.01297/1.544, allocations: 2.091 MB / 0.554 GB, free: 97.12 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002446/1.546, allocations: 239.4 kB / 0.5542 GB, free: 96.89 MB / 426.7 MB Notification: Performance of SimCode: time 1.894e-06/1.546, allocations: 0 / 0.5542 GB, free: 96.89 MB / 426.7 MB Notification: Performance of Templates: time 0.1015/1.648, allocations: 32.11 MB / 0.5855 GB, free: 64.92 MB / 426.7 MB