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.37/2.37, allocations: 234.9 MB / 250.1 MB, free: 9.797 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.105e-05/4.099e-05, allocations: 4 kB / 308 MB, free: 15.78 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4979/0.498, allocations: 54.86 MB / 362.9 MB, free: 11.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces2): time 0.2419/0.7399, allocations: 98.36 MB / 461.2 MB, free: 9.18 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.07032/0.8103, allocations: 20.49 MB / 481.7 MB, free: 4.617 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02448/0.8349, allocations: 0.5067 MB / 482.2 MB, free: 4.109 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.4078/1.243, allocations: 5.284 MB / 487.5 MB, free: 2.242 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.05325/1.296, allocations: 14.02 MB / 0.4898 GB, free: 2.004 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008153/1.304, allocations: 1.185 MB / 0.4909 GB, free: 1.984 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.09717/1.401, allocations: 33.04 MB / 0.5232 GB, free: 8.484 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01913/1.421, allocations: 8.724 MB / 0.5317 GB, free: 2.203 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004817/1.426, allocations: 1.673 MB / 0.5333 GB, free: 1.105 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006418/1.432, allocations: 2.687 MB / 0.536 GB, free: 15.11 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004712/1.437, allocations: 1.13 MB / 0.5371 GB, free: 14.18 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002337/1.439, allocations: 244 kB / 0.5373 GB, free: 13.94 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005961/1.445, allocations: 3.236 MB / 0.5405 GB, free: 11.55 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003338/1.449, allocations: 0.543 MB / 0.541 GB, free: 11 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01908/1.468, allocations: 11.47 MB / 0.5522 GB, free: 1.031 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/1.468, allocations: 0 / 0.5522 GB, free: 1.031 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.276e-06/1.468, allocations: 0 / 0.5522 GB, free: 1.031 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0005304/1.468, allocations: 0 / 0.5522 GB, free: 1.031 MB / 442.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.02996/1.498, allocations: 8.008 MB / 0.56 GB, free: 9.621 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.174e-05/1.498, allocations: 16.03 kB / 0.56 GB, free: 9.605 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2329/1.731, allocations: 21.58 MB / 0.5811 GB, free: 5.328 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.032/1.763, allocations: 7.108 MB / 0.588 GB, free: 232 kB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009508/1.764, allocations: 484.2 kB / 0.5885 GB, free: 15.96 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004225/1.769, allocations: 0.6359 MB / 0.5891 GB, free: 15.54 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06765/1.836, allocations: 19.15 MB / 0.6078 GB, free: 0.6875 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006534/1.837, allocations: 89.23 kB / 0.6079 GB, free: 0.6367 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003128/1.84, allocations: 298.6 kB / 0.6082 GB, free: 0.5547 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008633/1.849, allocations: 3.182 MB / 0.6113 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05722/1.906, allocations: 15.87 MB / 0.6268 GB, free: 2.824 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8343/2.74, allocations: 69.94 MB / 0.6951 GB, free: 187.1 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03492/2.775, allocations: 8.227 MB / 0.7031 GB, free: 186.4 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001161/2.777, allocations: 0.6677 MB / 0.7038 GB, free: 185.8 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.634e-05/2.777, allocations: 70.75 kB / 0.7039 GB, free: 185.8 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=307): time 7.605e-06/2.777, allocations: 0 / 0.7039 GB, free: 185.8 MB / 0.5418 GB Notification: Performance of matching and sorting (n=331): time 0.1437/2.92, allocations: 31.84 MB / 0.735 GB, free: 171.2 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001268/2.921, allocations: 302.8 kB / 0.7352 GB, free: 170.9 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01822/2.939, allocations: 7.296 MB / 0.7424 GB, free: 163.6 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 0.001049/2.94, allocations: 74.47 kB / 0.7424 GB, free: 163.5 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.00483/2.945, allocations: 5.265 MB / 0.7476 GB, free: 158.3 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.002087/2.947, allocations: 1.251 MB / 0.7488 GB, free: 157 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001436/2.948, allocations: 184.6 kB / 0.749 GB, free: 156.8 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 0.0008168/2.949, allocations: 0.6996 MB / 0.7497 GB, free: 156.1 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009592/2.959, allocations: 3.576 MB / 0.7531 GB, free: 152.5 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01306/2.972, allocations: 9.017 MB / 0.762 GB, free: 141.1 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01326/2.985, allocations: 5.538 MB / 0.7674 GB, free: 136 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000194/2.986, allocations: 56 kB / 0.7674 GB, free: 135.9 MB / 0.5418 GB Notification: Performance of matching and sorting (n=1217) (initialization): time 0.03623/3.022, allocations: 13.09 MB / 0.7802 GB, free: 123.2 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 0.000148/3.022, allocations: 89 kB / 0.7803 GB, free: 123.1 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002728/3.022, allocations: 196 kB / 0.7805 GB, free: 122.9 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005589/3.028, allocations: 1.319 MB / 0.7818 GB, free: 121.6 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0145/3.043, allocations: 2.218 MB / 0.7839 GB, free: 119.4 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02147/3.064, allocations: 12.7 MB / 0.7963 GB, free: 106.2 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01176/3.076, allocations: 0.5382 MB / 0.7968 GB, free: 105.6 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00206/3.078, allocations: 0.5477 MB / 0.7974 GB, free: 105.1 MB / 0.5418 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 874 * 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 (1141): * Single equations (assignments): 1134 * 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.009803/3.088, allocations: 3.679 MB / 0.801 GB, free: 101.4 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002241/3.09, allocations: 0.6595 MB / 0.8016 GB, free: 100.7 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0198/3.11, allocations: 6.386 MB / 0.8079 GB, free: 94.31 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.519e-05/3.11, allocations: 36 kB / 0.8079 GB, free: 94.27 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.405e-05/3.11, allocations: 23.92 kB / 0.8079 GB, free: 94.25 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.703e-05/3.11, allocations: 15.95 kB / 0.8079 GB, free: 94.23 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04426/3.154, allocations: 15.51 MB / 0.8231 GB, free: 78.72 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.4e-05/3.155, allocations: 0 / 0.8231 GB, free: 78.72 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006003/3.161, allocations: 0.605 MB / 0.8237 GB, free: 78.11 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004502/3.165, allocations: 0.9593 MB / 0.8246 GB, free: 77.14 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007317/3.166, allocations: 64.7 kB / 0.8247 GB, free: 77.08 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01814/3.184, allocations: 11.53 MB / 0.8359 GB, free: 65.01 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/3.184, allocations: 4.109 kB / 0.8359 GB, free: 65.01 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02576/3.21, allocations: 10.7 MB / 0.8464 GB, free: 54.18 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004708/3.215, allocations: 1.238 MB / 0.8476 GB, free: 52.91 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002763/3.217, allocations: 59.94 kB / 0.8476 GB, free: 52.85 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006467/3.224, allocations: 205.1 kB / 0.8478 GB, free: 52.65 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001171/3.225, allocations: 198.3 kB / 0.848 GB, free: 52.46 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006848/3.226, allocations: 85.48 kB / 0.8481 GB, free: 52.38 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 0.01356/3.24, allocations: 5.257 MB / 0.8532 GB, free: 47.16 MB / 0.5418 GB Notification: Performance of sort global known variables: time 1.082e-06/3.24, allocations: 0 / 0.8532 GB, free: 47.16 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.01211/3.252, allocations: 1.863 MB / 0.8551 GB, free: 45.3 MB / 0.5418 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.001402/3.253, allocations: 222.3 kB / 0.8553 GB, free: 45.08 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.02191/3.275, allocations: 9.048 MB / 0.8641 GB, free: 36.02 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 1.313e-05/3.275, allocations: 4.625 kB / 0.8641 GB, free: 36.02 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.008155/3.283, allocations: 3.338 MB / 0.8674 GB, free: 32.63 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007867/3.291, allocations: 0.9227 MB / 0.8683 GB, free: 31.71 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05018/3.341, allocations: 21.68 MB / 0.8895 GB, free: 9.969 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01384/3.355, allocations: 5.899 MB / 0.8952 GB, free: 4.035 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003477/3.359, allocations: 0.515 MB / 0.8957 GB, free: 3.52 MB / 0.5418 GB Notification: Performance of SimCode: time 1.723e-06/3.359, allocations: 4 kB / 0.8957 GB, free: 3.516 MB / 0.5418 GB Notification: Performance of Templates: time 1.082/4.441, allocations: 236.9 MB / 1.127 GB, free: 187 MB / 0.5418 GB