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.1_cpp_ModelicaTest.MultiBody.Forces.FrameForces") Notification: Performance of loadModel(ModelicaTest): time 2.145/2.145, allocations: 209.3 MB / 224.4 MB, free: 0.5117 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.334e-05/3.337e-05, allocations: 6.5 kB / 276.1 MB, free: 15.87 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4053/0.4053, allocations: 48.7 MB / 324.8 MB, free: 2.891 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.09264/0.498, allocations: 57.72 MB / 382.6 MB, free: 5.734 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.04116/0.5392, allocations: 12.63 MB / 395.2 MB, free: 9.074 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01508/0.5544, allocations: 303.3 kB / 395.5 MB, free: 8.777 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01226/0.5667, allocations: 3.064 MB / 398.5 MB, free: 5.699 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03334/0.6001, allocations: 8.348 MB / 406.9 MB, free: 13.33 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005407/0.6056, allocations: 0.7723 MB / 407.7 MB, free: 12.55 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.05028/0.6559, allocations: 16.82 MB / 424.5 MB, free: 11.72 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01058/0.6665, allocations: 4.946 MB / 429.4 MB, free: 6.727 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003251/0.6698, allocations: 1.083 MB / 430.5 MB, free: 5.641 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003949/0.6739, allocations: 1.687 MB / 432.2 MB, free: 3.949 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003629/0.6775, allocations: 1.081 MB / 433.3 MB, free: 2.867 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001623/0.6792, allocations: 168 kB / 433.5 MB, free: 2.703 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003694/0.683, allocations: 2.065 MB / 435.5 MB, free: 0.6328 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001911/0.6849, allocations: 348 kB / 435.9 MB, free: 300 kB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01251/0.6975, allocations: 7.345 MB / 443.2 MB, free: 8.93 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.6976, allocations: 0 / 443.2 MB, free: 8.93 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.466e-06/0.6976, allocations: 0 / 443.2 MB, free: 8.93 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003362/0.6979, allocations: 0 / 443.2 MB, free: 8.93 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1883 * Number of variables: 1883 Notification: Performance of Generate backend data structure: time 0.01883/0.7168, allocations: 5.286 MB / 448.5 MB, free: 3.574 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.11e-05/0.7168, allocations: 8.031 kB / 448.5 MB, free: 3.566 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1204/0.8372, allocations: 11.76 MB / 460.3 MB, free: 7.785 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01433/0.8516, allocations: 4.251 MB / 464.5 MB, free: 3.48 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004304/0.8521, allocations: 299.6 kB / 464.8 MB, free: 3.188 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002018/0.8541, allocations: 391.7 kB / 465.2 MB, free: 2.805 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03836/0.8925, allocations: 12.61 MB / 477.8 MB, free: 5.336 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002813/0.8928, allocations: 63.36 kB / 477.8 MB, free: 5.273 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001777/0.8946, allocations: 195.8 kB / 478 MB, free: 5.082 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006421/0.9011, allocations: 2.296 MB / 480.3 MB, free: 2.785 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3314/1.233, allocations: 10.36 MB / 490.7 MB, free: 123.7 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08483/1.317, allocations: 48.41 MB / 0.5265 GB, free: 87.46 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0192/1.337, allocations: 4.673 MB / 0.531 GB, free: 83.44 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01928/1.356, allocations: 6.992 MB / 0.5379 GB, free: 76.41 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.113e-05/1.356, allocations: 59.77 kB / 0.5379 GB, free: 76.35 MB / 410.7 MB Notification: Performance of pre-optimization done (n=181): time 7.434e-06/1.356, allocations: 0 / 0.5379 GB, free: 76.35 MB / 410.7 MB Notification: Performance of matching and sorting (n=193): time 0.06934/1.426, allocations: 16.43 MB / 0.554 GB, free: 59.8 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.426e-05/1.426, allocations: 201.2 kB / 0.5542 GB, free: 59.56 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0113/1.437, allocations: 5.439 MB / 0.5595 GB, free: 54.14 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004798/1.438, allocations: 53.7 kB / 0.5595 GB, free: 54.09 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003368/1.441, allocations: 3.798 MB / 0.5632 GB, free: 50.3 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001219/1.442, allocations: 0.7512 MB / 0.564 GB, free: 49.55 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006876/1.443, allocations: 147.1 kB / 0.5641 GB, free: 49.41 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004216/1.443, allocations: 0.6045 MB / 0.5647 GB, free: 48.8 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005861/1.449, allocations: 2.352 MB / 0.567 GB, free: 46.44 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008824/1.458, allocations: 6.731 MB / 0.5736 GB, free: 37.53 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008709/1.467, allocations: 3.902 MB / 0.5774 GB, free: 33.63 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001207/1.467, allocations: 44 kB / 0.5774 GB, free: 33.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=923) (initialization): time 0.02396/1.491, allocations: 9.125 MB / 0.5863 GB, free: 24.45 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001079/1.491, allocations: 72 kB / 0.5864 GB, free: 24.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001752/1.491, allocations: 156 kB / 0.5865 GB, free: 24.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002735/1.494, allocations: 0.7426 MB / 0.5873 GB, free: 23.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009782/1.504, allocations: 1.637 MB / 0.5889 GB, free: 21.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01031/1.514, allocations: 6.454 MB / 0.5952 GB, free: 15.14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007764/1.522, allocations: 391.3 kB / 0.5955 GB, free: 14.76 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001288/1.524, allocations: 437.1 kB / 0.596 GB, free: 14.34 MB / 410.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.006218/1.53, allocations: 2.57 MB / 0.5985 GB, free: 11.75 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001224/1.531, allocations: 482.1 kB / 0.5989 GB, free: 11.28 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008836/1.54, allocations: 3.226 MB / 0.6021 GB, free: 8.027 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.925e-05/1.54, allocations: 32.69 kB / 0.6021 GB, free: 7.996 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.299e-05/1.54, allocations: 4 kB / 0.6021 GB, free: 7.992 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-05/1.54, allocations: 11.91 kB / 0.6021 GB, free: 7.98 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02273/1.563, allocations: 8.583 MB / 0.6105 GB, free: 15.34 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.071e-05/1.563, allocations: 0 / 0.6105 GB, free: 15.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003467/1.566, allocations: 363.4 kB / 0.6109 GB, free: 14.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002466/1.569, allocations: 489.3 kB / 0.6113 GB, free: 14.5 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003313/1.569, allocations: 32 kB / 0.6114 GB, free: 14.46 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01121/1.58, allocations: 5.803 MB / 0.617 GB, free: 8.398 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.394e-06/1.58, allocations: 4 kB / 0.617 GB, free: 8.395 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0158/1.596, allocations: 6.283 MB / 0.6232 GB, free: 1.926 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00329/1.6, allocations: 0.8303 MB / 0.624 GB, free: 1.07 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001504/1.601, allocations: 28 kB / 0.624 GB, free: 1.043 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003644/1.605, allocations: 109.9 kB / 0.6241 GB, free: 0.9375 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006124/1.606, allocations: 113 kB / 0.6242 GB, free: 0.8281 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002208/1.606, allocations: 52 kB / 0.6243 GB, free: 0.7773 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.01064/1.616, allocations: 3.904 MB / 0.6281 GB, free: 12.9 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.072e-06/1.616, allocations: 0 / 0.6281 GB, free: 12.9 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.008503/1.625, allocations: 1.226 MB / 0.6293 GB, free: 11.68 MB / 442.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.0009651/1.626, allocations: 182.7 kB / 0.6294 GB, free: 11.5 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0154/1.641, allocations: 5.752 MB / 0.6351 GB, free: 5.75 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.868e-06/1.641, allocations: 4 kB / 0.6351 GB, free: 5.746 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004608/1.646, allocations: 1.753 MB / 0.6368 GB, free: 3.969 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005271/1.651, allocations: 0.5888 MB / 0.6374 GB, free: 3.379 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3359/1.987, allocations: 14.02 MB / 0.651 GB, free: 139.9 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01078/1.998, allocations: 4.13 MB / 0.6551 GB, free: 139 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002282/2.001, allocations: 375 kB / 0.6554 GB, free: 139 MB / 442.7 MB Notification: Performance of SimCode: time 1.513e-06/2.001, allocations: 0 / 0.6554 GB, free: 139 MB / 442.7 MB Notification: Performance of Templates: time 0.2132/2.214, allocations: 115.8 MB / 0.7685 GB, free: 38.57 MB / 442.7 MB