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_cpp_ModelicaTest.MultiBody.Forces.Force") Notification: Performance of loadModel(ModelicaTest): time 1.952/1.952, allocations: 209.3 MB / 224.4 MB, free: 0.5078 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.448e-05/3.454e-05, allocations: 6.5 kB / 276.1 MB, free: 15.86 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3558/0.3558, allocations: 48.7 MB / 324.8 MB, free: 2.887 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.1116/0.4675, allocations: 70.98 MB / 395.8 MB, free: 8.434 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.04555/0.5131, allocations: 15.04 MB / 410.9 MB, free: 9.352 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01764/0.5308, allocations: 375.2 kB / 411.2 MB, free: 8.984 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01394/0.5448, allocations: 3.784 MB / 415 MB, free: 5.184 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03948/0.5843, allocations: 10.13 MB / 425.1 MB, free: 11.03 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00624/0.5906, allocations: 0.8737 MB / 426 MB, free: 10.15 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.05092/0.6416, allocations: 17.18 MB / 443.2 MB, free: 8.961 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0139/0.6555, allocations: 6.681 MB / 449.9 MB, free: 2.223 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00325/0.6588, allocations: 1.286 MB / 451.2 MB, free: 0.9336 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004404/0.6633, allocations: 1.995 MB / 453.2 MB, free: 14.93 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003622/0.667, allocations: 0.987 MB / 454.1 MB, free: 13.95 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00184/0.6689, allocations: 188 kB / 454.3 MB, free: 13.76 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004352/0.6732, allocations: 2.466 MB / 456.8 MB, free: 11.29 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002219/0.6755, allocations: 428 kB / 457.2 MB, free: 10.87 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01393/0.6895, allocations: 8.713 MB / 465.9 MB, free: 2.137 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.6896, allocations: 4 kB / 465.9 MB, free: 2.133 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.675e-06/0.6896, allocations: 0 / 465.9 MB, free: 2.133 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003926/0.69, allocations: 0 / 465.9 MB, free: 2.133 MB / 394.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.02419/0.7142, allocations: 6.562 MB / 472.5 MB, free: 11.49 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.206e-05/0.7142, allocations: 12.03 kB / 472.5 MB, free: 11.48 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3958/1.11, allocations: 11.92 MB / 484.4 MB, free: 128.2 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01601/1.126, allocations: 4.777 MB / 489.2 MB, free: 126.5 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004782/1.127, allocations: 375 kB / 489.6 MB, free: 126.3 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002508/1.129, allocations: 0.4898 MB / 490.1 MB, free: 126.2 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04638/1.176, allocations: 15.84 MB / 0.494 GB, free: 119.3 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003881/1.176, allocations: 57.59 kB / 0.4941 GB, free: 119.2 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002116/1.178, allocations: 237 kB / 0.4943 GB, free: 119.1 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006722/1.185, allocations: 2.776 MB / 0.497 GB, free: 118.5 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04152/1.226, allocations: 13.35 MB / 0.5101 GB, free: 107.3 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1024/1.329, allocations: 60.72 MB / 0.5694 GB, free: 45.69 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03322/1.362, allocations: 7.71 MB / 0.5769 GB, free: 37.83 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02419/1.386, allocations: 9.711 MB / 0.5864 GB, free: 28.05 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.258e-05/1.387, allocations: 64.55 kB / 0.5864 GB, free: 27.98 MB / 410.7 MB Notification: Performance of pre-optimization done (n=273): time 6.613e-06/1.387, allocations: 0 / 0.5864 GB, free: 27.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=315): time 0.1503/1.537, allocations: 33.95 MB / 0.6196 GB, free: 9.672 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001597/1.537, allocations: 247.9 kB / 0.6198 GB, free: 9.383 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01653/1.554, allocations: 6.369 MB / 0.626 GB, free: 3.023 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009604/1.555, allocations: 73.7 kB / 0.6261 GB, free: 2.945 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.2839/1.839, allocations: 4.416 MB / 0.6304 GB, free: 130.5 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002137/1.841, allocations: 1.187 MB / 0.6316 GB, free: 129.8 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001058/1.842, allocations: 176.2 kB / 0.6318 GB, free: 129.8 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0006588/1.843, allocations: 0.6864 MB / 0.6324 GB, free: 129.5 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01047/1.853, allocations: 3.652 MB / 0.636 GB, free: 128.7 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01419/1.867, allocations: 8.746 MB / 0.6445 GB, free: 120.6 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0143/1.882, allocations: 5.53 MB / 0.6499 GB, free: 118.6 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002479/1.882, allocations: 56.06 kB / 0.65 GB, free: 118.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=1159) (initialization): time 0.0379/1.92, allocations: 13.49 MB / 0.6632 GB, free: 113.6 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001455/1.92, allocations: 86.33 kB / 0.6632 GB, free: 113.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002559/1.92, allocations: 183.6 kB / 0.6634 GB, free: 113.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007368/1.928, allocations: 1.796 MB / 0.6652 GB, free: 113.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01333/1.941, allocations: 2.105 MB / 0.6672 GB, free: 113 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02312/1.964, allocations: 12.19 MB / 0.6791 GB, free: 104.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01071/1.975, allocations: 0.5265 MB / 0.6796 GB, free: 104.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001978/1.977, allocations: 0.5213 MB / 0.6802 GB, free: 103.8 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 819 * 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 (1079): * Single equations (assignments): 1072 * Array equations: 5 * 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.008122/1.985, allocations: 3.091 MB / 0.6832 GB, free: 101 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001593/1.987, allocations: 0.5862 MB / 0.6837 GB, free: 100.4 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02095/2.008, allocations: 7.016 MB / 0.6906 GB, free: 93.36 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.196e-05/2.008, allocations: 33.25 kB / 0.6906 GB, free: 93.33 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.19e-05/2.008, allocations: 19.89 kB / 0.6906 GB, free: 93.31 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.246e-05/2.008, allocations: 11.95 kB / 0.6907 GB, free: 93.3 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04349/2.052, allocations: 15.53 MB / 0.7058 GB, free: 77.77 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.948e-05/2.052, allocations: 4 kB / 0.7058 GB, free: 77.77 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005486/2.057, allocations: 0.556 MB / 0.7064 GB, free: 77.21 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008405/2.066, allocations: 1.516 MB / 0.7078 GB, free: 75.69 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001141/2.067, allocations: 60.5 kB / 0.7079 GB, free: 75.63 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03577/2.103, allocations: 11.39 MB / 0.719 GB, free: 63.98 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.377e-05/2.103, allocations: 8 kB / 0.719 GB, free: 63.97 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0453/2.148, allocations: 12.24 MB / 0.731 GB, free: 51.49 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006229/2.154, allocations: 1.18 MB / 0.7322 GB, free: 50.29 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003436/2.158, allocations: 56 kB / 0.7322 GB, free: 50.23 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009017/2.167, allocations: 215.7 kB / 0.7324 GB, free: 50.02 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001679/2.169, allocations: 191 kB / 0.7326 GB, free: 49.84 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007817/2.169, allocations: 80 kB / 0.7327 GB, free: 49.76 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.01657/2.186, allocations: 4.583 MB / 0.7371 GB, free: 45.19 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.633e-06/2.186, allocations: 4 kB / 0.7371 GB, free: 45.19 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01937/2.206, allocations: 1.664 MB / 0.7388 GB, free: 43.53 MB / 426.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.002041/2.208, allocations: 218.5 kB / 0.739 GB, free: 43.32 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.02188/2.23, allocations: 8.927 MB / 0.7477 GB, free: 34.39 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.919e-06/2.23, allocations: 4.062 kB / 0.7477 GB, free: 34.39 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009373/2.239, allocations: 3.562 MB / 0.7512 GB, free: 30.8 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005776/2.245, allocations: 0.696 MB / 0.7519 GB, free: 30.11 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04042/2.285, allocations: 18.74 MB / 0.7702 GB, free: 11.28 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009324/2.295, allocations: 4.928 MB / 0.775 GB, free: 6.32 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003359/2.298, allocations: 475.3 kB / 0.7754 GB, free: 5.855 MB / 426.7 MB Notification: Performance of SimCode: time 1.172e-06/2.298, allocations: 3.938 kB / 0.7754 GB, free: 5.852 MB / 426.7 MB Notification: Performance of Templates: time 0.6053/2.904, allocations: 145.5 MB / 0.9176 GB, free: 21.76 MB / 442.7 MB