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_ModelicaTest.MultiBody.Forces.Force2") Notification: Performance of loadModel(ModelicaTest): time 2.314/2.314, allocations: 235 MB / 247.2 MB, free: 14.35 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.146e-05/5.147e-05, allocations: 4 kB / 304.9 MB, free: 5.172 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3636/0.3637, allocations: 54.85 MB / 359.8 MB, free: 3.133 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1633/0.527, allocations: 105.4 MB / 465.1 MB, free: 7.539 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002456/0.5273, allocations: 79.91 kB / 465.2 MB, free: 7.461 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.123/1.65, allocations: 237.1 MB / 0.6859 GB, free: 1.227 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.159e-06/1.65, allocations: 0 / 0.6859 GB, free: 1.227 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0007052/1.651, allocations: 252 kB / 0.6861 GB, free: 0.9805 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.04429/1.695, allocations: 12.24 MB / 0.6981 GB, free: 4.637 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.226e-05/1.695, allocations: 12.03 kB / 0.6981 GB, free: 4.625 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3798/2.075, allocations: 12.79 MB / 0.7106 GB, free: 44 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04025/2.115, allocations: 13.23 MB / 0.7235 GB, free: 43.41 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001306/2.117, allocations: 0.9461 MB / 0.7244 GB, free: 43.38 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00563/2.122, allocations: 1.256 MB / 0.7257 GB, free: 43.36 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08058/2.203, allocations: 29.89 MB / 0.7548 GB, free: 37.35 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007721/2.204, allocations: 149 kB / 0.755 GB, free: 37.34 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004741/2.208, allocations: 0.5825 MB / 0.7556 GB, free: 37.34 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00513/2.214, allocations: 2.852 MB / 0.7583 GB, free: 37.3 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06731/2.281, allocations: 24.08 MB / 0.7819 GB, free: 34.88 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5576/2.839, allocations: 127.5 MB / 0.9064 GB, free: 90.62 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05331/2.892, allocations: 14.84 MB / 0.9209 GB, free: 89.88 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01371/2.906, allocations: 8.102 MB / 0.9288 GB, free: 89.81 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0427/2.948, allocations: 20.22 MB / 0.9485 GB, free: 87.02 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.877e-05/2.949, allocations: 99.91 kB / 0.9486 GB, free: 86.98 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=566): time 1.282e-05/2.949, allocations: 0.6562 kB / 0.9486 GB, free: 86.98 MB / 0.5261 GB Notification: Performance of matching and sorting (n=650): time 0.2191/3.168, allocations: 60.82 MB / 1.008 GB, free: 72.74 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000143/3.168, allocations: 378 kB / 1.008 GB, free: 72.36 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02501/3.193, allocations: 10.52 MB / 1.019 GB, free: 67.58 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001495/3.194, allocations: 127.3 kB / 1.019 GB, free: 67.45 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.007208/3.202, allocations: 8.41 MB / 1.027 GB, free: 59.9 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.003256/3.205, allocations: 2.385 MB / 1.029 GB, free: 57.79 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002246/3.207, allocations: 320.2 kB / 1.03 GB, free: 57.48 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.001199/3.209, allocations: 0.9515 MB / 1.031 GB, free: 56.7 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0138/3.222, allocations: 6.614 MB / 1.037 GB, free: 50.77 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01899/3.241, allocations: 14.79 MB / 1.051 GB, free: 33.24 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01899/3.26, allocations: 9.817 MB / 1.061 GB, free: 25.45 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002382/3.261, allocations: 84 kB / 1.061 GB, free: 25.36 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1995) (initialization): time 0.05668/3.317, allocations: 23.56 MB / 1.084 GB, free: 6.016 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002179/3.318, allocations: 135.5 kB / 1.084 GB, free: 5.887 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003626/3.318, allocations: 288 kB / 1.085 GB, free: 5.605 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01026/3.328, allocations: 3.27 MB / 1.088 GB, free: 3.176 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01827/3.347, allocations: 3.738 MB / 1.091 GB, free: 36 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3755/3.722, allocations: 22.47 MB / 1.113 GB, free: 88.93 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01723/3.739, allocations: 0.9283 MB / 1.114 GB, free: 88.93 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003721/3.743, allocations: 0.8724 MB / 1.115 GB, free: 88.93 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.007788/3.751, allocations: 1.265 MB / 1.116 GB, free: 88.8 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004963/3.756, allocations: 1.067 MB / 1.117 GB, free: 88.8 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03637/3.792, allocations: 14.63 MB / 1.132 GB, free: 88.45 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.313e-05/3.792, allocations: 65.81 kB / 1.132 GB, free: 88.45 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.826e-05/3.793, allocations: 21.25 kB / 1.132 GB, free: 88.45 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001326/3.793, allocations: 32.84 kB / 1.132 GB, free: 88.45 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07876/3.871, allocations: 32.38 MB / 1.163 GB, free: 85.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.063e-05/3.872, allocations: 13.95 kB / 1.163 GB, free: 85.4 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009723/3.881, allocations: 1.307 MB / 1.165 GB, free: 85.36 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009844/3.891, allocations: 2.82 MB / 1.167 GB, free: 84.81 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001518/3.893, allocations: 126 kB / 1.168 GB, free: 84.73 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03515/3.928, allocations: 21.01 MB / 1.188 GB, free: 73.73 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.466e-05/3.928, allocations: 15.5 kB / 1.188 GB, free: 73.73 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05342/3.981, allocations: 26.13 MB / 1.214 GB, free: 61.25 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007972/3.989, allocations: 2.183 MB / 1.216 GB, free: 60.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003996/3.994, allocations: 118.2 kB / 1.216 GB, free: 60.23 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009017/4.003, allocations: 463.7 kB / 1.216 GB, free: 60.14 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002033/4.005, allocations: 409.8 kB / 1.217 GB, free: 60.09 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001269/4.006, allocations: 178.8 kB / 1.217 GB, free: 60.04 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.01907/4.025, allocations: 7.584 MB / 1.224 GB, free: 57.48 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.031e-06/4.025, allocations: 0 / 1.224 GB, free: 57.48 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01933/4.044, allocations: 3.081 MB / 1.227 GB, free: 57.14 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.001793/4.046, allocations: 306 kB / 1.228 GB, free: 56.97 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.03054/4.077, allocations: 16.04 MB / 1.243 GB, free: 44.71 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.246e-05/4.077, allocations: 0 / 1.243 GB, free: 44.71 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.01413/4.091, allocations: 6.988 MB / 1.25 GB, free: 38.62 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009107/4.1, allocations: 1.329 MB / 1.251 GB, free: 37.51 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05768/4.158, allocations: 25.51 MB / 1.276 GB, free: 15.14 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0212/4.179, allocations: 8.775 MB / 1.285 GB, free: 8.867 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.02106/4.2, allocations: 5.137 MB / 1.29 GB, free: 5.504 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005152/4.205, allocations: 0.7245 MB / 1.291 GB, free: 4.82 MB / 0.5417 GB Notification: Performance of SimCode: time 1.616e-06/4.205, allocations: 0 / 1.291 GB, free: 4.82 MB / 0.5417 GB Notification: Performance of Templates: time 0.7165/4.922, allocations: 112.8 MB / 1.401 GB, free: 74.52 MB / 0.5417 GB