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.278/2.278, allocations: 234.9 MB / 250.1 MB, free: 9.934 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.355e-05/3.346e-05, allocations: 7.984 kB / 308 MB, free: 15.91 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3785/0.3785, allocations: 54.86 MB / 362.9 MB, free: 12.07 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.1823/0.5609, allocations: 71.02 MB / 433.9 MB, free: 6.656 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.06719/0.6281, allocations: 15.05 MB / 448.9 MB, free: 7.555 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02223/0.6504, allocations: 375.1 kB / 449.3 MB, free: 7.188 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02019/0.6707, allocations: 3.78 MB / 453.1 MB, free: 3.391 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.05868/0.7294, allocations: 10.13 MB / 463.2 MB, free: 9.234 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00822/0.7377, allocations: 0.866 MB / 464.1 MB, free: 8.367 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.07341/0.8112, allocations: 17.18 MB / 481.3 MB, free: 7.168 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02147/0.8328, allocations: 6.674 MB / 487.9 MB, free: 432 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004992/0.8379, allocations: 1.278 MB / 489.2 MB, free: 15.14 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006989/0.8449, allocations: 2.01 MB / 491.2 MB, free: 13.12 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005238/0.8502, allocations: 0.9793 MB / 492.2 MB, free: 12.14 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002643/0.8529, allocations: 188 kB / 492.4 MB, free: 11.96 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00615/0.8591, allocations: 2.474 MB / 494.8 MB, free: 9.48 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003481/0.8627, allocations: 424 kB / 495.3 MB, free: 9.066 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01992/0.8827, allocations: 8.729 MB / 0.4922 GB, free: 324 kB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.8828, allocations: 0 / 0.4922 GB, free: 324 kB / 426.7 MB Notification: Performance of FrontEnd: time 3.777e-06/0.8828, allocations: 0 / 0.4922 GB, free: 324 kB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004048/0.8832, allocations: 0 / 0.4922 GB, free: 324 kB / 426.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.4465/1.33, allocations: 6.57 MB / 0.4986 GB, free: 124.6 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.705e-05/1.33, allocations: 9.312 kB / 0.4986 GB, free: 124.6 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1227/1.453, allocations: 11.93 MB / 0.5103 GB, free: 115.5 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01599/1.469, allocations: 4.785 MB / 0.5149 GB, free: 110.7 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006105/1.469, allocations: 373.6 kB / 0.5153 GB, free: 110.3 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00302/1.472, allocations: 0.4968 MB / 0.5158 GB, free: 109.9 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06296/1.535, allocations: 15.84 MB / 0.5312 GB, free: 93.23 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003123/1.536, allocations: 59.47 kB / 0.5313 GB, free: 93.17 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001507/1.537, allocations: 238.6 kB / 0.5315 GB, free: 92.99 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008359/1.546, allocations: 2.776 MB / 0.5342 GB, free: 90.22 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04005/1.586, allocations: 13.38 MB / 0.5473 GB, free: 76.81 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09708/1.683, allocations: 60.75 MB / 0.6066 GB, free: 14.74 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03231/1.715, allocations: 7.719 MB / 0.6142 GB, free: 6.879 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02404/1.739, allocations: 9.692 MB / 0.6236 GB, free: 13.03 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.228e-05/1.74, allocations: 68.55 kB / 0.6237 GB, free: 12.95 MB / 442.7 MB Notification: Performance of pre-optimization done (n=273): time 7.094e-06/1.74, allocations: 0 / 0.6237 GB, free: 12.95 MB / 442.7 MB Notification: Performance of matching and sorting (n=315): time 0.1586/1.898, allocations: 33.97 MB / 0.6569 GB, free: 10.6 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001626/1.898, allocations: 243.9 kB / 0.6571 GB, free: 10.31 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01637/1.915, allocations: 6.364 MB / 0.6633 GB, free: 3.957 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001017/1.916, allocations: 69.7 kB / 0.6634 GB, free: 3.883 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.3223/2.238, allocations: 4.424 MB / 0.6677 GB, free: 156.8 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002298/2.241, allocations: 1.189 MB / 0.6689 GB, free: 156.6 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001415/2.242, allocations: 177.8 kB / 0.669 GB, free: 156.6 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000799/2.243, allocations: 0.6845 MB / 0.6697 GB, free: 156.3 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01045/2.253, allocations: 3.653 MB / 0.6733 GB, free: 155.6 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01258/2.266, allocations: 8.747 MB / 0.6818 GB, free: 147.5 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01284/2.279, allocations: 5.531 MB / 0.6872 GB, free: 145.4 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001658/2.279, allocations: 54.72 kB / 0.6873 GB, free: 145.4 MB / 474.7 MB Notification: Performance of matching and sorting (n=1159) (initialization): time 0.03715/2.316, allocations: 13.49 MB / 0.7004 GB, free: 137.4 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002288/2.317, allocations: 81 kB / 0.7005 GB, free: 137.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004079/2.317, allocations: 180 kB / 0.7007 GB, free: 137.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01126/2.328, allocations: 1.8 MB / 0.7024 GB, free: 135.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01901/2.347, allocations: 2.102 MB / 0.7045 GB, free: 134 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03517/2.383, allocations: 12.2 MB / 0.7164 GB, free: 121.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01483/2.397, allocations: 0.5227 MB / 0.7169 GB, free: 121.4 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002161/2.4, allocations: 0.5245 MB / 0.7174 GB, free: 120.8 MB / 474.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.007979/2.408, allocations: 3.097 MB / 0.7205 GB, free: 117.7 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001549/2.409, allocations: 0.5822 MB / 0.721 GB, free: 117.1 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02893/2.438, allocations: 7.013 MB / 0.7279 GB, free: 110.1 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.159e-05/2.438, allocations: 36 kB / 0.7279 GB, free: 110.1 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.884e-05/2.438, allocations: 8 kB / 0.7279 GB, free: 110.1 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.6e-05/2.439, allocations: 17.25 kB / 0.7279 GB, free: 110 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0443/2.483, allocations: 15.54 MB / 0.7431 GB, free: 94.48 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.316e-05/2.483, allocations: 4 kB / 0.7431 GB, free: 94.48 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005458/2.488, allocations: 0.5539 MB / 0.7437 GB, free: 93.93 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006826/2.495, allocations: 1.522 MB / 0.7451 GB, free: 92.4 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009389/2.496, allocations: 56.53 kB / 0.7452 GB, free: 92.35 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02273/2.519, allocations: 11.39 MB / 0.7563 GB, free: 80.71 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.388e-06/2.519, allocations: 15.94 kB / 0.7563 GB, free: 80.69 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02974/2.549, allocations: 12.24 MB / 0.7683 GB, free: 68.22 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004461/2.553, allocations: 1.183 MB / 0.7694 GB, free: 67.02 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002318/2.556, allocations: 57.17 kB / 0.7695 GB, free: 66.96 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005685/2.561, allocations: 211.7 kB / 0.7697 GB, free: 66.75 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001181/2.563, allocations: 193.9 kB / 0.7699 GB, free: 66.56 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003929/2.563, allocations: 84.69 kB / 0.77 GB, free: 66.48 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.01045/2.574, allocations: 4.583 MB / 0.7744 GB, free: 61.91 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.143e-06/2.574, allocations: 0 / 0.7744 GB, free: 61.91 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01046/2.584, allocations: 1.653 MB / 0.7761 GB, free: 60.27 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.001385/2.586, allocations: 218 kB / 0.7763 GB, free: 60.05 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01991/2.605, allocations: 8.929 MB / 0.785 GB, free: 51.12 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.019e-05/2.606, allocations: 4 kB / 0.785 GB, free: 51.12 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009832/2.615, allocations: 3.567 MB / 0.7885 GB, free: 47.54 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007461/2.623, allocations: 0.7006 MB / 0.7892 GB, free: 46.83 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05477/2.678, allocations: 18.76 MB / 0.8075 GB, free: 27.98 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01226/2.69, allocations: 4.928 MB / 0.8123 GB, free: 23.02 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003992/2.694, allocations: 475.3 kB / 0.8127 GB, free: 22.55 MB / 474.7 MB Notification: Performance of SimCode: time 1.202e-06/2.694, allocations: 3.828 kB / 0.8127 GB, free: 22.55 MB / 474.7 MB Notification: Performance of Templates: time 0.6566/3.351, allocations: 145.6 MB / 0.955 GB, free: 59.23 MB / 490.7 MB