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.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2") Notification: Performance of loadModel(ModelicaTest): time 2.015/2.015, allocations: 209.3 MB / 223.8 MB, free: 440 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.045e-05/3.042e-05, allocations: 4 kB / 276.2 MB, free: 15.19 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3529/0.353, allocations: 48.69 MB / 324.9 MB, free: 3.367 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2): time 0.1141/0.4672, allocations: 73.66 MB / 398.5 MB, free: 5.664 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.04682/0.5141, allocations: 15.67 MB / 414.2 MB, free: 5.941 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01797/0.5321, allocations: 379.2 kB / 414.6 MB, free: 5.57 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01411/0.5463, allocations: 3.927 MB / 418.5 MB, free: 1.625 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03973/0.5861, allocations: 10.46 MB / 429 MB, free: 7.133 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006263/0.5924, allocations: 0.8854 MB / 429.9 MB, free: 6.246 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.05066/0.6431, allocations: 17.12 MB / 447 MB, free: 5.117 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01298/0.6561, allocations: 6.331 MB / 453.3 MB, free: 14.74 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003037/0.6592, allocations: 1.235 MB / 454.5 MB, free: 13.5 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004146/0.6634, allocations: 2.014 MB / 456.6 MB, free: 11.48 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003483/0.6669, allocations: 1.092 MB / 457.7 MB, free: 10.39 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001526/0.6685, allocations: 199.9 kB / 457.8 MB, free: 10.19 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003841/0.6724, allocations: 2.455 MB / 460.3 MB, free: 7.73 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002001/0.6744, allocations: 428 kB / 460.7 MB, free: 7.312 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01504/0.6895, allocations: 9.033 MB / 469.8 MB, free: 14.26 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.6895, allocations: 0 / 469.8 MB, free: 14.26 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.096e-06/0.6896, allocations: 0 / 469.8 MB, free: 14.26 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003567/0.6899, allocations: 0 / 469.8 MB, free: 14.26 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2406 * Number of variables: 2406 Notification: Performance of Generate backend data structure: time 0.02317/0.7131, allocations: 6.445 MB / 476.2 MB, free: 7.738 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.538e-05/0.7132, allocations: 12.03 kB / 476.2 MB, free: 7.727 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4351/1.148, allocations: 11.97 MB / 488.2 MB, free: 128.9 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01438/1.163, allocations: 4.608 MB / 492.8 MB, free: 126.9 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004435/1.163, allocations: 381 kB / 493.2 MB, free: 126.8 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002313/1.166, allocations: 0.4998 MB / 493.7 MB, free: 126.6 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04368/1.209, allocations: 16.49 MB / 0.4982 GB, free: 118.1 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002427/1.21, allocations: 64.45 kB / 0.4983 GB, free: 118.1 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001401/1.211, allocations: 242.6 kB / 0.4985 GB, free: 117.9 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006493/1.217, allocations: 2.929 MB / 0.5013 GB, free: 116.1 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04181/1.259, allocations: 14.02 MB / 0.515 GB, free: 102.1 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1113/1.371, allocations: 60.29 MB / 0.5739 GB, free: 40.77 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0405/1.411, allocations: 8.107 MB / 0.5818 GB, free: 32.52 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003753/1.412, allocations: 59.7 kB / 0.5819 GB, free: 32.48 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.389e-05/1.412, allocations: 64.5 kB / 0.5819 GB, free: 32.41 MB / 410.7 MB Notification: Performance of pre-optimization done (n=290): time 6.722e-06/1.412, allocations: 0 / 0.5819 GB, free: 32.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=332): time 0.1492/1.561, allocations: 34.99 MB / 0.6161 GB, free: 13.08 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000148/1.561, allocations: 218 kB / 0.6163 GB, free: 12.82 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01398/1.575, allocations: 5.915 MB / 0.6221 GB, free: 6.906 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001042/1.576, allocations: 69.7 kB / 0.6222 GB, free: 6.832 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005452/1.582, allocations: 4.578 MB / 0.6266 GB, free: 2.254 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002508/1.584, allocations: 1.231 MB / 0.6278 GB, free: 1.031 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00102/1.585, allocations: 175.9 kB / 0.628 GB, free: 0.8594 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0006479/1.586, allocations: 0.6657 MB / 0.6287 GB, free: 188 kB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3001/1.886, allocations: 3.847 MB / 0.6324 GB, free: 128.9 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01539/1.901, allocations: 8.64 MB / 0.6408 GB, free: 121.2 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01481/1.916, allocations: 5.642 MB / 0.6464 GB, free: 119.1 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002302/1.917, allocations: 47.16 kB / 0.6464 GB, free: 119.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=1115) (initialization): time 0.04021/1.957, allocations: 13.89 MB / 0.66 GB, free: 114.2 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001544/1.957, allocations: 77.88 kB / 0.66 GB, free: 114.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002409/1.957, allocations: 168.3 kB / 0.6602 GB, free: 114.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007687/1.965, allocations: 1.809 MB / 0.662 GB, free: 113.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01342/1.978, allocations: 2.029 MB / 0.664 GB, free: 113.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02358/2.002, allocations: 12.35 MB / 0.676 GB, free: 105.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01099/2.013, allocations: 0.5339 MB / 0.6765 GB, free: 105.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001948/2.015, allocations: 0.4948 MB / 0.677 GB, free: 104.9 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 766 * 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 (1043): * Single equations (assignments): 1038 * 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.00869/2.024, allocations: 3.107 MB / 0.6801 GB, free: 102.2 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001573/2.025, allocations: 0.5567 MB / 0.6806 GB, free: 102 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02195/2.047, allocations: 7.709 MB / 0.6881 GB, free: 94.7 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.061e-05/2.048, allocations: 33.48 kB / 0.6882 GB, free: 94.67 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.067e-05/2.048, allocations: 12 kB / 0.6882 GB, free: 94.66 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.286e-05/2.048, allocations: 19.94 kB / 0.6882 GB, free: 94.64 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04419/2.092, allocations: 16.68 MB / 0.7045 GB, free: 77.95 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.67e-05/2.092, allocations: 4 kB / 0.7045 GB, free: 77.95 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006147/2.098, allocations: 0.5968 MB / 0.7051 GB, free: 77.35 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006792/2.105, allocations: 1.531 MB / 0.7066 GB, free: 75.81 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008718/2.106, allocations: 60 kB / 0.7066 GB, free: 75.75 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02308/2.129, allocations: 11.59 MB / 0.7179 GB, free: 64 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.444e-06/2.129, allocations: 11.94 kB / 0.7179 GB, free: 63.99 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03077/2.16, allocations: 13.11 MB / 0.7308 GB, free: 50.66 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004372/2.164, allocations: 1.235 MB / 0.732 GB, free: 49.4 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002027/2.166, allocations: 58.34 kB / 0.732 GB, free: 49.35 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005961/2.172, allocations: 275.6 kB / 0.7323 GB, free: 49.08 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001082/2.173, allocations: 201.7 kB / 0.7325 GB, free: 48.88 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004143/2.174, allocations: 89.23 kB / 0.7326 GB, free: 48.79 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.008939/2.183, allocations: 4.223 MB / 0.7367 GB, free: 44.57 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.032e-06/2.183, allocations: 0 / 0.7367 GB, free: 44.57 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01048/2.193, allocations: 1.703 MB / 0.7383 GB, free: 42.88 MB / 426.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.001143/2.194, allocations: 212.8 kB / 0.7385 GB, free: 42.67 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0214/2.216, allocations: 9.445 MB / 0.7478 GB, free: 33.22 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.105e-05/2.216, allocations: 4 kB / 0.7478 GB, free: 33.21 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0107/2.227, allocations: 3.939 MB / 0.7516 GB, free: 29.24 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005773/2.232, allocations: 0.6794 MB / 0.7523 GB, free: 28.56 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04006/2.273, allocations: 18.52 MB / 0.7704 GB, free: 9.965 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009081/2.282, allocations: 4.989 MB / 0.7752 GB, free: 4.941 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.01243/2.294, allocations: 2.916 MB / 0.7781 GB, free: 2.016 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002942/2.297, allocations: 403.3 kB / 0.7785 GB, free: 1.621 MB / 426.7 MB Notification: Performance of SimCode: time 1.092e-06/2.297, allocations: 0 / 0.7785 GB, free: 1.621 MB / 426.7 MB Notification: Performance of Templates: time 0.5051/2.802, allocations: 65.18 MB / 0.8421 GB, free: 102.8 MB / 442.7 MB