Running command: translateModel(ModelicaTest.MultiBody.Forces.FrameTorques2,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.FrameTorques2") Notification: Performance of loadModel(ModelicaTest): time 2.542/2.542, allocations: 270 MB / 283.6 MB, free: 1.801 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.053e-05/3.07e-05, allocations: 4 kB / 348.4 MB, free: 2.68 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3294/0.3294, allocations: 61.89 MB / 410.3 MB, free: 10.73 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1662/0.4957, allocations: 106.9 MB / 0.505 GB, free: 15.71 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002539/0.496, allocations: 83.94 kB / 0.5051 GB, free: 15.63 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8323/1.328, allocations: 156.2 MB / 0.6576 GB, free: 14.56 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.24e-06/1.328, allocations: 0 / 0.6576 GB, free: 14.56 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.000519/1.329, allocations: 160 kB / 0.6577 GB, free: 14.41 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2607 * Number of variables: 2607 Notification: Performance of Generate backend data structure: time 0.0261/1.355, allocations: 7.624 MB / 0.6652 GB, free: 6.703 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/1.355, allocations: 11.97 kB / 0.6652 GB, free: 6.691 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06294/1.418, allocations: 11.94 MB / 0.6769 GB, free: 10.73 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03174/1.45, allocations: 9.973 MB / 0.6866 GB, free: 0.6758 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008398/1.451, allocations: 0.5697 MB / 0.6871 GB, free: 108 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003466/1.454, allocations: 0.773 MB / 0.6879 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05168/1.506, allocations: 17.88 MB / 0.7054 GB, free: 11.98 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005377/1.506, allocations: 107 kB / 0.7055 GB, free: 11.88 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002851/1.509, allocations: 371.8 kB / 0.7058 GB, free: 11.52 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003219/1.513, allocations: 1.571 MB / 0.7074 GB, free: 9.938 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6864/2.199, allocations: 14.09 MB / 0.7211 GB, free: 83.7 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09886/2.298, allocations: 75.47 MB / 0.7948 GB, free: 42.55 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02602/2.324, allocations: 7.249 MB / 0.8019 GB, free: 41.16 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005411/2.329, allocations: 3.448 MB / 0.8053 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007194/2.33, allocations: 0.6524 MB / 0.8059 GB, free: 39.07 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.154e-05/2.33, allocations: 58.81 kB / 0.806 GB, free: 39.01 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=231): time 7.838e-06/2.33, allocations: 0 / 0.806 GB, free: 39.01 MB / 0.5105 GB Notification: Performance of matching and sorting (n=255): time 0.08581/2.416, allocations: 22.73 MB / 0.8281 GB, free: 30.65 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.564e-05/2.416, allocations: 292.8 kB / 0.8284 GB, free: 30.33 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01449/2.431, allocations: 6.458 MB / 0.8347 GB, free: 28.16 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0004792/2.431, allocations: 69.27 kB / 0.8348 GB, free: 28.1 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004386/2.436, allocations: 5.359 MB / 0.84 GB, free: 24.06 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001252/2.437, allocations: 0.9978 MB / 0.841 GB, free: 23.34 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008807/2.438, allocations: 170.8 kB / 0.8412 GB, free: 23.21 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0006522/2.439, allocations: 0.6682 MB / 0.8418 GB, free: 22.75 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005863/2.444, allocations: 2.8 MB / 0.8446 GB, free: 21.83 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008917/2.453, allocations: 7.984 MB / 0.8524 GB, free: 13.88 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009004/2.462, allocations: 4.711 MB / 0.857 GB, free: 11.1 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001507/2.463, allocations: 52 kB / 0.857 GB, free: 11.05 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1110) (initialization): time 0.02494/2.488, allocations: 10.89 MB / 0.8676 GB, free: 1.762 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001353/2.488, allocations: 84 kB / 0.8677 GB, free: 1.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002089/2.488, allocations: 188 kB / 0.8679 GB, free: 1.496 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003196/2.491, allocations: 1.033 MB / 0.8689 GB, free: 0.6367 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008928/2.5, allocations: 1.958 MB / 0.8708 GB, free: 14.97 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01863/2.519, allocations: 11.23 MB / 0.8818 GB, free: 4.273 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009369/2.528, allocations: 473.2 kB / 0.8822 GB, free: 3.859 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00194/2.53, allocations: 0.5096 MB / 0.8827 GB, free: 3.359 MB / 0.5262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 847 * Number of states: 0 () * Number of discrete variables: 74 (Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameTorque4.arrow.arrowLine.twoHeadedArrow,frameTorque4.arrow.headAtOrigin,frameTorque4.color[3],frameTorque4.color[2],frameTorque4.color[1],frameTorque3.arrow.arrowLine.twoHeadedArrow,frameTorque3.arrow.headAtOrigin,frameTorque3.color[3],frameTorque3.color[2],frameTorque3.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],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],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 (1030): * Single equations (assignments): 1023 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002755/2.533, allocations: 0.7808 MB / 0.8835 GB, free: 2.578 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001723/2.535, allocations: 0.6205 MB / 0.8841 GB, free: 1.953 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0114/2.546, allocations: 4.484 MB / 0.8885 GB, free: 14.25 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.414e-05/2.546, allocations: 31.12 kB / 0.8885 GB, free: 14.22 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.992e-05/2.546, allocations: 8 kB / 0.8885 GB, free: 14.21 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.797e-05/2.546, allocations: 10.59 kB / 0.8885 GB, free: 14.21 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03356/2.58, allocations: 12.27 MB / 0.9005 GB, free: 4.258 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.243e-05/2.58, allocations: 0 / 0.9005 GB, free: 4.258 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002729/2.583, allocations: 401 kB / 0.9009 GB, free: 3.945 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002828/2.586, allocations: 0.6967 MB / 0.9016 GB, free: 3.41 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004517/2.586, allocations: 46.78 kB / 0.9016 GB, free: 3.371 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01623/2.602, allocations: 10.12 MB / 0.9115 GB, free: 9.621 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.791e-06/2.602, allocations: 0 / 0.9115 GB, free: 9.621 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01643/2.619, allocations: 7.761 MB / 0.9191 GB, free: 2.676 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002516/2.621, allocations: 0.6769 MB / 0.9197 GB, free: 2.004 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001931/2.623, allocations: 42.44 kB / 0.9198 GB, free: 1.965 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004194/2.628, allocations: 146.5 kB / 0.9199 GB, free: 1.867 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007268/2.628, allocations: 141.9 kB / 0.92 GB, free: 1.781 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002841/2.629, allocations: 70.67 kB / 0.9201 GB, free: 1.719 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.3666/2.995, allocations: 5.168 MB / 0.9252 GB, free: 122.4 MB / 0.5574 GB Notification: Performance of sort global known variables: time 1.444e-06/2.995, allocations: 0.5312 kB / 0.9252 GB, free: 122.4 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.01124/3.007, allocations: 1.637 MB / 0.9268 GB, free: 122.4 MB / 0.5574 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,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 (195): * Single equations (assignments): 188 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 11,(1,100.0%) 11,(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.000766/3.007, allocations: 195.6 kB / 0.9269 GB, free: 122.3 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.01391/3.021, allocations: 7.039 MB / 0.9338 GB, free: 121.8 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 9.641e-06/3.021, allocations: 3.188 kB / 0.9338 GB, free: 121.8 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.004569/3.026, allocations: 2.476 MB / 0.9362 GB, free: 121.4 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006121/3.032, allocations: 0.9125 MB / 0.9371 GB, free: 121.4 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03038/3.062, allocations: 13.08 MB / 0.9499 GB, free: 118.8 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01187/3.074, allocations: 5.571 MB / 0.9553 GB, free: 117.9 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.01524/3.09, allocations: 2.728 MB / 0.958 GB, free: 117.8 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003182/3.093, allocations: 403.5 kB / 0.9584 GB, free: 117.8 MB / 0.5574 GB Notification: Performance of SimCode: time 3.228e-06/3.093, allocations: 0 / 0.9584 GB, free: 117.8 MB / 0.5574 GB Notification: Performance of Templates: time 0.1723/3.265, allocations: 60.76 MB / 1.018 GB, free: 104 MB / 0.5574 GB