Running command: translateModel(ModelicaTest.MultiBody.Forces.Force2,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|Revolute5.phi|Revolute5.w|Revolute6.phi|Revolute6.w|Revolute7.phi|Revolute7.w|Revolute8.phi|Revolute8.w",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Forces.Force2") Notification: Performance of loadModel(ModelicaTest): time 2.531/2.531, allocations: 234.9 MB / 250.1 MB, free: 9.703 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.212e-05/4.227e-05, allocations: 4 kB / 308 MB, free: 15.7 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3587/0.3588, allocations: 54.87 MB / 362.9 MB, free: 11.79 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force2): time 0.7712/1.13, allocations: 150.2 MB / 0.501 GB, free: 16 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.08659/1.217, allocations: 30.11 MB / 0.5304 GB, free: 12.57 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.04215/1.259, allocations: 0.781 MB / 0.5312 GB, free: 12.46 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.03021/1.289, allocations: 8.091 MB / 0.5391 GB, free: 7.586 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.08279/1.372, allocations: 21.09 MB / 0.5597 GB, free: 14.86 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01278/1.385, allocations: 1.634 MB / 0.5613 GB, free: 13.85 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.11/1.495, allocations: 34.08 MB / 0.5946 GB, free: 0.7852 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04554/1.541, allocations: 14.22 MB / 0.6084 GB, free: 4.031 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009644/1.55, allocations: 2.413 MB / 0.6108 GB, free: 1.691 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01231/1.563, allocations: 3.812 MB / 0.6145 GB, free: 13.93 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007819/1.57, allocations: 1.099 MB / 0.6156 GB, free: 12.83 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004855/1.575, allocations: 320 kB / 0.6159 GB, free: 12.52 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.009685/1.585, allocations: 4.795 MB / 0.6206 GB, free: 7.742 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004779/1.59, allocations: 0.8125 MB / 0.6214 GB, free: 6.93 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02735/1.617, allocations: 16.82 MB / 0.6378 GB, free: 6.57 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/1.617, allocations: 4 kB / 0.6378 GB, free: 6.566 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.236e-06/1.618, allocations: 0 / 0.6378 GB, free: 6.566 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0008114/1.618, allocations: 0 / 0.6378 GB, free: 6.566 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4386 * Number of variables: 4386 Notification: Performance of Generate backend data structure: time 0.04841/1.667, allocations: 12.34 MB / 0.6499 GB, free: 10.2 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.161e-05/1.667, allocations: 8.031 kB / 0.6499 GB, free: 10.19 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2589/1.926, allocations: 22.28 MB / 0.6716 GB, free: 3.859 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6626/2.588, allocations: 9.185 MB / 0.6806 GB, free: 213.8 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001121/2.59, allocations: 0.7388 MB / 0.6813 GB, free: 213.5 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005034/2.595, allocations: 0.9842 MB / 0.6823 GB, free: 213.3 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09087/2.686, allocations: 29.99 MB / 0.7116 GB, free: 191.8 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006955/2.686, allocations: 120 kB / 0.7117 GB, free: 191.7 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004711/2.691, allocations: 465.7 kB / 0.7121 GB, free: 191.4 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0115/2.703, allocations: 4.99 MB / 0.717 GB, free: 186.4 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08168/2.784, allocations: 25.11 MB / 0.7415 GB, free: 161.3 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2024/2.987, allocations: 111.5 MB / 0.8504 GB, free: 48.47 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0696/3.056, allocations: 15.1 MB / 0.8652 GB, free: 33.2 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05377/3.11, allocations: 20.29 MB / 0.885 GB, free: 12.76 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001142/3.11, allocations: 95.19 kB / 0.8851 GB, free: 12.65 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=566): time 1.061e-05/3.11, allocations: 0 / 0.8851 GB, free: 12.65 MB / 0.5262 GB Notification: Performance of matching and sorting (n=650): time 0.6878/3.798, allocations: 73.48 MB / 0.9569 GB, free: 165.8 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001556/3.798, allocations: 389.8 kB / 0.9572 GB, free: 165.4 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02725/3.826, allocations: 11.23 MB / 0.9682 GB, free: 154.2 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 0.002163/3.828, allocations: 126.2 kB / 0.9683 GB, free: 154 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.007223/3.835, allocations: 7.824 MB / 0.9759 GB, free: 146.2 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.004364/3.84, allocations: 2.377 MB / 0.9783 GB, free: 143.9 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003164/3.843, allocations: 309.4 kB / 0.9786 GB, free: 143.6 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 0.001571/3.845, allocations: 0.9677 MB / 0.9795 GB, free: 142.6 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01862/3.863, allocations: 6.952 MB / 0.9863 GB, free: 135.6 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02379/3.887, allocations: 15.17 MB / 1.001 GB, free: 116.7 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02448/3.912, allocations: 10.06 MB / 1.011 GB, free: 106.9 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003251/3.912, allocations: 84 kB / 1.011 GB, free: 106.8 MB / 0.5262 GB Notification: Performance of matching and sorting (n=2005) (initialization): time 0.07086/3.983, allocations: 24.64 MB / 1.035 GB, free: 82.16 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002066/3.983, allocations: 128 kB / 1.035 GB, free: 82.03 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003985/3.984, allocations: 284.8 kB / 1.035 GB, free: 81.75 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01551/3.999, allocations: 3.523 MB / 1.039 GB, free: 78.21 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02556/4.025, allocations: 3.688 MB / 1.043 GB, free: 74.52 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04881/4.074, allocations: 24.44 MB / 1.066 GB, free: 49.56 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02009/4.094, allocations: 0.9246 MB / 1.067 GB, free: 48.64 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003866/4.098, allocations: 0.8773 MB / 1.068 GB, free: 47.76 MB / 0.5262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1307 * Number of states: 0 () * Number of discrete variables: 117 (fixed8.color[3],fixed8.color[2],fixed8.color[1],fixed7.color[3],fixed7.color[2],fixed7.color[1],Revolute8.cylinderColor[3],Revolute8.cylinderColor[2],Revolute8.cylinderColor[1],Revolute7.cylinderColor[3],Revolute7.cylinderColor[2],Revolute7.cylinderColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[1],force4.connectionLineColor[3],force4.connectionLineColor[2],force4.connectionLineColor[1],force4.torqueColor[3],force4.torqueColor[2],force4.torqueColor[1],force4.forceColor[3],force4.forceColor[2],force4.forceColor[1],force3.connectionLineColor[3],force3.connectionLineColor[2],force3.connectionLineColor[1],force3.torqueColor[3],force3.torqueColor[2],force3.torqueColor[1],force3.forceColor[3],force3.forceColor[2],force3.forceColor[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixed6.color[3],fixed6.color[2],fixed6.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],fixed5.color[3],fixed5.color[2],fixed5.color[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[1],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 (1867): * Single equations (assignments): 1856 * Array equations: 7 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 23,(2,100.0%) 22,(2,100.0%) 22,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01722/4.115, allocations: 5.578 MB / 1.074 GB, free: 42.16 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004461/4.119, allocations: 1.06 MB / 1.075 GB, free: 41.09 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.417/4.536, allocations: 15.23 MB / 1.089 GB, free: 172.8 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001125/4.537, allocations: 63.72 kB / 1.09 GB, free: 172.8 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001092/4.537, allocations: 16.59 kB / 1.09 GB, free: 172.8 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001845/4.537, allocations: 37.86 kB / 1.09 GB, free: 172.8 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1004/4.637, allocations: 33.25 MB / 1.122 GB, free: 161.1 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001225/4.637, allocations: 8.375 kB / 1.122 GB, free: 161.1 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01265/4.65, allocations: 1.213 MB / 1.123 GB, free: 161 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01459/4.665, allocations: 3.044 MB / 1.126 GB, free: 160.4 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002106/4.667, allocations: 124.8 kB / 1.126 GB, free: 160.3 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04836/4.715, allocations: 22.98 MB / 1.149 GB, free: 140.1 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.254e-05/4.715, allocations: 15.94 kB / 1.149 GB, free: 140 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06441/4.78, allocations: 27.02 MB / 1.175 GB, free: 113 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008729/4.789, allocations: 2.247 MB / 1.177 GB, free: 111.3 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005261/4.794, allocations: 125.4 kB / 1.178 GB, free: 111.2 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01205/4.806, allocations: 453.4 kB / 1.178 GB, free: 110.7 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002481/4.809, allocations: 413.3 kB / 1.178 GB, free: 110.3 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001865/4.81, allocations: 169.3 kB / 1.179 GB, free: 110.1 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 0.02077/4.831, allocations: 8.159 MB / 1.186 GB, free: 102 MB / 0.5262 GB Notification: Performance of sort global known variables: time 1.272e-06/4.831, allocations: 0 / 1.186 GB, free: 102 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.01982/4.851, allocations: 3.135 MB / 1.19 GB, free: 98.89 MB / 0.5262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 16 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w,Revolute5.phi,Revolute5.w,Revolute7.phi,Revolute7.w,Revolute6.phi,Revolute6.w,Revolute8.phi,Revolute8.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (559): * Single equations (assignments): 552 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(4,75.0%) 17,(4,75.0%) 17,(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002673/4.854, allocations: 315.5 kB / 1.19 GB, free: 98.59 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.0408/4.895, allocations: 17.12 MB / 1.207 GB, free: 81.58 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 1.708e-05/4.895, allocations: 0 / 1.207 GB, free: 81.58 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.0219/4.917, allocations: 7.407 MB / 1.214 GB, free: 74.18 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01249/4.929, allocations: 1.335 MB / 1.215 GB, free: 72.88 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08149/5.011, allocations: 36.34 MB / 1.251 GB, free: 36.52 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01952/5.03, allocations: 8.788 MB / 1.259 GB, free: 27.68 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007126/5.037, allocations: 0.8391 MB / 1.26 GB, free: 26.84 MB / 0.5262 GB Notification: Performance of SimCode: time 1.663e-06/5.038, allocations: 4 kB / 1.26 GB, free: 26.84 MB / 0.5262 GB Notification: Performance of Templates: time 1.51/6.548, allocations: 370.3 MB / 1.622 GB, free: 47.93 MB / 0.5418 GB