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.2_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques") Notification: Performance of loadModel(ModelicaTest): time 2.126/2.126, allocations: 235 MB / 247.6 MB, free: 14.39 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.875e-05/3.893e-05, allocations: 4 kB / 304.9 MB, free: 5.664 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3257/0.3257, allocations: 54.85 MB / 359.8 MB, free: 2.609 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1577/0.4835, allocations: 102.9 MB / 462.6 MB, free: 10.09 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002519/0.4838, allocations: 80.7 kB / 462.7 MB, free: 10.02 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7592/1.243, allocations: 138.4 MB / 0.587 GB, free: 96.42 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.278e-06/1.243, allocations: 0 / 0.587 GB, free: 96.42 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003422/1.243, allocations: 136.9 kB / 0.5872 GB, free: 96.41 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: 2488 * Number of variables: 2488 Notification: Performance of Generate backend data structure: time 0.02171/1.265, allocations: 6.793 MB / 0.5938 GB, free: 91.97 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/1.265, allocations: 10 kB / 0.5938 GB, free: 91.97 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03798/1.303, allocations: 7.176 MB / 0.6008 GB, free: 88.33 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0207/1.324, allocations: 7.544 MB / 0.6082 GB, free: 81.09 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005581/1.325, allocations: 0.5213 MB / 0.6087 GB, free: 80.57 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002938/1.327, allocations: 0.6871 MB / 0.6094 GB, free: 79.88 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04068/1.368, allocations: 17.02 MB / 0.626 GB, free: 61.49 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003339/1.369, allocations: 87.17 kB / 0.6261 GB, free: 61.4 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002153/1.371, allocations: 335.8 kB / 0.6264 GB, free: 61.07 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002615/1.373, allocations: 1.621 MB / 0.628 GB, free: 59.45 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03361/1.407, allocations: 13.89 MB / 0.6415 GB, free: 45.54 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4493/1.856, allocations: 72.26 MB / 0.7121 GB, free: 56.5 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0243/1.881, allocations: 7.083 MB / 0.719 GB, free: 55.8 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006719/1.887, allocations: 3.929 MB / 0.7228 GB, free: 55.76 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0199/1.907, allocations: 9.48 MB / 0.7321 GB, free: 54.61 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.787e-05/1.907, allocations: 64.55 kB / 0.7322 GB, free: 54.57 MB / 474.7 MB Notification: Performance of pre-optimization done (n=297): time 7.634e-06/1.907, allocations: 0 / 0.7322 GB, free: 54.57 MB / 474.7 MB Notification: Performance of matching and sorting (n=339): time 0.09667/2.004, allocations: 27.69 MB / 0.7592 GB, free: 48.52 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.626e-05/2.004, allocations: 239.4 kB / 0.7594 GB, free: 48.27 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01243/2.017, allocations: 5.885 MB / 0.7652 GB, free: 46.16 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007014/2.017, allocations: 78.08 kB / 0.7653 GB, free: 46.09 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003421/2.021, allocations: 4.575 MB / 0.7697 GB, free: 42.45 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00173/2.023, allocations: 1.265 MB / 0.771 GB, free: 41.52 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001035/2.024, allocations: 175.1 kB / 0.7711 GB, free: 41.38 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0005705/2.024, allocations: 0.6823 MB / 0.7718 GB, free: 40.91 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007783/2.032, allocations: 3.653 MB / 0.7754 GB, free: 39.64 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01024/2.042, allocations: 8.624 MB / 0.7838 GB, free: 31.68 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01171/2.054, allocations: 5.573 MB / 0.7892 GB, free: 30 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000293/2.054, allocations: 54.59 kB / 0.7893 GB, free: 30 MB / 474.7 MB Notification: Performance of matching and sorting (n=1161) (initialization): time 0.03145/2.086, allocations: 12.92 MB / 0.8019 GB, free: 22.89 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001336/2.086, allocations: 80 kB / 0.802 GB, free: 22.81 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001904/2.086, allocations: 176 kB / 0.8021 GB, free: 22.64 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00511/2.091, allocations: 1.697 MB / 0.8038 GB, free: 21.37 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009361/2.101, allocations: 2.117 MB / 0.8059 GB, free: 19.57 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01665/2.118, allocations: 11.38 MB / 0.817 GB, free: 9.316 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009431/2.127, allocations: 0.5211 MB / 0.8175 GB, free: 8.883 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001797/2.129, allocations: 0.5235 MB / 0.818 GB, free: 8.379 MB / 474.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.001872/2.131, allocations: 0.7746 MB / 0.8188 GB, free: 7.602 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001331/2.132, allocations: 0.586 MB / 0.8193 GB, free: 7.012 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01531/2.147, allocations: 7.436 MB / 0.8266 GB, free: 0.9766 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.557e-05/2.148, allocations: 43.56 kB / 0.8266 GB, free: 0.9375 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.183e-05/2.148, allocations: 8 kB / 0.8266 GB, free: 0.9297 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.175e-05/2.148, allocations: 17.17 kB / 0.8267 GB, free: 0.9258 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04094/2.189, allocations: 16.05 MB / 0.8423 GB, free: 3.289 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.31e-05/2.189, allocations: 5 kB / 0.8423 GB, free: 3.285 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004402/2.193, allocations: 0.6318 MB / 0.8429 GB, free: 2.652 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005156/2.198, allocations: 1.422 MB / 0.8443 GB, free: 1.227 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006797/2.199, allocations: 63.5 kB / 0.8444 GB, free: 1.168 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02036/2.219, allocations: 10.6 MB / 0.8548 GB, free: 6.312 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.325e-06/2.219, allocations: 4 kB / 0.8548 GB, free: 6.309 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02653/2.246, allocations: 12.58 MB / 0.867 GB, free: 9.492 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004183/2.25, allocations: 1.196 MB / 0.8682 GB, free: 8.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001609/2.252, allocations: 56 kB / 0.8683 GB, free: 8.215 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004243/2.256, allocations: 235.7 kB / 0.8685 GB, free: 7.984 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008537/2.257, allocations: 201.9 kB / 0.8687 GB, free: 7.789 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000425/2.257, allocations: 91.34 kB / 0.8688 GB, free: 7.703 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0183/2.276, allocations: 4.215 MB / 0.8729 GB, free: 3.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.09e-06/2.276, allocations: 4 kB / 0.8729 GB, free: 3.496 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.02347/2.299, allocations: 1.701 MB / 0.8745 GB, free: 1.801 MB / 0.5105 GB 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.001773/2.301, allocations: 209.9 kB / 0.8747 GB, free: 1.59 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.04178/2.343, allocations: 8.764 MB / 0.8833 GB, free: 8.84 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.02e-05/2.343, allocations: 4 kB / 0.8833 GB, free: 8.836 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.009687/2.353, allocations: 3.601 MB / 0.8868 GB, free: 5.215 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005054/2.358, allocations: 0.7099 MB / 0.8875 GB, free: 4.527 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03823/2.396, allocations: 14.49 MB / 0.9017 GB, free: 5.98 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01221/2.408, allocations: 5.182 MB / 0.9067 GB, free: 0.8008 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002972/2.411, allocations: 479.3 kB / 0.9072 GB, free: 340 kB / 0.5417 GB Notification: Performance of SimCode: time 1.89e-06/2.411, allocations: 0 / 0.9072 GB, free: 340 kB / 0.5417 GB Notification: Performance of Templates: time 0.4992/2.911, allocations: 150.7 MB / 1.054 GB, free: 75.88 MB / 0.5417 GB