Running command: translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3,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.FrameForcesAndTorques3") Notification: Performance of loadModel(ModelicaTest): time 2.027/2.027, allocations: 209.3 MB / 223.8 MB, free: 0.5195 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.972e-05/2.984e-05, allocations: 3.984 kB / 276.2 MB, free: 15.21 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3915/0.3915, allocations: 48.7 MB / 324.9 MB, free: 3.355 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3): time 0.1554/0.547, allocations: 70.62 MB / 395.5 MB, free: 8.688 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.04565/0.5927, allocations: 15.14 MB / 410.6 MB, free: 9.504 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01967/0.6124, allocations: 367.2 kB / 411 MB, free: 9.145 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01379/0.6262, allocations: 3.764 MB / 414.8 MB, free: 5.363 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.038/0.6643, allocations: 10.05 MB / 424.8 MB, free: 11.28 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007084/0.6714, allocations: 0.8932 MB / 425.7 MB, free: 10.39 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.05061/0.7221, allocations: 17.07 MB / 442.8 MB, free: 9.309 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01363/0.7358, allocations: 6.515 MB / 449.3 MB, free: 2.75 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003253/0.7391, allocations: 1.247 MB / 450.5 MB, free: 1.5 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004542/0.7437, allocations: 1.964 MB / 452.5 MB, free: 15.53 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004354/0.7481, allocations: 1.088 MB / 453.6 MB, free: 14.44 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002069/0.7502, allocations: 196 kB / 453.8 MB, free: 14.25 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00438/0.7547, allocations: 2.388 MB / 456.2 MB, free: 11.86 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00212/0.7568, allocations: 416 kB / 456.6 MB, free: 11.45 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01433/0.7712, allocations: 8.947 MB / 465.5 MB, free: 2.48 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.7713, allocations: 0 / 465.5 MB, free: 2.48 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.647e-06/0.7713, allocations: 0 / 465.5 MB, free: 2.48 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003791/0.7717, allocations: 3.938 kB / 465.5 MB, free: 2.477 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2370 * Number of variables: 2370 Notification: Performance of Generate backend data structure: time 0.02412/0.7958, allocations: 6.374 MB / 471.9 MB, free: 12.03 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.657e-05/0.7959, allocations: 11.97 kB / 471.9 MB, free: 12.02 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1488/0.9447, allocations: 11.93 MB / 483.8 MB, free: 60 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2918/1.237, allocations: 4.569 MB / 488.4 MB, free: 127.2 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005326/1.237, allocations: 378.8 kB / 488.8 MB, free: 127.1 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002609/1.24, allocations: 0.5031 MB / 489.3 MB, free: 126.9 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05023/1.29, allocations: 16.53 MB / 0.494 GB, free: 120 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003329/1.29, allocations: 67.7 kB / 0.494 GB, free: 120 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002285/1.293, allocations: 235 kB / 0.4943 GB, free: 119.8 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007086/1.3, allocations: 2.921 MB / 0.4971 GB, free: 118.9 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0457/1.346, allocations: 14.18 MB / 0.511 GB, free: 106.3 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09988/1.446, allocations: 58.78 MB / 0.5684 GB, free: 46.65 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02895/1.475, allocations: 7.232 MB / 0.5754 GB, free: 39.28 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03331/1.508, allocations: 15.15 MB / 0.5902 GB, free: 24.1 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.599e-05/1.508, allocations: 68.5 kB / 0.5903 GB, free: 24.02 MB / 410.7 MB Notification: Performance of pre-optimization done (n=306): time 7.233e-06/1.508, allocations: 0 / 0.5903 GB, free: 24.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=348): time 0.1402/1.648, allocations: 32.3 MB / 0.6218 GB, free: 7.449 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001506/1.649, allocations: 222.2 kB / 0.622 GB, free: 7.188 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01236/1.661, allocations: 4.986 MB / 0.6269 GB, free: 2.215 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001168/1.662, allocations: 77.7 kB / 0.627 GB, free: 2.133 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.2905/1.953, allocations: 4.367 MB / 0.6312 GB, free: 130.8 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002497/1.955, allocations: 1.274 MB / 0.6325 GB, free: 130.1 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001116/1.956, allocations: 161.6 kB / 0.6326 GB, free: 130.1 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0007901/1.957, allocations: 0.6519 MB / 0.6333 GB, free: 129.8 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01098/1.968, allocations: 3.666 MB / 0.6369 GB, free: 128.8 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01477/1.983, allocations: 8.104 MB / 0.6448 GB, free: 121.6 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01437/1.997, allocations: 5.349 MB / 0.65 GB, free: 119.5 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003125/1.998, allocations: 44.75 kB / 0.65 GB, free: 119.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=1063) (initialization): time 0.04026/2.038, allocations: 13.19 MB / 0.6629 GB, free: 114.6 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001449/2.038, allocations: 85.31 kB / 0.663 GB, free: 114.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002353/2.039, allocations: 154.2 kB / 0.6631 GB, free: 114.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007626/2.046, allocations: 1.783 MB / 0.6649 GB, free: 114.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01342/2.06, allocations: 1.923 MB / 0.6668 GB, free: 114 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02404/2.084, allocations: 12.33 MB / 0.6788 GB, free: 105.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009976/2.094, allocations: 0.4921 MB / 0.6793 GB, free: 105.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002017/2.096, allocations: 478.6 kB / 0.6797 GB, free: 104.7 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 705 * Number of states: 0 () * Number of discrete variables: 48 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.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],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],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[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 (991): * Single equations (assignments): 986 * 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.008229/2.104, allocations: 3.032 MB / 0.6827 GB, free: 101.7 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001375/2.105, allocations: 0.5014 MB / 0.6832 GB, free: 101.2 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0219/2.127, allocations: 7.646 MB / 0.6907 GB, free: 93.52 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-05/2.128, allocations: 41.08 kB / 0.6907 GB, free: 93.48 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.708e-05/2.128, allocations: 8 kB / 0.6907 GB, free: 93.48 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.434e-05/2.128, allocations: 23.78 kB / 0.6907 GB, free: 93.46 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04319/2.171, allocations: 16.42 MB / 0.7068 GB, free: 77.01 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.293e-05/2.171, allocations: 0 / 0.7068 GB, free: 77.01 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006435/2.177, allocations: 0.6131 MB / 0.7074 GB, free: 76.39 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006795/2.184, allocations: 1.534 MB / 0.7089 GB, free: 74.86 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006852/2.185, allocations: 58.03 kB / 0.7089 GB, free: 74.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02233/2.207, allocations: 11.52 MB / 0.7202 GB, free: 63.02 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/2.207, allocations: 4 kB / 0.7202 GB, free: 63.02 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02991/2.237, allocations: 12.3 MB / 0.7322 GB, free: 50.64 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003941/2.241, allocations: 1.123 MB / 0.7333 GB, free: 49.49 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001493/2.243, allocations: 56 kB / 0.7333 GB, free: 49.44 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004617/2.247, allocations: 252.3 kB / 0.7336 GB, free: 49.19 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007062/2.248, allocations: 206 kB / 0.7338 GB, free: 48.99 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004037/2.249, allocations: 89 kB / 0.7338 GB, free: 48.9 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.006905/2.255, allocations: 3.536 MB / 0.7373 GB, free: 45.39 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.22e-07/2.256, allocations: 0 / 0.7373 GB, free: 45.39 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.009246/2.265, allocations: 1.643 MB / 0.7389 GB, free: 43.75 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (294): * Single equations (assignments): 289 * 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.001026/2.266, allocations: 226.2 kB / 0.7391 GB, free: 43.53 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.02141/2.287, allocations: 9.071 MB / 0.748 GB, free: 34.45 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.885e-06/2.287, allocations: 0 / 0.748 GB, free: 34.45 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01002/2.297, allocations: 3.857 MB / 0.7517 GB, free: 30.55 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004713/2.302, allocations: 0.6334 MB / 0.7524 GB, free: 29.93 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03829/2.34, allocations: 18.1 MB / 0.77 GB, free: 11.77 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01003/2.351, allocations: 4.926 MB / 0.7748 GB, free: 6.812 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.01259/2.363, allocations: 2.651 MB / 0.7774 GB, free: 4.156 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003717/2.367, allocations: 383.3 kB / 0.7778 GB, free: 3.781 MB / 426.7 MB Notification: Performance of SimCode: time 1.673e-06/2.367, allocations: 0 / 0.7778 GB, free: 3.781 MB / 426.7 MB Notification: Performance of Templates: time 0.492/2.859, allocations: 63.57 MB / 0.8399 GB, free: 105.8 MB / 442.7 MB