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.1_cpp_ModelicaTest.MultiBody.Forces.Force2") Notification: Performance of loadModel(ModelicaTest): time 1.944/1.944, allocations: 209.2 MB / 224.4 MB, free: 0.5156 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.255e-05/3.257e-05, allocations: 4 kB / 276.1 MB, free: 15.86 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3471/0.3472, allocations: 48.7 MB / 324.8 MB, free: 2.887 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force2): time 0.2318/0.579, allocations: 150.1 MB / 475 MB, free: 9.082 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.4347/1.014, allocations: 30.07 MB / 0.4932 GB, free: 15.8 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0402/1.054, allocations: 0.7808 MB / 0.494 GB, free: 15.8 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02912/1.083, allocations: 8.087 MB / 0.5019 GB, free: 12.94 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.08137/1.165, allocations: 21.1 MB / 0.5225 GB, free: 7.086 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01262/1.177, allocations: 1.643 MB / 0.5241 GB, free: 6.617 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.09805/1.275, allocations: 34.06 MB / 0.5573 GB, free: 3.492 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03004/1.305, allocations: 14.22 MB / 0.5712 GB, free: 9.277 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007307/1.313, allocations: 2.417 MB / 0.5736 GB, free: 7.691 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009713/1.323, allocations: 3.81 MB / 0.5773 GB, free: 4.91 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006683/1.329, allocations: 1.098 MB / 0.5784 GB, free: 3.984 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003757/1.333, allocations: 320 kB / 0.5787 GB, free: 3.672 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.008923/1.342, allocations: 4.786 MB / 0.5834 GB, free: 160 kB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005011/1.347, allocations: 0.8086 MB / 0.5842 GB, free: 15.34 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02858/1.376, allocations: 16.8 MB / 0.6006 GB, free: 0.75 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/1.376, allocations: 0 / 0.6006 GB, free: 0.75 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.926e-06/1.376, allocations: 0 / 0.6006 GB, free: 0.75 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.000787/1.377, allocations: 0 / 0.6006 GB, free: 0.75 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4378 * Number of variables: 4378 Notification: Performance of Generate backend data structure: time 0.04765/1.424, allocations: 12.33 MB / 0.6126 GB, free: 5.445 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.526e-05/1.424, allocations: 8.031 kB / 0.6126 GB, free: 5.438 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2355/1.66, allocations: 22.28 MB / 0.6344 GB, free: 476 kB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03008/1.69, allocations: 9.179 MB / 0.6433 GB, free: 9.93 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00101/1.691, allocations: 0.7435 MB / 0.6441 GB, free: 9.516 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005078/1.696, allocations: 0.9793 MB / 0.645 GB, free: 8.871 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09557/1.792, allocations: 29.96 MB / 0.6743 GB, free: 1.82 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008154/1.793, allocations: 113.6 kB / 0.6744 GB, free: 1.715 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004713/1.798, allocations: 467 kB / 0.6748 GB, free: 1.586 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.5857/2.383, allocations: 4.992 MB / 0.6797 GB, free: 231.7 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0874/2.471, allocations: 25.08 MB / 0.7042 GB, free: 225.3 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2128/2.684, allocations: 111.4 MB / 0.813 GB, free: 116.1 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06896/2.753, allocations: 15.12 MB / 0.8278 GB, free: 100.9 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05015/2.803, allocations: 20.29 MB / 0.8476 GB, free: 80.44 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.557e-05/2.803, allocations: 101.2 kB / 0.8477 GB, free: 80.34 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=566): time 1.101e-05/2.803, allocations: 0 / 0.8477 GB, free: 80.34 MB / 0.5262 GB Notification: Performance of matching and sorting (n=650): time 0.3127/3.116, allocations: 73.48 MB / 0.9194 GB, free: 6.234 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001523/3.116, allocations: 386 kB / 0.9198 GB, free: 5.781 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3463/3.462, allocations: 11.24 MB / 0.9308 GB, free: 211.2 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 0.002552/3.465, allocations: 124.7 kB / 0.9309 GB, free: 211.2 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.01141/3.476, allocations: 7.824 MB / 0.9385 GB, free: 207.3 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.006369/3.483, allocations: 2.38 MB / 0.9408 GB, free: 205.5 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004111/3.487, allocations: 311.2 kB / 0.9411 GB, free: 205.3 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 0.002688/3.49, allocations: 0.9673 MB / 0.9421 GB, free: 204.7 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02538/3.515, allocations: 6.95 MB / 0.9489 GB, free: 202.3 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03664/3.552, allocations: 15.17 MB / 0.9637 GB, free: 189 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02462/3.577, allocations: 10.06 MB / 0.9735 GB, free: 185.2 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003046/3.577, allocations: 81.19 kB / 0.9736 GB, free: 185.2 MB / 0.5262 GB Notification: Performance of matching and sorting (n=2005) (initialization): time 0.07227/3.649, allocations: 24.63 MB / 0.9976 GB, free: 176.2 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002965/3.65, allocations: 134.6 kB / 0.9978 GB, free: 176.2 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005871/3.65, allocations: 285.3 kB / 0.998 GB, free: 176.2 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01612/3.666, allocations: 3.52 MB / 1.001 GB, free: 174 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02492/3.691, allocations: 3.683 MB / 1.005 GB, free: 170.9 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0473/3.739, allocations: 24.43 MB / 1.029 GB, free: 146.8 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01972/3.758, allocations: 0.9301 MB / 1.03 GB, free: 145.9 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003737/3.762, allocations: 0.8756 MB / 1.031 GB, free: 145 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.01594/3.778, allocations: 5.574 MB / 1.036 GB, free: 139.4 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004477/3.783, allocations: 1.064 MB / 1.037 GB, free: 138.4 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04749/3.83, allocations: 15.23 MB / 1.052 GB, free: 123.1 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001018/3.83, allocations: 65.41 kB / 1.052 GB, free: 123 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.441e-05/3.831, allocations: 16 kB / 1.052 GB, free: 123 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001792/3.831, allocations: 36.75 kB / 1.052 GB, free: 123 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09722/3.928, allocations: 33.23 MB / 1.085 GB, free: 89.73 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001115/3.928, allocations: 16.03 kB / 1.085 GB, free: 89.71 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01207/3.94, allocations: 1.209 MB / 1.086 GB, free: 88.5 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01418/3.954, allocations: 3.039 MB / 1.089 GB, free: 85.45 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002032/3.956, allocations: 124 kB / 1.089 GB, free: 85.33 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04753/4.004, allocations: 22.98 MB / 1.111 GB, free: 61.83 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.377e-05/4.004, allocations: 19.88 kB / 1.111 GB, free: 61.81 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06558/4.07, allocations: 27.03 MB / 1.138 GB, free: 34.06 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008774/4.079, allocations: 2.244 MB / 1.14 GB, free: 31.79 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00532/4.084, allocations: 124 kB / 1.14 GB, free: 31.66 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01215/4.096, allocations: 447.4 kB / 1.141 GB, free: 31.23 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002675/4.099, allocations: 420.7 kB / 1.141 GB, free: 30.82 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00215/4.101, allocations: 169.5 kB / 1.141 GB, free: 30.65 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 0.3739/4.475, allocations: 8.155 MB / 1.149 GB, free: 187.4 MB / 0.5262 GB Notification: Performance of sort global known variables: time 2.264e-06/4.475, allocations: 3.125 kB / 1.149 GB, free: 187.4 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.02822/4.503, allocations: 3.132 MB / 1.152 GB, free: 187.4 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.002635/4.506, allocations: 312.8 kB / 1.152 GB, free: 187.3 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.05348/4.559, allocations: 17.12 MB / 1.169 GB, free: 183.2 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 1.965e-05/4.56, allocations: 2.812 kB / 1.169 GB, free: 183.2 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.02917/4.589, allocations: 7.403 MB / 1.176 GB, free: 180.4 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01584/4.605, allocations: 1.339 MB / 1.178 GB, free: 179.8 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08635/4.691, allocations: 36.33 MB / 1.213 GB, free: 161.3 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01974/4.711, allocations: 8.772 MB / 1.222 GB, free: 155 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007311/4.718, allocations: 0.8504 MB / 1.223 GB, free: 154.2 MB / 0.5262 GB Notification: Performance of SimCode: time 1.563e-06/4.718, allocations: 0 / 1.223 GB, free: 154.2 MB / 0.5262 GB Notification: Performance of Templates: time 1.379/6.098, allocations: 369.9 MB / 1.584 GB, free: 163 MB / 0.5262 GB