Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP") Notification: Performance of loadModel(ModelicaTest): time 2.342/2.342, allocations: 249.5 MB / 261.6 MB, free: 2.145 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 2.828e-05/2.846e-05, allocations: 4 kB / 323.4 MB, free: 4.312 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3206/0.3207, allocations: 58.84 MB / 382.2 MB, free: 10.31 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1801/0.5008, allocations: 115.3 MB / 497.5 MB, free: 9.109 MB / 426.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002675/0.5011, allocations: 79.95 kB / 497.6 MB, free: 9.031 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.7778/1.279, allocations: 143 MB / 0.6256 GB, free: 49.55 MB / 458.8 MB Notification: Performance of FrontEnd: time 2.237e-06/1.279, allocations: 0 / 0.6256 GB, free: 49.55 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.0004/1.279, allocations: 132 kB / 0.6258 GB, free: 49.43 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: 2166 * Number of variables: 2166 Notification: Performance of Generate backend data structure: time 0.02035/1.3, allocations: 6.643 MB / 0.6323 GB, free: 42.71 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/1.3, allocations: 15.97 kB / 0.6323 GB, free: 42.69 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04604/1.346, allocations: 9.328 MB / 0.6414 GB, free: 33.34 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02556/1.371, allocations: 9.134 MB / 0.6503 GB, free: 24.12 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000523/1.372, allocations: 484.7 kB / 0.6508 GB, free: 23.64 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00258/1.375, allocations: 0.6364 MB / 0.6514 GB, free: 23.01 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03848/1.413, allocations: 15.45 MB / 0.6665 GB, free: 6.367 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004742/1.414, allocations: 87.23 kB / 0.6666 GB, free: 6.281 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002599/1.416, allocations: 295.9 kB / 0.6668 GB, free: 5.992 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002515/1.419, allocations: 1.393 MB / 0.6682 GB, free: 4.598 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03506/1.454, allocations: 12.49 MB / 0.6804 GB, free: 8.09 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4152/1.869, allocations: 64.45 MB / 0.7433 GB, free: 71.61 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02235/1.892, allocations: 6.212 MB / 0.7494 GB, free: 70.93 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005213/1.897, allocations: 3.119 MB / 0.7524 GB, free: 70.89 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02182/1.919, allocations: 11.18 MB / 0.7634 GB, free: 67.96 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.672e-05/1.919, allocations: 59.56 kB / 0.7634 GB, free: 67.93 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=245): time 6.774e-06/1.919, allocations: 0 / 0.7634 GB, free: 67.93 MB / 0.4949 GB Notification: Performance of matching and sorting (n=337): time 0.1333/2.052, allocations: 29.64 MB / 0.7924 GB, free: 64.06 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.192e-05/2.052, allocations: 242 kB / 0.7926 GB, free: 63.81 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01062/2.063, allocations: 4.951 MB / 0.7974 GB, free: 62.71 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.000715/2.064, allocations: 77.66 kB / 0.7975 GB, free: 62.64 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.003565/2.067, allocations: 4.482 MB / 0.8019 GB, free: 59.25 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.001641/2.069, allocations: 1.224 MB / 0.8031 GB, free: 58.34 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000858/2.07, allocations: 168.8 kB / 0.8032 GB, free: 58.21 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0005085/2.07, allocations: 0.6586 MB / 0.8039 GB, free: 57.75 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007173/2.078, allocations: 3.531 MB / 0.8073 GB, free: 56.42 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009737/2.087, allocations: 8.021 MB / 0.8152 GB, free: 49.05 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009965/2.097, allocations: 5.284 MB / 0.8203 GB, free: 47.18 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001228/2.098, allocations: 46.56 kB / 0.8204 GB, free: 47.14 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1073) (initialization): time 0.03596/2.133, allocations: 14.16 MB / 0.8342 GB, free: 35.88 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001143/2.134, allocations: 75.95 kB / 0.8343 GB, free: 35.8 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001669/2.134, allocations: 163.6 kB / 0.8344 GB, free: 35.64 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01445/2.148, allocations: 3.567 MB / 0.8379 GB, free: 33.18 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008016/2.156, allocations: 1.799 MB / 0.8397 GB, free: 31.61 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03161/2.188, allocations: 17.91 MB / 0.8572 GB, free: 16.21 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008055/2.196, allocations: 483.9 kB / 0.8576 GB, free: 15.81 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001312/2.197, allocations: 482.4 kB / 0.8581 GB, free: 15.35 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 724 * Number of states: 0 () * Number of discrete variables: 46 (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.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 (972): * Single equations (assignments): 968 * 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.001426/2.199, allocations: 0.7143 MB / 0.8588 GB, free: 14.64 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001037/2.2, allocations: 0.5322 MB / 0.8593 GB, free: 14.1 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02198/2.222, allocations: 8.809 MB / 0.8679 GB, free: 7.184 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.618e-05/2.222, allocations: 35.59 kB / 0.8679 GB, free: 7.152 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.731e-05/2.222, allocations: 20 kB / 0.8679 GB, free: 7.133 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.299e-05/2.222, allocations: 15.09 kB / 0.868 GB, free: 7.133 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04877/2.271, allocations: 18.59 MB / 0.8861 GB, free: 5.031 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.409e-05/2.271, allocations: 4 kB / 0.8861 GB, free: 5.027 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003197/2.274, allocations: 491.2 kB / 0.8866 GB, free: 4.547 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01485/2.289, allocations: 3.1 MB / 0.8896 GB, free: 1.441 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006884/2.29, allocations: 70.52 kB / 0.8897 GB, free: 1.375 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.035/2.325, allocations: 15.59 MB / 0.9049 GB, free: 1.652 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.116e-05/2.325, allocations: 4 kB / 0.9049 GB, free: 1.648 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0476/2.372, allocations: 14.04 MB / 0.9186 GB, free: 3.25 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01969/2.392, allocations: 1.091 MB / 0.9197 GB, free: 2.133 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003131/2.395, allocations: 63.98 kB / 0.9198 GB, free: 2.07 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01766/2.413, allocations: 199.7 kB / 0.9199 GB, free: 1.875 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002089/2.415, allocations: 222.3 kB / 0.9202 GB, free: 1.656 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009259/2.416, allocations: 90.72 kB / 0.9202 GB, free: 1.57 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 0.3422/2.758, allocations: 3.494 MB / 0.9237 GB, free: 145.9 MB / 0.5418 GB Notification: Performance of sort global known variables: time 2.216e-06/2.759, allocations: 0 / 0.9237 GB, free: 145.9 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.01609/2.775, allocations: 1.679 MB / 0.9253 GB, free: 145.9 MB / 0.5418 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.001085/2.776, allocations: 250.7 kB / 0.9255 GB, free: 145.8 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.01643/2.792, allocations: 8.523 MB / 0.9339 GB, free: 145.6 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 1.035e-05/2.792, allocations: 6.969 kB / 0.9339 GB, free: 145.6 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.006347/2.799, allocations: 3.386 MB / 0.9372 GB, free: 145.5 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004694/2.803, allocations: 0.6915 MB / 0.9378 GB, free: 145.4 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02854/2.832, allocations: 12.87 MB / 0.9504 GB, free: 143 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008748/2.841, allocations: 4.965 MB / 0.9553 GB, free: 142.2 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 0.009333/2.85, allocations: 2.603 MB / 0.9578 GB, free: 142.1 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001729/2.852, allocations: 347.1 kB / 0.9581 GB, free: 142.1 MB / 0.5418 GB Notification: Performance of SimCode: time 1.706e-06/2.852, allocations: 0 / 0.9581 GB, free: 142.1 MB / 0.5418 GB Notification: Performance of Templates: time 0.17/3.022, allocations: 67.87 MB / 1.024 GB, free: 110.5 MB / 0.5418 GB