Running command: translateModel(ModelicaTest.MultiBody.Forces.FrameForces2,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.2_ModelicaTest.MultiBody.Forces.FrameForces2") Notification: Performance of loadModel(ModelicaTest): time 2.221/2.221, allocations: 235 MB / 247.2 MB, free: 14.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.299e-05/4.313e-05, allocations: 4 kB / 304.9 MB, free: 5.395 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3314/0.3315, allocations: 54.87 MB / 359.8 MB, free: 3.02 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1533/0.4848, allocations: 99.36 MB / 459.1 MB, free: 13.59 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002507/0.4851, allocations: 79.89 kB / 459.2 MB, free: 13.52 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.895/1.38, allocations: 162.6 MB / 0.6073 GB, free: 81.38 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.46e-06/1.38, allocations: 0 / 0.6073 GB, free: 81.38 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004892/1.381, allocations: 167.9 kB / 0.6075 GB, free: 81.21 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: 2806 * Number of variables: 2806 Notification: Performance of Generate backend data structure: time 0.0234/1.404, allocations: 7.998 MB / 0.6153 GB, free: 73.13 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/1.404, allocations: 11.97 kB / 0.6153 GB, free: 73.12 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0619/1.466, allocations: 12.04 MB / 0.627 GB, free: 61.05 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0284/1.495, allocations: 10.8 MB / 0.6376 GB, free: 50.18 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006479/1.495, allocations: 0.6097 MB / 0.6382 GB, free: 49.56 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003055/1.498, allocations: 0.812 MB / 0.639 GB, free: 48.75 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04396/1.542, allocations: 19.02 MB / 0.6575 GB, free: 28.23 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000419/1.543, allocations: 107 kB / 0.6576 GB, free: 28.12 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002069/1.545, allocations: 387.8 kB / 0.658 GB, free: 27.74 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00281/1.548, allocations: 1.728 MB / 0.6597 GB, free: 26.01 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03672/1.584, allocations: 15.19 MB / 0.6745 GB, free: 10.8 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6851/2.27, allocations: 79.62 MB / 0.7523 GB, free: 35.67 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02818/2.298, allocations: 8.15 MB / 0.7602 GB, free: 34.97 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006912/2.305, allocations: 4.083 MB / 0.7642 GB, free: 34.92 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007732/2.306, allocations: 0.6625 MB / 0.7649 GB, free: 34.36 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.697e-05/2.306, allocations: 70.81 kB / 0.7649 GB, free: 34.32 MB / 474.8 MB Notification: Performance of pre-optimization done (n=307): time 8.459e-06/2.306, allocations: 3.281 kB / 0.7649 GB, free: 34.32 MB / 474.8 MB Notification: Performance of matching and sorting (n=331): time 0.09047/2.396, allocations: 25.89 MB / 0.7902 GB, free: 28.08 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001851/2.396, allocations: 301.8 kB / 0.7905 GB, free: 27.77 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02738/2.424, allocations: 6.641 MB / 0.797 GB, free: 27.23 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001089/2.425, allocations: 78.11 kB / 0.7971 GB, free: 27.19 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.007944/2.433, allocations: 5.614 MB / 0.8026 GB, free: 22.93 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.00291/2.436, allocations: 1.244 MB / 0.8038 GB, free: 22.02 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001437/2.437, allocations: 187.1 kB / 0.804 GB, free: 21.88 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.001137/2.439, allocations: 0.701 MB / 0.8046 GB, free: 21.4 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01456/2.453, allocations: 3.373 MB / 0.8079 GB, free: 20.25 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02047/2.474, allocations: 8.802 MB / 0.8165 GB, free: 11.78 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01622/2.49, allocations: 5.414 MB / 0.8218 GB, free: 10.11 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00022/2.49, allocations: 58.03 kB / 0.8219 GB, free: 10.1 MB / 474.8 MB Notification: Performance of matching and sorting (n=1225) (initialization): time 0.05102/2.541, allocations: 12.31 MB / 0.8339 GB, free: 5.777 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002147/2.541, allocations: 90.5 kB / 0.834 GB, free: 5.691 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000334/2.542, allocations: 192 kB / 0.8342 GB, free: 5.504 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005557/2.547, allocations: 1.006 MB / 0.8351 GB, free: 4.664 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009435/2.557, allocations: 2.164 MB / 0.8373 GB, free: 2.785 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01721/2.574, allocations: 10.99 MB / 0.848 GB, free: 8.285 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01011/2.584, allocations: 0.5133 MB / 0.8485 GB, free: 7.832 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002129/2.586, allocations: 0.5491 MB / 0.849 GB, free: 7.293 MB / 490.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 882 * Number of states: 0 () * Number of discrete variables: 63 (frameForce4.color[3],frameForce4.color[2],frameForce4.color[1],BodyCylinder4.color[3],BodyCylinder4.color[2],BodyCylinder4.color[1],BodyCylinder4.body.sphereColor[3],BodyCylinder4.body.sphereColor[2],BodyCylinder4.body.sphereColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameForce3.color[3],frameForce3.color[2],frameForce3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[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 (1149): * Single equations (assignments): 1142 * 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%) 13,(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002848/2.589, allocations: 0.8319 MB / 0.8498 GB, free: 6.461 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001852/2.591, allocations: 0.6595 MB / 0.8505 GB, free: 5.793 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01489/2.606, allocations: 5.853 MB / 0.8562 GB, free: 0.9102 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.296e-05/2.606, allocations: 32.86 kB / 0.8562 GB, free: 0.8789 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.283e-05/2.606, allocations: 12 kB / 0.8562 GB, free: 0.8672 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.211e-05/2.606, allocations: 20.12 kB / 0.8563 GB, free: 0.8633 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05218/2.659, allocations: 14.64 MB / 0.8706 GB, free: 4.992 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.072e-05/2.659, allocations: 0 / 0.8706 GB, free: 4.992 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007294/2.666, allocations: 0.5264 MB / 0.8711 GB, free: 4.559 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005055/2.671, allocations: 0.6603 MB / 0.8717 GB, free: 4.051 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007959/2.672, allocations: 63.05 kB / 0.8718 GB, free: 3.992 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02633/2.698, allocations: 9.863 MB / 0.8814 GB, free: 10.45 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.025e-05/2.698, allocations: 4.031 kB / 0.8814 GB, free: 10.44 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03738/2.736, allocations: 9.912 MB / 0.8911 GB, free: 1.531 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006481/2.742, allocations: 1.168 MB / 0.8922 GB, free: 452 kB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002439/2.745, allocations: 59.95 kB / 0.8923 GB, free: 392 kB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006999/2.752, allocations: 195.6 kB / 0.8925 GB, free: 260 kB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000969/2.753, allocations: 192.5 kB / 0.8927 GB, free: 140 kB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000626/2.753, allocations: 82.77 kB / 0.8927 GB, free: 60 kB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.4332/3.187, allocations: 4.785 MB / 0.8974 GB, free: 124 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.42e-06/3.187, allocations: 0.8125 kB / 0.8974 GB, free: 124 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01196/3.199, allocations: 1.805 MB / 0.8992 GB, free: 124 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (276): * Single equations (assignments): 269 * 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%) 10,(1,100.0%) 10,(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.0009104/3.2, allocations: 211.1 kB / 0.8994 GB, free: 123.9 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01827/3.218, allocations: 8.334 MB / 0.9075 GB, free: 123.4 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.127e-05/3.218, allocations: 1.406 kB / 0.9075 GB, free: 123.4 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.006386/3.224, allocations: 3.09 MB / 0.9105 GB, free: 123 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006153/3.231, allocations: 0.9179 MB / 0.9114 GB, free: 123 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0334/3.264, allocations: 14.49 MB / 0.9256 GB, free: 120.2 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01172/3.276, allocations: 5.9 MB / 0.9313 GB, free: 119.3 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01112/3.287, allocations: 3.033 MB / 0.9343 GB, free: 119.2 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002495/3.289, allocations: 453.9 kB / 0.9347 GB, free: 119.2 MB / 0.5105 GB Notification: Performance of SimCode: time 1.821e-06/3.289, allocations: 0 / 0.9347 GB, free: 119.2 MB / 0.5105 GB Notification: Performance of Templates: time 0.1772/3.467, allocations: 66.99 MB / 1 GB, free: 83.48 MB / 0.5105 GB