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.199/2.199, allocations: 235 MB / 247.6 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.14e-05/3.157e-05, allocations: 4.938 kB / 304.9 MB, free: 5.656 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3269/0.327, allocations: 54.85 MB / 359.8 MB, free: 2.664 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1721/0.4991, allocations: 105.4 MB / 465.1 MB, free: 7.59 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002592/0.4994, allocations: 79.91 kB / 465.2 MB, free: 7.512 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.046/1.545, allocations: 237.1 MB / 0.6859 GB, free: 1.34 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.897e-06/1.545, allocations: 0 / 0.6859 GB, free: 1.34 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.001044/1.547, allocations: 248 kB / 0.6861 GB, free: 1.098 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: 4386 * Number of variables: 4386 Notification: Performance of Generate backend data structure: time 0.04636/1.593, allocations: 12.25 MB / 0.6981 GB, free: 4.746 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/1.593, allocations: 12.03 kB / 0.6981 GB, free: 4.734 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3683/1.961, allocations: 12.79 MB / 0.7106 GB, free: 43.96 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03725/1.999, allocations: 13.23 MB / 0.7235 GB, free: 43.36 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001166/2, allocations: 0.9445 MB / 0.7244 GB, free: 43.34 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004988/2.005, allocations: 1.258 MB / 0.7256 GB, free: 43.32 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07698/2.082, allocations: 29.89 MB / 0.7548 GB, free: 37.31 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006433/2.083, allocations: 148 kB / 0.755 GB, free: 37.29 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003872/2.086, allocations: 0.5832 MB / 0.7555 GB, free: 37.29 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005104/2.092, allocations: 2.855 MB / 0.7583 GB, free: 37.26 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06391/2.155, allocations: 24.09 MB / 0.7818 GB, free: 34.79 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5102/2.666, allocations: 127.5 MB / 0.9063 GB, free: 90.32 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05285/2.719, allocations: 14.84 MB / 0.9208 GB, free: 89.58 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01321/2.732, allocations: 8.102 MB / 0.9287 GB, free: 89.51 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04205/2.774, allocations: 20.23 MB / 0.9485 GB, free: 86.72 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.158e-05/2.774, allocations: 91.12 kB / 0.9486 GB, free: 86.68 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=566): time 1.199e-05/2.774, allocations: 2.781 kB / 0.9486 GB, free: 86.68 MB / 0.5261 GB Notification: Performance of matching and sorting (n=650): time 0.215/2.989, allocations: 60.83 MB / 1.008 GB, free: 72.4 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001328/2.989, allocations: 388.1 kB / 1.008 GB, free: 72.02 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02271/3.012, allocations: 10.52 MB / 1.019 GB, free: 67.54 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001336/3.013, allocations: 121.7 kB / 1.019 GB, free: 67.42 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.00584/3.019, allocations: 7.877 MB / 1.026 GB, free: 60.24 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.003039/3.022, allocations: 2.391 MB / 1.029 GB, free: 58.12 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001614/3.024, allocations: 308 kB / 1.029 GB, free: 57.82 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0009152/3.025, allocations: 0.9621 MB / 1.03 GB, free: 57.03 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01381/3.039, allocations: 6.607 MB / 1.036 GB, free: 51.1 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01875/3.057, allocations: 14.79 MB / 1.051 GB, free: 33.57 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01785/3.075, allocations: 9.825 MB / 1.06 GB, free: 25.75 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002238/3.076, allocations: 80.56 kB / 1.061 GB, free: 25.68 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1995) (initialization): time 0.0531/3.129, allocations: 23.08 MB / 1.083 GB, free: 6.816 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.000202/3.129, allocations: 128 kB / 1.083 GB, free: 6.691 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002978/3.129, allocations: 288 kB / 1.084 GB, free: 6.41 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009898/3.139, allocations: 3.278 MB / 1.087 GB, free: 3.977 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01705/3.156, allocations: 3.742 MB / 1.09 GB, free: 0.832 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3693/3.526, allocations: 22.5 MB / 1.112 GB, free: 88.81 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01696/3.543, allocations: 0.9312 MB / 1.113 GB, free: 88.81 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003669/3.546, allocations: 0.8731 MB / 1.114 GB, free: 88.81 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1317 * 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 (1877): * Single equations (assignments): 1870 * 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 {(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.004342/3.551, allocations: 1.263 MB / 1.115 GB, free: 88.69 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002729/3.553, allocations: 1.065 MB / 1.116 GB, free: 88.69 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03488/3.588, allocations: 14.64 MB / 1.131 GB, free: 88.33 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.532e-05/3.588, allocations: 67.08 kB / 1.131 GB, free: 88.33 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.004e-05/3.589, allocations: 18.62 kB / 1.131 GB, free: 88.33 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001345/3.589, allocations: 27.84 kB / 1.131 GB, free: 88.33 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08017/3.669, allocations: 32.39 MB / 1.162 GB, free: 85.56 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.271e-05/3.669, allocations: 11.78 kB / 1.162 GB, free: 85.56 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008948/3.678, allocations: 1.306 MB / 1.164 GB, free: 85.52 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009782/3.688, allocations: 2.815 MB / 1.166 GB, free: 84.97 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001539/3.689, allocations: 124.4 kB / 1.167 GB, free: 84.89 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03439/3.724, allocations: 21.01 MB / 1.187 GB, free: 73.88 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.611e-05/3.724, allocations: 19.06 kB / 1.187 GB, free: 73.88 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04697/3.771, allocations: 26.13 MB / 1.213 GB, free: 61.39 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007451/3.778, allocations: 2.187 MB / 1.215 GB, free: 60.45 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0035/3.782, allocations: 121.9 kB / 1.215 GB, free: 60.37 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00903/3.791, allocations: 451.7 kB / 1.215 GB, free: 60.29 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002018/3.793, allocations: 420 kB / 1.216 GB, free: 60.23 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008488/3.794, allocations: 169 kB / 1.216 GB, free: 60.19 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.01801/3.812, allocations: 7.588 MB / 1.223 GB, free: 57.62 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.527e-06/3.812, allocations: 0 / 1.223 GB, free: 57.62 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01927/3.831, allocations: 3.08 MB / 1.226 GB, free: 57.29 MB / 0.5417 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.001766/3.833, allocations: 308.8 kB / 1.227 GB, free: 57.12 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.03004/3.863, allocations: 16.03 MB / 1.242 GB, free: 45.54 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.444e-05/3.863, allocations: 4 kB / 1.242 GB, free: 45.54 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.01387/3.877, allocations: 6.998 MB / 1.249 GB, free: 39.44 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009275/3.886, allocations: 1.333 MB / 1.25 GB, free: 38.33 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06138/3.948, allocations: 26.88 MB / 1.277 GB, free: 14.84 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02154/3.969, allocations: 8.783 MB / 1.285 GB, free: 8.559 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005852/3.975, allocations: 0.8328 MB / 1.286 GB, free: 7.77 MB / 0.5417 GB Notification: Performance of SimCode: time 1.883e-06/3.975, allocations: 0 / 1.286 GB, free: 7.77 MB / 0.5417 GB Notification: Performance of Templates: time 1.185/5.16, allocations: 366.3 MB / 1.644 GB, free: 57.36 MB / 0.573 GB