Running command: translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2,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",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2") Notification: Performance of loadModel(ModelicaTest): time 2.384/2.384, allocations: 235 MB / 247.2 MB, free: 14.39 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.053e-05/4.07e-05, allocations: 4 kB / 304.9 MB, free: 5.172 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3273/0.3274, allocations: 54.85 MB / 359.8 MB, free: 3.137 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1573/0.4847, allocations: 101.3 MB / 461.1 MB, free: 11.62 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002555/0.485, allocations: 75.95 kB / 461.2 MB, free: 11.54 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7741/1.259, allocations: 133 MB / 0.5802 GB, free: 98.4 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.467e-06/1.259, allocations: 0 / 0.5802 GB, free: 98.4 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003562/1.26, allocations: 130.8 kB / 0.5803 GB, free: 98.39 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: 2410 * Number of variables: 2410 Notification: Performance of Generate backend data structure: time 0.02116/1.281, allocations: 6.424 MB / 0.5866 GB, free: 95.27 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/1.281, allocations: 14.59 kB / 0.5866 GB, free: 95.27 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03773/1.318, allocations: 7.128 MB / 0.5936 GB, free: 92.43 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02063/1.339, allocations: 7.232 MB / 0.6006 GB, free: 88.5 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005686/1.34, allocations: 0.5094 MB / 0.6011 GB, free: 88.08 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00285/1.343, allocations: 0.6679 MB / 0.6018 GB, free: 87.45 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03999/1.383, allocations: 16.52 MB / 0.6179 GB, free: 69.7 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003836/1.383, allocations: 87.17 kB / 0.618 GB, free: 69.62 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00256/1.386, allocations: 323.8 kB / 0.6183 GB, free: 69.3 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002508/1.388, allocations: 1.565 MB / 0.6198 GB, free: 67.73 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03314/1.421, allocations: 13.51 MB / 0.633 GB, free: 54.21 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3794/1.801, allocations: 70.15 MB / 0.7015 GB, free: 94.13 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02659/1.827, allocations: 7.804 MB / 0.7091 GB, free: 93.46 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006918/1.834, allocations: 3.877 MB / 0.7129 GB, free: 93.43 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002439/1.835, allocations: 58.23 kB / 0.713 GB, free: 93.43 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.191e-05/1.835, allocations: 65.5 kB / 0.713 GB, free: 93.39 MB / 474.7 MB Notification: Performance of pre-optimization done (n=290): time 8.472e-06/1.835, allocations: 1.406 kB / 0.713 GB, free: 93.39 MB / 474.7 MB Notification: Performance of matching and sorting (n=332): time 0.1048/1.94, allocations: 28.25 MB / 0.7406 GB, free: 89.62 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.703e-05/1.94, allocations: 212.7 kB / 0.7408 GB, free: 89.39 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01696/1.957, allocations: 5.564 MB / 0.7463 GB, free: 88.45 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001345/1.958, allocations: 73.94 kB / 0.7463 GB, free: 88.39 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.007215/1.965, allocations: 4.601 MB / 0.7508 GB, free: 84.86 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.01106/1.976, allocations: 1.233 MB / 0.752 GB, free: 83.96 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001941/1.978, allocations: 173 kB / 0.7522 GB, free: 83.82 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.001278/1.98, allocations: 0.6675 MB / 0.7529 GB, free: 83.36 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03732/2.017, allocations: 3.711 MB / 0.7565 GB, free: 82.07 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02824/2.045, allocations: 8.469 MB / 0.7647 GB, free: 74.39 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01084/2.056, allocations: 5.56 MB / 0.7702 GB, free: 72.71 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001392/2.057, allocations: 53.66 kB / 0.7702 GB, free: 72.71 MB / 474.7 MB Notification: Performance of matching and sorting (n=1119) (initialization): time 0.03143/2.088, allocations: 13.1 MB / 0.783 GB, free: 68.78 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000134/2.088, allocations: 79.44 kB / 0.7831 GB, free: 68.78 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002002/2.088, allocations: 168.2 kB / 0.7833 GB, free: 68.78 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005743/2.094, allocations: 1.684 MB / 0.7849 GB, free: 67.84 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009652/2.104, allocations: 2.086 MB / 0.7869 GB, free: 66.08 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01694/2.121, allocations: 11.36 MB / 0.798 GB, free: 55.86 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009359/2.13, allocations: 0.5222 MB / 0.7985 GB, free: 55.43 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001928/2.132, allocations: 0.5038 MB / 0.799 GB, free: 54.95 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 770 * Number of states: 0 () * Number of discrete variables: 51 (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],frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[1],fixed2.color[3],fixed2.color[2],fixed2.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 (1047): * Single equations (assignments): 1042 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002359/2.135, allocations: 0.7418 MB / 0.7998 GB, free: 54.21 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001324/2.136, allocations: 0.5613 MB / 0.8003 GB, free: 53.64 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01621/2.152, allocations: 7.431 MB / 0.8076 GB, free: 47.57 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.889e-05/2.152, allocations: 36 kB / 0.8076 GB, free: 47.54 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.564e-05/2.152, allocations: 13.44 kB / 0.8076 GB, free: 47.52 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.424e-05/2.152, allocations: 15.52 kB / 0.8076 GB, free: 47.52 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0378/2.19, allocations: 16.26 MB / 0.8235 GB, free: 34.12 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.183e-05/2.19, allocations: 7.984 kB / 0.8235 GB, free: 34.12 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004321/2.195, allocations: 0.6517 MB / 0.8242 GB, free: 33.46 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004652/2.199, allocations: 1.422 MB / 0.8255 GB, free: 32.04 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007812/2.2, allocations: 59.98 kB / 0.8256 GB, free: 31.98 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01615/2.216, allocations: 10.58 MB / 0.8359 GB, free: 21.14 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.772e-06/2.216, allocations: 7.938 kB / 0.8359 GB, free: 21.13 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03429/2.251, allocations: 12.7 MB / 0.8483 GB, free: 8.16 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.007918/2.259, allocations: 1.196 MB / 0.8495 GB, free: 6.938 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003489/2.262, allocations: 60.86 kB / 0.8496 GB, free: 6.879 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01/2.272, allocations: 271.6 kB / 0.8498 GB, free: 6.613 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0018/2.274, allocations: 197.8 kB / 0.85 GB, free: 6.418 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009443/2.275, allocations: 90.48 kB / 0.8501 GB, free: 6.332 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.01805/2.293, allocations: 3.944 MB / 0.854 GB, free: 2.387 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.807e-06/2.293, allocations: 0 / 0.854 GB, free: 2.387 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.02145/2.315, allocations: 1.678 MB / 0.8556 GB, free: 0.7148 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (278): * Single equations (assignments): 273 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(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.0009128/2.316, allocations: 207.2 kB / 0.8558 GB, free: 0.5117 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02039/2.336, allocations: 8.914 MB / 0.8645 GB, free: 7.602 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.15e-05/2.336, allocations: 4 kB / 0.8645 GB, free: 7.598 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009773/2.346, allocations: 3.763 MB / 0.8682 GB, free: 3.816 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004831/2.351, allocations: 0.6664 MB / 0.8688 GB, free: 3.176 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03515/2.386, allocations: 13.4 MB / 0.8819 GB, free: 5.719 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2949/2.681, allocations: 4.977 MB / 0.8868 GB, free: 125.5 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.01201/2.693, allocations: 2.925 MB / 0.8896 GB, free: 125.5 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00282/2.696, allocations: 400.1 kB / 0.89 GB, free: 125.5 MB / 0.4948 GB Notification: Performance of SimCode: time 1.578e-06/2.696, allocations: 0 / 0.89 GB, free: 125.5 MB / 0.4948 GB Notification: Performance of Templates: time 0.1624/2.858, allocations: 62.33 MB / 0.9509 GB, free: 111.8 MB / 0.4948 GB