Running command: translateModel(ModelicaTest.MultiBody.Joints.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP2") Notification: Performance of loadModel(ModelicaTest): time 2.261/2.261, allocations: 235 MB / 247.2 MB, free: 14.56 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.332e-05/3.354e-05, allocations: 4.938 kB / 304.9 MB, free: 5.391 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3329/0.333, allocations: 54.86 MB / 359.8 MB, free: 3.039 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2211/0.5541, allocations: 108.3 MB / 468.1 MB, free: 4.578 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002728/0.5544, allocations: 80.73 kB / 468.2 MB, free: 4.5 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7666/1.321, allocations: 123.2 MB / 0.5776 GB, free: 106.9 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.847e-06/1.321, allocations: 0 / 0.5776 GB, free: 106.9 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002591/1.321, allocations: 110.3 kB / 0.5777 GB, free: 106.9 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: 1929 * Number of variables: 1929 Notification: Performance of Generate backend data structure: time 0.01735/1.339, allocations: 5.633 MB / 0.5832 GB, free: 103.4 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/1.339, allocations: 11.28 kB / 0.5832 GB, free: 103.4 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02472/1.363, allocations: 4.726 MB / 0.5878 GB, free: 101.1 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01876/1.382, allocations: 6.627 MB / 0.5943 GB, free: 96.37 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004981/1.383, allocations: 446.5 kB / 0.5947 GB, free: 95.96 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002237/1.385, allocations: 0.5436 MB / 0.5952 GB, free: 95.45 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03185/1.417, allocations: 13.99 MB / 0.6089 GB, free: 80.43 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002362/1.417, allocations: 71.34 kB / 0.609 GB, free: 80.36 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001249/1.419, allocations: 260.3 kB / 0.6092 GB, free: 80.14 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001906/1.42, allocations: 1.293 MB / 0.6105 GB, free: 78.85 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02741/1.448, allocations: 11.45 MB / 0.6217 GB, free: 67.39 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06936/1.517, allocations: 59.23 MB / 0.6795 GB, free: 6.613 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01649/1.534, allocations: 4.608 MB / 0.684 GB, free: 1.844 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004425/1.538, allocations: 2.717 MB / 0.6866 GB, free: 15.11 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02643/1.565, allocations: 12.6 MB / 0.699 GB, free: 2.02 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.608e-05/1.565, allocations: 59.62 kB / 0.699 GB, free: 1.957 MB / 474.7 MB Notification: Performance of pre-optimization done (n=191): time 6.242e-06/1.565, allocations: 4 kB / 0.699 GB, free: 1.953 MB / 474.7 MB Notification: Performance of matching and sorting (n=242): time 0.4489/2.014, allocations: 32.82 MB / 0.7311 GB, free: 110.4 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.387e-05/2.014, allocations: 236.6 kB / 0.7313 GB, free: 110.1 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008271/2.022, allocations: 4.177 MB / 0.7354 GB, free: 109.7 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005404/2.023, allocations: 60.77 kB / 0.7354 GB, free: 109.7 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002743/2.025, allocations: 3.893 MB / 0.7392 GB, free: 107.1 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001162/2.027, allocations: 0.9164 MB / 0.7401 GB, free: 106.4 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006727/2.027, allocations: 146.5 kB / 0.7403 GB, free: 106.3 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000403/2.028, allocations: 0.6117 MB / 0.7409 GB, free: 105.9 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006227/2.034, allocations: 3.151 MB / 0.7439 GB, free: 104.7 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008092/2.042, allocations: 7.372 MB / 0.7511 GB, free: 97.86 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008375/2.051, allocations: 4.73 MB / 0.7558 GB, free: 96.27 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001108/2.051, allocations: 48.91 kB / 0.7558 GB, free: 96.26 MB / 474.7 MB Notification: Performance of matching and sorting (n=939) (initialization): time 0.03481/2.086, allocations: 13.23 MB / 0.7687 GB, free: 92.15 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001103/2.086, allocations: 67.81 kB / 0.7688 GB, free: 92.15 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001548/2.086, allocations: 149.8 kB / 0.7689 GB, free: 92.15 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01454/2.1, allocations: 3.796 MB / 0.7726 GB, free: 90.66 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00666/2.107, allocations: 1.608 MB / 0.7742 GB, free: 89.25 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.033/2.14, allocations: 18.02 MB / 0.7918 GB, free: 73.91 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01342/2.154, allocations: 491.2 kB / 0.7923 GB, free: 73.52 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002318/2.156, allocations: 431.2 kB / 0.7927 GB, free: 73.1 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 686 * Number of states: 0 () * Number of discrete variables: 34 (jointUSP.prismatic.positiveBranch,bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.sphereColor[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 (856): * Single equations (assignments): 852 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 58} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003038/2.159, allocations: 0.6449 MB / 0.7933 GB, free: 72.45 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001844/2.161, allocations: 430.4 kB / 0.7937 GB, free: 72.02 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03238/2.193, allocations: 8.075 MB / 0.8016 GB, free: 65.87 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.504e-05/2.194, allocations: 25.88 kB / 0.8016 GB, free: 65.84 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.188e-05/2.194, allocations: 12 kB / 0.8017 GB, free: 65.83 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.333e-05/2.194, allocations: 11.39 kB / 0.8017 GB, free: 65.83 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03964/2.233, allocations: 17.39 MB / 0.8186 GB, free: 49.37 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.379e-05/2.233, allocations: 7.984 kB / 0.8187 GB, free: 49.36 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002425/2.236, allocations: 387.4 kB / 0.819 GB, free: 48.98 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.014/2.25, allocations: 3.844 MB / 0.8228 GB, free: 45.13 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005317/2.25, allocations: 36 kB / 0.8228 GB, free: 45.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02763/2.278, allocations: 16.46 MB / 0.8389 GB, free: 28.5 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.994e-06/2.278, allocations: 0 / 0.8389 GB, free: 28.5 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02681/2.305, allocations: 12.56 MB / 0.8511 GB, free: 15.89 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002859/2.308, allocations: 0.9366 MB / 0.8521 GB, free: 14.93 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001312/2.309, allocations: 36 kB / 0.8521 GB, free: 14.89 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00375/2.313, allocations: 213.2 kB / 0.8523 GB, free: 14.69 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008909/2.314, allocations: 154.1 kB / 0.8524 GB, free: 14.54 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003642/2.314, allocations: 56.62 kB / 0.8525 GB, free: 14.48 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.006546/2.321, allocations: 2.909 MB / 0.8553 GB, free: 11.58 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.175e-06/2.321, allocations: 0 / 0.8553 GB, free: 11.58 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008614/2.33, allocations: 1.452 MB / 0.8568 GB, free: 10.14 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (revolute.phi,revolute.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (167): * Single equations (assignments): 163 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 52} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008819/2.33, allocations: 214.6 kB / 0.857 GB, free: 9.93 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01384/2.344, allocations: 7.491 MB / 0.8643 GB, free: 2.465 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.935e-06/2.344, allocations: 0.875 kB / 0.8643 GB, free: 2.465 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005284/2.35, allocations: 2.885 MB / 0.8671 GB, free: 15.57 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003456/2.353, allocations: 493.1 kB / 0.8676 GB, free: 15.11 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02656/2.38, allocations: 10.59 MB / 0.8779 GB, free: 4.469 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.331/2.711, allocations: 4.197 MB / 0.882 GB, free: 120.1 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.008863/2.72, allocations: 2.181 MB / 0.8841 GB, free: 120.1 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001562/2.721, allocations: 282.7 kB / 0.8844 GB, free: 120.1 MB / 490.7 MB Notification: Performance of SimCode: time 1.786e-06/2.721, allocations: 3.469 kB / 0.8844 GB, free: 120.1 MB / 490.7 MB Notification: Performance of Templates: time 0.1421/2.863, allocations: 57.68 MB / 0.9407 GB, free: 108.3 MB / 490.7 MB