Running command: translateModel(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses") Notification: Performance of loadModel(ModelicaTest): time 2.236/2.236, allocations: 235 MB / 247.6 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.088e-05/4.106e-05, allocations: 11.98 kB / 304.9 MB, free: 5.656 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3246/0.3247, allocations: 54.85 MB / 359.8 MB, free: 2.676 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.155/0.4797, allocations: 99.77 MB / 459.5 MB, free: 13.21 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002621/0.48, allocations: 79.91 kB / 459.6 MB, free: 13.14 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3137/0.7937, allocations: 76.34 MB / 0.5234 GB, free: 316 kB / 458.7 MB Notification: Performance of FrontEnd: time 3.005e-06/0.7937, allocations: 0 / 0.5234 GB, free: 316 kB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002209/0.7939, allocations: 71.94 kB / 0.5234 GB, free: 244 kB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1315 * Number of variables: 1315 Notification: Performance of Generate backend data structure: time 0.267/1.061, allocations: 3.575 MB / 0.5269 GB, free: 104.4 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/1.061, allocations: 13.38 kB / 0.527 GB, free: 104.4 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02423/1.085, allocations: 4.327 MB / 0.5312 GB, free: 104.1 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01487/1.1, allocations: 4.463 MB / 0.5355 GB, free: 103.7 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004383/1.101, allocations: 273.7 kB / 0.5358 GB, free: 103.7 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001735/1.102, allocations: 363.5 kB / 0.5361 GB, free: 103.7 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0225/1.125, allocations: 9.036 MB / 0.545 GB, free: 101.1 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002357/1.125, allocations: 64.08 kB / 0.545 GB, free: 101.1 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001084/1.126, allocations: 179.7 kB / 0.5452 GB, free: 101.1 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001542/1.128, allocations: 0.8796 MB / 0.5461 GB, free: 101.1 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01697/1.145, allocations: 7.043 MB / 0.5529 GB, free: 101 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0487/1.194, allocations: 44.06 MB / 0.596 GB, free: 67.24 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01091/1.205, allocations: 3.462 MB / 0.5993 GB, free: 65.85 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002645/1.207, allocations: 1.586 MB / 0.6009 GB, free: 65.16 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01415/1.221, allocations: 7.193 MB / 0.6079 GB, free: 61.15 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.148e-05/1.222, allocations: 54.67 kB / 0.608 GB, free: 61.1 MB / 458.7 MB Notification: Performance of pre-optimization done (n=150): time 6.522e-06/1.222, allocations: 0 / 0.608 GB, free: 61.1 MB / 458.7 MB Notification: Performance of matching and sorting (n=184): time 0.06967/1.291, allocations: 17.05 MB / 0.6246 GB, free: 53.22 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.511e-05/1.291, allocations: 201.2 kB / 0.6248 GB, free: 52.98 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006151/1.298, allocations: 3.277 MB / 0.628 GB, free: 50.09 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003451/1.298, allocations: 53.7 kB / 0.6281 GB, free: 50.03 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001982/1.3, allocations: 2.759 MB / 0.6308 GB, free: 47.52 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008452/1.301, allocations: 0.7035 MB / 0.6314 GB, free: 46.9 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005682/1.301, allocations: 112 kB / 0.6315 GB, free: 46.79 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003882/1.302, allocations: 0.5505 MB / 0.6321 GB, free: 46.3 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004046/1.306, allocations: 1.947 MB / 0.634 GB, free: 44.54 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006054/1.312, allocations: 5.435 MB / 0.6393 GB, free: 37.62 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005831/1.318, allocations: 3.247 MB / 0.6425 GB, free: 34.84 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.052e-05/1.318, allocations: 36 kB / 0.6425 GB, free: 34.8 MB / 458.7 MB Notification: Performance of matching and sorting (n=758) (initialization): time 0.02222/1.34, allocations: 8.489 MB / 0.6508 GB, free: 27.64 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.442e-05/1.34, allocations: 60.95 kB / 0.6508 GB, free: 27.58 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001247/1.34, allocations: 128 kB / 0.651 GB, free: 27.45 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006357/1.347, allocations: 1.538 MB / 0.6525 GB, free: 26.33 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005286/1.352, allocations: 1.286 MB / 0.6537 GB, free: 25.2 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01693/1.369, allocations: 8.94 MB / 0.6625 GB, free: 16.27 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00557/1.375, allocations: 315.5 kB / 0.6628 GB, free: 15.96 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009835/1.376, allocations: 365.1 kB / 0.6631 GB, free: 15.6 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 569 * Number of states: 0 () * Number of discrete variables: 33 (FixedTranslation2.color[3],FixedTranslation2.color[2],FixedTranslation2.color[1],force.massColor[3],force.massColor[2],force.massColor[1],force.color_b[3],force.color_b[2],force.color_b[1],force.color_a[3],force.color_a[2],force.color_a[1],FixedTranslation1.color[3],FixedTranslation1.color[2],FixedTranslation1.color[1],BodyBox1.color[3],BodyBox1.color[2],BodyBox1.color[1],BodyBox1.body.sphereColor[3],BodyBox1.body.sphereColor[2],BodyBox1.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 (691): * Single equations (assignments): 687 * 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%) 42} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009549/1.377, allocations: 0.5411 MB / 0.6636 GB, free: 15.06 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000701/1.377, allocations: 331.7 kB / 0.664 GB, free: 14.73 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01043/1.388, allocations: 3.8 MB / 0.6677 GB, free: 10.91 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.712e-05/1.388, allocations: 20 kB / 0.6677 GB, free: 10.89 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.592e-05/1.388, allocations: 8 kB / 0.6677 GB, free: 10.89 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.921e-05/1.388, allocations: 15.97 kB / 0.6677 GB, free: 10.87 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02005/1.408, allocations: 7.996 MB / 0.6755 GB, free: 2.855 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.052e-05/1.408, allocations: 0 / 0.6755 GB, free: 2.855 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00156/1.41, allocations: 239.6 kB / 0.6757 GB, free: 2.621 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005571/1.415, allocations: 1.232 MB / 0.6769 GB, free: 1.387 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002867/1.416, allocations: 35.73 kB / 0.677 GB, free: 1.355 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01574/1.431, allocations: 7.283 MB / 0.6841 GB, free: 9.945 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.706e-06/1.431, allocations: 4.031 kB / 0.6841 GB, free: 9.941 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01592/1.447, allocations: 6.152 MB / 0.6901 GB, free: 3.754 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00191/1.449, allocations: 0.6021 MB / 0.6907 GB, free: 3.129 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005656/1.45, allocations: 28 kB / 0.6907 GB, free: 3.102 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001843/1.452, allocations: 91.84 kB / 0.6908 GB, free: 3.012 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003719/1.452, allocations: 112.8 kB / 0.6909 GB, free: 2.906 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000214/1.452, allocations: 51.98 kB / 0.691 GB, free: 2.855 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.00486/1.457, allocations: 2.261 MB / 0.6932 GB, free: 0.6094 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.073e-06/1.457, allocations: 3.938 kB / 0.6932 GB, free: 0.6055 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006326/1.464, allocations: 0.964 MB / 0.6941 GB, free: 15.64 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (129): * Single equations (assignments): 125 * 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%) 35} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005427/1.464, allocations: 190.8 kB / 0.6943 GB, free: 15.46 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01028/1.475, allocations: 4.692 MB / 0.6989 GB, free: 10.79 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.014e-06/1.475, allocations: 0 / 0.6989 GB, free: 10.79 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003259/1.478, allocations: 1.555 MB / 0.7004 GB, free: 9.223 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002246/1.48, allocations: 360.2 kB / 0.7007 GB, free: 8.879 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01659/1.497, allocations: 7.178 MB / 0.7078 GB, free: 1.66 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3058/1.803, allocations: 3.042 MB / 0.7107 GB, free: 121.3 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001219/1.804, allocations: 269.7 kB / 0.711 GB, free: 121.3 MB / 490.7 MB Notification: Performance of SimCode: time 1.86e-06/1.804, allocations: 0 / 0.711 GB, free: 121.3 MB / 490.7 MB Notification: Performance of Templates: time 0.1013/1.905, allocations: 65.76 MB / 0.7752 GB, free: 107.6 MB / 490.7 MB