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_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses") Notification: Performance of loadModel(ModelicaTest): time 1.893/1.893, allocations: 209.3 MB / 221.5 MB, free: 7.73 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.109e-05/3.128e-05, allocations: 4 kB / 273.1 MB, free: 3.176 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08938/0.08943, allocations: 48.7 MB / 321.8 MB, free: 2.379 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3617/0.4511, allocations: 92.94 MB / 414.7 MB, free: 2.332 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002074/0.4514, allocations: 81.14 kB / 414.8 MB, free: 2.289 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2977/0.7491, allocations: 76.28 MB / 491.1 MB, free: 13.11 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.245e-06/0.7491, allocations: 3.938 kB / 491.1 MB, free: 13.1 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002257/0.7494, allocations: 72 kB / 491.2 MB, free: 13.03 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.01172/0.7611, allocations: 3.573 MB / 494.7 MB, free: 9.398 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/0.7612, allocations: 12.02 kB / 494.7 MB, free: 9.387 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02329/0.7845, allocations: 4.336 MB / 499.1 MB, free: 5.039 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.015/0.7995, allocations: 4.46 MB / 0.4917 GB, free: 0.5156 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000396/0.7999, allocations: 271.1 kB / 0.492 GB, free: 256 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00167/0.8016, allocations: 367.8 kB / 0.4923 GB, free: 15.89 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02375/0.8254, allocations: 9.02 MB / 0.5012 GB, free: 5.859 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002337/0.8257, allocations: 59.41 kB / 0.5012 GB, free: 5.801 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001333/0.827, allocations: 187.8 kB / 0.5014 GB, free: 5.617 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001824/0.8289, allocations: 0.8882 MB / 0.5023 GB, free: 4.727 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01927/0.8482, allocations: 7.034 MB / 0.5091 GB, free: 13.68 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2987/1.147, allocations: 44.02 MB / 0.5521 GB, free: 65.76 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01142/1.158, allocations: 3.468 MB / 0.5555 GB, free: 65.09 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002897/1.161, allocations: 1.593 MB / 0.5571 GB, free: 65.05 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01396/1.175, allocations: 7.197 MB / 0.5641 GB, free: 62.99 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.159e-05/1.175, allocations: 49.53 kB / 0.5641 GB, free: 62.95 MB / 426.7 MB Notification: Performance of pre-optimization done (n=150): time 5.474e-06/1.175, allocations: 2.719 kB / 0.5641 GB, free: 62.95 MB / 426.7 MB Notification: Performance of matching and sorting (n=184): time 0.07741/1.253, allocations: 17.06 MB / 0.5808 GB, free: 60.3 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.976e-05/1.253, allocations: 198.5 kB / 0.581 GB, free: 60.08 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006769/1.26, allocations: 3.27 MB / 0.5842 GB, free: 59.75 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003355/1.26, allocations: 49.66 kB / 0.5842 GB, free: 59.72 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002007/1.262, allocations: 2.821 MB / 0.587 GB, free: 58.21 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008163/1.263, allocations: 0.7056 MB / 0.5877 GB, free: 57.7 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004696/1.264, allocations: 120.1 kB / 0.5878 GB, free: 57.61 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003276/1.264, allocations: 0.5512 MB / 0.5883 GB, free: 57.2 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003895/1.268, allocations: 1.936 MB / 0.5902 GB, free: 56.55 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006123/1.274, allocations: 5.434 MB / 0.5955 GB, free: 51.16 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006035/1.28, allocations: 3.244 MB / 0.5987 GB, free: 50.1 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.356e-05/1.28, allocations: 38 kB / 0.5987 GB, free: 50.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=758) (initialization): time 0.02359/1.304, allocations: 8.588 MB / 0.6071 GB, free: 47.57 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001003/1.304, allocations: 62.59 kB / 0.6072 GB, free: 47.56 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001381/1.304, allocations: 130.9 kB / 0.6073 GB, free: 47.56 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007209/1.311, allocations: 1.545 MB / 0.6088 GB, free: 47.31 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005857/1.317, allocations: 1.283 MB / 0.6101 GB, free: 47.15 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01775/1.335, allocations: 8.941 MB / 0.6188 GB, free: 42.91 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005734/1.341, allocations: 322.6 kB / 0.6191 GB, free: 42.79 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001177/1.342, allocations: 359.1 kB / 0.6194 GB, free: 42.69 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.001016/1.343, allocations: 0.5404 MB / 0.62 GB, free: 42.14 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007215/1.344, allocations: 327.7 kB / 0.6203 GB, free: 41.82 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01073/1.354, allocations: 3.802 MB / 0.624 GB, free: 38.86 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.861e-05/1.355, allocations: 29.58 kB / 0.624 GB, free: 38.84 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.789e-05/1.355, allocations: 8 kB / 0.624 GB, free: 38.83 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.383e-05/1.355, allocations: 7.875 kB / 0.624 GB, free: 38.83 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02005/1.375, allocations: 7.994 MB / 0.6318 GB, free: 32.47 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.614e-05/1.375, allocations: 4 kB / 0.6318 GB, free: 32.47 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001615/1.376, allocations: 244.3 kB / 0.6321 GB, free: 32.27 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005602/1.382, allocations: 1.239 MB / 0.6333 GB, free: 31.43 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003556/1.382, allocations: 31.89 kB / 0.6333 GB, free: 31.41 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01353/1.396, allocations: 7.279 MB / 0.6404 GB, free: 25.07 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.035e-06/1.396, allocations: 0 / 0.6404 GB, free: 25.07 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01391/1.41, allocations: 6.163 MB / 0.6464 GB, free: 19.82 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001783/1.412, allocations: 0.6023 MB / 0.647 GB, free: 19.25 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007489/1.413, allocations: 28 kB / 0.6471 GB, free: 19.22 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002314/1.415, allocations: 101.1 kB / 0.6472 GB, free: 19.15 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004937/1.415, allocations: 109.3 kB / 0.6473 GB, free: 19.08 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002112/1.416, allocations: 52.03 kB / 0.6473 GB, free: 19.03 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.004678/1.42, allocations: 2.256 MB / 0.6495 GB, free: 17.05 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.281e-06/1.42, allocations: 0 / 0.6495 GB, free: 17.05 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006353/1.427, allocations: 0.9696 MB / 0.6505 GB, free: 16.09 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.0005718/1.427, allocations: 174 kB / 0.6506 GB, free: 15.93 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.008808/1.436, allocations: 4.694 MB / 0.6552 GB, free: 11.65 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.96e-06/1.436, allocations: 0 / 0.6552 GB, free: 11.65 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002876/1.439, allocations: 1.562 MB / 0.6567 GB, free: 10.23 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002337/1.441, allocations: 363.8 kB / 0.6571 GB, free: 9.914 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01481/1.456, allocations: 6.769 MB / 0.6637 GB, free: 3.734 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005091/1.461, allocations: 3.038 MB / 0.6667 GB, free: 0.6836 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.006531/1.468, allocations: 1.811 MB / 0.6684 GB, free: 14.86 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001069/1.469, allocations: 227.3 kB / 0.6686 GB, free: 14.64 MB / 442.7 MB Notification: Performance of SimCode: time 1.597e-06/1.469, allocations: 0 / 0.6686 GB, free: 14.64 MB / 442.7 MB Notification: Performance of Templates: time 0.3472/1.816, allocations: 35.26 MB / 0.7031 GB, free: 104.2 MB / 442.7 MB