Running command: translateModel(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses") Notification: Performance of loadModel(ModelicaTest): time 2.504/2.504, allocations: 270 MB / 283.6 MB, free: 1.805 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.105e-05/3.12e-05, allocations: 4 kB / 348.4 MB, free: 2.719 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4444/0.4444, allocations: 61.89 MB / 410.3 MB, free: 10.75 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.168/0.6125, allocations: 108.5 MB / 0.5066 GB, free: 14.12 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000223/0.6127, allocations: 75.97 kB / 0.5067 GB, free: 14.05 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5562/1.169, allocations: 77.77 MB / 0.5826 GB, free: 59.87 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.407e-06/1.169, allocations: 0 / 0.5826 GB, free: 59.87 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002005/1.169, allocations: 75.98 kB / 0.5827 GB, free: 59.79 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1319 * Number of variables: 1319 Notification: Performance of Generate backend data structure: time 0.01073/1.18, allocations: 3.573 MB / 0.5862 GB, free: 56.16 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/1.18, allocations: 12.03 kB / 0.5862 GB, free: 56.15 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02169/1.202, allocations: 4.332 MB / 0.5904 GB, free: 51.8 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01314/1.215, allocations: 4.331 MB / 0.5946 GB, free: 47.41 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003038/1.215, allocations: 275.1 kB / 0.5949 GB, free: 47.14 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001542/1.217, allocations: 359.8 kB / 0.5953 GB, free: 46.79 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01997/1.237, allocations: 9.048 MB / 0.6041 GB, free: 36.73 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002142/1.237, allocations: 63.45 kB / 0.6041 GB, free: 36.66 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001242/1.238, allocations: 179.9 kB / 0.6043 GB, free: 36.49 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001364/1.24, allocations: 0.8844 MB / 0.6052 GB, free: 35.61 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01587/1.256, allocations: 7.038 MB / 0.6121 GB, free: 28.56 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05076/1.306, allocations: 44.13 MB / 0.6552 GB, free: 14.87 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01158/1.318, allocations: 3.464 MB / 0.6585 GB, free: 11.25 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003084/1.321, allocations: 1.594 MB / 0.6601 GB, free: 9.645 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01587/1.337, allocations: 7.171 MB / 0.6671 GB, free: 2.199 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.252e-05/1.337, allocations: 47.28 kB / 0.6671 GB, free: 2.145 MB / 474.7 MB Notification: Performance of pre-optimization done (n=151): time 5.766e-06/1.337, allocations: 0 / 0.6671 GB, free: 2.145 MB / 474.7 MB Notification: Performance of matching and sorting (n=188): time 0.0655/1.403, allocations: 16.19 MB / 0.6829 GB, free: 1.828 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001457/1.403, allocations: 201.2 kB / 0.6831 GB, free: 1.59 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007757/1.411, allocations: 3.273 MB / 0.6863 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003557/1.411, allocations: 53.7 kB / 0.6864 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003329/1.414, allocations: 2.842 MB / 0.6892 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001155/1.416, allocations: 0.7095 MB / 0.6899 GB, free: 10.67 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006006/1.416, allocations: 116 kB / 0.69 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0005601/1.417, allocations: 0.5539 MB / 0.6905 GB, free: 9.992 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004762/1.422, allocations: 1.929 MB / 0.6924 GB, free: 8.059 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008724/1.43, allocations: 5.444 MB / 0.6977 GB, free: 0.8359 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007166/1.438, allocations: 3.238 MB / 0.7009 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001072/1.438, allocations: 39.94 kB / 0.7009 GB, free: 13.56 MB / 0.5105 GB Notification: Performance of matching and sorting (n=765) (initialization): time 0.02388/1.462, allocations: 8.078 MB / 0.7088 GB, free: 5.473 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001192/1.462, allocations: 62.03 kB / 0.7089 GB, free: 5.414 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001832/1.462, allocations: 124.2 kB / 0.709 GB, free: 5.293 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006917/1.469, allocations: 1.474 MB / 0.7104 GB, free: 3.816 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005933/1.475, allocations: 1.283 MB / 0.7117 GB, free: 2.531 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.334/1.809, allocations: 8.023 MB / 0.7195 GB, free: 132.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01107/1.82, allocations: 314.7 kB / 0.7198 GB, free: 132.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001881/1.822, allocations: 355.4 kB / 0.7201 GB, free: 132.1 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 572 * Number of states: 0 () * Number of discrete variables: 36 (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.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 (697): * Single equations (assignments): 693 * 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%) 44} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001948/1.824, allocations: 0.5461 MB / 0.7207 GB, free: 132 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001378/1.825, allocations: 342.2 kB / 0.721 GB, free: 132 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02001/1.845, allocations: 3.594 MB / 0.7245 GB, free: 131.9 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.848e-05/1.846, allocations: 18.31 kB / 0.7245 GB, free: 131.9 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.988e-05/1.846, allocations: 6.656 kB / 0.7245 GB, free: 131.9 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.302e-05/1.846, allocations: 10.72 kB / 0.7245 GB, free: 131.9 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03628/1.882, allocations: 7.881 MB / 0.7322 GB, free: 131.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.712e-05/1.882, allocations: 0 / 0.7322 GB, free: 131.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001586/1.884, allocations: 239.8 kB / 0.7325 GB, free: 131.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006164/1.89, allocations: 1.231 MB / 0.7337 GB, free: 131.4 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003311/1.89, allocations: 36.48 kB / 0.7337 GB, free: 131.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01388/1.904, allocations: 7.291 MB / 0.7408 GB, free: 128.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.861e-06/1.904, allocations: 0 / 0.7408 GB, free: 128.7 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01395/1.918, allocations: 6.012 MB / 0.7467 GB, free: 126.5 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009359/1.919, allocations: 380.3 kB / 0.7471 GB, free: 126.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006385/1.92, allocations: 30.72 kB / 0.7471 GB, free: 126.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001922/1.922, allocations: 88.3 kB / 0.7472 GB, free: 126.2 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003883/1.922, allocations: 108.7 kB / 0.7473 GB, free: 126.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001917/1.922, allocations: 46.84 kB / 0.7473 GB, free: 126.2 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.004559/1.927, allocations: 2.271 MB / 0.7495 GB, free: 125.4 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.825e-06/1.927, allocations: 0 / 0.7495 GB, free: 125.4 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006257/1.933, allocations: 0.9751 MB / 0.7505 GB, free: 125.3 MB / 0.5105 GB 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 (130): * Single equations (assignments): 126 * 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%) 36} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005516/1.934, allocations: 183.6 kB / 0.7507 GB, free: 125.2 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.008771/1.943, allocations: 4.68 MB / 0.7552 GB, free: 123.7 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.83e-06/1.943, allocations: 0 / 0.7552 GB, free: 123.7 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002807/1.945, allocations: 1.569 MB / 0.7568 GB, free: 123.1 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00213/1.948, allocations: 363.1 kB / 0.7571 GB, free: 122.9 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01486/1.962, allocations: 6.801 MB / 0.7638 GB, free: 120.5 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004801/1.967, allocations: 3.051 MB / 0.7667 GB, free: 119.3 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.006223/1.974, allocations: 1.821 MB / 0.7685 GB, free: 119.3 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009412/1.975, allocations: 216.8 kB / 0.7687 GB, free: 119.1 MB / 0.5105 GB Notification: Performance of SimCode: time 1.92e-06/1.975, allocations: 0 / 0.7687 GB, free: 119.1 MB / 0.5105 GB Notification: Performance of Templates: time 0.0928/2.067, allocations: 34.72 MB / 0.8026 GB, free: 92.58 MB / 0.5105 GB