Running command: translateModel(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2") Notification: Performance of loadModel(ModelicaTest): time 2.188/2.188, allocations: 235 MB / 247.2 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.504e-05/3.549e-05, allocations: 4 kB / 304.9 MB, free: 5.172 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3259/0.326, allocations: 54.86 MB / 359.8 MB, free: 3.148 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1637/0.4897, allocations: 105.6 MB / 465.4 MB, free: 7.234 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002546/0.49, allocations: 71.97 kB / 465.5 MB, free: 7.164 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8311/1.321, allocations: 135.8 MB / 0.5872 GB, free: 97.89 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.276e-06/1.321, allocations: 0 / 0.5872 GB, free: 97.89 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004452/1.322, allocations: 132.7 kB / 0.5873 GB, free: 97.89 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: 2293 * Number of variables: 2293 Notification: Performance of Generate backend data structure: time 0.02328/1.345, allocations: 7.042 MB / 0.5942 GB, free: 93.43 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/1.345, allocations: 13.22 kB / 0.5942 GB, free: 93.43 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03971/1.385, allocations: 7.556 MB / 0.6016 GB, free: 87.85 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02653/1.411, allocations: 9.795 MB / 0.6112 GB, free: 78.11 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005487/1.412, allocations: 486.5 kB / 0.6116 GB, free: 77.67 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002887/1.415, allocations: 0.6523 MB / 0.6123 GB, free: 77.06 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04016/1.455, allocations: 16.48 MB / 0.6283 GB, free: 59.26 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000363/1.455, allocations: 95.11 kB / 0.6284 GB, free: 59.17 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00178/1.457, allocations: 316.7 kB / 0.6287 GB, free: 58.9 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002512/1.46, allocations: 1.575 MB / 0.6303 GB, free: 57.32 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03304/1.493, allocations: 13.23 MB / 0.6432 GB, free: 44.08 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4244/1.917, allocations: 74.24 MB / 0.7157 GB, free: 58.28 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03031/1.948, allocations: 7.625 MB / 0.7231 GB, free: 57.59 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007326/1.955, allocations: 3.914 MB / 0.727 GB, free: 57.54 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03698/1.992, allocations: 18.63 MB / 0.7452 GB, free: 53.1 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.014e-05/1.992, allocations: 62.5 kB / 0.7452 GB, free: 53.05 MB / 474.7 MB Notification: Performance of pre-optimization done (n=280): time 6.909e-06/1.992, allocations: 0 / 0.7452 GB, free: 53.05 MB / 474.7 MB Notification: Performance of matching and sorting (n=361): time 0.1742/2.166, allocations: 40.4 MB / 0.7847 GB, free: 42.4 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.502e-05/2.167, allocations: 268.3 kB / 0.7849 GB, free: 42.12 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0116/2.178, allocations: 5.304 MB / 0.7901 GB, free: 38.97 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007817/2.179, allocations: 81.7 kB / 0.7902 GB, free: 38.89 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003612/2.183, allocations: 4.761 MB / 0.7948 GB, free: 34.61 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001898/2.185, allocations: 1.335 MB / 0.7961 GB, free: 33.43 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009464/2.186, allocations: 180 kB / 0.7963 GB, free: 33.25 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0005628/2.186, allocations: 0.6926 MB / 0.797 GB, free: 32.66 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007526/2.194, allocations: 3.66 MB / 0.8006 GB, free: 29.36 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01043/2.204, allocations: 8.782 MB / 0.8091 GB, free: 18.77 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01051/2.215, allocations: 5.577 MB / 0.8146 GB, free: 14.19 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001454/2.215, allocations: 56 kB / 0.8146 GB, free: 14.14 MB / 474.7 MB Notification: Performance of matching and sorting (n=1196) (initialization): time 0.04283/2.258, allocations: 15.88 MB / 0.8301 GB, free: 1.617 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001248/2.258, allocations: 84 kB / 0.8302 GB, free: 1.535 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002017/2.258, allocations: 183.1 kB / 0.8304 GB, free: 1.359 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01705/2.275, allocations: 4.102 MB / 0.8344 GB, free: 13.66 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009551/2.285, allocations: 2.035 MB / 0.8364 GB, free: 11.62 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05475/2.34, allocations: 21.75 MB / 0.8576 GB, free: 5.621 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009992/2.35, allocations: 0.55 MB / 0.8582 GB, free: 5.07 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002045/2.352, allocations: 0.5279 MB / 0.8587 GB, free: 4.543 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 828 * Number of states: 0 () * Number of discrete variables: 63 (lineForceWithTwoMasses.massColor[3],lineForceWithTwoMasses.massColor[2],lineForceWithTwoMasses.massColor[1],lineForceWithTwoMasses.color_b[3],lineForceWithTwoMasses.color_b[2],lineForceWithTwoMasses.color_b[1],lineForceWithTwoMasses.color_a[3],lineForceWithTwoMasses.color_a[2],lineForceWithTwoMasses.color_a[1],rod4.color[3],rod4.color[2],rod4.color[1],rod3.color[3],rod3.color[2],rod3.color[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],rod2.color[3],rod2.color[2],rod2.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1],rod1.color[3],rod1.color[2],rod1.color[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.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 (1077): * Single equations (assignments): 1072 * 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 {(1,100.0%) 44,(5,64.0%) 47} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002181/2.354, allocations: 0.8023 MB / 0.8595 GB, free: 3.734 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001566/2.355, allocations: 0.5669 MB / 0.86 GB, free: 3.16 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03007/2.386, allocations: 9.664 MB / 0.8695 GB, free: 9.441 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.939e-05/2.386, allocations: 36 kB / 0.8695 GB, free: 9.406 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.321e-05/2.386, allocations: 16 kB / 0.8695 GB, free: 9.391 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.794e-05/2.386, allocations: 23.92 kB / 0.8695 GB, free: 9.367 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05765/2.443, allocations: 19.03 MB / 0.8881 GB, free: 6.234 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.13e-05/2.444, allocations: 0 / 0.8881 GB, free: 6.234 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003588/2.447, allocations: 0.4954 MB / 0.8886 GB, free: 5.738 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01736/2.465, allocations: 3.62 MB / 0.8921 GB, free: 2.109 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008236/2.465, allocations: 66.89 kB / 0.8922 GB, free: 2.047 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3336/2.799, allocations: 18.7 MB / 0.9105 GB, free: 168.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-06/2.799, allocations: 1.125 kB / 0.9105 GB, free: 168.7 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03639/2.835, allocations: 14.04 MB / 0.9242 GB, free: 168 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003657/2.839, allocations: 1.114 MB / 0.9253 GB, free: 167.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001455/2.841, allocations: 56.44 kB / 0.9253 GB, free: 167.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00417/2.845, allocations: 241.8 kB / 0.9255 GB, free: 167.9 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001025/2.846, allocations: 227.7 kB / 0.9258 GB, free: 167.9 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000441/2.846, allocations: 90.89 kB / 0.9258 GB, free: 167.9 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.008617/2.855, allocations: 3.703 MB / 0.9295 GB, free: 167.7 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.081e-06/2.855, allocations: 0 / 0.9295 GB, free: 167.7 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01051/2.866, allocations: 1.841 MB / 0.9313 GB, free: 167.7 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute1.phi,revolute1.w,revolute2.phi,revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (264): * Single equations (assignments): 259 * 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 {(2,100.0%) 43,(1,100.0%) 35} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009914/2.867, allocations: 222.6 kB / 0.9315 GB, free: 167.6 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01761/2.884, allocations: 9.134 MB / 0.9404 GB, free: 167.3 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.899e-06/2.884, allocations: 2.812 kB / 0.9404 GB, free: 167.3 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.00723/2.891, allocations: 3.614 MB / 0.9439 GB, free: 166.3 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004741/2.896, allocations: 0.7172 MB / 0.9446 GB, free: 166 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02955/2.926, allocations: 13.07 MB / 0.9574 GB, free: 161.5 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009526/2.935, allocations: 4.999 MB / 0.9623 GB, free: 159.9 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.009786/2.945, allocations: 2.793 MB / 0.965 GB, free: 159.9 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001913/2.947, allocations: 381.7 kB / 0.9654 GB, free: 159.9 MB / 0.5417 GB Notification: Performance of SimCode: time 1.72e-06/2.947, allocations: 0 / 0.9654 GB, free: 159.9 MB / 0.5417 GB Notification: Performance of Templates: time 0.1943/3.142, allocations: 74.32 MB / 1.038 GB, free: 106.4 MB / 0.5417 GB