Running command: translateModel(ModelicaTest.MultiBody.Forces.Force,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.Force") Notification: Performance of loadModel(ModelicaTest): time 2.071/2.071, allocations: 209.3 MB / 221.5 MB, free: 7.734 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.753e-05/2.762e-05, allocations: 4 kB / 273.1 MB, free: 3.164 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08433/0.08438, allocations: 48.7 MB / 321.8 MB, free: 2.367 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3588/0.4432, allocations: 94.61 MB / 416.4 MB, free: 0.7422 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002056/0.4434, allocations: 76.27 kB / 416.5 MB, free: 0.7031 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8076/1.251, allocations: 128.7 MB / 0.5324 GB, free: 71.09 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.189e-06/1.251, allocations: 1.281 kB / 0.5324 GB, free: 71.09 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003983/1.252, allocations: 135.8 kB / 0.5325 GB, free: 71.09 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: 2316 * Number of variables: 2316 Notification: Performance of Generate backend data structure: time 0.02185/1.273, allocations: 6.548 MB / 0.5389 GB, free: 68.64 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/1.273, allocations: 13.66 kB / 0.5389 GB, free: 68.64 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03654/1.31, allocations: 7.121 MB / 0.5458 GB, free: 68.19 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0202/1.33, allocations: 7.367 MB / 0.553 GB, free: 67.34 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005478/1.331, allocations: 495.7 kB / 0.5535 GB, free: 67.33 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002547/1.333, allocations: 0.6434 MB / 0.5541 GB, free: 67.32 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04028/1.374, allocations: 16.08 MB / 0.5698 GB, free: 63.45 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002861/1.374, allocations: 90.7 kB / 0.5699 GB, free: 63.45 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001286/1.375, allocations: 321.6 kB / 0.5702 GB, free: 63.44 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002201/1.378, allocations: 1.541 MB / 0.5717 GB, free: 63.43 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03086/1.408, allocations: 12.88 MB / 0.5843 GB, free: 63.39 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08293/1.491, allocations: 72.47 MB / 0.6551 GB, free: 8.527 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02261/1.514, allocations: 7.388 MB / 0.6623 GB, free: 2.508 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01209/1.526, allocations: 4.157 MB / 0.6664 GB, free: 15.91 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02236/1.549, allocations: 9.659 MB / 0.6758 GB, free: 7.805 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.376e-05/1.549, allocations: 60.34 kB / 0.6759 GB, free: 7.738 MB / 442.7 MB Notification: Performance of pre-optimization done (n=273): time 7.16e-06/1.549, allocations: 0 / 0.6759 GB, free: 7.738 MB / 442.7 MB Notification: Performance of matching and sorting (n=315): time 0.3767/1.925, allocations: 27.68 MB / 0.7029 GB, free: 78.61 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000125/1.926, allocations: 241.9 kB / 0.7031 GB, free: 78.36 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02421/1.95, allocations: 6.013 MB / 0.709 GB, free: 77.85 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006834/1.951, allocations: 73.11 kB / 0.7091 GB, free: 77.82 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003643/1.954, allocations: 4.687 MB / 0.7136 GB, free: 75.85 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001477/1.956, allocations: 1.187 MB / 0.7148 GB, free: 75.16 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008737/1.957, allocations: 181.3 kB / 0.715 GB, free: 75.16 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0005158/1.957, allocations: 0.6781 MB / 0.7156 GB, free: 74.84 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006897/1.964, allocations: 3.482 MB / 0.719 GB, free: 74.81 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008996/1.973, allocations: 8.552 MB / 0.7274 GB, free: 68.25 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009019/1.982, allocations: 5.424 MB / 0.7327 GB, free: 68.2 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001139/1.982, allocations: 54.19 kB / 0.7327 GB, free: 68.2 MB / 442.7 MB Notification: Performance of matching and sorting (n=1154) (initialization): time 0.02931/2.012, allocations: 12.86 MB / 0.7453 GB, free: 66.69 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001398/2.012, allocations: 82.47 kB / 0.7454 GB, free: 66.69 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001849/2.012, allocations: 180.6 kB / 0.7455 GB, free: 66.69 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005017/2.017, allocations: 1.669 MB / 0.7472 GB, free: 66.41 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009226/2.026, allocations: 2.116 MB / 0.7492 GB, free: 66.16 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01817/2.045, allocations: 11.22 MB / 0.7602 GB, free: 60.18 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01768/2.062, allocations: 0.5296 MB / 0.7607 GB, free: 60.01 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001953/2.064, allocations: 0.5243 MB / 0.7612 GB, free: 59.94 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 824 * Number of states: 0 () * Number of discrete variables: 60 (fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.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 (1084): * Single equations (assignments): 1079 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 22,(2,100.0%) 22} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002154/2.066, allocations: 0.7844 MB / 0.762 GB, free: 59.31 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001423/2.068, allocations: 0.5796 MB / 0.7626 GB, free: 58.99 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01501/2.083, allocations: 6.728 MB / 0.7691 GB, free: 56.62 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.168e-05/2.083, allocations: 37.89 kB / 0.7692 GB, free: 56.62 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.169e-05/2.083, allocations: 14.27 kB / 0.7692 GB, free: 56.62 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.371e-05/2.083, allocations: 17.2 kB / 0.7692 GB, free: 56.62 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0357/2.119, allocations: 15.13 MB / 0.784 GB, free: 50.11 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.744e-05/2.119, allocations: 4 kB / 0.784 GB, free: 50.11 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003896/2.123, allocations: 0.5936 MB / 0.7845 GB, free: 49.66 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004619/2.127, allocations: 1.392 MB / 0.7859 GB, free: 48.68 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007079/2.128, allocations: 69.58 kB / 0.786 GB, free: 48.62 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01585/2.144, allocations: 10.41 MB / 0.7961 GB, free: 39.33 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.656e-06/2.144, allocations: 4 kB / 0.7961 GB, free: 39.32 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02078/2.165, allocations: 11.82 MB / 0.8077 GB, free: 28.75 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003804/2.169, allocations: 1.156 MB / 0.8088 GB, free: 27.68 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001929/2.171, allocations: 55.19 kB / 0.8089 GB, free: 27.62 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004511/2.175, allocations: 214.7 kB / 0.8091 GB, free: 27.5 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009161/2.176, allocations: 197.1 kB / 0.8093 GB, free: 27.38 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003647/2.177, allocations: 83.75 kB / 0.8093 GB, free: 27.3 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00933/2.186, allocations: 4.291 MB / 0.8135 GB, free: 23.52 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.009e-06/2.186, allocations: 0 / 0.8135 GB, free: 23.52 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01966/2.206, allocations: 1.63 MB / 0.8151 GB, free: 21.89 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (260): * Single equations (assignments): 255 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,75.0%) 17,(4,75.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001828/2.208, allocations: 208.5 kB / 0.8153 GB, free: 21.7 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.03623/2.244, allocations: 8.35 MB / 0.8235 GB, free: 14.14 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.644e-05/2.244, allocations: 0 / 0.8235 GB, free: 14.14 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0152/2.259, allocations: 3.364 MB / 0.8268 GB, free: 11.15 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009821/2.269, allocations: 0.6947 MB / 0.8274 GB, free: 10.56 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03377/2.303, allocations: 13.14 MB / 0.8403 GB, free: 15.21 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01118/2.314, allocations: 4.928 MB / 0.8451 GB, free: 11.58 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.01084/2.325, allocations: 2.952 MB / 0.848 GB, free: 9.672 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.3496/2.675, allocations: 427.5 kB / 0.8484 GB, free: 81.39 MB / 458.7 MB Notification: Performance of SimCode: time 2.74e-06/2.675, allocations: 0.8125 kB / 0.8484 GB, free: 81.39 MB / 458.7 MB Notification: Performance of Templates: time 0.1629/2.838, allocations: 62.15 MB / 0.9091 GB, free: 77.48 MB / 458.7 MB