Running command: translateModel(ModelicaTest.MultiBody.Joints.FreeMotion2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotion.r_rel_a.1.|freeMotion.v_rel_a.1.|prismatic1.s|prismatic1.v|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b|universal1.phi_a|universal1.phi_b|universal1.w_a|universal1.w_b",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion2") Notification: Performance of loadModel(ModelicaTest): time 1.984/1.984, allocations: 209.3 MB / 223.8 MB, free: 444 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.42e-05/3.413e-05, allocations: 4 kB / 276.2 MB, free: 15.2 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3961/0.3962, allocations: 48.69 MB / 324.9 MB, free: 3.375 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion2): time 0.09513/0.4914, allocations: 58.78 MB / 383.7 MB, free: 4.586 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.04012/0.5315, allocations: 13.08 MB / 396.7 MB, free: 7.469 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01474/0.5463, allocations: 315.2 kB / 397 MB, free: 7.16 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01169/0.5581, allocations: 3.119 MB / 400.2 MB, free: 4.027 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03382/0.5919, allocations: 8.418 MB / 408.6 MB, free: 11.59 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005779/0.5977, allocations: 0.8971 MB / 409.5 MB, free: 10.69 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.05214/0.6499, allocations: 17.22 MB / 426.7 MB, free: 9.453 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01206/0.662, allocations: 5.699 MB / 432.4 MB, free: 3.719 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003075/0.6652, allocations: 1.204 MB / 433.6 MB, free: 2.512 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00436/0.6696, allocations: 1.905 MB / 435.5 MB, free: 0.6016 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003403/0.673, allocations: 0.9716 MB / 436.5 MB, free: 15.62 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001385/0.6744, allocations: 180 kB / 436.7 MB, free: 15.45 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00365/0.6781, allocations: 2.201 MB / 438.9 MB, free: 13.24 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002084/0.6803, allocations: 399.9 kB / 439.2 MB, free: 12.85 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01307/0.6934, allocations: 8.187 MB / 447.4 MB, free: 4.648 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.421e-06/0.6934, allocations: 0 / 447.4 MB, free: 4.648 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.737e-06/0.6935, allocations: 0 / 447.4 MB, free: 4.648 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003899/0.6939, allocations: 0 / 447.4 MB, free: 4.648 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2023 * Number of variables: 2023 Notification: Performance of Generate backend data structure: time 0.02864/0.7225, allocations: 6.003 MB / 453.4 MB, free: 14.57 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.129e-05/0.7226, allocations: 8.031 kB / 453.4 MB, free: 14.56 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4054/1.128, allocations: 19.05 MB / 472.5 MB, free: 11.48 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01742/1.145, allocations: 4.991 MB / 477.5 MB, free: 6.402 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000536/1.146, allocations: 336.5 kB / 477.8 MB, free: 6.07 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00243/1.148, allocations: 455.5 kB / 478.3 MB, free: 5.625 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3164/1.465, allocations: 13.69 MB / 492 MB, free: 124.2 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003524/1.465, allocations: 63.97 kB / 492 MB, free: 124.2 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001591/1.467, allocations: 210.6 kB / 492.2 MB, free: 124.1 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006553/1.473, allocations: 2.416 MB / 494.6 MB, free: 123.6 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03832/1.512, allocations: 11.72 MB / 0.4945 GB, free: 119.4 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09032/1.602, allocations: 53.73 MB / 0.547 GB, free: 68.88 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02294/1.625, allocations: 5.824 MB / 0.5526 GB, free: 62.91 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001015/1.626, allocations: 0.6922 MB / 0.5533 GB, free: 62.12 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.623e-05/1.626, allocations: 72.48 kB / 0.5534 GB, free: 62.05 MB / 410.7 MB Notification: Performance of pre-optimization done (n=254): time 6.132e-06/1.626, allocations: 0 / 0.5534 GB, free: 62.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=324): time 0.1683/1.795, allocations: 36.74 MB / 0.5893 GB, free: 25.11 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001276/1.795, allocations: 269.4 kB / 0.5895 GB, free: 24.79 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01122/1.806, allocations: 5.072 MB / 0.5945 GB, free: 19.73 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009611/1.807, allocations: 70.41 kB / 0.5945 GB, free: 19.66 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003479/1.811, allocations: 4.032 MB / 0.5985 GB, free: 15.62 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002011/1.813, allocations: 1.2 MB / 0.5997 GB, free: 14.43 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009264/1.814, allocations: 152.2 kB / 0.5998 GB, free: 14.29 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0005705/1.814, allocations: 0.6285 MB / 0.6004 GB, free: 13.65 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008689/1.823, allocations: 3.447 MB / 0.6038 GB, free: 10.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01128/1.834, allocations: 7.645 MB / 0.6112 GB, free: 0.4922 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01318/1.848, allocations: 5.045 MB / 0.6162 GB, free: 11.43 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001262/1.848, allocations: 48 kB / 0.6162 GB, free: 11.38 MB / 426.7 MB Notification: Performance of matching and sorting (n=1004) (initialization): time 0.0425/1.89, allocations: 12.88 MB / 0.6288 GB, free: 14.45 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001428/1.89, allocations: 68 kB / 0.6289 GB, free: 14.38 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002304/1.891, allocations: 144 kB / 0.629 GB, free: 14.24 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01093/1.902, allocations: 2.262 MB / 0.6312 GB, free: 11.97 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01196/1.914, allocations: 1.762 MB / 0.6329 GB, free: 10.2 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3995/2.313, allocations: 15.76 MB / 0.6483 GB, free: 134.9 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.015/2.328, allocations: 461.8 kB / 0.6488 GB, free: 134.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002775/2.331, allocations: 450.9 kB / 0.6492 GB, free: 134.7 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 669 * Number of states: 0 () * Number of discrete variables: 39 (universal1.cylinderColor[3],universal1.cylinderColor[2],universal1.cylinderColor[1],prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixed.color[3],fixed.color[2],fixed.color[1],freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (928): * Single equations (assignments): 923 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,100.0%) 24,(3,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01041/2.342, allocations: 2.771 MB / 0.6519 GB, free: 133.6 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002053/2.344, allocations: 0.4931 MB / 0.6524 GB, free: 133.6 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02621/2.37, allocations: 7.421 MB / 0.6596 GB, free: 130.8 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.939e-05/2.37, allocations: 37.8 kB / 0.6597 GB, free: 130.8 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-05/2.37, allocations: 11.94 kB / 0.6597 GB, free: 130.8 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.92e-05/2.37, allocations: 13.03 kB / 0.6597 GB, free: 130.8 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04948/2.42, allocations: 16.66 MB / 0.676 GB, free: 124.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.297e-05/2.42, allocations: 6.156 kB / 0.676 GB, free: 124.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005204/2.425, allocations: 0.5113 MB / 0.6765 GB, free: 124.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009504/2.435, allocations: 2.009 MB / 0.6784 GB, free: 124 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009255/2.435, allocations: 66.56 kB / 0.6785 GB, free: 124 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03114/2.467, allocations: 14.23 MB / 0.6924 GB, free: 116.5 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.065e-05/2.467, allocations: 11.62 kB / 0.6924 GB, free: 116.5 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03101/2.498, allocations: 12.69 MB / 0.7048 GB, free: 104.3 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003872/2.502, allocations: 1.096 MB / 0.7059 GB, free: 103.2 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002089/2.504, allocations: 63.98 kB / 0.7059 GB, free: 103.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005501/2.509, allocations: 220.8 kB / 0.7061 GB, free: 103 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001205/2.511, allocations: 213.5 kB / 0.7063 GB, free: 102.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004731/2.511, allocations: 90.66 kB / 0.7064 GB, free: 102.7 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.008202/2.519, allocations: 3.64 MB / 0.71 GB, free: 99.06 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.172e-06/2.519, allocations: 0 / 0.71 GB, free: 99.06 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.009358/2.529, allocations: 1.534 MB / 0.7115 GB, free: 97.53 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 12 (freeMotion.r_rel_a[1],freeMotion.v_rel_a[1],universal.phi_a,universal.phi_b,universal.w_a,universal.w_b,prismatic1.s,prismatic1.v,universal1.phi_a,universal1.phi_b,universal1.w_a,universal1.w_b) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (263): * Single equations (assignments): 258 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(7,46.9%) 17,(7,46.9%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00144/2.53, allocations: 224.8 kB / 0.7117 GB, free: 97.31 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.02054/2.551, allocations: 8.555 MB / 0.72 GB, free: 88.8 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.041e-05/2.551, allocations: 0 / 0.72 GB, free: 88.8 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01374/2.565, allocations: 4.108 MB / 0.7241 GB, free: 84.69 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005994/2.571, allocations: 0.6363 MB / 0.7247 GB, free: 84.07 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03707/2.608, allocations: 16.99 MB / 0.7413 GB, free: 67.11 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009535/2.617, allocations: 4.525 MB / 0.7457 GB, free: 62.55 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.01157/2.629, allocations: 2.528 MB / 0.7482 GB, free: 60.02 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002708/2.632, allocations: 363.3 kB / 0.7485 GB, free: 59.66 MB / 442.7 MB Notification: Performance of SimCode: time 1.583e-06/2.632, allocations: 4 kB / 0.7485 GB, free: 59.66 MB / 442.7 MB Notification: Performance of Templates: time 0.4679/3.1, allocations: 63.36 MB / 0.8104 GB, free: 128.6 MB / 442.7 MB