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 1.879/1.879, allocations: 209.3 MB / 221.9 MB, free: 7.734 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.55e-05/3.564e-05, allocations: 4 kB / 273.1 MB, free: 3.668 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08612/0.08617, allocations: 48.7 MB / 321.8 MB, free: 2.875 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3556/0.4418, allocations: 93.77 MB / 415.5 MB, free: 1.965 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001914/0.4421, allocations: 77.83 kB / 415.6 MB, free: 1.938 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4177/0.8598, allocations: 110.7 MB / 0.514 GB, free: 10.15 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.092e-06/0.8598, allocations: 0 / 0.514 GB, free: 10.15 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003402/0.8602, allocations: 100 kB / 0.5141 GB, free: 10.05 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: 1883 * Number of variables: 1883 Notification: Performance of Generate backend data structure: time 0.01763/0.8778, allocations: 5.337 MB / 0.5193 GB, free: 4.645 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.8779, allocations: 8.031 kB / 0.5193 GB, free: 4.637 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.278/1.156, allocations: 6.924 MB / 0.526 GB, free: 79.18 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02068/1.177, allocations: 6.79 MB / 0.5327 GB, free: 78.81 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005409/1.177, allocations: 405.3 kB / 0.5331 GB, free: 78.8 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002221/1.179, allocations: 0.519 MB / 0.5336 GB, free: 78.79 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03085/1.21, allocations: 12.82 MB / 0.5461 GB, free: 75.48 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002727/1.211, allocations: 75.78 kB / 0.5462 GB, free: 75.48 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00164/1.212, allocations: 258 kB / 0.5464 GB, free: 75.48 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002041/1.214, allocations: 1.21 MB / 0.5476 GB, free: 75.47 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02584/1.24, allocations: 9.991 MB / 0.5573 GB, free: 75.45 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06893/1.309, allocations: 58.35 MB / 0.6143 GB, free: 34.76 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01476/1.324, allocations: 4.619 MB / 0.6188 GB, free: 33.06 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003823/1.328, allocations: 2.215 MB / 0.621 GB, free: 32.11 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01455/1.342, allocations: 6.876 MB / 0.6277 GB, free: 28.88 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.837e-05/1.343, allocations: 49.94 kB / 0.6278 GB, free: 28.83 MB / 426.7 MB Notification: Performance of pre-optimization done (n=181): time 6.323e-06/1.343, allocations: 6.062 kB / 0.6278 GB, free: 28.83 MB / 426.7 MB Notification: Performance of matching and sorting (n=193): time 0.04909/1.392, allocations: 13.33 MB / 0.6408 GB, free: 22.81 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.46e-05/1.392, allocations: 201.2 kB / 0.641 GB, free: 22.57 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01026/1.402, allocations: 5.09 MB / 0.646 GB, free: 18.1 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003593/1.402, allocations: 49.7 kB / 0.646 GB, free: 18.04 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002858/1.405, allocations: 3.826 MB / 0.6497 GB, free: 14.55 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009428/1.406, allocations: 0.7581 MB / 0.6505 GB, free: 13.89 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006169/1.407, allocations: 143.6 kB / 0.6506 GB, free: 13.75 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000415/1.407, allocations: 0.6165 MB / 0.6512 GB, free: 13.21 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004441/1.412, allocations: 2.211 MB / 0.6534 GB, free: 11.23 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00693/1.419, allocations: 6.572 MB / 0.6598 GB, free: 2.91 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007332/1.426, allocations: 3.815 MB / 0.6635 GB, free: 15.69 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001522/1.426, allocations: 52 kB / 0.6636 GB, free: 15.64 MB / 442.7 MB Notification: Performance of matching and sorting (n=918) (initialization): time 0.02177/1.448, allocations: 8.326 MB / 0.6717 GB, free: 8.344 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001521/1.448, allocations: 76.89 kB / 0.6718 GB, free: 8.27 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002431/1.449, allocations: 156 kB / 0.6719 GB, free: 8.117 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001978/1.451, allocations: 0.5901 MB / 0.6725 GB, free: 7.613 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007399/1.458, allocations: 1.615 MB / 0.6741 GB, free: 6.195 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009259/1.467, allocations: 5.607 MB / 0.6796 GB, free: 0.8477 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007603/1.475, allocations: 379 kB / 0.6799 GB, free: 0.5078 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001569/1.477, allocations: 439 kB / 0.6803 GB, free: 92 kB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 714 * 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 (868): * Single equations (assignments): 863 * 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%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001863/1.478, allocations: 0.6461 MB / 0.681 GB, free: 15.44 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001246/1.48, allocations: 489.7 kB / 0.6814 GB, free: 14.95 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007485/1.487, allocations: 2.961 MB / 0.6843 GB, free: 12.48 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.523e-05/1.487, allocations: 20 kB / 0.6843 GB, free: 12.46 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.582e-05/1.487, allocations: 7.75 kB / 0.6843 GB, free: 12.45 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-05/1.487, allocations: 15.55 kB / 0.6844 GB, free: 12.45 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02155/1.509, allocations: 8.116 MB / 0.6923 GB, free: 5.82 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.17e-05/1.509, allocations: 4 kB / 0.6923 GB, free: 5.816 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001936/1.511, allocations: 288.5 kB / 0.6926 GB, free: 5.582 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001405/1.512, allocations: 351.5 kB / 0.6929 GB, free: 5.32 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003124/1.513, allocations: 32 kB / 0.6929 GB, free: 5.289 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007836/1.521, allocations: 4.939 MB / 0.6978 GB, free: 0.4961 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.68e-06/1.521, allocations: 7.938 kB / 0.6978 GB, free: 500 kB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2996/1.82, allocations: 5.903 MB / 0.7035 GB, free: 97.14 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002513/1.823, allocations: 0.7858 MB / 0.7043 GB, free: 97.05 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009452/1.824, allocations: 32.83 kB / 0.7043 GB, free: 97.05 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002383/1.826, allocations: 96.95 kB / 0.7044 GB, free: 97.05 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003333/1.826, allocations: 117.2 kB / 0.7045 GB, free: 97.05 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001977/1.827, allocations: 54.62 kB / 0.7046 GB, free: 97.05 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.008081/1.835, allocations: 3.629 MB / 0.7081 GB, free: 96.84 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.053e-06/1.835, allocations: 0 / 0.7081 GB, free: 96.84 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.008078/1.843, allocations: 1.196 MB / 0.7093 GB, free: 96.84 MB / 458.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.000614/1.844, allocations: 180.4 kB / 0.7095 GB, free: 96.76 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01091/1.854, allocations: 5.297 MB / 0.7146 GB, free: 96.53 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.796e-06/1.855, allocations: 3.375 kB / 0.7146 GB, free: 96.53 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002931/1.857, allocations: 1.629 MB / 0.7162 GB, free: 96.32 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003811/1.861, allocations: 0.5975 MB / 0.7168 GB, free: 96.3 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02129/1.883, allocations: 9.937 MB / 0.7265 GB, free: 94.35 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006265/1.889, allocations: 4.127 MB / 0.7306 GB, free: 93.52 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00172/1.891, allocations: 368.7 kB / 0.7309 GB, free: 93.52 MB / 458.7 MB Notification: Performance of SimCode: time 1.783e-06/1.891, allocations: 0 / 0.7309 GB, free: 93.52 MB / 458.7 MB Notification: Performance of Templates: time 0.1558/2.047, allocations: 113.7 MB / 0.842 GB, free: 23.36 MB / 458.7 MB