Running command: translateModel(ModelicaTest.MultiBody.Forces.WorldForces2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces2") Notification: Performance of loadModel(ModelicaTest): time 1.923/1.923, allocations: 209.3 MB / 221.5 MB, free: 7.738 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.454e-05/3.474e-05, allocations: 4 kB / 273.1 MB, free: 3.172 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09146/0.09152, allocations: 48.69 MB / 321.8 MB, free: 2.375 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4048/0.4963, allocations: 92.68 MB / 414.5 MB, free: 2.66 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001867/0.4966, allocations: 78.02 kB / 414.5 MB, free: 2.621 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8516/1.348, allocations: 136.9 MB / 0.5385 GB, free: 70.66 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.386e-06/1.348, allocations: 1.375 kB / 0.5385 GB, free: 70.66 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004519/1.349, allocations: 140.5 kB / 0.5386 GB, free: 70.66 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2364 * Number of variables: 2364 Notification: Performance of Generate backend data structure: time 0.02273/1.371, allocations: 6.634 MB / 0.5451 GB, free: 68.05 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.363e-05/1.372, allocations: 8.75 kB / 0.5451 GB, free: 68.05 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04769/1.419, allocations: 9.495 MB / 0.5544 GB, free: 67.58 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02451/1.444, allocations: 8.734 MB / 0.5629 GB, free: 66.67 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000591/1.444, allocations: 0.5061 MB / 0.5634 GB, free: 66.66 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002923/1.447, allocations: 0.6674 MB / 0.5641 GB, free: 66.65 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03918/1.487, allocations: 15.89 MB / 0.5796 GB, free: 62.74 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000419/1.487, allocations: 96.38 kB / 0.5797 GB, free: 62.73 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002401/1.489, allocations: 327.1 kB / 0.58 GB, free: 62.73 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002594/1.492, allocations: 1.463 MB / 0.5814 GB, free: 62.72 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03083/1.523, allocations: 12.37 MB / 0.5935 GB, free: 61.69 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08251/1.606, allocations: 70.67 MB / 0.6625 GB, free: 3.688 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01816/1.624, allocations: 5.837 MB / 0.6682 GB, free: 14.79 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00595/1.63, allocations: 3.035 MB / 0.6712 GB, free: 12.01 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001939/1.63, allocations: 52.91 kB / 0.6712 GB, free: 11.98 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.096e-05/1.63, allocations: 71.94 kB / 0.6713 GB, free: 11.9 MB / 442.7 MB Notification: Performance of pre-optimization done (n=242): time 8.048e-06/1.63, allocations: 0 / 0.6713 GB, free: 11.9 MB / 442.7 MB Notification: Performance of matching and sorting (n=260): time 0.3309/1.961, allocations: 18.95 MB / 0.6898 GB, free: 78.49 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.772e-05/1.961, allocations: 265.8 kB / 0.6901 GB, free: 78.21 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01475/1.976, allocations: 6.084 MB / 0.696 GB, free: 77.7 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005037/1.976, allocations: 66.3 kB / 0.6961 GB, free: 77.67 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00438/1.981, allocations: 4.866 MB / 0.7008 GB, free: 75.71 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001411/1.982, allocations: 1.004 MB / 0.7018 GB, free: 75.27 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007336/1.983, allocations: 164.2 kB / 0.702 GB, free: 75.27 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000605/1.984, allocations: 0.6664 MB / 0.7026 GB, free: 74.94 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006486/1.99, allocations: 2.786 MB / 0.7053 GB, free: 74.92 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008624/1.999, allocations: 7.866 MB / 0.713 GB, free: 68.32 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008746/2.008, allocations: 4.66 MB / 0.7176 GB, free: 68.3 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001553/2.008, allocations: 54.88 kB / 0.7176 GB, free: 68.3 MB / 442.7 MB Notification: Performance of matching and sorting (n=1096) (initialization): time 0.02459/2.032, allocations: 10.55 MB / 0.7279 GB, free: 67.66 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001357/2.033, allocations: 82.78 kB / 0.728 GB, free: 67.66 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002002/2.033, allocations: 179.6 kB / 0.7282 GB, free: 67.66 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002386/2.035, allocations: 0.8017 MB / 0.729 GB, free: 67.64 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008302/2.043, allocations: 1.928 MB / 0.7308 GB, free: 67.47 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0112/2.055, allocations: 8.305 MB / 0.739 GB, free: 63.3 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009384/2.064, allocations: 464.8 kB / 0.7394 GB, free: 63.28 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00185/2.066, allocations: 0.5008 MB / 0.7399 GB, free: 63.28 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 828 * Number of states: 0 () * Number of discrete variables: 54 (worldForce2.color[3],worldForce2.color[2],worldForce2.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],worldForce1.color[3],worldForce1.color[2],worldForce1.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldForce.color[3],worldForce.color[2],worldForce.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.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 (1033): * Single equations (assignments): 1027 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00245/2.069, allocations: 0.7611 MB / 0.7406 GB, free: 62.95 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001453/2.07, allocations: 0.5875 MB / 0.7412 GB, free: 62.62 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009695/2.08, allocations: 4.261 MB / 0.7454 GB, free: 61.44 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.664e-05/2.08, allocations: 29.83 kB / 0.7454 GB, free: 61.44 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.332e-05/2.08, allocations: 6.781 kB / 0.7454 GB, free: 61.44 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.751e-05/2.08, allocations: 16.16 kB / 0.7454 GB, free: 61.44 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02835/2.108, allocations: 11.16 MB / 0.7563 GB, free: 57.33 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.306e-05/2.108, allocations: 0 / 0.7563 GB, free: 57.33 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002752/2.111, allocations: 409.4 kB / 0.7567 GB, free: 57.3 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001961/2.113, allocations: 0.5044 MB / 0.7572 GB, free: 57.17 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004823/2.114, allocations: 43.48 kB / 0.7572 GB, free: 57.14 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009294/2.123, allocations: 7.392 MB / 0.7644 GB, free: 51.68 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.447e-06/2.123, allocations: 5.25 kB / 0.7645 GB, free: 51.68 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01404/2.137, allocations: 7.617 MB / 0.7719 GB, free: 48.31 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003482/2.141, allocations: 0.9999 MB / 0.7729 GB, free: 47.71 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001842/2.142, allocations: 41.28 kB / 0.7729 GB, free: 47.68 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00425/2.147, allocations: 145.3 kB / 0.773 GB, free: 47.65 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007268/2.147, allocations: 142.9 kB / 0.7732 GB, free: 47.63 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002771/2.148, allocations: 69.3 kB / 0.7733 GB, free: 47.62 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.01018/2.158, allocations: 4.332 MB / 0.7775 GB, free: 46.13 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.383e-06/2.158, allocations: 0 / 0.7775 GB, free: 46.13 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01035/2.168, allocations: 1.518 MB / 0.779 GB, free: 45.96 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Revolute3.phi,Revolute3.w,Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (215): * Single equations (assignments): 209 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 10,(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007997/2.169, allocations: 194.2 kB / 0.7791 GB, free: 45.82 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0133/2.183, allocations: 6.841 MB / 0.7858 GB, free: 43.03 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.796e-06/2.183, allocations: 4 kB / 0.7858 GB, free: 43.03 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004192/2.187, allocations: 2.354 MB / 0.7881 GB, free: 40.86 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005281/2.192, allocations: 0.7511 MB / 0.7889 GB, free: 40.23 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02838/2.221, allocations: 12.01 MB / 0.8006 GB, free: 29.56 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01062/2.231, allocations: 5.022 MB / 0.8055 GB, free: 25.88 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.01037/2.242, allocations: 2.754 MB / 0.8082 GB, free: 24.11 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00196/2.244, allocations: 389 kB / 0.8086 GB, free: 23.74 MB / 442.7 MB Notification: Performance of SimCode: time 2.167e-06/2.244, allocations: 0 / 0.8086 GB, free: 23.74 MB / 442.7 MB Notification: Performance of Templates: time 0.4213/2.665, allocations: 53.67 MB / 0.861 GB, free: 78.73 MB / 458.7 MB