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_cpp_ModelicaTest.MultiBody.Forces.FrameForces") Notification: Performance of loadModel(ModelicaTest): time 2.436/2.436, allocations: 234.9 MB / 250.1 MB, free: 10.01 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.435e-05/3.441e-05, allocations: 4 kB / 308 MB, free: 15.98 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3964/0.3964, allocations: 54.86 MB / 362.8 MB, free: 12.22 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.09374/0.4902, allocations: 57.74 MB / 420.6 MB, free: 3.969 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.03981/0.5301, allocations: 12.65 MB / 433.2 MB, free: 7.273 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01508/0.5452, allocations: 307.3 kB / 433.5 MB, free: 6.973 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01253/0.5578, allocations: 3.064 MB / 436.6 MB, free: 3.895 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03385/0.5917, allocations: 8.344 MB / 444.9 MB, free: 11.53 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005351/0.5972, allocations: 0.7567 MB / 445.7 MB, free: 10.77 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0507/0.6479, allocations: 16.82 MB / 462.5 MB, free: 9.934 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01062/0.6586, allocations: 4.94 MB / 467.5 MB, free: 4.934 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002783/0.6614, allocations: 1.083 MB / 468.5 MB, free: 3.848 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004011/0.6655, allocations: 1.695 MB / 470.2 MB, free: 2.148 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003675/0.6692, allocations: 1.077 MB / 471.3 MB, free: 1.07 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001487/0.6708, allocations: 168 kB / 471.5 MB, free: 0.9062 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003646/0.6744, allocations: 2.061 MB / 473.5 MB, free: 14.84 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002061/0.6766, allocations: 348 kB / 473.9 MB, free: 14.5 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01261/0.6892, allocations: 7.353 MB / 481.2 MB, free: 7.129 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.6893, allocations: 0 / 481.2 MB, free: 7.129 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.066e-06/0.6893, allocations: 0 / 481.2 MB, free: 7.129 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002866/0.6896, allocations: 4 kB / 481.2 MB, free: 7.125 MB / 410.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.01846/0.7081, allocations: 5.278 MB / 486.5 MB, free: 1.777 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.317e-05/0.7082, allocations: 12.03 kB / 486.5 MB, free: 1.766 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1202/0.8284, allocations: 11.76 MB / 498.3 MB, free: 5.984 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01435/0.8428, allocations: 4.247 MB / 0.4908 GB, free: 1.684 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004454/0.8433, allocations: 303.5 kB / 0.491 GB, free: 1.387 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002108/0.8454, allocations: 399.6 kB / 0.4914 GB, free: 0.9961 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3502/1.196, allocations: 12.62 MB / 0.5038 GB, free: 118.1 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002595/1.196, allocations: 55.75 kB / 0.5038 GB, free: 118.1 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001486/1.197, allocations: 195.9 kB / 0.504 GB, free: 118 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005571/1.203, allocations: 2.291 MB / 0.5062 GB, free: 117.1 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03096/1.234, allocations: 10.38 MB / 0.5164 GB, free: 106.7 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07636/1.31, allocations: 48.45 MB / 0.5637 GB, free: 57.55 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01843/1.329, allocations: 4.672 MB / 0.5682 GB, free: 52.73 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01779/1.347, allocations: 6.982 MB / 0.5751 GB, free: 45.71 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.338e-05/1.347, allocations: 52.94 kB / 0.5751 GB, free: 45.65 MB / 426.7 MB Notification: Performance of pre-optimization done (n=181): time 6.732e-06/1.347, allocations: 0 / 0.5751 GB, free: 45.65 MB / 426.7 MB Notification: Performance of matching and sorting (n=193): time 0.06832/1.415, allocations: 16.44 MB / 0.5912 GB, free: 29.06 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.709e-05/1.415, allocations: 197.2 kB / 0.5913 GB, free: 28.82 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01072/1.426, allocations: 5.436 MB / 0.5967 GB, free: 23.41 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005161/1.427, allocations: 53.7 kB / 0.5967 GB, free: 23.35 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003129/1.43, allocations: 3.797 MB / 0.6004 GB, free: 19.56 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001214/1.431, allocations: 0.7588 MB / 0.6012 GB, free: 18.81 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005567/1.432, allocations: 140 kB / 0.6013 GB, free: 18.67 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004416/1.432, allocations: 0.6098 MB / 0.6019 GB, free: 18.05 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006132/1.438, allocations: 2.352 MB / 0.6042 GB, free: 15.7 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008968/1.447, allocations: 6.729 MB / 0.6108 GB, free: 6.785 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009036/1.456, allocations: 3.896 MB / 0.6146 GB, free: 2.887 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001252/1.457, allocations: 44 kB / 0.6146 GB, free: 2.844 MB / 426.7 MB Notification: Performance of matching and sorting (n=923) (initialization): time 0.02633/1.483, allocations: 9.125 MB / 0.6235 GB, free: 9.711 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001419/1.483, allocations: 74.06 kB / 0.6236 GB, free: 9.641 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002536/1.483, allocations: 156 kB / 0.6237 GB, free: 9.488 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003235/1.487, allocations: 0.7544 MB / 0.6245 GB, free: 8.73 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01078/1.497, allocations: 1.634 MB / 0.6261 GB, free: 7.094 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01246/1.51, allocations: 6.445 MB / 0.6324 GB, free: 404 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00785/1.518, allocations: 391.3 kB / 0.6327 GB, free: 12 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001521/1.519, allocations: 439.7 kB / 0.6332 GB, free: 15.59 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 709 * 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 (863): * Single equations (assignments): 856 * Array equations: 5 * 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.006929/1.526, allocations: 2.568 MB / 0.6357 GB, free: 13 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001415/1.528, allocations: 485.7 kB / 0.6361 GB, free: 12.52 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01034/1.538, allocations: 3.229 MB / 0.6393 GB, free: 9.273 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.965e-05/1.538, allocations: 20 kB / 0.6393 GB, free: 9.254 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.846e-05/1.538, allocations: 8 kB / 0.6393 GB, free: 9.246 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.751e-05/1.538, allocations: 7.969 kB / 0.6393 GB, free: 9.238 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02719/1.566, allocations: 8.578 MB / 0.6477 GB, free: 0.5977 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.883e-05/1.566, allocations: 4 kB / 0.6477 GB, free: 0.5938 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003572/1.569, allocations: 359.4 kB / 0.648 GB, free: 248 kB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002533/1.572, allocations: 495.2 kB / 0.6485 GB, free: 15.75 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004132/1.572, allocations: 39.98 kB / 0.6485 GB, free: 15.71 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01133/1.584, allocations: 5.794 MB / 0.6542 GB, free: 9.652 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.713e-06/1.584, allocations: 4.469 kB / 0.6542 GB, free: 9.648 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01595/1.6, allocations: 6.283 MB / 0.6603 GB, free: 3.188 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003235/1.603, allocations: 0.8149 MB / 0.6611 GB, free: 2.348 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001585/1.605, allocations: 36 kB / 0.6612 GB, free: 2.312 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00378/1.608, allocations: 105.8 kB / 0.6613 GB, free: 2.211 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006645/1.609, allocations: 121 kB / 0.6614 GB, free: 2.09 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002212/1.609, allocations: 48 kB / 0.6614 GB, free: 2.043 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.01086/1.62, allocations: 3.903 MB / 0.6652 GB, free: 14.17 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.042e-06/1.62, allocations: 4 kB / 0.6653 GB, free: 14.16 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.008529/1.629, allocations: 1.227 MB / 0.6664 GB, free: 12.94 MB / 490.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.001077/1.63, allocations: 186.1 kB / 0.6666 GB, free: 12.76 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01534/1.645, allocations: 5.757 MB / 0.6722 GB, free: 7.004 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.726e-06/1.645, allocations: 0.5 kB / 0.6722 GB, free: 7.004 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004833/1.65, allocations: 1.748 MB / 0.674 GB, free: 5.23 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005119/1.655, allocations: 0.59 MB / 0.6745 GB, free: 4.641 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3699/2.025, allocations: 14.02 MB / 0.6882 GB, free: 163.7 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007862/2.033, allocations: 4.128 MB / 0.6923 GB, free: 162.9 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002102/2.035, allocations: 370 kB / 0.6926 GB, free: 162.9 MB / 490.7 MB Notification: Performance of SimCode: time 1.142e-06/2.035, allocations: 0 / 0.6926 GB, free: 162.9 MB / 490.7 MB Notification: Performance of Templates: time 0.2236/2.259, allocations: 115.8 MB / 0.8057 GB, free: 55.37 MB / 490.7 MB