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.3_ModelicaTest.MultiBody.Joints.FreeMotion2") Notification: Performance of loadModel(ModelicaTest): time 2.341/2.341, allocations: 249.5 MB / 261.6 MB, free: 2.16 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.183e-05/3.163e-05, allocations: 4 kB / 323.4 MB, free: 4.309 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3265/0.3265, allocations: 58.83 MB / 382.2 MB, free: 10.32 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1671/0.4937, allocations: 109 MB / 491.2 MB, free: 15.51 MB / 426.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002439/0.494, allocations: 75.97 kB / 491.2 MB, free: 15.44 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.6951/1.189, allocations: 119 MB / 0.596 GB, free: 79.93 MB / 458.8 MB Notification: Performance of FrontEnd: time 2.13e-06/1.189, allocations: 0 / 0.596 GB, free: 79.93 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.0003664/1.19, allocations: 123.9 kB / 0.5961 GB, free: 79.8 MB / 458.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2030 * Number of variables: 2030 Notification: Performance of Generate backend data structure: time 0.01885/1.208, allocations: 5.953 MB / 0.6019 GB, free: 73.78 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/1.208, allocations: 8.031 kB / 0.6019 GB, free: 73.77 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03424/1.243, allocations: 7.004 MB / 0.6088 GB, free: 66.75 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02116/1.264, allocations: 7.803 MB / 0.6164 GB, free: 58.86 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000494/1.264, allocations: 443.5 kB / 0.6168 GB, free: 58.43 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002427/1.267, allocations: 0.5778 MB / 0.6174 GB, free: 57.85 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03181/1.299, allocations: 13.77 MB / 0.6308 GB, free: 42.89 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003203/1.299, allocations: 91.14 kB / 0.6309 GB, free: 42.8 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001484/1.301, allocations: 279.9 kB / 0.6312 GB, free: 42.53 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002018/1.303, allocations: 1.326 MB / 0.6325 GB, free: 41.2 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02684/1.33, allocations: 11.3 MB / 0.6435 GB, free: 29.88 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08544/1.415, allocations: 62.19 MB / 0.7042 GB, free: 13.73 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01976/1.435, allocations: 5.686 MB / 0.7098 GB, free: 7.898 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006129/1.441, allocations: 3.278 MB / 0.713 GB, free: 4.609 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001015/1.442, allocations: 0.6994 MB / 0.7137 GB, free: 3.801 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.528e-05/1.442, allocations: 60.5 kB / 0.7137 GB, free: 3.73 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=254): time 8.491e-06/1.442, allocations: 0 / 0.7137 GB, free: 3.73 MB / 0.4949 GB Notification: Performance of matching and sorting (n=320): time 0.419/1.861, allocations: 29.17 MB / 0.7422 GB, free: 120.5 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001628/1.861, allocations: 262.8 kB / 0.7425 GB, free: 120.2 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01918/1.881, allocations: 4.643 MB / 0.747 GB, free: 119.8 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.001226/1.882, allocations: 75.42 kB / 0.7471 GB, free: 119.8 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.006282/1.888, allocations: 4.058 MB / 0.751 GB, free: 117.7 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.002909/1.891, allocations: 1.191 MB / 0.7522 GB, free: 117 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00143/1.893, allocations: 162.8 kB / 0.7524 GB, free: 117 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.000933/1.894, allocations: 0.6304 MB / 0.753 GB, free: 116.7 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01448/1.908, allocations: 3.257 MB / 0.7561 GB, free: 116.2 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01531/1.923, allocations: 7.463 MB / 0.7634 GB, free: 109.4 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009127/1.933, allocations: 4.913 MB / 0.7682 GB, free: 107.8 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001117/1.933, allocations: 48.25 kB / 0.7683 GB, free: 107.8 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1007) (initialization): time 0.02885/1.962, allocations: 12.06 MB / 0.7801 GB, free: 104 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.000117/1.962, allocations: 70.08 kB / 0.7801 GB, free: 104 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001733/1.962, allocations: 150.7 kB / 0.7803 GB, free: 104 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00733/1.969, allocations: 2.145 MB / 0.7824 GB, free: 103.5 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007844/1.977, allocations: 1.758 MB / 0.7841 GB, free: 102.6 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02245/2, allocations: 14.32 MB / 0.7981 GB, free: 89.73 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007664/2.007, allocations: 457.5 kB / 0.7985 GB, free: 89.35 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001521/2.009, allocations: 464.9 kB / 0.7989 GB, free: 88.91 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 676 * Number of states: 0 () * Number of discrete variables: 42 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (931): * Single equations (assignments): 926 * 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.001404/2.01, allocations: 0.674 MB / 0.7996 GB, free: 88.24 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001147/2.012, allocations: 0.4898 MB / 0.8001 GB, free: 87.74 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01459/2.026, allocations: 7.017 MB / 0.8069 GB, free: 81.99 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.545e-05/2.026, allocations: 43.05 kB / 0.807 GB, free: 81.95 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.278e-05/2.026, allocations: 8 kB / 0.807 GB, free: 81.95 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.925e-05/2.026, allocations: 16.83 kB / 0.807 GB, free: 81.95 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03367/2.06, allocations: 16 MB / 0.8226 GB, free: 68.86 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.912e-05/2.06, allocations: 8.031 kB / 0.8226 GB, free: 68.86 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003274/2.063, allocations: 0.5 MB / 0.8231 GB, free: 68.45 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006196/2.07, allocations: 1.875 MB / 0.825 GB, free: 67.08 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006695/2.07, allocations: 65.25 kB / 0.825 GB, free: 67.02 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02066/2.091, allocations: 12.82 MB / 0.8375 GB, free: 55.68 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.486e-06/2.091, allocations: 7.938 kB / 0.8375 GB, free: 55.67 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02077/2.112, allocations: 12.08 MB / 0.8493 GB, free: 44.14 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003214/2.115, allocations: 1.053 MB / 0.8504 GB, free: 43.06 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001379/2.117, allocations: 64 kB / 0.8504 GB, free: 43 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003827/2.12, allocations: 215.8 kB / 0.8506 GB, free: 42.79 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009512/2.121, allocations: 213.5 kB / 0.8508 GB, free: 42.58 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004381/2.122, allocations: 91.03 kB / 0.8509 GB, free: 42.49 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.007058/2.129, allocations: 3.285 MB / 0.8541 GB, free: 39.23 MB / 0.4949 GB Notification: Performance of sort global known variables: time 9.15e-07/2.129, allocations: 0 / 0.8541 GB, free: 39.23 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.00887/2.138, allocations: 1.493 MB / 0.8556 GB, free: 37.74 MB / 0.4949 GB 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.0008322/2.139, allocations: 222.8 kB / 0.8558 GB, free: 37.52 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.01465/2.153, allocations: 7.923 MB / 0.8635 GB, free: 29.6 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.035e-05/2.153, allocations: 4 kB / 0.8636 GB, free: 29.59 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.00873/2.162, allocations: 3.826 MB / 0.8673 GB, free: 25.75 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004151/2.166, allocations: 0.6278 MB / 0.8679 GB, free: 25.14 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02675/2.193, allocations: 12.22 MB / 0.8798 GB, free: 12.85 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008955/2.202, allocations: 4.532 MB / 0.8843 GB, free: 8.297 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.00897/2.211, allocations: 2.499 MB / 0.8867 GB, free: 5.805 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001927/2.213, allocations: 359.3 kB / 0.887 GB, free: 5.457 MB / 0.4949 GB Notification: Performance of SimCode: time 2.231e-06/2.213, allocations: 0 / 0.887 GB, free: 5.457 MB / 0.4949 GB Notification: Performance of Templates: time 0.4713/2.684, allocations: 59.97 MB / 0.9456 GB, free: 125 MB / 0.5105 GB