Running command: translateModel(ModelicaTest.MultiBody.Forces.FrameForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces") Notification: Performance of loadModel(ModelicaTest): time 2.221/2.221, allocations: 235 MB / 247.2 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.871e-05/3.888e-05, allocations: 4 kB / 304.9 MB, free: 5.18 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3268/0.3268, allocations: 54.86 MB / 359.8 MB, free: 3.137 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1566/0.4835, allocations: 100.6 MB / 460.4 MB, free: 12.32 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002292/0.4838, allocations: 75.95 kB / 460.4 MB, free: 12.25 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6708/1.155, allocations: 110.8 MB / 0.5578 GB, free: 101.6 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.413e-06/1.155, allocations: 0.7656 kB / 0.5578 GB, free: 101.6 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003187/1.155, allocations: 104.8 kB / 0.5579 GB, free: 101.6 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1885 * Number of variables: 1885 Notification: Performance of Generate backend data structure: time 0.01587/1.171, allocations: 5.339 MB / 0.5632 GB, free: 99.44 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/1.171, allocations: 11.34 kB / 0.5632 GB, free: 99.44 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03785/1.209, allocations: 6.931 MB / 0.5699 GB, free: 99.05 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02008/1.229, allocations: 6.787 MB / 0.5766 GB, free: 97.76 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004738/1.229, allocations: 405.7 kB / 0.5769 GB, free: 97.61 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002316/1.232, allocations: 0.5235 MB / 0.5775 GB, free: 97.46 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03192/1.264, allocations: 12.83 MB / 0.59 GB, free: 90.65 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00031/1.264, allocations: 80.27 kB / 0.5901 GB, free: 90.6 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001936/1.266, allocations: 257 kB / 0.5903 GB, free: 90.46 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00213/1.268, allocations: 1.216 MB / 0.5915 GB, free: 90.23 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02507/1.293, allocations: 9.995 MB / 0.6013 GB, free: 84.53 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06719/1.361, allocations: 58.38 MB / 0.6583 GB, free: 24.76 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01387/1.374, allocations: 4.629 MB / 0.6628 GB, free: 19.99 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003547/1.378, allocations: 2.21 MB / 0.6649 GB, free: 17.77 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01422/1.392, allocations: 6.858 MB / 0.6716 GB, free: 10.85 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.877e-05/1.392, allocations: 51.88 kB / 0.6717 GB, free: 10.79 MB / 458.7 MB Notification: Performance of pre-optimization done (n=181): time 6.567e-06/1.392, allocations: 3.938 kB / 0.6717 GB, free: 10.79 MB / 458.7 MB Notification: Performance of matching and sorting (n=193): time 0.04739/1.44, allocations: 13.34 MB / 0.6847 GB, free: 13.36 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001505/1.44, allocations: 201.2 kB / 0.6849 GB, free: 13.12 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01324/1.453, allocations: 5.085 MB / 0.6899 GB, free: 8.062 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003882/1.454, allocations: 53.7 kB / 0.6899 GB, free: 8.004 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004849/1.459, allocations: 4.02 MB / 0.6939 GB, free: 3.984 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00126/1.46, allocations: 0.762 MB / 0.6946 GB, free: 3.23 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007279/1.461, allocations: 140 kB / 0.6947 GB, free: 3.094 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0006727/1.461, allocations: 0.5918 MB / 0.6953 GB, free: 2.496 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005523/1.467, allocations: 2.22 MB / 0.6975 GB, free: 280 kB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2844/1.751, allocations: 6.559 MB / 0.7039 GB, free: 101.8 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008353/1.76, allocations: 3.804 MB / 0.7076 GB, free: 101.7 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002607/1.76, allocations: 44.75 kB / 0.7076 GB, free: 101.7 MB / 474.7 MB Notification: Performance of matching and sorting (n=918) (initialization): time 0.02256/1.783, allocations: 8.543 MB / 0.716 GB, free: 101.2 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002009/1.783, allocations: 71.78 kB / 0.7161 GB, free: 101.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003124/1.783, allocations: 157.1 kB / 0.7162 GB, free: 101.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002029/1.785, allocations: 0.5844 MB / 0.7168 GB, free: 101.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007548/1.793, allocations: 1.617 MB / 0.7184 GB, free: 101 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008231/1.801, allocations: 5.6 MB / 0.7238 GB, free: 98.27 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007679/1.809, allocations: 373.3 kB / 0.7242 GB, free: 98.27 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001624/1.81, allocations: 441.2 kB / 0.7246 GB, free: 98.27 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 714 * Number of states: 0 () * Number of discrete variables: 42 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],frameForce2.color[3],frameForce2.color[2],frameForce2.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameForce1.color[3],frameForce1.color[2],frameForce1.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.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.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (868): * Single equations (assignments): 863 * 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%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002128/1.813, allocations: 0.651 MB / 0.7252 GB, free: 98 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001021/1.814, allocations: 491.3 kB / 0.7257 GB, free: 98 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007047/1.821, allocations: 2.969 MB / 0.7286 GB, free: 97.79 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-05/1.821, allocations: 22.86 kB / 0.7286 GB, free: 97.78 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.386e-05/1.821, allocations: 5.656 kB / 0.7286 GB, free: 97.78 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.037e-05/1.821, allocations: 7.406 kB / 0.7286 GB, free: 97.78 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01967/1.84, allocations: 8.123 MB / 0.7366 GB, free: 94.8 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.879e-05/1.841, allocations: 3.562 kB / 0.7366 GB, free: 94.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001812/1.842, allocations: 285.7 kB / 0.7368 GB, free: 94.78 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001469/1.844, allocations: 345.2 kB / 0.7372 GB, free: 94.69 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003112/1.844, allocations: 37.03 kB / 0.7372 GB, free: 94.66 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006571/1.851, allocations: 4.937 MB / 0.742 GB, free: 91.05 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.847e-06/1.851, allocations: 7.938 kB / 0.742 GB, free: 91.05 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01032/1.861, allocations: 5.918 MB / 0.7478 GB, free: 88.19 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002515/1.864, allocations: 0.7898 MB / 0.7486 GB, free: 87.71 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001238/1.865, allocations: 35.12 kB / 0.7486 GB, free: 87.69 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00307/1.868, allocations: 92.11 kB / 0.7487 GB, free: 87.67 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005043/1.869, allocations: 122.6 kB / 0.7488 GB, free: 87.64 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001933/1.869, allocations: 49.7 kB / 0.7489 GB, free: 87.63 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.008711/1.878, allocations: 3.625 MB / 0.7524 GB, free: 86.4 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.384e-06/1.878, allocations: 0 / 0.7524 GB, free: 86.4 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008375/1.886, allocations: 1.195 MB / 0.7536 GB, free: 86.27 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 (154): * Single equations (assignments): 149 * 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%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006133/1.887, allocations: 169.5 kB / 0.7537 GB, free: 86.14 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01071/1.897, allocations: 5.308 MB / 0.7589 GB, free: 84.21 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.126e-06/1.897, allocations: 0 / 0.7589 GB, free: 84.21 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002876/1.9, allocations: 1.627 MB / 0.7605 GB, free: 83.48 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003671/1.904, allocations: 0.5919 MB / 0.7611 GB, free: 83.22 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02096/1.925, allocations: 9.341 MB / 0.7702 GB, free: 79.71 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007546/1.933, allocations: 4.127 MB / 0.7742 GB, free: 78.24 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.007838/1.94, allocations: 2.293 MB / 0.7765 GB, free: 77.1 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00135/1.942, allocations: 315.4 kB / 0.7768 GB, free: 76.8 MB / 474.7 MB Notification: Performance of SimCode: time 1.919e-06/1.942, allocations: 0 / 0.7768 GB, free: 76.8 MB / 474.7 MB Notification: Performance of Templates: time 0.1135/2.055, allocations: 41.45 MB / 0.8173 GB, free: 44.7 MB / 474.7 MB