Running command: translateModel(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses") Notification: Performance of loadModel(ModelicaTest): time 1.885/1.885, allocations: 209.3 MB / 221.9 MB, free: 7.734 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.246e-05/3.27e-05, allocations: 4 kB / 273.1 MB, free: 3.664 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08765/0.0877, allocations: 48.7 MB / 321.8 MB, free: 2.867 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3569/0.4446, allocations: 92.94 MB / 414.7 MB, free: 2.379 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002205/0.4449, allocations: 78.98 kB / 414.8 MB, free: 2.367 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3009/0.7458, allocations: 76.28 MB / 491 MB, free: 13.55 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.7458, allocations: 0 / 491 MB, free: 13.55 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002167/0.746, allocations: 75.94 kB / 491.1 MB, free: 13.48 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1314 * Number of variables: 1314 Notification: Performance of Generate backend data structure: time 0.01108/0.7571, allocations: 3.581 MB / 494.7 MB, free: 9.836 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.7572, allocations: 8.031 kB / 494.7 MB, free: 9.828 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02355/0.7808, allocations: 4.332 MB / 499 MB, free: 5.484 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01443/0.7952, allocations: 4.464 MB / 0.4917 GB, free: 0.957 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003471/0.7956, allocations: 271.1 kB / 0.492 GB, free: 0.6914 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001382/0.797, allocations: 363.8 kB / 0.4923 GB, free: 344 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02111/0.8181, allocations: 9.024 MB / 0.5011 GB, free: 6.301 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001972/0.8184, allocations: 63.41 kB / 0.5012 GB, free: 6.238 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007289/0.8191, allocations: 179.9 kB / 0.5014 GB, free: 6.062 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0016/0.8207, allocations: 0.8883 MB / 0.5022 GB, free: 5.172 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01815/0.8389, allocations: 7.034 MB / 0.5091 GB, free: 14.12 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2905/1.129, allocations: 44.04 MB / 0.5521 GB, free: 65.7 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01239/1.142, allocations: 3.454 MB / 0.5555 GB, free: 65.04 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002916/1.145, allocations: 1.593 MB / 0.557 GB, free: 65 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01365/1.159, allocations: 7.209 MB / 0.5641 GB, free: 62.93 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.552e-05/1.159, allocations: 47.56 kB / 0.5641 GB, free: 62.89 MB / 426.7 MB Notification: Performance of pre-optimization done (n=150): time 5.897e-06/1.159, allocations: 1.031 kB / 0.5641 GB, free: 62.89 MB / 426.7 MB Notification: Performance of matching and sorting (n=184): time 0.0738/1.232, allocations: 17.05 MB / 0.5808 GB, free: 60.24 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.607e-05/1.233, allocations: 203.2 kB / 0.581 GB, free: 60.02 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006581/1.239, allocations: 3.266 MB / 0.5841 GB, free: 59.7 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003443/1.24, allocations: 57.28 kB / 0.5842 GB, free: 59.67 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002006/1.242, allocations: 2.76 MB / 0.5869 GB, free: 58.16 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008632/1.242, allocations: 0.7032 MB / 0.5876 GB, free: 57.75 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005702/1.243, allocations: 116.7 kB / 0.5877 GB, free: 57.66 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004091/1.244, allocations: 0.5588 MB / 0.5882 GB, free: 57.24 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004098/1.248, allocations: 1.941 MB / 0.5901 GB, free: 56.59 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005953/1.254, allocations: 5.428 MB / 0.5954 GB, free: 51.2 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006148/1.26, allocations: 3.246 MB / 0.5986 GB, free: 50.12 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001072/1.26, allocations: 36.19 kB / 0.5986 GB, free: 50.12 MB / 426.7 MB Notification: Performance of matching and sorting (n=758) (initialization): time 0.02349/1.283, allocations: 8.489 MB / 0.6069 GB, free: 47.66 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.788e-05/1.284, allocations: 55.75 kB / 0.607 GB, free: 47.66 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001353/1.284, allocations: 130 kB / 0.6071 GB, free: 47.66 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007213/1.291, allocations: 1.547 MB / 0.6086 GB, free: 47.41 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00592/1.297, allocations: 1.29 MB / 0.6099 GB, free: 47.24 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01792/1.315, allocations: 8.939 MB / 0.6186 GB, free: 43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005942/1.321, allocations: 305.3 kB / 0.6189 GB, free: 42.89 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001194/1.322, allocations: 364.7 kB / 0.6192 GB, free: 42.85 MB / 426.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.001668/1.324, allocations: 0.5512 MB / 0.6198 GB, free: 42.34 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007594/1.325, allocations: 331.7 kB / 0.6201 GB, free: 42.01 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01068/1.335, allocations: 3.805 MB / 0.6238 GB, free: 39.05 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.786e-05/1.335, allocations: 20 kB / 0.6238 GB, free: 39.03 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-05/1.335, allocations: 8 kB / 0.6238 GB, free: 39.02 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-05/1.335, allocations: 7.453 kB / 0.6239 GB, free: 39.02 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02012/1.356, allocations: 7.999 MB / 0.6317 GB, free: 32.66 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-05/1.356, allocations: 0 / 0.6317 GB, free: 32.66 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0016/1.357, allocations: 236.2 kB / 0.6319 GB, free: 32.47 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005518/1.363, allocations: 1.229 MB / 0.6331 GB, free: 31.64 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003345/1.363, allocations: 34.02 kB / 0.6331 GB, free: 31.61 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01314/1.376, allocations: 7.281 MB / 0.6402 GB, free: 25.27 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.994e-06/1.376, allocations: 7.969 kB / 0.6402 GB, free: 25.26 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01353/1.39, allocations: 6.165 MB / 0.6463 GB, free: 20.01 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001763/1.392, allocations: 0.6042 MB / 0.6468 GB, free: 19.43 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007407/1.393, allocations: 28 kB / 0.6469 GB, free: 19.41 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002154/1.395, allocations: 89.97 kB / 0.647 GB, free: 19.34 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003907/1.395, allocations: 106.6 kB / 0.6471 GB, free: 19.28 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002007/1.395, allocations: 55.72 kB / 0.6471 GB, free: 19.23 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00451/1.4, allocations: 2.259 MB / 0.6493 GB, free: 17.25 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.13e-07/1.4, allocations: 4 kB / 0.6493 GB, free: 17.24 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006379/1.406, allocations: 0.974 MB / 0.6503 GB, free: 16.28 MB / 426.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.0005555/1.407, allocations: 171.2 kB / 0.6504 GB, free: 16.12 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.008927/1.416, allocations: 4.697 MB / 0.655 GB, free: 11.84 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.806e-06/1.416, allocations: 448 / 0.655 GB, free: 11.84 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002816/1.419, allocations: 1.557 MB / 0.6565 GB, free: 10.43 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002309/1.421, allocations: 357.8 kB / 0.6569 GB, free: 10.11 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01556/1.437, allocations: 7.189 MB / 0.6639 GB, free: 3.594 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004697/1.441, allocations: 3.038 MB / 0.6669 GB, free: 0.543 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001144/1.443, allocations: 263.4 kB / 0.6671 GB, free: 292 kB / 426.7 MB Notification: Performance of SimCode: time 1.768e-06/1.443, allocations: 0 / 0.6671 GB, free: 292 kB / 426.7 MB Notification: Performance of Templates: time 0.3496/1.792, allocations: 65.73 MB / 0.7313 GB, free: 96.15 MB / 442.7 MB