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.84/1.84, allocations: 209.3 MB / 221.9 MB, free: 7.734 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.113e-05/3.134e-05, allocations: 4 kB / 273.1 MB, free: 3.672 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08642/0.08647, allocations: 48.7 MB / 321.8 MB, free: 2.879 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3642/0.4507, allocations: 96.03 MB / 417.8 MB, free: 15.75 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002356/0.451, allocations: 75.2 kB / 417.9 MB, free: 15.71 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8202/1.271, allocations: 138.2 MB / 0.5431 GB, free: 71.91 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.249e-06/1.271, allocations: 0 / 0.5431 GB, free: 71.91 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.00042/1.272, allocations: 131.6 kB / 0.5432 GB, free: 71.91 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: 2484 * Number of variables: 2484 Notification: Performance of Generate backend data structure: time 0.0217/1.293, allocations: 6.793 MB / 0.5498 GB, free: 69.28 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/1.294, allocations: 7.594 kB / 0.5498 GB, free: 69.28 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03912/1.333, allocations: 7.184 MB / 0.5568 GB, free: 68.8 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02193/1.355, allocations: 7.525 MB / 0.5642 GB, free: 67.94 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005848/1.355, allocations: 0.5173 MB / 0.5647 GB, free: 67.93 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002859/1.358, allocations: 0.684 MB / 0.5654 GB, free: 67.92 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04224/1.4, allocations: 17.01 MB / 0.582 GB, free: 64.23 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003761/1.401, allocations: 94.83 kB / 0.5821 GB, free: 64.23 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00241/1.403, allocations: 332.7 kB / 0.5824 GB, free: 64.23 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002869/1.406, allocations: 1.627 MB / 0.584 GB, free: 64.2 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03614/1.442, allocations: 13.88 MB / 0.5975 GB, free: 62.32 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08844/1.531, allocations: 72.23 MB / 0.6681 GB, free: 1.34 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03161/1.562, allocations: 7.541 MB / 0.6754 GB, free: 12.49 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007261/1.57, allocations: 3.932 MB / 0.6793 GB, free: 8.883 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3398/1.91, allocations: 9.461 MB / 0.6885 GB, free: 81.66 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.544e-05/1.91, allocations: 65.73 kB / 0.6886 GB, free: 81.62 MB / 442.7 MB Notification: Performance of pre-optimization done (n=297): time 8.687e-06/1.91, allocations: 0 / 0.6886 GB, free: 81.62 MB / 442.7 MB Notification: Performance of matching and sorting (n=339): time 0.09993/2.01, allocations: 27.69 MB / 0.7156 GB, free: 76.87 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.353e-05/2.01, allocations: 247.3 kB / 0.7158 GB, free: 76.61 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01264/2.022, allocations: 5.892 MB / 0.7216 GB, free: 76.11 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007337/2.023, allocations: 77.95 kB / 0.7217 GB, free: 76.08 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003444/2.027, allocations: 4.566 MB / 0.7261 GB, free: 73.89 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001708/2.028, allocations: 1.262 MB / 0.7274 GB, free: 73.16 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001057/2.03, allocations: 182.5 kB / 0.7275 GB, free: 73.16 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000679/2.03, allocations: 0.6841 MB / 0.7282 GB, free: 72.83 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007817/2.038, allocations: 3.646 MB / 0.7318 GB, free: 72.8 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01046/2.049, allocations: 8.627 MB / 0.7402 GB, free: 66.38 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01045/2.059, allocations: 5.564 MB / 0.7456 GB, free: 66.33 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000157/2.059, allocations: 51.66 kB / 0.7457 GB, free: 66.33 MB / 442.7 MB Notification: Performance of matching and sorting (n=1161) (initialization): time 0.03079/2.09, allocations: 12.92 MB / 0.7583 GB, free: 63.17 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001464/2.09, allocations: 84.81 kB / 0.7584 GB, free: 63.17 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00021/2.09, allocations: 178.6 kB / 0.7585 GB, free: 63.17 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005468/2.096, allocations: 1.692 MB / 0.7602 GB, free: 62.88 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01015/2.106, allocations: 2.114 MB / 0.7623 GB, free: 62.64 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01793/2.124, allocations: 11.38 MB / 0.7734 GB, free: 56.57 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009922/2.134, allocations: 0.5308 MB / 0.7739 GB, free: 56.41 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001945/2.136, allocations: 0.5208 MB / 0.7744 GB, free: 56.34 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 806 * 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 (1089): * Single equations (assignments): 1084 * 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.00222/2.138, allocations: 0.773 MB / 0.7752 GB, free: 55.71 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00139/2.14, allocations: 0.5859 MB / 0.7757 GB, free: 55.39 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01709/2.157, allocations: 7.442 MB / 0.783 GB, free: 52.07 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.268e-05/2.157, allocations: 39.31 kB / 0.783 GB, free: 52.04 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.952e-05/2.157, allocations: 8 kB / 0.783 GB, free: 52.03 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.596e-05/2.157, allocations: 13.45 kB / 0.7831 GB, free: 52.03 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03744/2.195, allocations: 15.99 MB / 0.7987 GB, free: 39.15 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.95e-05/2.195, allocations: 4 kB / 0.7987 GB, free: 39.15 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004561/2.199, allocations: 0.6285 MB / 0.7993 GB, free: 38.66 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004733/2.204, allocations: 1.415 MB / 0.8007 GB, free: 37.68 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007887/2.205, allocations: 70.11 kB / 0.8007 GB, free: 37.61 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01654/2.221, allocations: 10.6 MB / 0.8111 GB, free: 28.15 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.128e-06/2.221, allocations: 7.938 kB / 0.8111 GB, free: 28.14 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02204/2.243, allocations: 12.58 MB / 0.8234 GB, free: 16.9 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004011/2.248, allocations: 1.196 MB / 0.8246 GB, free: 15.79 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002109/2.25, allocations: 60 kB / 0.8246 GB, free: 15.73 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004814/2.255, allocations: 228.8 kB / 0.8248 GB, free: 15.59 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001082/2.256, allocations: 202.4 kB / 0.825 GB, free: 15.46 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005806/2.256, allocations: 88.03 kB / 0.8251 GB, free: 15.38 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.01054/2.267, allocations: 4.226 MB / 0.8292 GB, free: 11.66 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.61e-06/2.267, allocations: 0 / 0.8292 GB, free: 11.66 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0107/2.278, allocations: 1.703 MB / 0.8309 GB, free: 9.965 MB / 442.7 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.00109/2.279, allocations: 215.8 kB / 0.8311 GB, free: 9.758 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01746/2.296, allocations: 8.754 MB / 0.8397 GB, free: 1.828 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.512e-06/2.296, allocations: 0 / 0.8397 GB, free: 1.828 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01378/2.31, allocations: 3.895 MB / 0.8435 GB, free: 15.33 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005602/2.316, allocations: 0.721 MB / 0.8442 GB, free: 14.71 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3111/2.627, allocations: 14.46 MB / 0.8583 GB, free: 85.66 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01337/2.64, allocations: 5.177 MB / 0.8633 GB, free: 84.8 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003183/2.643, allocations: 483.4 kB / 0.8638 GB, free: 84.8 MB / 458.7 MB Notification: Performance of SimCode: time 2.077e-06/2.644, allocations: 0 / 0.8638 GB, free: 84.8 MB / 458.7 MB Notification: Performance of Templates: time 0.2235/2.867, allocations: 150.6 MB / 1.011 GB, free: 9.668 MB / 474.7 MB