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.2_ModelicaTest.MultiBody.Joints.FreeMotion2") Notification: Performance of loadModel(ModelicaTest): time 2.361/2.361, allocations: 235 MB / 247.2 MB, free: 14.39 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.576e-05/3.591e-05, allocations: 8 kB / 304.9 MB, free: 5.168 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4008/0.4009, allocations: 54.85 MB / 359.8 MB, free: 3.137 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1598/0.5608, allocations: 102.8 MB / 462.6 MB, free: 10.11 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002454/0.5611, allocations: 71.97 kB / 462.7 MB, free: 10.04 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7057/1.267, allocations: 118.4 MB / 0.5675 GB, free: 102.7 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.293e-06/1.267, allocations: 0 / 0.5675 GB, free: 102.7 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003807/1.267, allocations: 117.5 kB / 0.5676 GB, free: 102.7 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2027 * Number of variables: 2027 Notification: Performance of Generate backend data structure: time 0.01974/1.287, allocations: 5.947 MB / 0.5734 GB, free: 100 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/1.287, allocations: 13.73 kB / 0.5734 GB, free: 100 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03741/1.324, allocations: 6.995 MB / 0.5802 GB, free: 98.94 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02182/1.346, allocations: 7.793 MB / 0.5879 GB, free: 96.02 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005069/1.347, allocations: 450.6 kB / 0.5883 GB, free: 95.84 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002573/1.349, allocations: 0.5806 MB / 0.5889 GB, free: 95.66 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03303/1.383, allocations: 13.75 MB / 0.6023 GB, free: 84.88 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003263/1.383, allocations: 87.23 kB / 0.6024 GB, free: 84.79 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001615/1.385, allocations: 279.7 kB / 0.6026 GB, free: 84.55 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00202/1.387, allocations: 1.313 MB / 0.6039 GB, free: 83.23 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02669/1.413, allocations: 11.3 MB / 0.615 GB, free: 71.92 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07514/1.488, allocations: 62.08 MB / 0.6756 GB, free: 8.305 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01757/1.506, allocations: 5.685 MB / 0.6811 GB, free: 2.477 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00513/1.511, allocations: 3.282 MB / 0.6843 GB, free: 15.19 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001042/1.512, allocations: 0.6887 MB / 0.685 GB, free: 14.41 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.96e-05/1.512, allocations: 72.45 kB / 0.6851 GB, free: 14.33 MB / 474.7 MB Notification: Performance of pre-optimization done (n=254): time 7.587e-06/1.512, allocations: 0 / 0.6851 GB, free: 14.33 MB / 474.7 MB Notification: Performance of matching and sorting (n=320): time 0.3925/1.905, allocations: 29.15 MB / 0.7135 GB, free: 105.7 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001023/1.905, allocations: 271.4 kB / 0.7138 GB, free: 105.4 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01219/1.917, allocations: 4.621 MB / 0.7183 GB, free: 105 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007312/1.918, allocations: 73.77 kB / 0.7184 GB, free: 105 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003548/1.922, allocations: 4.044 MB / 0.7223 GB, free: 103 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001718/1.923, allocations: 1.193 MB / 0.7235 GB, free: 102.2 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008587/1.924, allocations: 152.1 kB / 0.7236 GB, free: 102.2 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0006303/1.925, allocations: 0.6352 MB / 0.7243 GB, free: 101.9 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00707/1.932, allocations: 3.252 MB / 0.7274 GB, free: 100.7 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00946/1.942, allocations: 7.436 MB / 0.7347 GB, free: 93.93 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009786/1.951, allocations: 4.909 MB / 0.7395 GB, free: 92.37 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001472/1.952, allocations: 49.89 kB / 0.7395 GB, free: 92.36 MB / 474.7 MB Notification: Performance of matching and sorting (n=1004) (initialization): time 0.03016/1.982, allocations: 12.05 MB / 0.7513 GB, free: 88.43 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001278/1.982, allocations: 66.53 kB / 0.7514 GB, free: 88.43 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001873/1.982, allocations: 148.2 kB / 0.7515 GB, free: 88.43 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007254/1.989, allocations: 2.13 MB / 0.7536 GB, free: 87.98 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008369/1.998, allocations: 1.762 MB / 0.7553 GB, free: 87.77 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02373/2.022, allocations: 14.32 MB / 0.7693 GB, free: 80.27 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008458/2.03, allocations: 459.6 kB / 0.7697 GB, free: 80.12 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00184/2.032, allocations: 457.7 kB / 0.7702 GB, free: 80.05 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 673 * 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.002552/2.035, allocations: 0.6678 MB / 0.7708 GB, free: 79.5 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001418/2.036, allocations: 0.4981 MB / 0.7713 GB, free: 79.23 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01712/2.053, allocations: 7.017 MB / 0.7782 GB, free: 76.58 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.275e-05/2.053, allocations: 32.84 kB / 0.7782 GB, free: 76.58 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-05/2.053, allocations: 12.03 kB / 0.7782 GB, free: 76.58 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.226e-05/2.053, allocations: 13.12 kB / 0.7782 GB, free: 76.58 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03905/2.093, allocations: 15.99 MB / 0.7938 GB, free: 65.59 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.266e-05/2.093, allocations: 7.469 kB / 0.7938 GB, free: 65.59 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00332/2.096, allocations: 0.5152 MB / 0.7943 GB, free: 65.17 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006192/2.102, allocations: 1.884 MB / 0.7962 GB, free: 63.79 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007181/2.103, allocations: 56 kB / 0.7962 GB, free: 63.74 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02096/2.124, allocations: 12.81 MB / 0.8087 GB, free: 52.41 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.2e-06/2.124, allocations: 11.94 kB / 0.8088 GB, free: 52.39 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02058/2.145, allocations: 12.07 MB / 0.8205 GB, free: 41.47 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00323/2.148, allocations: 1.049 MB / 0.8216 GB, free: 40.49 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001417/2.149, allocations: 59 kB / 0.8216 GB, free: 40.43 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003698/2.153, allocations: 217.3 kB / 0.8218 GB, free: 40.29 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007648/2.154, allocations: 209 kB / 0.822 GB, free: 40.16 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000351/2.154, allocations: 84.98 kB / 0.8221 GB, free: 40.08 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.006956/2.161, allocations: 3.267 MB / 0.8253 GB, free: 37.2 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.08e-06/2.161, allocations: 0 / 0.8253 GB, free: 37.2 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.009447/2.171, allocations: 1.494 MB / 0.8268 GB, free: 35.71 MB / 474.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 (259): * Single equations (assignments): 254 * 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.0008836/2.172, allocations: 209.3 kB / 0.827 GB, free: 35.51 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01481/2.186, allocations: 7.931 MB / 0.8347 GB, free: 28.28 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.431e-06/2.186, allocations: 0 / 0.8347 GB, free: 28.28 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008643/2.195, allocations: 3.835 MB / 0.8385 GB, free: 24.68 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004401/2.2, allocations: 0.6296 MB / 0.8391 GB, free: 24.08 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02646/2.226, allocations: 12.2 MB / 0.851 GB, free: 11.82 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008342/2.234, allocations: 4.516 MB / 0.8554 GB, free: 7.289 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.008555/2.243, allocations: 2.489 MB / 0.8578 GB, free: 4.805 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001928/2.245, allocations: 359.3 kB / 0.8582 GB, free: 4.453 MB / 474.7 MB Notification: Performance of SimCode: time 1.748e-06/2.245, allocations: 0 / 0.8582 GB, free: 4.453 MB / 474.7 MB Notification: Performance of Templates: time 0.4474/2.692, allocations: 59.84 MB / 0.9166 GB, free: 109.8 MB / 490.7 MB