Running command: translateModel(ModelicaTest.MultiBody.Forces.WorldForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces") Notification: Performance of loadModel(ModelicaTest): time 1.848/1.848, allocations: 209.3 MB / 221.5 MB, free: 7.734 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.504e-05/3.525e-05, allocations: 8 kB / 273.1 MB, free: 3.16 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08794/0.088, allocations: 48.7 MB / 321.8 MB, free: 2.367 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4023/0.4903, allocations: 95.71 MB / 417.5 MB, free: 15.63 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002008/0.4906, allocations: 76.27 kB / 417.6 MB, free: 15.59 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9198/1.41, allocations: 151.7 MB / 0.556 GB, free: 71.25 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.08e-06/1.41, allocations: 0 / 0.556 GB, free: 71.25 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.000434/1.411, allocations: 155 kB / 0.5561 GB, free: 71.25 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: 2698 * Number of variables: 2698 Notification: Performance of Generate backend data structure: time 0.02372/1.435, allocations: 7.383 MB / 0.5633 GB, free: 68.37 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/1.435, allocations: 13.59 kB / 0.5633 GB, free: 68.37 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08845/1.523, allocations: 9.625 MB / 0.5727 GB, free: 67.84 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03114/1.554, allocations: 9.112 MB / 0.5816 GB, free: 66.87 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006316/1.555, allocations: 0.5728 MB / 0.5822 GB, free: 66.86 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003111/1.558, allocations: 0.7696 MB / 0.5829 GB, free: 66.85 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04436/1.603, allocations: 17.92 MB / 0.6004 GB, free: 61.38 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004238/1.603, allocations: 102.5 kB / 0.6005 GB, free: 61.38 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002469/1.606, allocations: 370.3 kB / 0.6009 GB, free: 61.17 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002962/1.609, allocations: 1.7 MB / 0.6026 GB, free: 60.88 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03524/1.644, allocations: 14.09 MB / 0.6163 GB, free: 53.97 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4166/2.06, allocations: 80.76 MB / 0.6952 GB, free: 30.88 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02303/2.084, allocations: 7.105 MB / 0.7021 GB, free: 30.16 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006929/2.091, allocations: 4.062 MB / 0.7061 GB, free: 30.11 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002749/2.091, allocations: 62.41 kB / 0.7061 GB, free: 30.11 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.681e-05/2.091, allocations: 74.31 kB / 0.7062 GB, free: 30.07 MB / 442.7 MB Notification: Performance of pre-optimization done (n=307): time 8.347e-06/2.091, allocations: 0 / 0.7062 GB, free: 30.07 MB / 442.7 MB Notification: Performance of matching and sorting (n=340): time 0.09393/2.185, allocations: 27.35 MB / 0.7329 GB, free: 23.41 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001249/2.185, allocations: 290.5 kB / 0.7332 GB, free: 23.1 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01587/2.201, allocations: 6.53 MB / 0.7396 GB, free: 22.56 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007063/2.202, allocations: 73.33 kB / 0.7397 GB, free: 22.53 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004473/2.206, allocations: 5.349 MB / 0.7449 GB, free: 19.99 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001738/2.208, allocations: 1.283 MB / 0.7461 GB, free: 19.25 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001113/2.209, allocations: 197.1 kB / 0.7463 GB, free: 19.25 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0006573/2.21, allocations: 0.7097 MB / 0.747 GB, free: 18.92 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007576/2.217, allocations: 3.608 MB / 0.7505 GB, free: 18.9 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01091/2.228, allocations: 9.128 MB / 0.7595 GB, free: 11.74 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01094/2.239, allocations: 5.708 MB / 0.765 GB, free: 10.92 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000183/2.24, allocations: 58.28 kB / 0.7651 GB, free: 10.92 MB / 442.7 MB Notification: Performance of matching and sorting (n=1247) (initialization): time 0.03198/2.272, allocations: 13.19 MB / 0.778 GB, free: 7.402 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001569/2.272, allocations: 87.41 kB / 0.778 GB, free: 7.402 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002437/2.272, allocations: 197.6 kB / 0.7782 GB, free: 7.402 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004361/2.276, allocations: 1.372 MB / 0.7796 GB, free: 7.164 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01028/2.287, allocations: 2.245 MB / 0.7818 GB, free: 6.984 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01717/2.304, allocations: 11.24 MB / 0.7927 GB, free: 13.79 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01073/2.315, allocations: 0.5327 MB / 0.7933 GB, free: 13.32 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002298/2.317, allocations: 0.5606 MB / 0.7938 GB, free: 12.78 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 899 * Number of states: 0 () * Number of discrete variables: 60 (forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[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],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldTorque1.color[3],worldTorque1.color[2],worldTorque1.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],fixed2.color[3],fixed2.color[2],fixed2.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 (1172): * Single equations (assignments): 1166 * 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%) 14,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003076/2.32, allocations: 0.845 MB / 0.7946 GB, free: 11.94 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001803/2.322, allocations: 0.6402 MB / 0.7953 GB, free: 11.29 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01729/2.339, allocations: 6.595 MB / 0.8017 GB, free: 5.875 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.134e-05/2.339, allocations: 36 kB / 0.8017 GB, free: 5.84 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.658e-05/2.339, allocations: 15.25 kB / 0.8018 GB, free: 5.828 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.636e-05/2.34, allocations: 18.25 kB / 0.8018 GB, free: 5.824 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04241/2.382, allocations: 15.38 MB / 0.8168 GB, free: 9.383 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.552e-05/2.382, allocations: 4 kB / 0.8168 GB, free: 9.379 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004259/2.386, allocations: 0.5803 MB / 0.8174 GB, free: 8.914 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004071/2.39, allocations: 1.055 MB / 0.8184 GB, free: 8.16 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008309/2.391, allocations: 59.52 kB / 0.8185 GB, free: 8.105 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01844/2.41, allocations: 10.26 MB / 0.8285 GB, free: 14.66 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.255e-06/2.41, allocations: 4 kB / 0.8285 GB, free: 14.66 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02444/2.434, allocations: 11.12 MB / 0.8393 GB, free: 4.777 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004431/2.439, allocations: 1.216 MB / 0.8405 GB, free: 3.645 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002019/2.441, allocations: 56.22 kB / 0.8406 GB, free: 3.594 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005096/2.446, allocations: 206.1 kB / 0.8408 GB, free: 3.461 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001048/2.447, allocations: 195.7 kB / 0.841 GB, free: 3.34 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004137/2.447, allocations: 88.62 kB / 0.841 GB, free: 3.258 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.01239/2.46, allocations: 4.629 MB / 0.8456 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.306e-06/2.46, allocations: 0 / 0.8456 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01201/2.472, allocations: 1.791 MB / 0.8473 GB, free: 13.42 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,Revolute2.phi,Revolute2.w,Revolute1.phi,Revolute1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (286): * Single equations (assignments): 280 * 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 {(4,75.0%) 18,(1,100.0%) 11,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001043/2.473, allocations: 210.2 kB / 0.8475 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01937/2.492, allocations: 8.815 MB / 0.8561 GB, free: 5.227 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.39e-06/2.492, allocations: 4 kB / 0.8561 GB, free: 5.227 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.007693/2.5, allocations: 3.432 MB / 0.8595 GB, free: 2.117 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00588/2.506, allocations: 0.81 MB / 0.8603 GB, free: 1.434 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0381/2.544, allocations: 14.33 MB / 0.8743 GB, free: 4.477 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2885/2.833, allocations: 5.6 MB / 0.8797 GB, free: 144.9 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01339/2.846, allocations: 3.169 MB / 0.8828 GB, free: 144.8 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002848/2.849, allocations: 443.1 kB / 0.8833 GB, free: 144.8 MB / 0.5105 GB Notification: Performance of SimCode: time 2.35e-06/2.849, allocations: 0 / 0.8833 GB, free: 144.8 MB / 0.5105 GB Notification: Performance of Templates: time 0.18/3.029, allocations: 65.29 MB / 0.947 GB, free: 138 MB / 0.5105 GB