Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSP") Notification: Performance of loadModel(ModelicaTest): time 2.325/2.325, allocations: 235 MB / 247.2 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.403e-05/3.42e-05, allocations: 4 kB / 304.9 MB, free: 5.176 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3797/0.3798, allocations: 54.84 MB / 359.8 MB, free: 3.129 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1649/0.5447, allocations: 108.8 MB / 468.5 MB, free: 4.141 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002292/0.545, allocations: 79.95 kB / 468.6 MB, free: 4.062 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8498/1.395, allocations: 142.3 MB / 0.5966 GB, free: 92.7 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.846e-06/1.395, allocations: 0 / 0.5966 GB, free: 92.7 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004149/1.395, allocations: 127.9 kB / 0.5967 GB, free: 92.69 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: 2163 * Number of variables: 2163 Notification: Performance of Generate backend data structure: time 0.02091/1.416, allocations: 6.63 MB / 0.6032 GB, free: 86.78 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/1.416, allocations: 16.03 kB / 0.6032 GB, free: 86.76 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08023/1.496, allocations: 9.329 MB / 0.6123 GB, free: 77.41 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03306/1.53, allocations: 9.124 MB / 0.6212 GB, free: 68.25 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005237/1.53, allocations: 480.7 kB / 0.6217 GB, free: 67.78 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002646/1.533, allocations: 0.6364 MB / 0.6223 GB, free: 67.14 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03778/1.571, allocations: 15.45 MB / 0.6374 GB, free: 50.51 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003407/1.571, allocations: 75.31 kB / 0.6375 GB, free: 50.43 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001991/1.573, allocations: 303.8 kB / 0.6378 GB, free: 50.14 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002375/1.575, allocations: 1.393 MB / 0.6391 GB, free: 48.74 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0313/1.607, allocations: 12.48 MB / 0.6513 GB, free: 36.24 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3997/2.006, allocations: 64.33 MB / 0.7141 GB, free: 60.79 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02399/2.031, allocations: 6.205 MB / 0.7202 GB, free: 60.1 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005671/2.036, allocations: 3.12 MB / 0.7232 GB, free: 60.07 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02258/2.059, allocations: 11.17 MB / 0.7341 GB, free: 57.31 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.602e-05/2.059, allocations: 60.31 kB / 0.7342 GB, free: 57.27 MB / 474.7 MB Notification: Performance of pre-optimization done (n=245): time 7.64e-06/2.059, allocations: 1.031 kB / 0.7342 GB, free: 57.27 MB / 474.7 MB Notification: Performance of matching and sorting (n=337): time 0.1558/2.215, allocations: 29.63 MB / 0.7631 GB, free: 53.44 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001167/2.215, allocations: 244 kB / 0.7634 GB, free: 53.19 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01778/2.233, allocations: 4.928 MB / 0.7682 GB, free: 52.46 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001182/2.234, allocations: 81.58 kB / 0.7683 GB, free: 52.39 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.006541/2.241, allocations: 4.457 MB / 0.7726 GB, free: 48.99 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001612/2.242, allocations: 1.237 MB / 0.7738 GB, free: 48.08 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000968/2.243, allocations: 161.1 kB / 0.774 GB, free: 47.95 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0005497/2.244, allocations: 0.6513 MB / 0.7746 GB, free: 47.5 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007201/2.251, allocations: 3.53 MB / 0.7781 GB, free: 46.16 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01004/2.261, allocations: 8.001 MB / 0.7859 GB, free: 38.82 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00988/2.271, allocations: 5.282 MB / 0.791 GB, free: 37.07 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001272/2.271, allocations: 44.69 kB / 0.7911 GB, free: 37.07 MB / 474.7 MB Notification: Performance of matching and sorting (n=1070) (initialization): time 0.03679/2.308, allocations: 14.13 MB / 0.8049 GB, free: 29.12 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001219/2.308, allocations: 77 kB / 0.805 GB, free: 29.05 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001714/2.308, allocations: 156 kB / 0.8051 GB, free: 28.89 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01473/2.323, allocations: 3.564 MB / 0.8086 GB, free: 26.43 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00827/2.331, allocations: 1.792 MB / 0.8103 GB, free: 24.86 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05767/2.389, allocations: 17.92 MB / 0.8278 GB, free: 9.457 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01558/2.405, allocations: 486 kB / 0.8283 GB, free: 9.055 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002597/2.407, allocations: 474.2 kB / 0.8288 GB, free: 8.602 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 721 * Number of states: 0 () * Number of discrete variables: 43 (jointUSP.prismatic.positiveBranch,body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.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],ground_rod.color[3],ground_rod.color[2],ground_rod.color[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[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 (969): * Single equations (assignments): 965 * 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 {(1,100.0%) 77} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003586/2.411, allocations: 0.7036 MB / 0.8294 GB, free: 7.895 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002355/2.413, allocations: 0.5322 MB / 0.83 GB, free: 7.355 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04412/2.458, allocations: 8.812 MB / 0.8386 GB, free: 452 kB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.034e-05/2.458, allocations: 32.78 kB / 0.8386 GB, free: 420 kB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.557e-05/2.458, allocations: 16 kB / 0.8386 GB, free: 404 kB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.992e-05/2.458, allocations: 14.39 kB / 0.8386 GB, free: 404 kB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09217/2.55, allocations: 18.58 MB / 0.8568 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.768e-05/2.55, allocations: 4 kB / 0.8568 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005675/2.556, allocations: 495.9 kB / 0.8572 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02665/2.583, allocations: 3.103 MB / 0.8603 GB, free: 10.11 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00109/2.584, allocations: 65.39 kB / 0.8603 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03762/2.621, allocations: 15.59 MB / 0.8756 GB, free: 10.33 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.561e-05/2.622, allocations: 14.31 kB / 0.8756 GB, free: 10.32 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03578/2.657, allocations: 14.03 MB / 0.8893 GB, free: 11.93 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003838/2.661, allocations: 1.088 MB / 0.8903 GB, free: 10.81 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001533/2.663, allocations: 63.94 kB / 0.8904 GB, free: 10.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004644/2.667, allocations: 208.8 kB / 0.8906 GB, free: 10.55 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00114/2.669, allocations: 214.2 kB / 0.8908 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004333/2.669, allocations: 94.95 kB / 0.8909 GB, free: 10.25 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.009318/2.678, allocations: 3.479 MB / 0.8943 GB, free: 6.797 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.16e-06/2.678, allocations: 4 kB / 0.8943 GB, free: 6.793 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01082/2.689, allocations: 1.67 MB / 0.8959 GB, free: 5.133 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * 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 (253): * Single equations (assignments): 249 * 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 {(1,100.0%) 64} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001167/2.691, allocations: 242.5 kB / 0.8962 GB, free: 4.902 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.2999/2.99, allocations: 8.517 MB / 0.9045 GB, free: 158.1 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.036e-05/2.99, allocations: 5.406 kB / 0.9045 GB, free: 158.1 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.007392/2.998, allocations: 3.379 MB / 0.9078 GB, free: 157.9 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004573/3.002, allocations: 0.6838 MB / 0.9084 GB, free: 157.9 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0345/3.037, allocations: 12.85 MB / 0.921 GB, free: 155.5 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01225/3.049, allocations: 4.958 MB / 0.9258 GB, free: 154.6 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01665/3.066, allocations: 2.59 MB / 0.9284 GB, free: 154.6 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002936/3.069, allocations: 349.2 kB / 0.9287 GB, free: 154.6 MB / 0.5261 GB Notification: Performance of SimCode: time 2.989e-06/3.069, allocations: 0 / 0.9287 GB, free: 154.6 MB / 0.5261 GB Notification: Performance of Templates: time 0.1923/3.261, allocations: 67.75 MB / 0.9949 GB, free: 125.4 MB / 0.5261 GB