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.2_cpp_ModelicaTest.MultiBody.Forces.Force") Notification: Performance of loadModel(ModelicaTest): time 2.235/2.235, allocations: 235 MB / 247.6 MB, free: 14.35 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.203e-05/3.247e-05, allocations: 4.938 kB / 304.9 MB, free: 5.66 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3267/0.3268, allocations: 54.85 MB / 359.8 MB, free: 2.664 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1582/0.485, allocations: 101.4 MB / 461.2 MB, free: 11.54 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002511/0.4853, allocations: 79.94 kB / 461.3 MB, free: 11.46 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7442/1.229, allocations: 128.8 MB / 0.5763 GB, free: 99.5 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.365e-06/1.23, allocations: 2.969 kB / 0.5763 GB, free: 99.5 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0005725/1.23, allocations: 130.1 kB / 0.5764 GB, free: 99.49 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: 2320 * Number of variables: 2320 Notification: Performance of Generate backend data structure: time 0.02075/1.251, allocations: 6.555 MB / 0.5828 GB, free: 96.36 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/1.251, allocations: 9.844 kB / 0.5828 GB, free: 96.36 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0376/1.289, allocations: 7.12 MB / 0.5898 GB, free: 94.7 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02146/1.31, allocations: 7.374 MB / 0.597 GB, free: 90.67 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005328/1.311, allocations: 0.4913 MB / 0.5974 GB, free: 90.47 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00268/1.313, allocations: 0.6483 MB / 0.5981 GB, free: 90.29 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03746/1.351, allocations: 16.09 MB / 0.6138 GB, free: 73.67 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003991/1.351, allocations: 95.11 kB / 0.6139 GB, free: 73.57 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002656/1.354, allocations: 313.5 kB / 0.6142 GB, free: 73.31 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002656/1.357, allocations: 1.548 MB / 0.6157 GB, free: 71.76 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03198/1.389, allocations: 12.88 MB / 0.6283 GB, free: 58.85 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09365/1.482, allocations: 72.51 MB / 0.6991 GB, free: 0.5508 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3093/1.792, allocations: 7.396 MB / 0.7063 GB, free: 106.6 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006742/1.798, allocations: 3.821 MB / 0.71 GB, free: 106.5 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02076/1.819, allocations: 9.652 MB / 0.7195 GB, free: 105.1 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.815e-05/1.819, allocations: 61.75 kB / 0.7195 GB, free: 105.1 MB / 474.7 MB Notification: Performance of pre-optimization done (n=273): time 7.608e-06/1.819, allocations: 0 / 0.7195 GB, free: 105.1 MB / 474.7 MB Notification: Performance of matching and sorting (n=315): time 0.09297/1.912, allocations: 27.63 MB / 0.7465 GB, free: 97.2 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.977e-05/1.912, allocations: 245.1 kB / 0.7467 GB, free: 96.94 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01191/1.924, allocations: 6.005 MB / 0.7526 GB, free: 94.8 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006347/1.925, allocations: 70.41 kB / 0.7527 GB, free: 94.73 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003204/1.928, allocations: 4.451 MB / 0.757 GB, free: 91.18 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001495/1.93, allocations: 1.187 MB / 0.7582 GB, free: 90.31 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007839/1.931, allocations: 183.1 kB / 0.7583 GB, free: 90.17 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0005175/1.931, allocations: 0.6844 MB / 0.759 GB, free: 89.7 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007189/1.938, allocations: 3.474 MB / 0.7624 GB, free: 88.5 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01008/1.948, allocations: 8.555 MB / 0.7708 GB, free: 80.48 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009857/1.958, allocations: 5.423 MB / 0.776 GB, free: 78.82 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001407/1.959, allocations: 55.28 kB / 0.7761 GB, free: 78.82 MB / 474.7 MB Notification: Performance of matching and sorting (n=1154) (initialization): time 0.02872/1.987, allocations: 12.6 MB / 0.7884 GB, free: 69.59 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001259/1.987, allocations: 84.89 kB / 0.7885 GB, free: 69.51 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001783/1.988, allocations: 180 kB / 0.7887 GB, free: 69.33 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004904/1.993, allocations: 1.679 MB / 0.7903 GB, free: 68.07 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008947/2.002, allocations: 2.112 MB / 0.7924 GB, free: 66.27 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01592/2.017, allocations: 11.21 MB / 0.8033 GB, free: 56.18 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009033/2.027, allocations: 0.5318 MB / 0.8038 GB, free: 55.72 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001529/2.028, allocations: 0.5227 MB / 0.8043 GB, free: 55.22 MB / 474.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.001526/2.03, allocations: 0.7846 MB / 0.8051 GB, free: 54.43 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001224/2.031, allocations: 0.5784 MB / 0.8057 GB, free: 53.85 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01406/2.045, allocations: 6.73 MB / 0.8122 GB, free: 48.39 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.964e-05/2.045, allocations: 36.94 kB / 0.8123 GB, free: 48.36 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.245e-05/2.045, allocations: 8 kB / 0.8123 GB, free: 48.35 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.534e-05/2.045, allocations: 15.66 kB / 0.8123 GB, free: 48.35 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03521/2.08, allocations: 15.14 MB / 0.8271 GB, free: 35.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.7e-05/2.081, allocations: 12.05 kB / 0.8271 GB, free: 35.19 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003798/2.084, allocations: 0.5851 MB / 0.8277 GB, free: 34.61 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00453/2.089, allocations: 1.4 MB / 0.829 GB, free: 33.2 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006654/2.09, allocations: 56.78 kB / 0.8291 GB, free: 33.15 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.016/2.106, allocations: 10.42 MB / 0.8393 GB, free: 22.48 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.213e-06/2.106, allocations: 7.938 kB / 0.8393 GB, free: 22.47 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02054/2.126, allocations: 11.81 MB / 0.8508 GB, free: 10.43 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003636/2.13, allocations: 1.149 MB / 0.8519 GB, free: 9.254 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001672/2.132, allocations: 62.8 kB / 0.852 GB, free: 9.195 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004412/2.136, allocations: 215.7 kB / 0.8522 GB, free: 8.984 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008797/2.137, allocations: 193.9 kB / 0.8524 GB, free: 8.793 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003603/2.137, allocations: 89.78 kB / 0.8525 GB, free: 8.707 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.009642/2.147, allocations: 4.287 MB / 0.8566 GB, free: 4.434 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.117e-06/2.147, allocations: 0 / 0.8566 GB, free: 4.434 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01008/2.157, allocations: 1.63 MB / 0.8582 GB, free: 2.809 MB / 474.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.0008763/2.158, allocations: 207.7 kB / 0.8584 GB, free: 2.605 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01816/2.176, allocations: 8.344 MB / 0.8666 GB, free: 10.27 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.361e-06/2.176, allocations: 4 kB / 0.8666 GB, free: 10.27 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008182/2.184, allocations: 3.366 MB / 0.8699 GB, free: 6.883 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005136/2.19, allocations: 0.7003 MB / 0.8706 GB, free: 6.211 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3185/2.508, allocations: 13.74 MB / 0.884 GB, free: 124.8 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01056/2.519, allocations: 4.93 MB / 0.8888 GB, free: 123.9 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002739/2.522, allocations: 470.5 kB / 0.8892 GB, free: 123.9 MB / 0.4948 GB Notification: Performance of SimCode: time 1.848e-06/2.522, allocations: 0.6875 kB / 0.8892 GB, free: 123.9 MB / 0.4948 GB Notification: Performance of Templates: time 0.1898/2.711, allocations: 143.3 MB / 1.029 GB, free: 31.34 MB / 0.4948 GB