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.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit") Notification: Performance of loadModel(ModelicaTest): time 2.558/2.558, allocations: 234.9 MB / 249.4 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.489e-05/3.502e-05, allocations: 4 kB / 308 MB, free: 15.34 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4508/0.4508, allocations: 54.86 MB / 362.9 MB, free: 12.34 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit): time 0.04282/0.4937, allocations: 27.07 MB / 390 MB, free: 2.641 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01998/0.5138, allocations: 6.681 MB / 396.6 MB, free: 11.94 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006589/0.5204, allocations: 143.6 kB / 396.8 MB, free: 11.8 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005941/0.5264, allocations: 1.435 MB / 398.2 MB, free: 10.36 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01677/0.5432, allocations: 4.055 MB / 402.3 MB, free: 6.289 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00273/0.546, allocations: 411.2 kB / 402.7 MB, free: 5.887 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.004734/0.5508, allocations: 1.485 MB / 404.1 MB, free: 4.402 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006539/0.5574, allocations: 2.921 MB / 407.1 MB, free: 1.449 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001709/0.5592, allocations: 0.7286 MB / 407.8 MB, free: 0.7188 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002415/0.5616, allocations: 1.208 MB / 409 MB, free: 15.51 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002488/0.5641, allocations: 0.8426 MB / 409.9 MB, free: 14.66 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008047/0.565, allocations: 120 kB / 410 MB, free: 14.55 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002311/0.5673, allocations: 1.461 MB / 411.4 MB, free: 13.08 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001197/0.5686, allocations: 236 kB / 411.7 MB, free: 12.85 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009599/0.5782, allocations: 5.619 MB / 417.3 MB, free: 7.219 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.937e-06/0.5783, allocations: 0 / 417.3 MB, free: 7.219 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.817e-06/0.5783, allocations: 3.938 kB / 417.3 MB, free: 7.215 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002464/0.5785, allocations: 0 / 417.3 MB, free: 7.215 MB / 346.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.01521/0.5937, allocations: 4.148 MB / 421.4 MB, free: 3 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.859e-05/0.5938, allocations: 11.97 kB / 421.4 MB, free: 2.988 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02424/0.6181, allocations: 3.792 MB / 425.2 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007424/0.6256, allocations: 2.325 MB / 427.6 MB, free: 12.81 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003336/0.626, allocations: 229.6 kB / 427.8 MB, free: 12.59 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001862/0.6278, allocations: 295.7 kB / 428.1 MB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03104/0.6589, allocations: 11.48 MB / 439.6 MB, free: 388 kB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001657/0.6591, allocations: 27.72 kB / 439.6 MB, free: 360 kB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001394/0.6606, allocations: 131.8 kB / 439.7 MB, free: 228 kB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00781/0.6684, allocations: 2.632 MB / 442.3 MB, free: 13.58 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03454/0.703, allocations: 10.73 MB / 453.1 MB, free: 2.836 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08831/0.7913, allocations: 36.43 MB / 489.5 MB, free: 13.56 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01428/0.8057, allocations: 4.396 MB / 493.9 MB, free: 8.938 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002015/0.8078, allocations: 1.323 MB / 495.2 MB, free: 7.395 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.729e-05/0.8079, allocations: 56.56 kB / 495.3 MB, free: 7.332 MB / 426.7 MB Notification: Performance of pre-optimization done (n=244): time 7.043e-06/0.8079, allocations: 4 kB / 495.3 MB, free: 7.328 MB / 426.7 MB Notification: Performance of matching and sorting (n=265): time 0.4324/1.24, allocations: 14.48 MB / 0.4978 GB, free: 118.2 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.936e-05/1.24, allocations: 72.47 kB / 0.4979 GB, free: 118.2 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00572/1.246, allocations: 2.608 MB / 0.5004 GB, free: 117.2 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005731/1.247, allocations: 62.8 kB / 0.5005 GB, free: 117.1 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002342/1.249, allocations: 2.932 MB / 0.5033 GB, free: 114.9 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001474/1.251, allocations: 0.976 MB / 0.5043 GB, free: 114.2 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005821/1.251, allocations: 118.8 kB / 0.5044 GB, free: 114.1 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004197/1.252, allocations: 0.5547 MB / 0.505 GB, free: 113.7 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005886/1.258, allocations: 2.333 MB / 0.5072 GB, free: 112.9 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007959/1.266, allocations: 5.465 MB / 0.5126 GB, free: 108 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008439/1.274, allocations: 3.58 MB / 0.5161 GB, free: 105.9 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001313/1.274, allocations: 28 kB / 0.5161 GB, free: 105.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=773) (initialization): time 0.0252/1.3, allocations: 8.537 MB / 0.5244 GB, free: 97.59 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.345e-05/1.3, allocations: 52 kB / 0.5245 GB, free: 97.54 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001435/1.3, allocations: 112 kB / 0.5246 GB, free: 97.43 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00635/1.306, allocations: 1.05 MB / 0.5256 GB, free: 96.38 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008225/1.315, allocations: 1.337 MB / 0.5269 GB, free: 95.04 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003957/1.319, allocations: 2.501 MB / 0.5294 GB, free: 92.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005604/1.324, allocations: 321 kB / 0.5297 GB, free: 92.09 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001126/1.325, allocations: 336 kB / 0.53 GB, free: 91.76 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.005469/1.331, allocations: 2.225 MB / 0.5322 GB, free: 89.52 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007147/1.332, allocations: 292.2 kB / 0.5324 GB, free: 89.23 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01484/1.347, allocations: 5.06 MB / 0.5374 GB, free: 84.11 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001051/1.347, allocations: 53.31 kB / 0.5374 GB, free: 84.06 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.186e-05/1.347, allocations: 0 / 0.5374 GB, free: 84.06 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.969e-05/1.347, allocations: 13.92 kB / 0.5374 GB, free: 84.05 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03231/1.379, allocations: 11.57 MB / 0.5487 GB, free: 72.37 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.705e-05/1.379, allocations: 8 kB / 0.5488 GB, free: 72.36 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003909/1.383, allocations: 423.4 kB / 0.5492 GB, free: 71.95 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005904/1.389, allocations: 0.9113 MB / 0.55 GB, free: 71.02 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005969/1.39, allocations: 59.97 kB / 0.5501 GB, free: 70.96 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003418/1.393, allocations: 2.3 MB / 0.5524 GB, free: 68.53 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.638e-06/1.393, allocations: 15.94 kB / 0.5524 GB, free: 68.52 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0188/1.412, allocations: 8.146 MB / 0.5603 GB, free: 60.04 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008326/1.413, allocations: 353.2 kB / 0.5607 GB, free: 59.67 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000866/1.414, allocations: 48.94 kB / 0.5607 GB, free: 59.62 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002191/1.416, allocations: 136.5 kB / 0.5608 GB, free: 59.49 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004046/1.416, allocations: 162.2 kB / 0.561 GB, free: 59.33 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002511/1.417, allocations: 76.59 kB / 0.5611 GB, free: 59.26 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003415/1.42, allocations: 1.795 MB / 0.5628 GB, free: 57.46 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.102e-06/1.42, allocations: 0 / 0.5628 GB, free: 57.46 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006376/1.426, allocations: 1.019 MB / 0.5638 GB, free: 56.45 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.0009311/1.427, allocations: 197.6 kB / 0.564 GB, free: 56.25 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01484/1.442, allocations: 6.143 MB / 0.57 GB, free: 50.07 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-05/1.442, allocations: 4.438 kB / 0.57 GB, free: 50.07 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007324/1.45, allocations: 2.592 MB / 0.5725 GB, free: 47.42 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003986/1.454, allocations: 394.9 kB / 0.5729 GB, free: 47.04 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03569/1.489, allocations: 12.95 MB / 0.5856 GB, free: 33.97 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008758/1.498, allocations: 3.577 MB / 0.589 GB, free: 30.36 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.01187/1.51, allocations: 2.089 MB / 0.5911 GB, free: 28.27 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002117/1.512, allocations: 243.4 kB / 0.5913 GB, free: 28.03 MB / 426.7 MB Notification: Performance of SimCode: time 1.363e-06/1.512, allocations: 0 / 0.5913 GB, free: 28.03 MB / 426.7 MB Notification: Performance of Templates: time 0.09975/1.612, allocations: 32.09 MB / 0.6227 GB, free: 12.07 MB / 442.7 MB