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_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3") Notification: Performance of loadModel(ModelicaTest): time 2.533/2.533, allocations: 270 MB / 283.6 MB, free: 1.781 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.067e-05/3.081e-05, allocations: 4 kB / 348.4 MB, free: 2.676 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3564/0.3565, allocations: 61.88 MB / 410.3 MB, free: 10.73 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1665/0.5231, allocations: 107.4 MB / 0.5055 GB, free: 15.21 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003441/0.5235, allocations: 75.97 kB / 0.5056 GB, free: 15.13 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7103/1.234, allocations: 120.1 MB / 0.6228 GB, free: 18.43 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.708e-06/1.234, allocations: 0 / 0.6228 GB, free: 18.43 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003466/1.234, allocations: 115.9 kB / 0.6229 GB, free: 18.32 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: 2101 * Number of variables: 2101 Notification: Performance of Generate backend data structure: time 0.01928/1.253, allocations: 5.867 MB / 0.6287 GB, free: 12.38 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.724e-05/1.254, allocations: 15.97 kB / 0.6287 GB, free: 12.36 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0635/1.317, allocations: 6.974 MB / 0.6355 GB, free: 5.371 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03468/1.352, allocations: 6.659 MB / 0.642 GB, free: 14.64 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009635/1.353, allocations: 451.8 kB / 0.6424 GB, free: 14.2 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004353/1.357, allocations: 0.5934 MB / 0.643 GB, free: 13.61 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07825/1.435, allocations: 14.86 MB / 0.6575 GB, free: 13.61 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000503/1.436, allocations: 71.33 kB / 0.6576 GB, free: 13.54 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002037/1.438, allocations: 287.8 kB / 0.6578 GB, free: 13.25 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003814/1.442, allocations: 1.369 MB / 0.6592 GB, free: 11.88 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04408/1.486, allocations: 12.29 MB / 0.6712 GB, free: 15.56 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4857/1.972, allocations: 60.82 MB / 0.7306 GB, free: 73.46 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0215/1.993, allocations: 6.068 MB / 0.7365 GB, free: 72.8 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005666/1.999, allocations: 3.564 MB / 0.74 GB, free: 72.76 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02446/2.024, allocations: 12.85 MB / 0.7525 GB, free: 71.26 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.362e-05/2.024, allocations: 56.44 kB / 0.7526 GB, free: 71.22 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=228): time 7.002e-06/2.024, allocations: 0 / 0.7526 GB, free: 71.22 MB / 0.5105 GB Notification: Performance of matching and sorting (n=270): time 0.1211/2.145, allocations: 23.12 MB / 0.7752 GB, free: 67.5 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.486e-05/2.145, allocations: 207.7 kB / 0.7754 GB, free: 67.28 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009114/2.154, allocations: 4.393 MB / 0.7797 GB, free: 66.63 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005959/2.155, allocations: 71.5 kB / 0.7797 GB, free: 66.57 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002981/2.158, allocations: 4.038 MB / 0.7837 GB, free: 63.65 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.00134/2.159, allocations: 1.009 MB / 0.7847 GB, free: 62.91 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006988/2.16, allocations: 146.1 kB / 0.7848 GB, free: 62.8 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004397/2.16, allocations: 0.6098 MB / 0.7854 GB, free: 62.37 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006317/2.167, allocations: 2.952 MB / 0.7883 GB, free: 61.36 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00835/2.175, allocations: 7.021 MB / 0.7951 GB, free: 54.88 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008668/2.184, allocations: 4.518 MB / 0.7995 GB, free: 53.55 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001153/2.184, allocations: 40.47 kB / 0.7996 GB, free: 53.55 MB / 0.5105 GB Notification: Performance of matching and sorting (n=939) (initialization): time 0.02694/2.211, allocations: 10.93 MB / 0.8103 GB, free: 49.84 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001169/2.211, allocations: 64 kB / 0.8103 GB, free: 49.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00017/2.211, allocations: 148 kB / 0.8105 GB, free: 49.63 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005331/2.216, allocations: 1.65 MB / 0.8121 GB, free: 48.41 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007563/2.224, allocations: 1.664 MB / 0.8137 GB, free: 47.13 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02508/2.249, allocations: 11.33 MB / 0.8248 GB, free: 37 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01332/2.263, allocations: 436.2 kB / 0.8252 GB, free: 36.64 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002336/2.265, allocations: 427.4 kB / 0.8256 GB, free: 36.24 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 659 * Number of states: 0 () * Number of discrete variables: 59 (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.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],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.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 (867): * Single equations (assignments): 862 * 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.002922/2.268, allocations: 0.6623 MB / 0.8262 GB, free: 35.59 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001352/2.269, allocations: 458.1 kB / 0.8267 GB, free: 35.13 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01867/2.288, allocations: 6.02 MB / 0.8325 GB, free: 30.29 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.635e-05/2.288, allocations: 34.61 kB / 0.8326 GB, free: 30.26 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.207e-05/2.288, allocations: 8 kB / 0.8326 GB, free: 30.25 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-05/2.288, allocations: 20.64 kB / 0.8326 GB, free: 30.24 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03016/2.318, allocations: 13.45 MB / 0.8457 GB, free: 19.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.228e-05/2.318, allocations: 0 / 0.8457 GB, free: 19.44 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003007/2.321, allocations: 445.1 kB / 0.8462 GB, free: 19.09 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004729/2.326, allocations: 1.423 MB / 0.8476 GB, free: 18.1 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005745/2.327, allocations: 47.62 kB / 0.8476 GB, free: 18.06 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0166/2.343, allocations: 10.58 MB / 0.8579 GB, free: 8.621 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/2.344, allocations: 4.875 kB / 0.8579 GB, free: 8.617 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01852/2.362, allocations: 9.79 MB / 0.8675 GB, free: 104 kB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001658/2.364, allocations: 0.4971 MB / 0.868 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001551/2.365, allocations: 44 kB / 0.868 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00377/2.369, allocations: 211.4 kB / 0.8682 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009161/2.37, allocations: 164.7 kB / 0.8684 GB, free: 15.33 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004155/2.371, allocations: 64 kB / 0.8684 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.008048/2.379, allocations: 3.079 MB / 0.8714 GB, free: 12.56 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.11e-06/2.379, allocations: 0 / 0.8714 GB, free: 12.56 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00924/2.388, allocations: 1.408 MB / 0.8728 GB, free: 11.16 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 (212): * Single equations (assignments): 207 * 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.0008824/2.389, allocations: 205 kB / 0.873 GB, free: 10.96 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01608/2.405, allocations: 7.204 MB / 0.8801 GB, free: 4.164 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.11e-06/2.405, allocations: 0 / 0.8801 GB, free: 4.164 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.007589/2.413, allocations: 3.073 MB / 0.8831 GB, free: 1.074 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004175/2.417, allocations: 0.6135 MB / 0.8837 GB, free: 0.4961 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02999/2.447, allocations: 11.35 MB / 0.8947 GB, free: 5.219 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0108/2.458, allocations: 4.488 MB / 0.8991 GB, free: 0.7148 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.00981/2.468, allocations: 2.34 MB / 0.9014 GB, free: 14.39 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001991/2.47, allocations: 323.4 kB / 0.9017 GB, free: 14.08 MB / 0.5573 GB Notification: Performance of SimCode: time 1.982e-06/2.47, allocations: 0 / 0.9017 GB, free: 14.08 MB / 0.5573 GB Notification: Performance of Templates: time 0.58/3.05, allocations: 53.3 MB / 0.9538 GB, free: 155.7 MB / 0.573 GB