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_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2") Notification: Performance of loadModel(ModelicaTest): time 2.422/2.422, allocations: 249.5 MB / 261.6 MB, free: 2.16 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 2.93e-05/2.936e-05, allocations: 4 kB / 323.4 MB, free: 4.312 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3215/0.3216, allocations: 58.84 MB / 382.2 MB, free: 10.32 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2334/0.555, allocations: 107.4 MB / 489.7 MB, free: 1.047 MB / 410.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002502/0.5553, allocations: 71.97 kB / 489.7 MB, free: 0.9766 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.7413/1.297, allocations: 133.5 MB / 0.6086 GB, free: 66.3 MB / 458.8 MB Notification: Performance of FrontEnd: time 2.643e-06/1.297, allocations: 0 / 0.6086 GB, free: 66.3 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.0003552/1.297, allocations: 131.9 kB / 0.6088 GB, free: 66.18 MB / 458.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2413 * Number of variables: 2413 Notification: Performance of Generate backend data structure: time 0.02028/1.317, allocations: 6.438 MB / 0.615 GB, free: 59.66 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/1.317, allocations: 15.95 kB / 0.6151 GB, free: 59.65 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03669/1.354, allocations: 7.128 MB / 0.622 GB, free: 52.5 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01986/1.374, allocations: 7.271 MB / 0.6291 GB, free: 45.17 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005669/1.375, allocations: 0.5014 MB / 0.6296 GB, free: 44.66 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002743/1.377, allocations: 0.6715 MB / 0.6303 GB, free: 43.99 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03845/1.416, allocations: 16.54 MB / 0.6464 GB, free: 26.11 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003393/1.416, allocations: 83.28 kB / 0.6465 GB, free: 26.02 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002136/1.418, allocations: 323.8 kB / 0.6468 GB, free: 25.71 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002475/1.421, allocations: 1.566 MB / 0.6483 GB, free: 24.14 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03256/1.454, allocations: 13.52 MB / 0.6615 GB, free: 10.6 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4857/1.939, allocations: 70.23 MB / 0.7301 GB, free: 68.58 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02553/1.965, allocations: 7.823 MB / 0.7378 GB, free: 67.9 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006244/1.971, allocations: 3.878 MB / 0.7415 GB, free: 67.87 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002263/1.971, allocations: 56.47 kB / 0.7416 GB, free: 67.87 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.92e-05/1.971, allocations: 67.97 kB / 0.7417 GB, free: 67.82 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=290): time 7.897e-06/1.971, allocations: 0 / 0.7417 GB, free: 67.82 MB / 0.4949 GB Notification: Performance of matching and sorting (n=332): time 0.1006/2.072, allocations: 28.26 MB / 0.7693 GB, free: 63.86 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.826e-05/2.072, allocations: 215.4 kB / 0.7695 GB, free: 63.64 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01157/2.084, allocations: 5.592 MB / 0.7749 GB, free: 63.14 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0007509/2.085, allocations: 77.55 kB / 0.775 GB, free: 63.11 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.003654/2.088, allocations: 4.603 MB / 0.7795 GB, free: 60.78 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.001732/2.09, allocations: 1.237 MB / 0.7807 GB, free: 60.06 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009295/2.091, allocations: 174.5 kB / 0.7809 GB, free: 60.06 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0005505/2.092, allocations: 0.6683 MB / 0.7815 GB, free: 59.74 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007718/2.099, allocations: 3.709 MB / 0.7852 GB, free: 58.66 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01058/2.11, allocations: 8.497 MB / 0.7934 GB, free: 50.95 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01069/2.121, allocations: 5.571 MB / 0.7989 GB, free: 49.26 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001364/2.121, allocations: 49.66 kB / 0.7989 GB, free: 49.26 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1122) (initialization): time 0.03019/2.151, allocations: 13.13 MB / 0.8118 GB, free: 41.64 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001292/2.151, allocations: 76 kB / 0.8118 GB, free: 41.56 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001941/2.151, allocations: 175.6 kB / 0.812 GB, free: 41.39 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005047/2.156, allocations: 1.677 MB / 0.8136 GB, free: 40.14 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009392/2.166, allocations: 2.096 MB / 0.8157 GB, free: 38.38 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01689/2.183, allocations: 11.36 MB / 0.8268 GB, free: 28.19 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009218/2.192, allocations: 0.5318 MB / 0.8273 GB, free: 27.76 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001862/2.194, allocations: 0.4971 MB / 0.8278 GB, free: 27.28 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 773 * Number of states: 0 () * Number of discrete variables: 54 (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.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],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 (1050): * Single equations (assignments): 1045 * 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.001866/2.196, allocations: 0.7582 MB / 0.8285 GB, free: 26.53 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001333/2.197, allocations: 0.5554 MB / 0.8291 GB, free: 25.96 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0159/2.213, allocations: 7.436 MB / 0.8363 GB, free: 19.88 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.694e-05/2.213, allocations: 32 kB / 0.8364 GB, free: 19.85 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.163e-05/2.213, allocations: 15.28 kB / 0.8364 GB, free: 19.84 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.608e-05/2.213, allocations: 13.73 kB / 0.8364 GB, free: 19.84 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03611/2.249, allocations: 16.26 MB / 0.8523 GB, free: 6.645 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.054e-05/2.249, allocations: 4.375 kB / 0.8523 GB, free: 6.641 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00425/2.254, allocations: 0.654 MB / 0.8529 GB, free: 6.141 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004601/2.258, allocations: 1.413 MB / 0.8543 GB, free: 5.148 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007323/2.259, allocations: 63.7 kB / 0.8543 GB, free: 5.09 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01832/2.277, allocations: 10.6 MB / 0.8647 GB, free: 11.05 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.035e-06/2.278, allocations: 4 kB / 0.8647 GB, free: 11.04 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02841/2.306, allocations: 12.71 MB / 0.8771 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004285/2.31, allocations: 1.204 MB / 0.8783 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001686/2.312, allocations: 56 kB / 0.8783 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004705/2.317, allocations: 271.6 kB / 0.8786 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001101/2.318, allocations: 201.8 kB / 0.8788 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000431/2.318, allocations: 87.98 kB / 0.8789 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.01035/2.329, allocations: 3.964 MB / 0.8827 GB, free: 8.273 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.248e-06/2.329, allocations: 0 / 0.8827 GB, free: 8.273 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01114/2.34, allocations: 1.674 MB / 0.8844 GB, free: 6.605 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (278): * Single equations (assignments): 273 * 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.001119/2.341, allocations: 219.8 kB / 0.8846 GB, free: 6.391 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.02035/2.361, allocations: 8.915 MB / 0.8933 GB, free: 13.48 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 9.273e-06/2.361, allocations: 0 / 0.8933 GB, free: 13.48 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.009485/2.371, allocations: 3.758 MB / 0.897 GB, free: 9.699 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005037/2.376, allocations: 0.6696 MB / 0.8976 GB, free: 9.055 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03573/2.412, allocations: 13.42 MB / 0.9107 GB, free: 11.57 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01233/2.424, allocations: 4.998 MB / 0.9156 GB, free: 6.578 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.01217/2.436, allocations: 2.93 MB / 0.9185 GB, free: 3.656 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002595/2.439, allocations: 395.3 kB / 0.9188 GB, free: 3.27 MB / 0.5574 GB Notification: Performance of SimCode: time 1.809e-06/2.439, allocations: 0 / 0.9188 GB, free: 3.27 MB / 0.5574 GB Notification: Performance of Templates: time 0.4815/2.921, allocations: 62.44 MB / 0.9798 GB, free: 172.6 MB / 0.573 GB