Running command: translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2,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_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2") Notification: Performance of loadModel(ModelicaTest): time 2.37/2.37, allocations: 270 MB / 283.6 MB, free: 1.934 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.418e-05/3.424e-05, allocations: 0 / 348.4 MB, free: 2.812 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3662/0.3663, allocations: 61.88 MB / 410.3 MB, free: 10.76 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1659/0.5322, allocations: 107.9 MB / 0.506 GB, free: 14.69 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002487/0.5325, allocations: 79.95 kB / 0.5061 GB, free: 14.61 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7984/1.331, allocations: 122 MB / 0.6253 GB, free: 15.99 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.69e-06/1.331, allocations: 0 / 0.6253 GB, free: 15.99 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0004332/1.332, allocations: 120 kB / 0.6254 GB, free: 15.88 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2137 * Number of variables: 2137 Notification: Performance of Generate backend data structure: time 0.04139/1.373, allocations: 5.934 MB / 0.6312 GB, free: 9.867 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/1.373, allocations: 8.031 kB / 0.6312 GB, free: 9.859 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03505/1.408, allocations: 7.005 MB / 0.638 GB, free: 2.836 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02031/1.428, allocations: 6.641 MB / 0.6445 GB, free: 12.13 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006538/1.429, allocations: 460.1 kB / 0.6449 GB, free: 11.68 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002638/1.432, allocations: 0.6051 MB / 0.6455 GB, free: 11.07 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04032/1.472, allocations: 15.02 MB / 0.6602 GB, free: 10.74 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003314/1.472, allocations: 79.19 kB / 0.6603 GB, free: 10.66 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002063/1.475, allocations: 291.9 kB / 0.6606 GB, free: 10.38 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002634/1.477, allocations: 1.369 MB / 0.6619 GB, free: 9 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03361/1.511, allocations: 12.13 MB / 0.6737 GB, free: 12.85 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.429/1.94, allocations: 64.81 MB / 0.737 GB, free: 68.66 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02499/1.965, allocations: 7.05 MB / 0.7439 GB, free: 68 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00497/1.97, allocations: 3.307 MB / 0.7471 GB, free: 67.96 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001527/1.97, allocations: 39.06 kB / 0.7472 GB, free: 67.96 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.162e-05/1.97, allocations: 65.19 kB / 0.7472 GB, free: 67.93 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=218): time 7.486e-06/1.97, allocations: 0 / 0.7472 GB, free: 67.93 MB / 0.5105 GB Notification: Performance of matching and sorting (n=260): time 0.1263/2.096, allocations: 25.38 MB / 0.772 GB, free: 64.2 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001044/2.097, allocations: 209.6 kB / 0.7722 GB, free: 63.97 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01034/2.107, allocations: 5.322 MB / 0.7774 GB, free: 63.48 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005763/2.108, allocations: 66.69 kB / 0.7775 GB, free: 63.45 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.00315/2.111, allocations: 4.217 MB / 0.7816 GB, free: 61.53 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001255/2.112, allocations: 0.9894 MB / 0.7826 GB, free: 60.96 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008129/2.113, allocations: 154.4 kB / 0.7827 GB, free: 60.96 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005214/2.113, allocations: 0.625 MB / 0.7833 GB, free: 60.65 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006259/2.12, allocations: 3.128 MB / 0.7864 GB, free: 60.63 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008585/2.128, allocations: 7.552 MB / 0.7938 GB, free: 54.23 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00893/2.137, allocations: 4.821 MB / 0.7985 GB, free: 52.82 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001282/2.137, allocations: 44.75 kB / 0.7985 GB, free: 52.82 MB / 0.5105 GB Notification: Performance of matching and sorting (n=990) (initialization): time 0.02743/2.165, allocations: 11.56 MB / 0.8098 GB, free: 49.79 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001301/2.165, allocations: 75.66 kB / 0.8099 GB, free: 49.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001816/2.165, allocations: 159.6 kB / 0.81 GB, free: 49.79 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005456/2.171, allocations: 1.672 MB / 0.8117 GB, free: 48.98 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008828/2.18, allocations: 1.823 MB / 0.8134 GB, free: 47.59 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02293/2.203, allocations: 11.35 MB / 0.8245 GB, free: 37.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00802/2.211, allocations: 468.9 kB / 0.825 GB, free: 37.01 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001484/2.212, allocations: 460.2 kB / 0.8254 GB, free: 36.58 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 719 * Number of states: 0 () * Number of discrete variables: 62 (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.torqueArrow.arrowLine.twoHeadedArrow,frameTorque2.torqueArrow.headAtOrigin,frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceArrow.arrowLine.twoHeadedArrow,frameTorque2.forceArrow.headAtOrigin,frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueArrow.arrowLine.twoHeadedArrow,frameTorque1.torqueArrow.headAtOrigin,frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceArrow.arrowLine.twoHeadedArrow,frameTorque1.forceArrow.headAtOrigin,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.groundColor[3],world.groundColor[2],world.groundColor[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 (918): * Single equations (assignments): 913 * 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.00157/2.214, allocations: 0.7043 MB / 0.8261 GB, free: 35.88 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001177/2.215, allocations: 0.5129 MB / 0.8266 GB, free: 35.36 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01287/2.228, allocations: 6.152 MB / 0.8326 GB, free: 30.42 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-05/2.228, allocations: 30.84 kB / 0.8326 GB, free: 30.39 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.027e-05/2.228, allocations: 8 kB / 0.8327 GB, free: 30.39 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.609e-05/2.228, allocations: 10.45 kB / 0.8327 GB, free: 30.39 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03091/2.259, allocations: 13.69 MB / 0.846 GB, free: 19.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.637e-05/2.259, allocations: 7.609 kB / 0.846 GB, free: 19.39 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003319/2.262, allocations: 490 kB / 0.8465 GB, free: 19.04 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004683/2.267, allocations: 1.416 MB / 0.8479 GB, free: 18.05 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005514/2.268, allocations: 44 kB / 0.8479 GB, free: 18 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01649/2.284, allocations: 10.59 MB / 0.8583 GB, free: 8.562 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.6e-06/2.284, allocations: 4 kB / 0.8583 GB, free: 8.559 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02085/2.305, allocations: 10.21 MB / 0.8683 GB, free: 15.92 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00194/2.307, allocations: 0.5807 MB / 0.8688 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001464/2.309, allocations: 44 kB / 0.8689 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003294/2.312, allocations: 223.1 kB / 0.8691 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006627/2.313, allocations: 145.7 kB / 0.8692 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003317/2.313, allocations: 71.42 kB / 0.8693 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00871/2.322, allocations: 3.776 MB / 0.873 GB, free: 11.67 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.016e-06/2.322, allocations: 0 / 0.873 GB, free: 11.67 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.009835/2.332, allocations: 1.469 MB / 0.8744 GB, free: 10.2 MB / 0.5261 GB 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 (202): * Single equations (assignments): 197 * 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.000823/2.332, allocations: 203.7 kB / 0.8746 GB, free: 10.01 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01651/2.349, allocations: 7.544 MB / 0.882 GB, free: 2.512 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.723e-06/2.349, allocations: 0 / 0.882 GB, free: 2.512 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.007569/2.357, allocations: 3.146 MB / 0.885 GB, free: 15.34 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004364/2.361, allocations: 0.6597 MB / 0.8857 GB, free: 14.71 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02897/2.39, allocations: 11.71 MB / 0.8971 GB, free: 2.98 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009025/2.399, allocations: 4.547 MB / 0.9016 GB, free: 14.43 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.00978/2.409, allocations: 2.586 MB / 0.9041 GB, free: 11.85 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001979/2.411, allocations: 357 kB / 0.9044 GB, free: 11.5 MB / 0.5573 GB Notification: Performance of SimCode: time 1.726e-06/2.411, allocations: 0 / 0.9044 GB, free: 11.5 MB / 0.5573 GB Notification: Performance of Templates: time 0.4805/2.891, allocations: 56.66 MB / 0.9598 GB, free: 156.8 MB / 0.573 GB