Running command: translateModel(ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2,tolerance=3e-08,outputFormat="mat",numberOfIntervals=3998,variableFilter="revolute.1..angle|revolute.1..phi|revolute.2..angle|revolute.2..phi|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2") Notification: Performance of loadModel(ScalableTestSuite): time 2.84/2.84, allocations: 326.3 MB / 339.3 MB, free: 11.2 MB / 283.2 MB Notification: Performance of FrontEnd - loaded program: time 3.106e-05/3.125e-05, allocations: 4 kB / 422.2 MB, free: 0.6406 MB / 331.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1283, allocations: 80 MB / 0.4905 GB, free: 0.5312 MB / 411.2 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5625/0.6909, allocations: 145.7 MB / 0.6328 GB, free: 7.426 MB / 0.5109 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002237/0.6911, allocations: 66.97 kB / 0.6328 GB, free: 7.395 MB / 0.5109 GB Notification: Performance of FrontEnd - DAE generated: time 0.4117/1.103, allocations: 105.9 MB / 0.7362 GB, free: 11.81 MB / 0.6046 GB Notification: Performance of FrontEnd: time 2.293e-06/1.103, allocations: 0 / 0.7362 GB, free: 11.81 MB / 0.6046 GB Notification: Performance of Transformations before backend: time 0.0003681/1.103, allocations: 100 kB / 0.7363 GB, free: 11.71 MB / 0.6046 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1640 * Number of variables: 1640 Notification: Performance of Generate backend data structure: time 0.01705/1.12, allocations: 5.459 MB / 0.7416 GB, free: 6.566 MB / 0.6046 GB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/1.12, allocations: 8.031 kB / 0.7417 GB, free: 6.559 MB / 0.6046 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04926/1.17, allocations: 9.276 MB / 0.7507 GB, free: 14.22 MB / 0.6203 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02387/1.194, allocations: 8.253 MB / 0.7588 GB, free: 7.652 MB / 0.6203 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004444/1.194, allocations: 352.8 kB / 0.7591 GB, free: 7.43 MB / 0.6203 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002005/1.196, allocations: 478.9 kB / 0.7596 GB, free: 7.09 MB / 0.6203 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02882/1.225, allocations: 11.9 MB / 0.7712 GB, free: 13.17 MB / 0.6359 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002877/1.225, allocations: 71.36 kB / 0.7713 GB, free: 13.1 MB / 0.6359 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001232/1.227, allocations: 227.7 kB / 0.7715 GB, free: 13 MB / 0.6359 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002012/1.229, allocations: 1.067 MB / 0.7725 GB, free: 12.09 MB / 0.6359 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02501/1.254, allocations: 9.949 MB / 0.7822 GB, free: 4.184 MB / 0.6359 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4401/1.694, allocations: 50.01 MB / 0.8311 GB, free: 140.2 MB / 0.6515 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01467/1.708, allocations: 4.988 MB / 0.8359 GB, free: 139.5 MB / 0.6515 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005026/1.713, allocations: 2.815 MB / 0.8387 GB, free: 139.5 MB / 0.6515 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02193/1.735, allocations: 10.33 MB / 0.8488 GB, free: 138.2 MB / 0.6515 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.459e-05/1.736, allocations: 61.2 kB / 0.8488 GB, free: 138.2 MB / 0.6515 GB Notification: Performance of pre-optimization done (n=204): time 6.368e-06/1.736, allocations: 0 / 0.8488 GB, free: 138.2 MB / 0.6515 GB Notification: Performance of matching and sorting (n=235): time 0.07941/1.815, allocations: 23.94 MB / 0.8722 GB, free: 134.7 MB / 0.6515 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.897e-05/1.815, allocations: 314.6 kB / 0.8725 GB, free: 134.4 MB / 0.6515 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009245/1.824, allocations: 4.295 MB / 0.8767 GB, free: 133.8 MB / 0.6515 GB Notification: Performance of collectPreVariables (initialization): time 0.0005028/1.825, allocations: 56.8 kB / 0.8768 GB, free: 133.7 MB / 0.6515 GB Notification: Performance of collectInitialEqns (initialization): time 0.002873/1.828, allocations: 3.491 MB / 0.8802 GB, free: 131.4 MB / 0.6515 GB Notification: Performance of collectInitialBindings (initialization): time 0.001134/1.829, allocations: 0.8764 MB / 0.881 GB, free: 130.7 MB / 0.6515 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006494/1.83, allocations: 122.4 kB / 0.8811 GB, free: 130.6 MB / 0.6515 GB Notification: Performance of setup shared object (initialization): time 0.0003997/1.83, allocations: 0.571 MB / 0.8817 GB, free: 130.2 MB / 0.6515 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005244/1.835, allocations: 2.704 MB / 0.8843 GB, free: 129.4 MB / 0.6515 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007373/1.843, allocations: 6.188 MB / 0.8904 GB, free: 123.9 MB / 0.6515 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007582/1.85, allocations: 4.117 MB / 0.8944 GB, free: 122.8 MB / 0.6515 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.559e-05/1.851, allocations: 35.53 kB / 0.8944 GB, free: 122.8 MB / 0.6515 GB Notification: Performance of matching and sorting (n=800) (initialization): time 0.02428/1.875, allocations: 10.07 MB / 0.9043 GB, free: 120.4 MB / 0.6515 GB Notification: Performance of prepare postOptimizeDAE: time 9.989e-05/1.875, allocations: 65.28 kB / 0.9043 GB, free: 120.3 MB / 0.6515 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000134/1.875, allocations: 122 kB / 0.9045 GB, free: 120.3 MB / 0.6515 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005692/1.881, allocations: 1.834 MB / 0.9062 GB, free: 120.1 MB / 0.6515 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006775/1.888, allocations: 1.427 MB / 0.9076 GB, free: 119.9 MB / 0.6515 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0185/1.906, allocations: 11.17 MB / 0.9185 GB, free: 114.4 MB / 0.6515 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006654/1.913, allocations: 434.6 kB / 0.919 GB, free: 114 MB / 0.6515 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001261/1.914, allocations: 365.7 kB / 0.9193 GB, free: 113.7 MB / 0.6515 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 559 * Number of states: 0 () * Number of discrete variables: 39 (force.color[3],force.color[2],force.color[1],bodybox[1].color[3],bodybox[1].color[2],bodybox[1].color[1],bodybox[1].body.sphereColor[3],bodybox[1].body.sphereColor[2],bodybox[1].body.sphereColor[1],bodyboxN.color[3],bodyboxN.color[2],bodyboxN.color[1],bodyboxN.body.sphereColor[3],bodyboxN.body.sphereColor[2],bodyboxN.body.sphereColor[1],bodybox1.color[3],bodybox1.color[2],bodybox1.color[1],bodybox1.body.sphereColor[3],bodybox1.body.sphereColor[2],bodybox1.body.sphereColor[1],revolute[2].cylinderColor[3],revolute[2].cylinderColor[2],revolute[2].cylinderColor[1],revolute[1].cylinderColor[3],revolute[1].cylinderColor[2],revolute[1].cylinderColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (734): * Single equations (assignments): 730 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 41} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001342/1.916, allocations: 0.5721 MB / 0.9199 GB, free: 113.1 MB / 0.6515 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000982/1.917, allocations: 429.6 kB / 0.9203 GB, free: 112.7 MB / 0.6515 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01197/1.929, allocations: 5.719 MB / 0.9259 GB, free: 108.3 MB / 0.6515 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.337e-05/1.929, allocations: 24 kB / 0.9259 GB, free: 108.3 MB / 0.6515 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-05/1.929, allocations: 11.34 kB / 0.9259 GB, free: 108.3 MB / 0.6515 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.512e-05/1.929, allocations: 15.16 kB / 0.9259 GB, free: 108.3 MB / 0.6515 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02729/1.956, allocations: 12.47 MB / 0.9381 GB, free: 98.38 MB / 0.6515 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.999e-05/1.956, allocations: 4 kB / 0.9381 GB, free: 98.38 MB / 0.6515 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002384/1.959, allocations: 389.2 kB / 0.9385 GB, free: 98.07 MB / 0.6515 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005279/1.964, allocations: 1.659 MB / 0.9401 GB, free: 96.96 MB / 0.6515 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005113/1.964, allocations: 46.08 kB / 0.9401 GB, free: 96.92 MB / 0.6515 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01738/1.982, allocations: 10.77 MB / 0.9506 GB, free: 87.38 MB / 0.6515 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.439e-06/1.982, allocations: 11.89 kB / 0.9507 GB, free: 87.37 MB / 0.6515 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01685/1.999, allocations: 9.518 MB / 0.96 GB, free: 77.73 MB / 0.6515 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002769/2.002, allocations: 0.8937 MB / 0.9608 GB, free: 76.81 MB / 0.6515 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001382/2.003, allocations: 40.7 kB / 0.9609 GB, free: 76.77 MB / 0.6515 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003423/2.006, allocations: 223.6 kB / 0.9611 GB, free: 76.55 MB / 0.6515 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000792/2.007, allocations: 136.6 kB / 0.9612 GB, free: 76.42 MB / 0.6515 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003138/2.008, allocations: 63.98 kB / 0.9613 GB, free: 76.36 MB / 0.6515 GB Notification: Performance of sorting global known variables: time 0.007023/2.015, allocations: 3.08 MB / 0.9643 GB, free: 73.28 MB / 0.6515 GB Notification: Performance of sort global known variables: time 9.15e-07/2.015, allocations: 7.656 kB / 0.9643 GB, free: 73.27 MB / 0.6515 GB Notification: Performance of remove unused functions: time 0.007494/2.022, allocations: 1.262 MB / 0.9655 GB, free: 72.02 MB / 0.6515 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 4 (revolute[1].phi,revolute[1].w,revolute[2].phi,revolute[2].w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (177): * Single equations (assignments): 173 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,87.5%) 36} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007768/2.023, allocations: 193.4 kB / 0.9657 GB, free: 71.83 MB / 0.6515 GB Notification: Performance of simCode: created initialization part: time 0.01222/2.035, allocations: 6.376 MB / 0.9719 GB, free: 65.47 MB / 0.6515 GB Notification: Performance of simCode: created event and clocks part: time 7.449e-06/2.035, allocations: 0 / 0.9719 GB, free: 65.47 MB / 0.6515 GB Notification: Performance of simCode: created simulation system equations: time 0.005182/2.04, allocations: 2.573 MB / 0.9744 GB, free: 62.89 MB / 0.6515 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004401/2.045, allocations: 0.6178 MB / 0.975 GB, free: 62.3 MB / 0.6515 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02349/2.068, allocations: 10.37 MB / 0.9852 GB, free: 51.86 MB / 0.6515 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008293/2.077, allocations: 4.132 MB / 0.9892 GB, free: 47.72 MB / 0.6515 GB Notification: Performance of simCode: alias equations: time 0.007833/2.085, allocations: 2.274 MB / 0.9914 GB, free: 45.45 MB / 0.6515 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001488/2.086, allocations: 287.4 kB / 0.9917 GB, free: 45.17 MB / 0.6515 GB Notification: Performance of SimCode: time 1.758e-06/2.086, allocations: 0 / 0.9917 GB, free: 45.17 MB / 0.6515 GB Notification: Performance of Templates: time 0.1247/2.211, allocations: 51.36 MB / 1.042 GB, free: 10.61 MB / 0.6671 GB