Running command: translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques,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_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques") Notification: Performance of loadModel(ModelicaTest): time 1.957/1.957, allocations: 209.3 MB / 224.4 MB, free: 0.6641 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.298e-05/3.293e-05, allocations: 7.984 kB / 276.2 MB, free: 15.88 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.384/0.384, allocations: 48.69 MB / 324.8 MB, free: 2.891 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques): time 0.1422/0.5263, allocations: 76.91 MB / 401.8 MB, free: 2.5 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.04978/0.5761, allocations: 16.27 MB / 418 MB, free: 2.184 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01955/0.5958, allocations: 403.1 kB / 418.4 MB, free: 1.789 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01548/0.6113, allocations: 4.102 MB / 422.5 MB, free: 13.67 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04276/0.6541, allocations: 10.95 MB / 433.5 MB, free: 2.684 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006838/0.661, allocations: 0.9049 MB / 434.4 MB, free: 1.777 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.05184/0.7129, allocations: 17.26 MB / 451.6 MB, free: 0.5039 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01411/0.727, allocations: 6.644 MB / 458.3 MB, free: 9.809 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003652/0.7308, allocations: 1.313 MB / 459.6 MB, free: 8.492 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004936/0.7357, allocations: 2.073 MB / 461.7 MB, free: 6.414 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004939/0.7407, allocations: 1.104 MB / 462.8 MB, free: 5.309 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002388/0.7432, allocations: 200 kB / 463 MB, free: 5.113 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004676/0.7479, allocations: 2.556 MB / 465.5 MB, free: 2.551 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00232/0.7503, allocations: 444 kB / 466 MB, free: 2.117 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01531/0.7657, allocations: 9.333 MB / 475.3 MB, free: 8.762 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.7657, allocations: 0 / 475.3 MB, free: 8.762 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.845e-06/0.7657, allocations: 0 / 475.3 MB, free: 8.762 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004299/0.7662, allocations: 0 / 475.3 MB, free: 8.762 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: 2484 * Number of variables: 2484 Notification: Performance of Generate backend data structure: time 0.02563/0.7918, allocations: 6.798 MB / 482.1 MB, free: 1.887 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.008e-05/0.7919, allocations: 8.031 kB / 482.1 MB, free: 1.879 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.6981/1.49, allocations: 12 MB / 494.1 MB, free: 128.1 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01545/1.506, allocations: 4.864 MB / 499 MB, free: 125.3 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005411/1.506, allocations: 395.3 kB / 499.3 MB, free: 125.2 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002766/1.509, allocations: 0.516 MB / 499.9 MB, free: 125 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04678/1.556, allocations: 17.02 MB / 0.5048 GB, free: 112.4 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002958/1.556, allocations: 63.36 kB / 0.5048 GB, free: 112.3 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001962/1.558, allocations: 247.8 kB / 0.5051 GB, free: 112.2 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006935/1.565, allocations: 3.031 MB / 0.508 GB, free: 109.1 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04391/1.609, allocations: 14.4 MB / 0.5221 GB, free: 94.72 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1027/1.712, allocations: 62.42 MB / 0.583 GB, free: 31.11 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02966/1.741, allocations: 6.968 MB / 0.5898 GB, free: 23.98 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02401/1.765, allocations: 9.517 MB / 0.5991 GB, free: 14.45 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.112e-05/1.766, allocations: 68.81 kB / 0.5992 GB, free: 14.38 MB / 410.8 MB Notification: Performance of pre-optimization done (n=297): time 7.554e-06/1.766, allocations: 0 / 0.5992 GB, free: 14.38 MB / 410.8 MB Notification: Performance of matching and sorting (n=339): time 0.1575/1.923, allocations: 34.1 MB / 0.6325 GB, free: 11.93 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001722/1.923, allocations: 244.2 kB / 0.6327 GB, free: 11.64 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01648/1.94, allocations: 6.24 MB / 0.6388 GB, free: 5.406 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001112/1.941, allocations: 81.64 kB / 0.6389 GB, free: 5.32 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.005881/1.947, allocations: 4.544 MB / 0.6434 GB, free: 0.7852 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.3433/2.29, allocations: 1.264 MB / 0.6446 GB, free: 144.4 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002339/2.293, allocations: 173.7 kB / 0.6448 GB, free: 144.4 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.00154/2.294, allocations: 0.6862 MB / 0.6454 GB, free: 144.1 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01678/2.311, allocations: 3.812 MB / 0.6491 GB, free: 143.5 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02317/2.334, allocations: 8.818 MB / 0.6578 GB, free: 135.5 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02375/2.358, allocations: 5.663 MB / 0.6633 GB, free: 133.4 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004019/2.359, allocations: 49.91 kB / 0.6633 GB, free: 133.4 MB / 442.8 MB Notification: Performance of matching and sorting (n=1166) (initialization): time 0.0576/2.416, allocations: 13.79 MB / 0.6768 GB, free: 128.5 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002585/2.417, allocations: 82.39 kB / 0.6769 GB, free: 128.5 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003761/2.417, allocations: 177 kB / 0.677 GB, free: 128.5 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01412/2.431, allocations: 1.812 MB / 0.6788 GB, free: 128.1 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01972/2.451, allocations: 2.082 MB / 0.6808 GB, free: 127.9 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04133/2.492, allocations: 12.4 MB / 0.693 GB, free: 120 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02672/2.519, allocations: 0.5298 MB / 0.6935 GB, free: 119.6 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003064/2.522, allocations: 0.5144 MB / 0.694 GB, free: 119.1 MB / 442.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 801 * Number of states: 0 () * Number of discrete variables: 54 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.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],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 (1084): * Single equations (assignments): 1077 * Array equations: 5 * 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.01294/2.535, allocations: 3.234 MB / 0.6971 GB, free: 116.3 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002695/2.538, allocations: 0.5793 MB / 0.6977 GB, free: 116.1 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03294/2.571, allocations: 7.7 MB / 0.7052 GB, free: 108.8 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.424e-05/2.571, allocations: 37.08 kB / 0.7053 GB, free: 108.7 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.767e-05/2.571, allocations: 8 kB / 0.7053 GB, free: 108.7 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001036/2.572, allocations: 19.94 kB / 0.7053 GB, free: 108.7 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05023/2.622, allocations: 16.36 MB / 0.7213 GB, free: 92.4 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-05/2.622, allocations: 4 kB / 0.7213 GB, free: 92.39 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006026/2.628, allocations: 0.5772 MB / 0.7218 GB, free: 91.82 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007141/2.635, allocations: 1.534 MB / 0.7233 GB, free: 90.28 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001097/2.636, allocations: 63.98 kB / 0.7234 GB, free: 90.21 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02371/2.66, allocations: 11.58 MB / 0.7347 GB, free: 78.47 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.927e-06/2.66, allocations: 15.28 kB / 0.7347 GB, free: 78.46 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03133/2.691, allocations: 12.99 MB / 0.7474 GB, free: 65.27 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004615/2.696, allocations: 1.235 MB / 0.7486 GB, free: 64 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00227/2.698, allocations: 59.98 kB / 0.7487 GB, free: 63.95 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006044/2.704, allocations: 224.9 kB / 0.7489 GB, free: 63.73 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001221/2.706, allocations: 209.9 kB / 0.7491 GB, free: 63.52 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003935/2.706, allocations: 91.98 kB / 0.7492 GB, free: 63.43 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.01022/2.716, allocations: 4.503 MB / 0.7536 GB, free: 58.94 MB / 442.8 MB Notification: Performance of sort global known variables: time 7.52e-07/2.716, allocations: 0 / 0.7536 GB, free: 58.94 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.01111/2.728, allocations: 1.73 MB / 0.7552 GB, free: 57.22 MB / 442.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.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 (279): * Single equations (assignments): 274 * 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.001534/2.729, allocations: 223.7 kB / 0.7555 GB, free: 57 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.0216/2.751, allocations: 9.323 MB / 0.7646 GB, free: 47.68 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 1.168e-05/2.751, allocations: 4 kB / 0.7646 GB, free: 47.68 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01067/2.761, allocations: 3.789 MB / 0.7683 GB, free: 43.86 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006739/2.768, allocations: 0.7248 MB / 0.769 GB, free: 43.14 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04376/2.812, allocations: 19.77 MB / 0.7883 GB, free: 23.28 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01099/2.823, allocations: 5.182 MB / 0.7933 GB, free: 18.07 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003756/2.827, allocations: 487.3 kB / 0.7938 GB, free: 17.59 MB / 442.8 MB Notification: Performance of SimCode: time 2.635e-06/2.827, allocations: 0 / 0.7938 GB, free: 17.59 MB / 442.8 MB Notification: Performance of Templates: time 0.6463/3.473, allocations: 153 MB / 0.9432 GB, free: 11.83 MB / 442.8 MB