Running command: translateModel(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses") Notification: Performance of loadModel(ModelicaTest): time 2.707/2.707, allocations: 270 MB / 283.6 MB, free: 1.91 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.067e-05/3.082e-05, allocations: 4 kB / 348.4 MB, free: 2.793 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.331/0.331, allocations: 61.87 MB / 410.3 MB, free: 10.73 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1666/0.4977, allocations: 108.5 MB / 0.5066 GB, free: 14.1 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002181/0.4979, allocations: 75.95 kB / 0.5067 GB, free: 14.02 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5661/1.064, allocations: 77.78 MB / 0.5826 GB, free: 59.82 MB / 442.7 MB Notification: Performance of FrontEnd: time 3e-06/1.064, allocations: 0 / 0.5826 GB, free: 59.82 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001964/1.064, allocations: 75.98 kB / 0.5827 GB, free: 59.75 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.01004/1.074, allocations: 3.573 MB / 0.5862 GB, free: 56.12 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/1.074, allocations: 12.03 kB / 0.5862 GB, free: 56.11 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02198/1.096, allocations: 4.328 MB / 0.5904 GB, free: 51.77 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01289/1.109, allocations: 4.331 MB / 0.5947 GB, free: 47.37 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002895/1.11, allocations: 271.1 kB / 0.5949 GB, free: 47.11 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001542/1.111, allocations: 367.7 kB / 0.5953 GB, free: 46.75 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01969/1.131, allocations: 9.041 MB / 0.6041 GB, free: 36.69 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001962/1.131, allocations: 63.41 kB / 0.6042 GB, free: 36.63 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001084/1.132, allocations: 175.9 kB / 0.6043 GB, free: 36.46 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001436/1.134, allocations: 0.8922 MB / 0.6052 GB, free: 35.57 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01609/1.15, allocations: 7.038 MB / 0.6121 GB, free: 28.52 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05436/1.204, allocations: 44.13 MB / 0.6552 GB, free: 14.83 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01214/1.216, allocations: 3.473 MB / 0.6586 GB, free: 11.2 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003176/1.22, allocations: 1.582 MB / 0.6601 GB, free: 9.609 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01595/1.236, allocations: 7.175 MB / 0.6671 GB, free: 2.16 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.72e-05/1.236, allocations: 55.28 kB / 0.6672 GB, free: 2.098 MB / 474.7 MB Notification: Performance of pre-optimization done (n=151): time 5.884e-06/1.236, allocations: 4 kB / 0.6672 GB, free: 2.094 MB / 474.7 MB Notification: Performance of matching and sorting (n=188): time 0.06807/1.304, allocations: 16.18 MB / 0.683 GB, free: 1.781 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001543/1.304, allocations: 197.2 kB / 0.6832 GB, free: 1.547 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007654/1.312, allocations: 3.277 MB / 0.6864 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003523/1.312, allocations: 49.7 kB / 0.6864 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003399/1.316, allocations: 2.838 MB / 0.6892 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001208/1.317, allocations: 0.7096 MB / 0.6899 GB, free: 10.63 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007685/1.318, allocations: 116 kB / 0.69 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000646/1.318, allocations: 0.5539 MB / 0.6905 GB, free: 9.953 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004781/1.323, allocations: 1.937 MB / 0.6924 GB, free: 8.012 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008485/1.332, allocations: 5.44 MB / 0.6977 GB, free: 0.793 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007201/1.339, allocations: 3.238 MB / 0.7009 GB, free: 13.55 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001097/1.339, allocations: 36 kB / 0.7009 GB, free: 13.52 MB / 0.5105 GB Notification: Performance of matching and sorting (n=765) (initialization): time 0.02398/1.363, allocations: 8.085 MB / 0.7088 GB, free: 5.43 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001189/1.363, allocations: 56 kB / 0.7089 GB, free: 5.375 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001796/1.363, allocations: 128.1 kB / 0.709 GB, free: 5.25 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006962/1.37, allocations: 1.465 MB / 0.7104 GB, free: 3.781 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006149/1.376, allocations: 1.287 MB / 0.7117 GB, free: 2.492 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.326/1.703, allocations: 8.017 MB / 0.7195 GB, free: 132.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005619/1.708, allocations: 310 kB / 0.7198 GB, free: 132.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001127/1.709, allocations: 360.9 kB / 0.7202 GB, free: 132.8 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.001118/1.711, allocations: 0.55 MB / 0.7207 GB, free: 132.7 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007497/1.711, allocations: 331.3 kB / 0.721 GB, free: 132.7 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01107/1.722, allocations: 3.596 MB / 0.7245 GB, free: 132.6 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.379e-05/1.722, allocations: 29.28 kB / 0.7245 GB, free: 132.6 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-05/1.722, allocations: 6.625 kB / 0.7246 GB, free: 132.6 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.313e-05/1.723, allocations: 10.84 kB / 0.7246 GB, free: 132.6 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02019/1.743, allocations: 7.882 MB / 0.7323 GB, free: 132.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.726e-05/1.743, allocations: 0 / 0.7323 GB, free: 132.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001717/1.745, allocations: 242.1 kB / 0.7325 GB, free: 132.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005807/1.75, allocations: 1.23 MB / 0.7337 GB, free: 132.1 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003287/1.751, allocations: 33.28 kB / 0.7337 GB, free: 132.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01418/1.765, allocations: 7.288 MB / 0.7408 GB, free: 129.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.734e-06/1.765, allocations: 3.5 kB / 0.7408 GB, free: 129.5 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01407/1.779, allocations: 6.011 MB / 0.7467 GB, free: 127.3 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009667/1.78, allocations: 377 kB / 0.7471 GB, free: 127 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007511/1.781, allocations: 31.72 kB / 0.7471 GB, free: 127 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002257/1.783, allocations: 86.39 kB / 0.7472 GB, free: 127 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005216/1.784, allocations: 115.2 kB / 0.7473 GB, free: 127 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002366/1.784, allocations: 46.56 kB / 0.7473 GB, free: 127 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005237/1.789, allocations: 2.271 MB / 0.7496 GB, free: 126.2 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.408e-06/1.789, allocations: 3.281 kB / 0.7496 GB, free: 126.2 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006627/1.796, allocations: 0.9726 MB / 0.7505 GB, free: 126.1 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.0006139/1.797, allocations: 185.5 kB / 0.7507 GB, free: 125.9 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.009157/1.806, allocations: 4.685 MB / 0.7553 GB, free: 124.5 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/1.806, allocations: 0 / 0.7553 GB, free: 124.5 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003018/1.809, allocations: 1.565 MB / 0.7568 GB, free: 123.9 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002455/1.811, allocations: 363.2 kB / 0.7571 GB, free: 123.7 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01566/1.827, allocations: 6.795 MB / 0.7638 GB, free: 121.3 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005026/1.832, allocations: 3.039 MB / 0.7667 GB, free: 120.1 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.006209/1.838, allocations: 1.825 MB / 0.7685 GB, free: 120.1 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009456/1.839, allocations: 224.2 kB / 0.7687 GB, free: 119.9 MB / 0.5105 GB Notification: Performance of SimCode: time 2.658e-06/1.839, allocations: 0 / 0.7687 GB, free: 119.9 MB / 0.5105 GB Notification: Performance of Templates: time 0.08932/1.929, allocations: 34.71 MB / 0.8026 GB, free: 93.34 MB / 0.5105 GB