Running command: translateModel(ModelicaTest.MultiBody.Joints.FreeMotion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotion.Q.1.|freeMotion.Q.2.|freeMotion.Q.3.|freeMotion.Q.4.|freeMotion.r_rel_a.1.|freeMotion.r_rel_a.2.|freeMotion.r_rel_a.3.|freeMotion.v_rel_a.1.|freeMotion.v_rel_a.2.|freeMotion.v_rel_a.3.|freeMotion.w_rel_b.1.|freeMotion.w_rel_b.2.|freeMotion.w_rel_b.3.",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion") Notification: Performance of loadModel(ModelicaTest): time 1.995/1.995, allocations: 209.3 MB / 223.8 MB, free: 436 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.723e-05/4.752e-05, allocations: 0 / 276.2 MB, free: 15.21 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4227/0.4228, allocations: 48.7 MB / 324.9 MB, free: 3.375 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion): time 0.03671/0.4596, allocations: 23.48 MB / 348.4 MB, free: 3.379 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01831/0.478, allocations: 5.977 MB / 354.3 MB, free: 15.49 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006215/0.4842, allocations: 117.9 kB / 354.4 MB, free: 15.47 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005977/0.4903, allocations: 1.265 MB / 355.7 MB, free: 14.57 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01566/0.506, allocations: 3.611 MB / 359.3 MB, free: 11.96 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002576/0.5086, allocations: 408 kB / 359.7 MB, free: 11.7 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004966/0.5136, allocations: 1.572 MB / 361.3 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004179/0.5179, allocations: 1.854 MB / 363.2 MB, free: 9.098 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001764/0.5197, allocations: 0.6896 MB / 363.8 MB, free: 8.406 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002676/0.5224, allocations: 1.181 MB / 365 MB, free: 7.223 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002863/0.5253, allocations: 0.8543 MB / 365.9 MB, free: 6.367 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001071/0.5264, allocations: 120 kB / 366 MB, free: 6.25 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002314/0.5288, allocations: 1.414 MB / 367.4 MB, free: 4.832 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001101/0.5299, allocations: 220 kB / 367.6 MB, free: 4.617 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008208/0.5381, allocations: 4.928 MB / 372.5 MB, free: 15.68 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.5382, allocations: 0 / 372.5 MB, free: 15.68 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.525e-06/0.5382, allocations: 0 / 372.5 MB, free: 15.68 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001946/0.5384, allocations: 4 kB / 372.6 MB, free: 15.68 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1557 * Number of variables: 1557 Notification: Performance of Generate backend data structure: time 0.01119/0.5496, allocations: 3.677 MB / 376.2 MB, free: 11.93 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/0.5497, allocations: 12.03 kB / 376.2 MB, free: 11.92 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02652/0.5762, allocations: 3.836 MB / 380.1 MB, free: 8.07 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01006/0.5863, allocations: 2.411 MB / 382.5 MB, free: 5.609 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003628/0.5868, allocations: 188.7 kB / 382.7 MB, free: 5.422 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002661/0.5894, allocations: 347.4 kB / 383 MB, free: 5.078 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06986/0.6593, allocations: 10.82 MB / 393.8 MB, free: 9.781 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002349/0.6596, allocations: 27.72 kB / 393.9 MB, free: 9.754 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001821/0.6615, allocations: 123.8 kB / 394 MB, free: 9.633 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01102/0.6725, allocations: 2.558 MB / 396.5 MB, free: 7.074 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04771/0.7203, allocations: 10.32 MB / 406.9 MB, free: 12.74 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1372/0.8576, allocations: 35.87 MB / 442.7 MB, free: 8.004 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02028/0.878, allocations: 4.414 MB / 447.1 MB, free: 3.363 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002616/0.8806, allocations: 1.327 MB / 448.5 MB, free: 1.816 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000106/0.8808, allocations: 64.45 kB / 448.5 MB, free: 1.746 MB / 378.7 MB Notification: Performance of pre-optimization done (n=245): time 1.173e-05/0.8808, allocations: 3.938 kB / 448.5 MB, free: 1.742 MB / 378.7 MB Notification: Performance of matching and sorting (n=261): time 0.09024/0.9711, allocations: 17.63 MB / 466.2 MB, free: 15.85 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001839/0.973, allocations: 1.539 MB / 467.7 MB, free: 14.15 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005507/0.9785, allocations: 2.679 MB / 470.4 MB, free: 11.46 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005602/0.9791, allocations: 61.88 kB / 470.4 MB, free: 11.39 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002814/0.9819, allocations: 2.736 MB / 473.2 MB, free: 8.617 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001582/0.9836, allocations: 0.9635 MB / 474.1 MB, free: 7.641 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004782/0.9841, allocations: 108 kB / 474.2 MB, free: 7.535 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004897/0.9846, allocations: 0.5498 MB / 474.8 MB, free: 6.977 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006393/0.991, allocations: 2.428 MB / 477.2 MB, free: 4.543 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2905/1.281, allocations: 5.433 MB / 482.7 MB, free: 121.1 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009245/1.291, allocations: 3.636 MB / 486.3 MB, free: 120.3 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001527/1.291, allocations: 29.34 kB / 486.3 MB, free: 120.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=751) (initialization): time 0.03074/1.322, allocations: 8.886 MB / 495.2 MB, free: 117.4 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001446/1.322, allocations: 55.48 kB / 495.3 MB, free: 117.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01722/1.339, allocations: 3.994 MB / 499.3 MB, free: 116.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01086/1.35, allocations: 1.402 MB / 0.4889 GB, free: 116.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008136/1.358, allocations: 1.296 MB / 0.4902 GB, free: 116 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00668/1.365, allocations: 4.409 MB / 0.4945 GB, free: 113 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006052/1.371, allocations: 397.9 kB / 0.4949 GB, free: 112.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001135/1.372, allocations: 326.5 kB / 0.4952 GB, free: 112.8 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 478 * 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],freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.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 (689): * Single equations (assignments): 677 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,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: 1 {3 1} Notification: Performance of prepare postOptimizeDAE: time 0.005333/1.378, allocations: 2.078 MB / 0.4972 GB, free: 111.9 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007143/1.378, allocations: 281 kB / 0.4975 GB, free: 111.9 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0164/1.395, allocations: 5.433 MB / 0.5028 GB, free: 110.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01492/1.41, allocations: 4.676 MB / 0.5074 GB, free: 106.9 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.113e-05/1.41, allocations: 11.22 kB / 0.5074 GB, free: 106.9 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-05/1.41, allocations: 11.97 kB / 0.5074 GB, free: 106.9 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04944/1.459, allocations: 14.72 MB / 0.5217 GB, free: 92.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-05/1.46, allocations: 16.95 kB / 0.5218 GB, free: 92.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004714/1.464, allocations: 421.9 kB / 0.5222 GB, free: 91.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01099/1.475, allocations: 1.244 MB / 0.5234 GB, free: 90.39 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007028/1.476, allocations: 69.44 kB / 0.5234 GB, free: 90.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009451/1.485, allocations: 4.531 MB / 0.5279 GB, free: 85.55 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001538/1.487, allocations: 1.473 MB / 0.5293 GB, free: 83.95 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0265/1.514, allocations: 8.96 MB / 0.5381 GB, free: 74.66 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009903/1.515, allocations: 345.4 kB / 0.5384 GB, free: 74.3 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001187/1.516, allocations: 57.95 kB / 0.5384 GB, free: 74.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003238/1.519, allocations: 195.7 kB / 0.5386 GB, free: 74.05 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007339/1.52, allocations: 177.6 kB / 0.5388 GB, free: 73.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002782/1.52, allocations: 81.14 kB / 0.5389 GB, free: 73.8 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003687/1.524, allocations: 1.853 MB / 0.5407 GB, free: 71.94 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.41e-07/1.524, allocations: 0 / 0.5407 GB, free: 71.94 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005865/1.53, allocations: 1.08 MB / 0.5417 GB, free: 70.87 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],freeMotion.r_rel_a[1],freeMotion.r_rel_a[2],freeMotion.r_rel_a[3],freeMotion.v_rel_a[1],freeMotion.v_rel_a[2],freeMotion.v_rel_a[3],freeMotion.w_rel_b[1],freeMotion.w_rel_b[2],freeMotion.w_rel_b[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (202): * Single equations (assignments): 192 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * 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.0009092/1.531, allocations: 204.4 kB / 0.5419 GB, free: 70.67 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01602/1.547, allocations: 6.448 MB / 0.5482 GB, free: 64.18 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.257e-05/1.547, allocations: 5.938 kB / 0.5482 GB, free: 64.17 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008261/1.555, allocations: 2.892 MB / 0.5511 GB, free: 61.21 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002617/1.558, allocations: 352.9 kB / 0.5514 GB, free: 60.87 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02338/1.581, allocations: 12.49 MB / 0.5636 GB, free: 48.21 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005009/1.586, allocations: 3.388 MB / 0.5669 GB, free: 44.79 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.008296/1.595, allocations: 2.107 MB / 0.569 GB, free: 42.67 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001485/1.596, allocations: 231.4 kB / 0.5692 GB, free: 42.45 MB / 410.7 MB Notification: Performance of SimCode: time 1.012e-06/1.596, allocations: 0 / 0.5692 GB, free: 42.45 MB / 410.7 MB Notification: Performance of Templates: time 0.08808/1.684, allocations: 33.24 MB / 0.6016 GB, free: 9.332 MB / 410.7 MB