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.2_ModelicaTest.MultiBody.Forces.WorldForces2") Notification: Performance of loadModel(ModelicaTest): time 2.185/2.185, allocations: 235 MB / 247.2 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.34e-05/3.348e-05, allocations: 7.938 kB / 304.9 MB, free: 5.168 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4001/0.4001, allocations: 54.85 MB / 359.8 MB, free: 3.137 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1577/0.5579, allocations: 99.48 MB / 459.3 MB, free: 13.42 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000219/0.5582, allocations: 76.75 kB / 459.3 MB, free: 13.34 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.761/1.319, allocations: 137 MB / 0.5824 GB, free: 97.38 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.16e-06/1.319, allocations: 0 / 0.5824 GB, free: 97.38 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004007/1.32, allocations: 132.2 kB / 0.5825 GB, free: 97.38 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2367 * Number of variables: 2367 Notification: Performance of Generate backend data structure: time 0.0209/1.341, allocations: 6.633 MB / 0.589 GB, free: 93.53 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/1.341, allocations: 10.72 kB / 0.589 GB, free: 93.53 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.049/1.39, allocations: 9.49 MB / 0.5983 GB, free: 88.69 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02373/1.413, allocations: 8.733 MB / 0.6068 GB, free: 81.29 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005373/1.414, allocations: 0.507 MB / 0.6073 GB, free: 80.82 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002743/1.417, allocations: 0.6709 MB / 0.608 GB, free: 80.19 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03673/1.454, allocations: 15.9 MB / 0.6235 GB, free: 62.95 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003411/1.454, allocations: 99.11 kB / 0.6236 GB, free: 62.85 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001951/1.456, allocations: 328.8 kB / 0.6239 GB, free: 62.57 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002356/1.458, allocations: 1.453 MB / 0.6253 GB, free: 61.11 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03017/1.488, allocations: 12.38 MB / 0.6374 GB, free: 48.72 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5529/2.041, allocations: 70.69 MB / 0.7064 GB, free: 55.1 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01885/2.06, allocations: 5.811 MB / 0.7121 GB, free: 54.41 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005566/2.066, allocations: 3.028 MB / 0.7151 GB, free: 54.36 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00023/2.066, allocations: 49.2 kB / 0.7151 GB, free: 54.36 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.385e-05/2.066, allocations: 62.25 kB / 0.7152 GB, free: 54.32 MB / 474.7 MB Notification: Performance of pre-optimization done (n=242): time 7.654e-06/2.066, allocations: 0 / 0.7152 GB, free: 54.32 MB / 474.7 MB Notification: Performance of matching and sorting (n=260): time 0.06218/2.128, allocations: 18.97 MB / 0.7337 GB, free: 49.34 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.938e-05/2.129, allocations: 262.1 kB / 0.734 GB, free: 49.06 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01255/2.141, allocations: 6.078 MB / 0.7399 GB, free: 48.55 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005129/2.142, allocations: 61.55 kB / 0.74 GB, free: 48.52 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004097/2.146, allocations: 4.87 MB / 0.7447 GB, free: 46 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001307/2.147, allocations: 1.006 MB / 0.7457 GB, free: 45.44 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008192/2.148, allocations: 168.8 kB / 0.7458 GB, free: 45.44 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0005374/2.149, allocations: 0.6642 MB / 0.7465 GB, free: 45.12 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006079/2.155, allocations: 2.787 MB / 0.7492 GB, free: 45.09 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01289/2.168, allocations: 7.862 MB / 0.7569 GB, free: 37.91 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008599/2.176, allocations: 4.668 MB / 0.7615 GB, free: 36.58 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001689/2.176, allocations: 51.75 kB / 0.7615 GB, free: 36.58 MB / 474.7 MB Notification: Performance of matching and sorting (n=1096) (initialization): time 0.02498/2.201, allocations: 10.55 MB / 0.7718 GB, free: 33.7 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000139/2.202, allocations: 84.03 kB / 0.7719 GB, free: 33.7 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002386/2.202, allocations: 182 kB / 0.7721 GB, free: 33.7 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002562/2.204, allocations: 0.8037 MB / 0.7728 GB, free: 33.55 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008653/2.213, allocations: 1.935 MB / 0.7747 GB, free: 33.31 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02149/2.235, allocations: 8.29 MB / 0.7828 GB, free: 27.52 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02/2.255, allocations: 456.4 kB / 0.7833 GB, free: 27.36 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003369/2.258, allocations: 0.5042 MB / 0.7838 GB, free: 27.3 MB / 474.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.004152/2.262, allocations: 0.7576 MB / 0.7845 GB, free: 26.69 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01484/2.277, allocations: 0.5884 MB / 0.7851 GB, free: 26.36 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02232/2.3, allocations: 4.265 MB / 0.7892 GB, free: 24.74 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.737e-05/2.3, allocations: 31.62 kB / 0.7893 GB, free: 24.74 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.498e-05/2.3, allocations: 8.281 kB / 0.7893 GB, free: 24.74 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.774e-05/2.3, allocations: 17.84 kB / 0.7893 GB, free: 24.74 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02716/2.327, allocations: 11.16 MB / 0.8002 GB, free: 16.96 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.085e-05/2.327, allocations: 0 / 0.8002 GB, free: 16.96 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002863/2.33, allocations: 411.5 kB / 0.8006 GB, free: 16.63 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001982/2.332, allocations: 0.5015 MB / 0.8011 GB, free: 16.25 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004849/2.332, allocations: 48.06 kB / 0.8011 GB, free: 16.21 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009171/2.342, allocations: 7.383 MB / 0.8083 GB, free: 9.082 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.609e-06/2.342, allocations: 0 / 0.8083 GB, free: 9.082 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01364/2.355, allocations: 7.618 MB / 0.8158 GB, free: 2.211 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003371/2.359, allocations: 0.9959 MB / 0.8167 GB, free: 1.273 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001658/2.36, allocations: 40 kB / 0.8168 GB, free: 1.234 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004089/2.365, allocations: 146.2 kB / 0.8169 GB, free: 1.137 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007524/2.365, allocations: 154.3 kB / 0.8171 GB, free: 1.043 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002688/2.366, allocations: 63.14 kB / 0.8171 GB, free: 0.9844 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.02555/2.391, allocations: 5.146 MB / 0.8222 GB, free: 15.12 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.211e-06/2.391, allocations: 0 / 0.8222 GB, free: 15.12 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01076/2.402, allocations: 1.521 MB / 0.8236 GB, free: 13.61 MB / 490.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.0008423/2.403, allocations: 183.4 kB / 0.8238 GB, free: 13.43 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0156/2.418, allocations: 6.842 MB / 0.8305 GB, free: 7.203 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.47e-06/2.419, allocations: 0 / 0.8305 GB, free: 7.203 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005058/2.424, allocations: 2.357 MB / 0.8328 GB, free: 5.031 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005316/2.429, allocations: 0.7601 MB / 0.8335 GB, free: 4.387 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03206/2.461, allocations: 12.01 MB / 0.8453 GB, free: 9.695 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01233/2.473, allocations: 5.023 MB / 0.8502 GB, free: 5.203 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.01101/2.484, allocations: 2.761 MB / 0.8529 GB, free: 2.457 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002041/2.487, allocations: 387.4 kB / 0.8532 GB, free: 2.078 MB / 0.4948 GB Notification: Performance of SimCode: time 1.624e-06/2.487, allocations: 7.938 kB / 0.8532 GB, free: 2.07 MB / 0.4948 GB Notification: Performance of Templates: time 0.4571/2.944, allocations: 53.66 MB / 0.9056 GB, free: 170.3 MB / 0.5417 GB