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_ModelicaTest.MultiBody.Forces.Force2") Notification: Performance of loadModel(ModelicaTest): time 1.942/1.942, allocations: 209.3 MB / 221.5 MB, free: 7.734 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.586e-05/3.603e-05, allocations: 6.109 kB / 273.1 MB, free: 3.172 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.135, allocations: 48.69 MB / 321.8 MB, free: 2.383 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3997/0.5348, allocations: 98.55 MB / 420.3 MB, free: 12.74 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002272/0.5351, allocations: 74.33 kB / 420.4 MB, free: 12.71 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.136/1.671, allocations: 236.7 MB / 0.6417 GB, free: 38.23 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.481e-06/1.671, allocations: 0 / 0.6417 GB, free: 38.23 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0006939/1.672, allocations: 255.9 kB / 0.642 GB, free: 37.98 MB / 426.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.04072/1.712, allocations: 12.23 MB / 0.6539 GB, free: 25.65 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/1.713, allocations: 8.031 kB / 0.6539 GB, free: 25.64 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06599/1.779, allocations: 12.79 MB / 0.6664 GB, free: 12.81 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05858/1.837, allocations: 13.23 MB / 0.6793 GB, free: 15.48 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002119/1.839, allocations: 0.9465 MB / 0.6803 GB, free: 14.53 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007251/1.847, allocations: 1.249 MB / 0.6815 GB, free: 13.28 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4733/2.32, allocations: 29.85 MB / 0.7106 GB, free: 48.86 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008809/2.321, allocations: 144.3 kB / 0.7108 GB, free: 48.86 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004913/2.326, allocations: 0.5821 MB / 0.7113 GB, free: 48.86 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005728/2.332, allocations: 2.853 MB / 0.7141 GB, free: 48.83 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06707/2.399, allocations: 24.07 MB / 0.7376 GB, free: 48.76 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1907/2.589, allocations: 127.2 MB / 0.8619 GB, free: 12.03 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.05454/2.644, allocations: 14.84 MB / 0.8764 GB, free: 268 kB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.307/2.951, allocations: 8.102 MB / 0.8843 GB, free: 102.7 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04569/2.997, allocations: 20.23 MB / 0.904 GB, free: 99.91 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.361e-05/2.997, allocations: 97.38 kB / 0.9041 GB, free: 99.87 MB / 490.7 MB Notification: Performance of pre-optimization done (n=566): time 1.194e-05/2.997, allocations: 0 / 0.9041 GB, free: 99.87 MB / 490.7 MB Notification: Performance of matching and sorting (n=650): time 0.2213/3.218, allocations: 60.82 MB / 0.9635 GB, free: 84.77 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001315/3.218, allocations: 383.6 kB / 0.9639 GB, free: 84.38 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02528/3.244, allocations: 10.53 MB / 0.9742 GB, free: 80.46 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001423/3.245, allocations: 125.7 kB / 0.9743 GB, free: 80.34 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.006901/3.252, allocations: 8.403 MB / 0.9825 GB, free: 72.79 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003305/3.255, allocations: 2.388 MB / 0.9848 GB, free: 70.67 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002205/3.258, allocations: 317.1 kB / 0.9851 GB, free: 70.36 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.001241/3.259, allocations: 0.953 MB / 0.9861 GB, free: 69.59 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01365/3.273, allocations: 6.611 MB / 0.9925 GB, free: 63.66 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01841/3.291, allocations: 14.79 MB / 1.007 GB, free: 46.14 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01869/3.31, allocations: 9.821 MB / 1.017 GB, free: 38.38 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002526/3.31, allocations: 84 kB / 1.017 GB, free: 38.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=1995) (initialization): time 0.05523/3.365, allocations: 23.56 MB / 1.04 GB, free: 18.74 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002167/3.366, allocations: 132 kB / 1.04 GB, free: 18.61 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003504/3.366, allocations: 288 kB / 1.04 GB, free: 18.33 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01015/3.376, allocations: 3.274 MB / 1.043 GB, free: 15.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01782/3.394, allocations: 3.737 MB / 1.047 GB, free: 12.76 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3482/3.742, allocations: 22.5 MB / 1.069 GB, free: 76.59 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01745/3.76, allocations: 0.9278 MB / 1.07 GB, free: 76.59 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003687/3.763, allocations: 0.8752 MB / 1.071 GB, free: 76.59 MB / 490.7 MB 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.005644/3.769, allocations: 1.267 MB / 1.072 GB, free: 76.47 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003455/3.773, allocations: 1.062 MB / 1.073 GB, free: 76.47 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03666/3.809, allocations: 14.64 MB / 1.087 GB, free: 76.12 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.782e-05/3.809, allocations: 66.64 kB / 1.087 GB, free: 76.12 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.874e-05/3.81, allocations: 18.8 kB / 1.087 GB, free: 76.12 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001409/3.81, allocations: 32.52 kB / 1.087 GB, free: 76.12 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1038/3.913, allocations: 32.36 MB / 1.119 GB, free: 69.11 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.295e-05/3.914, allocations: 12.55 kB / 1.119 GB, free: 69.11 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009007/3.923, allocations: 1.304 MB / 1.12 GB, free: 69.07 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0102/3.933, allocations: 2.819 MB / 1.123 GB, free: 68.52 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001579/3.935, allocations: 126.4 kB / 1.123 GB, free: 68.44 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03506/3.97, allocations: 21.01 MB / 1.144 GB, free: 57.43 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.416e-05/3.97, allocations: 21.03 kB / 1.144 GB, free: 57.43 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04582/4.015, allocations: 26.13 MB / 1.169 GB, free: 44.09 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.007531/4.023, allocations: 2.188 MB / 1.171 GB, free: 42.24 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003847/4.027, allocations: 122.8 kB / 1.171 GB, free: 42.13 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009082/4.036, allocations: 452.6 kB / 1.172 GB, free: 41.85 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002078/4.038, allocations: 414.7 kB / 1.172 GB, free: 41.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001099/4.039, allocations: 171.3 kB / 1.172 GB, free: 41.43 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.01838/4.058, allocations: 7.593 MB / 1.18 GB, free: 34.76 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.244e-06/4.058, allocations: 5.438 kB / 1.18 GB, free: 34.76 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01867/4.076, allocations: 3.081 MB / 1.183 GB, free: 31.69 MB / 490.7 MB 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.001748/4.078, allocations: 303.8 kB / 1.183 GB, free: 31.47 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.03053/4.109, allocations: 16.03 MB / 1.199 GB, free: 17.64 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.21e-05/4.109, allocations: 0 / 1.199 GB, free: 17.64 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01442/4.123, allocations: 7.001 MB / 1.206 GB, free: 11.49 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009461/4.133, allocations: 1.326 MB / 1.207 GB, free: 10.38 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3747/4.508, allocations: 25.64 MB / 1.232 GB, free: 95.61 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02307/4.531, allocations: 8.778 MB / 1.24 GB, free: 94.58 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.02143/4.552, allocations: 5.133 MB / 1.246 GB, free: 94.48 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005355/4.558, allocations: 0.726 MB / 1.246 GB, free: 94.48 MB / 0.4948 GB Notification: Performance of SimCode: time 2.807e-06/4.558, allocations: 0 / 1.246 GB, free: 94.48 MB / 0.4948 GB Notification: Performance of Templates: time 0.313/4.871, allocations: 112.6 MB / 1.356 GB, free: 48.91 MB / 0.4948 GB