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.2_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3") Notification: Performance of loadModel(ModelicaTest): time 2.192/2.192, allocations: 235 MB / 247.6 MB, free: 14.39 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.236e-05/3.248e-05, allocations: 4 kB / 304.9 MB, free: 5.664 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.322/0.3221, allocations: 54.85 MB / 359.8 MB, free: 2.648 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1569/0.4791, allocations: 100.8 MB / 460.6 MB, free: 12.16 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002294/0.4793, allocations: 79.95 kB / 460.6 MB, free: 12.09 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7338/1.213, allocations: 131 MB / 0.5778 GB, free: 98.32 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.63e-06/1.213, allocations: 0 / 0.5778 GB, free: 98.32 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003347/1.214, allocations: 127.9 kB / 0.5779 GB, free: 98.32 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: 2374 * Number of variables: 2374 Notification: Performance of Generate backend data structure: time 0.02051/1.234, allocations: 6.369 MB / 0.5841 GB, free: 95.24 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/1.234, allocations: 6.906 kB / 0.5841 GB, free: 95.24 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03774/1.272, allocations: 7.098 MB / 0.5911 GB, free: 93.19 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02045/1.292, allocations: 7.245 MB / 0.5982 GB, free: 89.25 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000551/1.293, allocations: 0.4963 MB / 0.5986 GB, free: 89.05 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002945/1.296, allocations: 0.6604 MB / 0.5993 GB, free: 88.86 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04084/1.337, allocations: 16.35 MB / 0.6152 GB, free: 72.19 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003458/1.337, allocations: 79.33 kB / 0.6153 GB, free: 72.11 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002569/1.34, allocations: 313.3 kB / 0.6156 GB, free: 71.85 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002551/1.342, allocations: 1.573 MB / 0.6172 GB, free: 70.27 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03444/1.377, allocations: 13.66 MB / 0.6305 GB, free: 56.6 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08991/1.467, allocations: 66.22 MB / 0.6952 GB, free: 4.723 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3404/1.807, allocations: 6.945 MB / 0.7019 GB, free: 105.4 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007306/1.815, allocations: 4.18 MB / 0.706 GB, free: 105.3 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03282/1.847, allocations: 15.05 MB / 0.7207 GB, free: 103.9 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.466e-05/1.848, allocations: 70.34 kB / 0.7208 GB, free: 103.8 MB / 474.7 MB Notification: Performance of pre-optimization done (n=306): time 8.565e-06/1.848, allocations: 0 / 0.7208 GB, free: 103.8 MB / 474.7 MB Notification: Performance of matching and sorting (n=348): time 0.09655/1.944, allocations: 26.03 MB / 0.7462 GB, free: 95.53 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.101e-05/1.944, allocations: 227.7 kB / 0.7464 GB, free: 95.3 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009894/1.954, allocations: 4.655 MB / 0.751 GB, free: 93.61 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007723/1.955, allocations: 81.94 kB / 0.7511 GB, free: 93.54 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002996/1.958, allocations: 4.234 MB / 0.7552 GB, free: 90.19 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001671/1.96, allocations: 1.276 MB / 0.7564 GB, free: 89.24 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009192/1.961, allocations: 165.6 kB / 0.7566 GB, free: 89.11 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0005504/1.961, allocations: 0.6531 MB / 0.7572 GB, free: 88.66 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007693/1.969, allocations: 3.54 MB / 0.7607 GB, free: 87.41 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01018/1.979, allocations: 7.94 MB / 0.7684 GB, free: 80.27 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01071/1.99, allocations: 5.258 MB / 0.7736 GB, free: 78.64 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001517/1.99, allocations: 45.66 kB / 0.7736 GB, free: 78.64 MB / 474.7 MB Notification: Performance of matching and sorting (n=1068) (initialization): time 0.06175/2.052, allocations: 12.28 MB / 0.7856 GB, free: 71.6 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002511/2.052, allocations: 72 kB / 0.7857 GB, free: 71.53 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003727/2.053, allocations: 156 kB / 0.7858 GB, free: 71.38 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01163/2.064, allocations: 1.661 MB / 0.7874 GB, free: 70.14 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01552/2.08, allocations: 1.921 MB / 0.7893 GB, free: 68.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01711/2.097, allocations: 11.35 MB / 0.8004 GB, free: 58.28 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008685/2.106, allocations: 498.6 kB / 0.8009 GB, free: 57.88 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0019/2.108, allocations: 482 kB / 0.8013 GB, free: 57.43 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 710 * 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 (996): * Single equations (assignments): 991 * 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.002606/2.11, allocations: 0.7213 MB / 0.802 GB, free: 56.71 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001346/2.112, allocations: 0.4981 MB / 0.8025 GB, free: 56.2 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0166/2.128, allocations: 7.359 MB / 0.8097 GB, free: 50.17 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.415e-05/2.128, allocations: 39.95 kB / 0.8098 GB, free: 50.13 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.413e-05/2.128, allocations: 8 kB / 0.8098 GB, free: 50.12 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.77e-05/2.129, allocations: 21.53 kB / 0.8098 GB, free: 50.12 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03708/2.166, allocations: 16 MB / 0.8254 GB, free: 37.13 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.931e-05/2.166, allocations: 0 / 0.8254 GB, free: 37.13 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004242/2.17, allocations: 0.606 MB / 0.826 GB, free: 36.64 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004691/2.175, allocations: 1.409 MB / 0.8274 GB, free: 35.24 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007911/2.176, allocations: 67.73 kB / 0.8274 GB, free: 35.18 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01606/2.192, allocations: 10.53 MB / 0.8377 GB, free: 24.39 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.742e-06/2.192, allocations: 0 / 0.8377 GB, free: 24.39 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02225/2.214, allocations: 11.88 MB / 0.8493 GB, free: 12.43 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003342/2.217, allocations: 1.103 MB / 0.8504 GB, free: 11.3 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001388/2.219, allocations: 60.61 kB / 0.8505 GB, free: 11.24 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003782/2.223, allocations: 258.4 kB / 0.8507 GB, free: 10.99 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007722/2.223, allocations: 198.1 kB / 0.8509 GB, free: 10.79 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003914/2.224, allocations: 92.55 kB / 0.851 GB, free: 10.7 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.006404/2.23, allocations: 3.265 MB / 0.8542 GB, free: 7.457 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.102e-06/2.23, allocations: 0 / 0.8542 GB, free: 7.457 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008715/2.239, allocations: 1.609 MB / 0.8558 GB, free: 5.852 MB / 474.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.0007149/2.24, allocations: 218.8 kB / 0.856 GB, free: 5.637 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01773/2.257, allocations: 8.568 MB / 0.8643 GB, free: 13.07 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.224e-06/2.257, allocations: 0 / 0.8643 GB, free: 13.07 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008839/2.266, allocations: 3.689 MB / 0.8679 GB, free: 9.355 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004025/2.27, allocations: 0.6158 MB / 0.8685 GB, free: 8.77 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3194/2.59, allocations: 13.67 MB / 0.8819 GB, free: 127.2 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01183/2.602, allocations: 4.928 MB / 0.8867 GB, free: 126.4 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002872/2.605, allocations: 436.6 kB / 0.8871 GB, free: 126.4 MB / 0.4948 GB Notification: Performance of SimCode: time 1.602e-06/2.605, allocations: 1.375 kB / 0.8871 GB, free: 126.4 MB / 0.4948 GB Notification: Performance of Templates: time 0.1978/2.802, allocations: 140.6 MB / 1.024 GB, free: 36.53 MB / 0.4948 GB