Running command: translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques,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.FrameForcesAndTorques") Notification: Performance of loadModel(ModelicaTest): time 2.454/2.454, allocations: 270 MB / 283.6 MB, free: 1.797 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.763e-05/3.777e-05, allocations: 8 kB / 348.4 MB, free: 2.668 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3233/0.3233, allocations: 61.87 MB / 410.3 MB, free: 10.7 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1723/0.4957, allocations: 109.5 MB / 0.5076 GB, free: 13.03 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002517/0.496, allocations: 75.97 kB / 0.5077 GB, free: 12.95 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.786/1.282, allocations: 127.6 MB / 0.6322 GB, free: 8.746 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.371e-06/1.282, allocations: 0 / 0.6322 GB, free: 8.746 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003449/1.282, allocations: 128 kB / 0.6324 GB, free: 8.621 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: 2215 * Number of variables: 2215 Notification: Performance of Generate backend data structure: time 0.01989/1.302, allocations: 6.287 MB / 0.6385 GB, free: 2.254 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/1.302, allocations: 8.031 kB / 0.6385 GB, free: 2.246 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04879/1.351, allocations: 7.066 MB / 0.6454 GB, free: 11.16 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03954/1.391, allocations: 6.944 MB / 0.6522 GB, free: 4.125 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001057/1.392, allocations: 480.5 kB / 0.6526 GB, free: 3.652 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004331/1.396, allocations: 0.6246 MB / 0.6533 GB, free: 3.027 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05876/1.455, allocations: 15.51 MB / 0.6684 GB, free: 2.176 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003793/1.456, allocations: 91.17 kB / 0.6685 GB, free: 2.086 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00211/1.458, allocations: 299.8 kB / 0.6688 GB, free: 1.793 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002911/1.461, allocations: 1.424 MB / 0.6702 GB, free: 376 kB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03555/1.496, allocations: 12.52 MB / 0.6824 GB, free: 3.832 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.475/1.971, allocations: 66.9 MB / 0.7477 GB, free: 60.18 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02117/1.992, allocations: 6.323 MB / 0.7539 GB, free: 59.48 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005144/1.998, allocations: 3.355 MB / 0.7572 GB, free: 59.45 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01643/2.014, allocations: 7.98 MB / 0.765 GB, free: 58.08 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.121e-05/2.014, allocations: 53.59 kB / 0.765 GB, free: 58.04 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=227): time 7.12e-06/2.014, allocations: 3.656 kB / 0.765 GB, free: 58.04 MB / 0.5105 GB Notification: Performance of matching and sorting (n=269): time 0.08883/2.103, allocations: 24.82 MB / 0.7893 GB, free: 53.06 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.89e-05/2.103, allocations: 232.1 kB / 0.7895 GB, free: 52.81 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01116/2.114, allocations: 5.633 MB / 0.795 GB, free: 52.31 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.000566/2.115, allocations: 65.47 kB / 0.795 GB, free: 52.28 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003326/2.118, allocations: 4.43 MB / 0.7994 GB, free: 49.86 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001292/2.12, allocations: 1.022 MB / 0.8004 GB, free: 49.11 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006888/2.12, allocations: 162.5 kB / 0.8005 GB, free: 48.98 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004571/2.121, allocations: 0.639 MB / 0.8011 GB, free: 48.54 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006299/2.127, allocations: 3.067 MB / 0.8041 GB, free: 47.5 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009091/2.136, allocations: 7.708 MB / 0.8117 GB, free: 40.19 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009284/2.146, allocations: 4.818 MB / 0.8164 GB, free: 38.79 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001252/2.146, allocations: 48.12 kB / 0.8164 GB, free: 38.79 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1032) (initialization): time 0.02786/2.174, allocations: 11.63 MB / 0.8278 GB, free: 35.37 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001362/2.174, allocations: 79.95 kB / 0.8279 GB, free: 35.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001884/2.174, allocations: 164 kB / 0.828 GB, free: 35.13 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005147/2.179, allocations: 1.684 MB / 0.8297 GB, free: 33.89 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008296/2.187, allocations: 1.852 MB / 0.8315 GB, free: 32.32 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01674/2.204, allocations: 11.37 MB / 0.8426 GB, free: 22.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008701/2.213, allocations: 468.5 kB / 0.843 GB, free: 21.72 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001699/2.215, allocations: 482.7 kB / 0.8435 GB, free: 21.26 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 755 * Number of states: 0 () * Number of discrete variables: 65 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.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],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 (960): * Single equations (assignments): 955 * 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.001964/2.217, allocations: 0.7282 MB / 0.8442 GB, free: 20.54 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001262/2.218, allocations: 0.536 MB / 0.8447 GB, free: 20 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01321/2.231, allocations: 6.024 MB / 0.8506 GB, free: 15.17 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.535e-05/2.231, allocations: 28 kB / 0.8506 GB, free: 15.14 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.464e-05/2.231, allocations: 8 kB / 0.8506 GB, free: 15.14 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.303e-05/2.231, allocations: 22.34 kB / 0.8506 GB, free: 15.13 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03062/2.262, allocations: 13.6 MB / 0.8639 GB, free: 4.188 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.181e-05/2.262, allocations: 7.875 kB / 0.8639 GB, free: 4.184 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003246/2.265, allocations: 490.6 kB / 0.8644 GB, free: 3.816 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004683/2.27, allocations: 1.416 MB / 0.8658 GB, free: 2.82 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005743/2.271, allocations: 47.8 kB / 0.8658 GB, free: 2.777 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.019/2.29, allocations: 10.6 MB / 0.8762 GB, free: 9.293 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.617e-06/2.29, allocations: 7.938 kB / 0.8762 GB, free: 9.285 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02144/2.311, allocations: 10.31 MB / 0.8863 GB, free: 128 kB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002167/2.313, allocations: 0.6194 MB / 0.8869 GB, free: 15.51 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001221/2.315, allocations: 44 kB / 0.8869 GB, free: 15.46 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003265/2.318, allocations: 183.6 kB / 0.8871 GB, free: 15.35 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006565/2.319, allocations: 168.4 kB / 0.8872 GB, free: 15.25 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003265/2.319, allocations: 74.8 kB / 0.8873 GB, free: 15.18 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.009428/2.328, allocations: 4.023 MB / 0.8912 GB, free: 11.63 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.372e-06/2.329, allocations: 0 / 0.8912 GB, free: 11.63 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01006/2.339, allocations: 1.497 MB / 0.8927 GB, free: 10.14 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.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 (211): * Single equations (assignments): 206 * 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.0009441/2.34, allocations: 211.5 kB / 0.8929 GB, free: 9.941 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01617/2.356, allocations: 7.415 MB / 0.9001 GB, free: 3.223 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.733e-06/2.356, allocations: 0 / 0.9001 GB, free: 3.223 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.007212/2.363, allocations: 3.035 MB / 0.9031 GB, free: 384 kB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004826/2.368, allocations: 0.7085 MB / 0.9038 GB, free: 15.7 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03093/2.399, allocations: 12.06 MB / 0.9156 GB, free: 3.594 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01061/2.41, allocations: 4.736 MB / 0.9202 GB, free: 14.86 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.009799/2.419, allocations: 2.641 MB / 0.9228 GB, free: 12.23 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002015/2.421, allocations: 371.4 kB / 0.9231 GB, free: 11.87 MB / 0.573 GB Notification: Performance of SimCode: time 2.202e-06/2.421, allocations: 0 / 0.9231 GB, free: 11.87 MB / 0.573 GB Notification: Performance of Templates: time 0.5005/2.922, allocations: 58.2 MB / 0.98 GB, free: 151.6 MB / 0.573 GB