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.1_cpp_ModelicaTest.MultiBody.Forces.FrameForces2") Notification: Performance of loadModel(ModelicaTest): time 1.89/1.89, allocations: 209.3 MB / 221.9 MB, free: 7.73 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.285e-05/3.299e-05, allocations: 4 kB / 273.1 MB, free: 3.66 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08512/0.08518, allocations: 48.7 MB / 321.8 MB, free: 2.867 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3795/0.4647, allocations: 92.54 MB / 414.3 MB, free: 2.746 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002088/0.465, allocations: 76.02 kB / 414.4 MB, free: 2.734 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8416/1.307, allocations: 162.5 MB / 0.5633 GB, free: 68.75 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.511e-06/1.307, allocations: 0 / 0.5633 GB, free: 68.75 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004785/1.307, allocations: 165.6 kB / 0.5635 GB, free: 68.74 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2802 * Number of variables: 2802 Notification: Performance of Generate backend data structure: time 0.02618/1.333, allocations: 7.999 MB / 0.5713 GB, free: 65.66 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/1.333, allocations: 10.94 kB / 0.5713 GB, free: 65.66 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06283/1.396, allocations: 12.03 MB / 0.583 GB, free: 65.07 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0299/1.426, allocations: 10.81 MB / 0.5936 GB, free: 63.96 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006553/1.427, allocations: 0.6016 MB / 0.5942 GB, free: 63.94 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003265/1.43, allocations: 0.8161 MB / 0.595 GB, free: 63.93 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04668/1.477, allocations: 19.01 MB / 0.6135 GB, free: 56.95 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004419/1.477, allocations: 104.8 kB / 0.6136 GB, free: 56.93 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002347/1.48, allocations: 392.2 kB / 0.614 GB, free: 56.71 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002867/1.483, allocations: 1.721 MB / 0.6157 GB, free: 56.39 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03659/1.519, allocations: 15.18 MB / 0.6305 GB, free: 43.29 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4025/1.922, allocations: 79.59 MB / 0.7082 GB, free: 43.09 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02729/1.949, allocations: 8.143 MB / 0.7162 GB, free: 42.41 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006721/1.956, allocations: 4.084 MB / 0.7202 GB, free: 42.36 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007701/1.957, allocations: 0.659 MB / 0.7208 GB, free: 41.8 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.046e-05/1.957, allocations: 73.69 kB / 0.7209 GB, free: 41.76 MB / 458.7 MB Notification: Performance of pre-optimization done (n=307): time 8.47e-06/1.957, allocations: 6.031 kB / 0.7209 GB, free: 41.76 MB / 458.7 MB Notification: Performance of matching and sorting (n=331): time 0.09124/2.048, allocations: 25.9 MB / 0.7462 GB, free: 35.76 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.054e-05/2.048, allocations: 301.6 kB / 0.7465 GB, free: 35.45 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01377/2.062, allocations: 6.647 MB / 0.753 GB, free: 34.92 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006252/2.063, allocations: 76.91 kB / 0.753 GB, free: 34.89 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003934/2.067, allocations: 5.296 MB / 0.7582 GB, free: 32.23 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001532/2.068, allocations: 1.249 MB / 0.7594 GB, free: 31.51 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008441/2.069, allocations: 189.7 kB / 0.7596 GB, free: 31.51 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0006569/2.07, allocations: 0.7063 MB / 0.7603 GB, free: 31.18 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006866/2.077, allocations: 3.373 MB / 0.7636 GB, free: 31.16 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01015/2.087, allocations: 8.803 MB / 0.7722 GB, free: 24.11 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01004/2.097, allocations: 5.405 MB / 0.7775 GB, free: 22.8 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001682/2.097, allocations: 55.22 kB / 0.7775 GB, free: 22.8 MB / 458.7 MB Notification: Performance of matching and sorting (n=1225) (initialization): time 0.02848/2.126, allocations: 12 MB / 0.7892 GB, free: 19.59 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001479/2.126, allocations: 85.88 kB / 0.7893 GB, free: 19.59 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002249/2.126, allocations: 195.4 kB / 0.7895 GB, free: 19.59 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003242/2.129, allocations: 1.006 MB / 0.7905 GB, free: 19.4 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01014/2.139, allocations: 2.157 MB / 0.7926 GB, free: 19.14 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01561/2.155, allocations: 10.99 MB / 0.8033 GB, free: 11.42 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01024/2.165, allocations: 0.5056 MB / 0.8038 GB, free: 11.25 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001898/2.167, allocations: 0.5571 MB / 0.8044 GB, free: 11.17 MB / 458.7 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.002217/2.17, allocations: 0.8278 MB / 0.8052 GB, free: 10.5 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001713/2.171, allocations: 0.661 MB / 0.8058 GB, free: 10.07 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01443/2.186, allocations: 5.861 MB / 0.8116 GB, free: 5.199 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.287e-05/2.186, allocations: 36 kB / 0.8116 GB, free: 5.164 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-05/2.186, allocations: 11.88 kB / 0.8116 GB, free: 5.156 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.268e-05/2.186, allocations: 16.59 kB / 0.8116 GB, free: 5.156 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04339/2.229, allocations: 14.76 MB / 0.826 GB, free: 9.59 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.724e-05/2.229, allocations: 6.375 kB / 0.826 GB, free: 9.586 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003871/2.233, allocations: 0.5235 MB / 0.8265 GB, free: 9.156 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002866/2.236, allocations: 0.664 MB / 0.8272 GB, free: 8.656 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006512/2.237, allocations: 59.42 kB / 0.8272 GB, free: 8.602 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01602/2.253, allocations: 9.87 MB / 0.8369 GB, free: 15.09 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.315e-06/2.253, allocations: 112 / 0.8369 GB, free: 15.09 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02124/2.274, allocations: 9.918 MB / 0.8466 GB, free: 6.184 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004333/2.279, allocations: 1.171 MB / 0.8477 GB, free: 5.09 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001909/2.281, allocations: 56 kB / 0.8478 GB, free: 5.035 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004949/2.286, allocations: 192.5 kB / 0.848 GB, free: 4.91 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009419/2.286, allocations: 193.5 kB / 0.8481 GB, free: 4.789 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003822/2.287, allocations: 89.81 kB / 0.8482 GB, free: 4.711 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.01258/2.299, allocations: 4.753 MB / 0.8529 GB, free: 0.5508 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.336e-06/2.3, allocations: 0 / 0.8529 GB, free: 0.5508 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.02312/2.323, allocations: 2.416 MB / 0.8552 GB, free: 0 / 490.7 MB 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.00108/2.324, allocations: 212.7 kB / 0.8554 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01866/2.342, allocations: 8.338 MB / 0.8636 GB, free: 8.219 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.671e-06/2.343, allocations: 3.938 kB / 0.8636 GB, free: 8.215 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.006419/2.349, allocations: 3.082 MB / 0.8666 GB, free: 5.383 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006183/2.355, allocations: 0.9147 MB / 0.8675 GB, free: 4.617 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3069/2.662, allocations: 15.4 MB / 0.8825 GB, free: 128.3 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01428/2.676, allocations: 5.898 MB / 0.8883 GB, free: 127.4 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00284/2.679, allocations: 0.5083 MB / 0.8888 GB, free: 127.4 MB / 0.4948 GB Notification: Performance of SimCode: time 1.982e-06/2.679, allocations: 0 / 0.8888 GB, free: 127.4 MB / 0.4948 GB Notification: Performance of Templates: time 0.6468/3.326, allocations: 233.6 MB / 1.117 GB, free: 113.7 MB / 0.4948 GB