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_cpp_ModelicaTest.MultiBody.Forces.FrameForces2") Notification: Performance of loadModel(ModelicaTest): time 2.149/2.149, allocations: 235 MB / 247.6 MB, free: 14.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.833e-05/2.838e-05, allocations: 4 kB / 304.9 MB, free: 5.66 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3215/0.3216, allocations: 54.85 MB / 359.8 MB, free: 2.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1533/0.4749, allocations: 99.36 MB / 459.1 MB, free: 13.6 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002416/0.4752, allocations: 76.55 kB / 459.2 MB, free: 13.53 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8562/1.331, allocations: 162.6 MB / 0.6073 GB, free: 81.4 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.364e-06/1.331, allocations: 0 / 0.6073 GB, free: 81.4 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004691/1.332, allocations: 164 kB / 0.6074 GB, free: 81.24 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.02464/1.357, allocations: 7.998 MB / 0.6152 GB, free: 73.16 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/1.357, allocations: 12.03 kB / 0.6152 GB, free: 73.15 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0586/1.415, allocations: 12.03 MB / 0.627 GB, free: 61.09 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02845/1.444, allocations: 10.81 MB / 0.6375 GB, free: 50.2 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006589/1.444, allocations: 0.6057 MB / 0.6381 GB, free: 49.59 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003382/1.448, allocations: 0.8159 MB / 0.6389 GB, free: 48.77 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04578/1.494, allocations: 19.02 MB / 0.6575 GB, free: 28.25 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004327/1.494, allocations: 111 kB / 0.6576 GB, free: 28.14 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002212/1.496, allocations: 387.8 kB / 0.658 GB, free: 27.76 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002665/1.499, allocations: 1.72 MB / 0.6597 GB, free: 26.04 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03739/1.536, allocations: 15.2 MB / 0.6745 GB, free: 10.82 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6877/2.224, allocations: 79.63 MB / 0.7523 GB, free: 35.59 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02686/2.251, allocations: 8.139 MB / 0.7602 GB, free: 34.89 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006877/2.258, allocations: 4.076 MB / 0.7642 GB, free: 34.84 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008362/2.259, allocations: 0.6678 MB / 0.7648 GB, free: 34.28 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.39e-05/2.259, allocations: 70.19 kB / 0.7649 GB, free: 34.24 MB / 474.8 MB Notification: Performance of pre-optimization done (n=307): time 9.717e-06/2.259, allocations: 1.719 kB / 0.7649 GB, free: 34.24 MB / 474.8 MB Notification: Performance of matching and sorting (n=331): time 0.09357/2.353, allocations: 25.9 MB / 0.7902 GB, free: 28 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.456e-05/2.353, allocations: 294.1 kB / 0.7905 GB, free: 27.68 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01437/2.367, allocations: 6.647 MB / 0.797 GB, free: 27.15 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0006205/2.368, allocations: 80.39 kB / 0.7971 GB, free: 27.12 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003954/2.372, allocations: 5.296 MB / 0.8022 GB, free: 23 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001583/2.373, allocations: 1.247 MB / 0.8034 GB, free: 22.08 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008773/2.374, allocations: 192.4 kB / 0.8036 GB, free: 21.93 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0005907/2.375, allocations: 0.7045 MB / 0.8043 GB, free: 21.45 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007146/2.382, allocations: 3.37 MB / 0.8076 GB, free: 20.3 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01039/2.392, allocations: 8.797 MB / 0.8162 GB, free: 11.83 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01036/2.403, allocations: 5.41 MB / 0.8215 GB, free: 10.16 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001413/2.403, allocations: 54.81 kB / 0.8215 GB, free: 10.16 MB / 474.8 MB Notification: Performance of matching and sorting (n=1225) (initialization): time 0.02834/2.431, allocations: 12 MB / 0.8333 GB, free: 6.188 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001422/2.432, allocations: 89.83 kB / 0.8333 GB, free: 6.105 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002171/2.432, allocations: 199.1 kB / 0.8335 GB, free: 5.914 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003169/2.435, allocations: 1.008 MB / 0.8345 GB, free: 5.07 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00939/2.444, allocations: 2.156 MB / 0.8366 GB, free: 3.199 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01764/2.462, allocations: 11.02 MB / 0.8474 GB, free: 8.762 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01028/2.472, allocations: 0.5056 MB / 0.8479 GB, free: 8.312 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002104/2.475, allocations: 0.5543 MB / 0.8484 GB, free: 7.773 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.002784/2.477, allocations: 0.8378 MB / 0.8492 GB, free: 6.938 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001818/2.479, allocations: 0.6609 MB / 0.8499 GB, free: 6.27 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01478/2.494, allocations: 5.847 MB / 0.8556 GB, free: 1.391 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.596e-05/2.494, allocations: 40 kB / 0.8556 GB, free: 1.352 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.265e-05/2.494, allocations: 11.95 kB / 0.8556 GB, free: 1.34 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.526e-05/2.494, allocations: 14.3 kB / 0.8557 GB, free: 1.34 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04141/2.536, allocations: 14.69 MB / 0.87 GB, free: 5.617 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.368e-05/2.536, allocations: 3.938 kB / 0.87 GB, free: 5.613 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003829/2.54, allocations: 0.5247 MB / 0.8705 GB, free: 5.18 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002866/2.542, allocations: 0.6636 MB / 0.8712 GB, free: 4.668 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006531/2.543, allocations: 63.12 kB / 0.8712 GB, free: 4.609 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01578/2.559, allocations: 9.863 MB / 0.8809 GB, free: 11.06 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.051e-05/2.559, allocations: 9.344 kB / 0.8809 GB, free: 11.05 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0212/2.58, allocations: 9.904 MB / 0.8905 GB, free: 2.152 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004238/2.585, allocations: 1.17 MB / 0.8917 GB, free: 1.059 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001967/2.587, allocations: 52 kB / 0.8917 GB, free: 1.008 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004736/2.591, allocations: 206 kB / 0.8919 GB, free: 0.8711 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000842/2.592, allocations: 193.6 kB / 0.8921 GB, free: 0.7539 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003889/2.593, allocations: 83.05 kB / 0.8922 GB, free: 0.6758 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.3351/2.928, allocations: 5.442 MB / 0.8975 GB, free: 123.1 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.245e-06/2.928, allocations: 1.312 kB / 0.8975 GB, free: 123.1 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01256/2.94, allocations: 1.804 MB / 0.8993 GB, free: 123.1 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.0009388/2.941, allocations: 211.8 kB / 0.8995 GB, free: 123 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01753/2.959, allocations: 8.329 MB / 0.9076 GB, free: 122.6 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.08e-05/2.959, allocations: 2.422 kB / 0.9076 GB, free: 122.6 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.006493/2.965, allocations: 3.092 MB / 0.9106 GB, free: 122.1 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006752/2.972, allocations: 0.9086 MB / 0.9115 GB, free: 122.1 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03673/3.009, allocations: 15.4 MB / 0.9266 GB, free: 119.3 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0129/3.022, allocations: 5.907 MB / 0.9323 GB, free: 118.4 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00277/3.025, allocations: 0.5062 MB / 0.9328 GB, free: 118.3 MB / 0.5105 GB Notification: Performance of SimCode: time 1.858e-06/3.025, allocations: 0 / 0.9328 GB, free: 118.3 MB / 0.5105 GB Notification: Performance of Templates: time 0.6116/3.636, allocations: 233.8 MB / 1.161 GB, free: 123 MB / 0.5262 GB