Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSP") Notification: Performance of loadModel(ModelicaTest): time 1.9/1.9, allocations: 209.3 MB / 221.5 MB, free: 7.742 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.475e-05/3.49e-05, allocations: 4 kB / 273.1 MB, free: 3.172 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08675/0.0868, allocations: 48.7 MB / 321.8 MB, free: 2.383 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3858/0.4727, allocations: 101.9 MB / 423.7 MB, free: 9.418 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002374/0.4729, allocations: 73.97 kB / 423.8 MB, free: 9.383 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9405/1.413, allocations: 142.3 MB / 0.5528 GB, free: 80.3 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.414e-06/1.414, allocations: 0 / 0.5528 GB, free: 80.3 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004024/1.414, allocations: 133.4 kB / 0.5529 GB, free: 80.3 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2162 * Number of variables: 2162 Notification: Performance of Generate backend data structure: time 0.02054/1.434, allocations: 6.639 MB / 0.5594 GB, free: 77.79 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/1.435, allocations: 15.14 kB / 0.5594 GB, free: 77.79 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04478/1.479, allocations: 9.327 MB / 0.5685 GB, free: 77.35 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02506/1.504, allocations: 9.128 MB / 0.5774 GB, free: 76.39 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005128/1.505, allocations: 486.7 kB / 0.5779 GB, free: 76.37 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002555/1.508, allocations: 0.6257 MB / 0.5785 GB, free: 76.36 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03667/1.544, allocations: 15.44 MB / 0.5936 GB, free: 71.92 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003328/1.545, allocations: 83.44 kB / 0.5937 GB, free: 71.91 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002111/1.547, allocations: 303.8 kB / 0.594 GB, free: 71.73 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002234/1.549, allocations: 1.376 MB / 0.5953 GB, free: 71.49 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03173/1.581, allocations: 12.49 MB / 0.6075 GB, free: 66.44 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08257/1.663, allocations: 64.36 MB / 0.6703 GB, free: 5.395 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02149/1.685, allocations: 6.198 MB / 0.6764 GB, free: 15.06 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006064/1.691, allocations: 3.113 MB / 0.6794 GB, free: 11.94 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02477/1.716, allocations: 11.18 MB / 0.6904 GB, free: 404 kB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.22e-05/1.716, allocations: 68.48 kB / 0.6904 GB, free: 328 kB / 442.7 MB Notification: Performance of pre-optimization done (n=245): time 6.579e-06/1.716, allocations: 0 / 0.6904 GB, free: 328 kB / 442.7 MB Notification: Performance of matching and sorting (n=337): time 0.4096/2.126, allocations: 29.61 MB / 0.7193 GB, free: 87.02 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001309/2.126, allocations: 238.8 kB / 0.7196 GB, free: 86.76 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01445/2.14, allocations: 4.929 MB / 0.7244 GB, free: 86.33 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007187/2.141, allocations: 80.61 kB / 0.7245 GB, free: 86.3 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003473/2.144, allocations: 4.461 MB / 0.7288 GB, free: 84.25 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001596/2.146, allocations: 1.233 MB / 0.73 GB, free: 83.52 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008307/2.147, allocations: 165.2 kB / 0.7302 GB, free: 83.52 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0004918/2.147, allocations: 0.6515 MB / 0.7308 GB, free: 83.2 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006942/2.154, allocations: 3.526 MB / 0.7343 GB, free: 83.18 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009353/2.164, allocations: 8.004 MB / 0.7421 GB, free: 77.41 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009701/2.174, allocations: 5.28 MB / 0.7472 GB, free: 76.23 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001464/2.174, allocations: 48.5 kB / 0.7473 GB, free: 76.23 MB / 442.7 MB Notification: Performance of matching and sorting (n=1070) (initialization): time 0.0377/2.211, allocations: 14.13 MB / 0.7611 GB, free: 71.9 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001317/2.212, allocations: 72.41 kB / 0.7611 GB, free: 71.9 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001936/2.212, allocations: 159.2 kB / 0.7613 GB, free: 71.9 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01453/2.226, allocations: 3.561 MB / 0.7648 GB, free: 71.24 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008009/2.234, allocations: 1.79 MB / 0.7665 GB, free: 71.02 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03241/2.267, allocations: 17.92 MB / 0.784 GB, free: 60.47 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008637/2.276, allocations: 484.7 kB / 0.7845 GB, free: 60.07 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001811/2.277, allocations: 467.3 kB / 0.7849 GB, free: 59.62 MB / 442.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.002227/2.28, allocations: 0.7174 MB / 0.7856 GB, free: 58.89 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001209/2.281, allocations: 0.5207 MB / 0.7861 GB, free: 58.37 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02245/2.303, allocations: 8.82 MB / 0.7948 GB, free: 51.45 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.527e-05/2.303, allocations: 32 kB / 0.7948 GB, free: 51.42 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.849e-05/2.304, allocations: 16 kB / 0.7948 GB, free: 51.4 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.769e-05/2.304, allocations: 16.17 kB / 0.7948 GB, free: 51.4 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0452/2.349, allocations: 18.58 MB / 0.813 GB, free: 36.44 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.447e-05/2.349, allocations: 12.12 kB / 0.813 GB, free: 36.43 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003044/2.352, allocations: 492 kB / 0.8134 GB, free: 36.03 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01357/2.366, allocations: 3.097 MB / 0.8165 GB, free: 33.95 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007011/2.366, allocations: 63.09 kB / 0.8165 GB, free: 33.89 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02858/2.395, allocations: 15.59 MB / 0.8317 GB, free: 18.52 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.101e-05/2.395, allocations: 11.94 kB / 0.8318 GB, free: 18.5 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02973/2.425, allocations: 14.03 MB / 0.8455 GB, free: 4.121 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005479/2.43, allocations: 1.095 MB / 0.8465 GB, free: 3.004 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00272/2.433, allocations: 59.91 kB / 0.8466 GB, free: 2.949 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007148/2.44, allocations: 211.7 kB / 0.8468 GB, free: 2.742 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001113/2.441, allocations: 222.2 kB / 0.847 GB, free: 2.523 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004823/2.442, allocations: 91.98 kB / 0.8471 GB, free: 2.434 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.008379/2.45, allocations: 3.484 MB / 0.8505 GB, free: 14.98 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.077e-06/2.45, allocations: 0 / 0.8505 GB, free: 14.98 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.27/2.72, allocations: 1.674 MB / 0.8521 GB, free: 94.23 MB / 458.7 MB 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.001148/2.721, allocations: 239 kB / 0.8524 GB, free: 94.14 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01788/2.739, allocations: 8.526 MB / 0.8607 GB, free: 93.93 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.084e-05/2.739, allocations: 1.375 kB / 0.8607 GB, free: 93.93 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006845/2.746, allocations: 3.39 MB / 0.864 GB, free: 93.77 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005005/2.751, allocations: 0.6861 MB / 0.8647 GB, free: 93.75 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03082/2.782, allocations: 12.85 MB / 0.8772 GB, free: 91.36 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009713/2.792, allocations: 4.956 MB / 0.882 GB, free: 90.5 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.009462/2.801, allocations: 2.601 MB / 0.8846 GB, free: 90.44 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001753/2.803, allocations: 352.1 kB / 0.8849 GB, free: 90.43 MB / 458.7 MB Notification: Performance of SimCode: time 1.859e-06/2.803, allocations: 0 / 0.8849 GB, free: 90.43 MB / 458.7 MB Notification: Performance of Templates: time 0.1873/2.991, allocations: 67.73 MB / 0.9511 GB, free: 66.27 MB / 458.7 MB