Running command: translateModel(ModelicaTest.MultiBody.Forces.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques") Notification: Performance of loadModel(ModelicaTest): time 2.546/2.546, allocations: 270 MB / 283.6 MB, free: 3.027 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.791e-05/3.807e-05, allocations: 7.984 kB / 348.4 MB, free: 10.81 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1132, allocations: 61.88 MB / 410.3 MB, free: 12.99 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4484/0.5616, allocations: 108.1 MB / 0.5062 GB, free: 12.04 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002289/0.5619, allocations: 79.95 kB / 0.5063 GB, free: 11.96 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7555/1.317, allocations: 108.2 MB / 0.6119 GB, free: 110 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.982e-06/1.317, allocations: 0 / 0.6119 GB, free: 110 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003583/1.318, allocations: 99.55 kB / 0.612 GB, free: 110 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1787 * Number of variables: 1787 Notification: Performance of Generate backend data structure: time 0.01737/1.335, allocations: 5.155 MB / 0.6171 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/1.335, allocations: 12.72 kB / 0.6171 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0388/1.374, allocations: 6.874 MB / 0.6238 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01977/1.394, allocations: 6.389 MB / 0.63 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005295/1.394, allocations: 387.1 kB / 0.6304 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002288/1.397, allocations: 0.4965 MB / 0.6309 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02959/1.426, allocations: 12.28 MB / 0.6429 GB, free: 105 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002781/1.427, allocations: 75.91 kB / 0.643 GB, free: 105 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001383/1.428, allocations: 246.7 kB / 0.6432 GB, free: 105 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001822/1.43, allocations: 1.135 MB / 0.6443 GB, free: 104.9 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02328/1.453, allocations: 9.457 MB / 0.6535 GB, free: 104.9 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0648/1.518, allocations: 56.38 MB / 0.7086 GB, free: 63.13 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01348/1.532, allocations: 4.232 MB / 0.7127 GB, free: 61.54 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002989/1.535, allocations: 1.912 MB / 0.7146 GB, free: 60.71 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01162/1.546, allocations: 5.657 MB / 0.7201 GB, free: 57.81 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.941e-05/1.546, allocations: 50.81 kB / 0.7202 GB, free: 57.76 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=150): time 6.654e-06/1.546, allocations: 6.406 kB / 0.7202 GB, free: 57.76 MB / 0.5105 GB Notification: Performance of matching and sorting (n=162): time 0.04764/1.594, allocations: 12.92 MB / 0.7328 GB, free: 52.06 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.558e-05/1.594, allocations: 227.8 kB / 0.733 GB, free: 51.8 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01181/1.606, allocations: 4.957 MB / 0.7378 GB, free: 47.49 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003041/1.606, allocations: 53.17 kB / 0.7379 GB, free: 47.43 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003167/1.609, allocations: 3.868 MB / 0.7417 GB, free: 43.95 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008117/1.61, allocations: 0.6484 MB / 0.7423 GB, free: 43.39 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006059/1.611, allocations: 132 kB / 0.7424 GB, free: 43.26 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004312/1.611, allocations: 0.5901 MB / 0.743 GB, free: 42.74 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004175/1.616, allocations: 1.931 MB / 0.7449 GB, free: 41.01 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006412/1.622, allocations: 6.166 MB / 0.7509 GB, free: 33.09 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006261/1.628, allocations: 3.46 MB / 0.7543 GB, free: 30.12 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001226/1.629, allocations: 44 kB / 0.7543 GB, free: 30.07 MB / 0.5105 GB Notification: Performance of matching and sorting (n=861) (initialization): time 0.01795/1.646, allocations: 7.844 MB / 0.762 GB, free: 23.2 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.000116/1.647, allocations: 72 kB / 0.7621 GB, free: 23.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001651/1.647, allocations: 152 kB / 0.7622 GB, free: 22.98 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001808/1.649, allocations: 0.5996 MB / 0.7628 GB, free: 22.46 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006389/1.655, allocations: 1.496 MB / 0.7643 GB, free: 21.14 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007406/1.663, allocations: 5.701 MB / 0.7698 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007005/1.67, allocations: 335.2 kB / 0.7701 GB, free: 15.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001373/1.671, allocations: 423.3 kB / 0.7705 GB, free: 15 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 697 * Number of states: 0 () * Number of discrete variables: 49 (Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.arrow.arrowLine.twoHeadedArrow,frameTorque2.arrow.headAtOrigin,frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.arrow.arrowLine.twoHeadedArrow,frameTorque1.arrow.headAtOrigin,frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[1],FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[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 (809): * Single equations (assignments): 804 * 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 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001919/1.673, allocations: 0.6349 MB / 0.7712 GB, free: 14.36 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001036/1.674, allocations: 469.5 kB / 0.7716 GB, free: 13.9 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005745/1.68, allocations: 2.408 MB / 0.774 GB, free: 11.89 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.714e-05/1.68, allocations: 23.19 kB / 0.774 GB, free: 11.88 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.464e-05/1.68, allocations: 4 kB / 0.774 GB, free: 11.87 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-05/1.68, allocations: 10.89 kB / 0.774 GB, free: 11.87 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01837/1.698, allocations: 7.216 MB / 0.781 GB, free: 5.984 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-05/1.698, allocations: 4 kB / 0.7811 GB, free: 5.98 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001647/1.7, allocations: 258 kB / 0.7813 GB, free: 5.781 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001368/1.701, allocations: 359.2 kB / 0.7816 GB, free: 5.508 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002481/1.702, allocations: 31.8 kB / 0.7817 GB, free: 5.48 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006369/1.708, allocations: 5.054 MB / 0.7866 GB, free: 0.6016 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.769e-06/1.708, allocations: 8.062 kB / 0.7866 GB, free: 0.5938 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00979/1.718, allocations: 5.073 MB / 0.7916 GB, free: 11.89 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00194/1.72, allocations: 0.5262 MB / 0.7921 GB, free: 11.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00121/1.721, allocations: 28 kB / 0.7921 GB, free: 11.31 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002848/1.724, allocations: 71.92 kB / 0.7922 GB, free: 11.24 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004438/1.725, allocations: 96.77 kB / 0.7923 GB, free: 11.15 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001767/1.725, allocations: 51.81 kB / 0.7923 GB, free: 11.1 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.009232/1.734, allocations: 3.536 MB / 0.7958 GB, free: 7.59 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.141e-06/1.734, allocations: 0 / 0.7958 GB, free: 7.59 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008182/1.742, allocations: 1.116 MB / 0.7969 GB, free: 6.48 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 4 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (120): * Single equations (assignments): 115 * 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 {(1,100.0%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006279/1.743, allocations: 167.6 kB / 0.797 GB, free: 6.312 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01051/1.753, allocations: 4.682 MB / 0.8016 GB, free: 1.648 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.446e-06/1.753, allocations: 0 / 0.8016 GB, free: 1.648 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002818/1.756, allocations: 1.37 MB / 0.8029 GB, free: 264 kB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004137/1.76, allocations: 0.6021 MB / 0.8035 GB, free: 15.69 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0236/1.784, allocations: 8.676 MB / 0.812 GB, free: 6.941 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009597/1.794, allocations: 3.976 MB / 0.8159 GB, free: 2.965 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.008389/1.802, allocations: 2.134 MB / 0.818 GB, free: 0.8438 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001324/1.804, allocations: 299.4 kB / 0.8182 GB, free: 0.5547 MB / 0.5417 GB Notification: Performance of SimCode: time 1.639e-06/1.804, allocations: 0 / 0.8182 GB, free: 0.5547 MB / 0.5417 GB Notification: Performance of Templates: time 0.4293/2.233, allocations: 39.27 MB / 0.8566 GB, free: 122.7 MB / 0.5417 GB