Running command: translateModel(ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_4,tolerance=3e-08,outputFormat="mat",numberOfIntervals=3998,variableFilter="revolute.1..angle|revolute.1..phi|revolute.2..angle|revolute.2..phi|revolute.3..angle|revolute.3..phi|revolute.4..angle|revolute.4..phi|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_4") Notification: Performance of loadModel(ScalableTestSuite): time 2.903/2.903, allocations: 326.3 MB / 339.3 MB, free: 11.19 MB / 283.2 MB Notification: Performance of FrontEnd - loaded program: time 2.872e-05/2.894e-05, allocations: 0 / 422.2 MB, free: 0.6445 MB / 331.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1296, allocations: 80.01 MB / 0.4905 GB, free: 0.5312 MB / 411.2 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5654/0.6951, allocations: 145.7 MB / 0.6328 GB, free: 7.324 MB / 0.5109 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001893/0.6953, allocations: 70.47 kB / 0.6328 GB, free: 7.293 MB / 0.5109 GB Notification: Performance of FrontEnd - DAE generated: time 0.5501/1.245, allocations: 147.4 MB / 0.7768 GB, free: 8.078 MB / 0.6359 GB Notification: Performance of FrontEnd: time 2.116e-06/1.245, allocations: 0 / 0.7768 GB, free: 8.078 MB / 0.6359 GB Notification: Performance of Transformations before backend: time 0.0006121/1.246, allocations: 147.9 kB / 0.7769 GB, free: 7.934 MB / 0.6359 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2256 * Number of variables: 2256 Notification: Performance of Generate backend data structure: time 0.02849/1.275, allocations: 8.378 MB / 0.7851 GB, free: 48 kB / 0.6359 GB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/1.275, allocations: 12.03 kB / 0.7851 GB, free: 36 kB / 0.6359 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07452/1.349, allocations: 14.61 MB / 0.7994 GB, free: 2.988 MB / 0.6515 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4055/1.755, allocations: 12.76 MB / 0.8119 GB, free: 150.1 MB / 0.6515 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006538/1.755, allocations: 497.5 kB / 0.8123 GB, free: 150.1 MB / 0.6515 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002913/1.758, allocations: 0.6761 MB / 0.813 GB, free: 150.1 MB / 0.6515 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0418/1.8, allocations: 17.22 MB / 0.8298 GB, free: 146.9 MB / 0.6515 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005211/1.801, allocations: 111.5 kB / 0.8299 GB, free: 146.9 MB / 0.6515 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002284/1.803, allocations: 310.3 kB / 0.8302 GB, free: 146.9 MB / 0.6515 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002574/1.806, allocations: 1.465 MB / 0.8316 GB, free: 146.9 MB / 0.6515 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03568/1.841, allocations: 14.74 MB / 0.846 GB, free: 146.8 MB / 0.6515 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09715/1.939, allocations: 69.53 MB / 0.9139 GB, free: 104.5 MB / 0.6515 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02516/1.964, allocations: 8.659 MB / 0.9224 GB, free: 102 MB / 0.6515 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008129/1.972, allocations: 5.257 MB / 0.9275 GB, free: 100.1 MB / 0.6515 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03463/2.007, allocations: 18.28 MB / 0.9454 GB, free: 86.45 MB / 0.6515 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.837e-05/2.007, allocations: 75.31 kB / 0.9454 GB, free: 86.37 MB / 0.6515 GB Notification: Performance of pre-optimization done (n=336): time 7.809e-06/2.007, allocations: 0 / 0.9454 GB, free: 86.37 MB / 0.6515 GB Notification: Performance of matching and sorting (n=413): time 0.166/2.173, allocations: 53.98 MB / 0.9982 GB, free: 40.14 MB / 0.6515 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001137/2.173, allocations: 436.3 kB / 0.9986 GB, free: 39.62 MB / 0.6515 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01156/2.184, allocations: 6.062 MB / 1.004 GB, free: 33.56 MB / 0.6515 GB Notification: Performance of collectPreVariables (initialization): time 0.001057/2.186, allocations: 89.7 kB / 1.005 GB, free: 33.46 MB / 0.6515 GB Notification: Performance of collectInitialEqns (initialization): time 0.00625/2.192, allocations: 4.686 MB / 1.009 GB, free: 28.77 MB / 0.6515 GB Notification: Performance of collectInitialBindings (initialization): time 0.003105/2.195, allocations: 1.498 MB / 1.011 GB, free: 27.29 MB / 0.6515 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00172/2.197, allocations: 167.6 kB / 1.011 GB, free: 27.13 MB / 0.6515 GB Notification: Performance of setup shared object (initialization): time 0.0009262/2.198, allocations: 0.665 MB / 1.011 GB, free: 26.46 MB / 0.6515 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0161/2.214, allocations: 4.943 MB / 1.016 GB, free: 21.5 MB / 0.6515 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01964/2.234, allocations: 9.132 MB / 1.025 GB, free: 10.43 MB / 0.6515 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02094/2.255, allocations: 6.845 MB / 1.032 GB, free: 3.594 MB / 0.6515 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001928/2.255, allocations: 44 kB / 1.032 GB, free: 3.551 MB / 0.6515 GB Notification: Performance of matching and sorting (n=1078) (initialization): time 0.08522/2.34, allocations: 18.38 MB / 1.05 GB, free: 1.129 MB / 0.6671 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001796/2.34, allocations: 75.89 kB / 1.05 GB, free: 1.055 MB / 0.6671 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002862/2.341, allocations: 144.1 kB / 1.05 GB, free: 0.9141 MB / 0.6671 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3991/2.74, allocations: 5.283 MB / 1.055 GB, free: 150.8 MB / 0.6671 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009098/2.749, allocations: 1.92 MB / 1.057 GB, free: 150.8 MB / 0.6671 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05183/2.801, allocations: 28.57 MB / 1.085 GB, free: 149.4 MB / 0.6671 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009508/2.81, allocations: 0.7549 MB / 1.086 GB, free: 149.4 MB / 0.6671 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001907/2.812, allocations: 469.4 kB / 1.086 GB, free: 149.4 MB / 0.6671 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 655 * Number of states: 0 () * Number of discrete variables: 57 (force.color[3],force.color[2],force.color[1],bodybox[3].color[3],bodybox[3].color[2],bodybox[3].color[1],bodybox[3].body.sphereColor[3],bodybox[3].body.sphereColor[2],bodybox[3].body.sphereColor[1],bodybox[2].color[3],bodybox[2].color[2],bodybox[2].color[1],bodybox[2].body.sphereColor[3],bodybox[2].body.sphereColor[2],bodybox[2].body.sphereColor[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[4].cylinderColor[3],revolute[4].cylinderColor[2],revolute[4].cylinderColor[1],revolute[3].cylinderColor[3],revolute[3].cylinderColor[2],revolute[3].cylinderColor[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 (952): * Single equations (assignments): 948 * 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 {(6,86.1%) 97} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001979/2.814, allocations: 0.7192 MB / 1.087 GB, free: 149.3 MB / 0.6671 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001655/2.816, allocations: 0.6164 MB / 1.087 GB, free: 149.3 MB / 0.6671 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03174/2.848, allocations: 13.67 MB / 1.101 GB, free: 149 MB / 0.6671 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.745e-05/2.848, allocations: 41.47 kB / 1.101 GB, free: 149 MB / 0.6671 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.493e-05/2.848, allocations: 29.86 kB / 1.101 GB, free: 149 MB / 0.6671 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.341e-05/2.848, allocations: 19.66 kB / 1.101 GB, free: 149 MB / 0.6671 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06157/2.91, allocations: 26.41 MB / 1.127 GB, free: 143.1 MB / 0.6671 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.958e-05/2.91, allocations: 4.906 kB / 1.127 GB, free: 143.1 MB / 0.6671 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004337/2.914, allocations: 0.684 MB / 1.127 GB, free: 143.1 MB / 0.6671 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01748/2.932, allocations: 5.049 MB / 1.132 GB, free: 142.4 MB / 0.6671 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009608/2.933, allocations: 77.7 kB / 1.132 GB, free: 142.4 MB / 0.6671 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05334/2.986, allocations: 28.24 MB / 1.16 GB, free: 130.8 MB / 0.6671 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.033e-06/2.986, allocations: 4 kB / 1.16 GB, free: 130.8 MB / 0.6671 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03948/3.025, allocations: 20.78 MB / 1.18 GB, free: 114.4 MB / 0.6671 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004712/3.03, allocations: 1.558 MB / 1.182 GB, free: 113 MB / 0.6671 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002102/3.032, allocations: 79.23 kB / 1.182 GB, free: 112.9 MB / 0.6671 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005551/3.038, allocations: 0.4948 MB / 1.182 GB, free: 112.6 MB / 0.6671 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001576/3.04, allocations: 271.4 kB / 1.183 GB, free: 112.4 MB / 0.6671 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008118/3.04, allocations: 105.2 kB / 1.183 GB, free: 112.3 MB / 0.6671 GB Notification: Performance of sorting global known variables: time 0.01043/3.051, allocations: 4.429 MB / 1.187 GB, free: 107.9 MB / 0.6671 GB Notification: Performance of sort global known variables: time 1.762e-06/3.051, allocations: 6.312 kB / 1.187 GB, free: 107.9 MB / 0.6671 GB Notification: Performance of remove unused functions: time 0.01123/3.062, allocations: 2.067 MB / 1.189 GB, free: 105.9 MB / 0.6671 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 8 (revolute[1].phi,revolute[1].w,revolute[2].phi,revolute[2].w,revolute[3].phi,revolute[3].w,revolute[4].phi,revolute[4].w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (299): * Single equations (assignments): 295 * 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 {(9,74.1%) 91} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001397/3.064, allocations: 237.7 kB / 1.189 GB, free: 105.7 MB / 0.6671 GB Notification: Performance of simCode: created initialization part: time 0.02148/3.085, allocations: 11.81 MB / 1.201 GB, free: 94.1 MB / 0.6671 GB Notification: Performance of simCode: created event and clocks part: time 1.026e-05/3.085, allocations: 7.312 kB / 1.201 GB, free: 94.09 MB / 0.6671 GB Notification: Performance of simCode: created simulation system equations: time 0.01173/3.097, allocations: 5.602 MB / 1.206 GB, free: 88.48 MB / 0.6671 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006128/3.103, allocations: 0.9863 MB / 1.207 GB, free: 87.54 MB / 0.6671 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03622/3.139, allocations: 17.56 MB / 1.224 GB, free: 70.18 MB / 0.6671 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01117/3.15, allocations: 5.872 MB / 1.23 GB, free: 64.33 MB / 0.6671 GB Notification: Performance of simCode: alias equations: time 0.01088/3.161, allocations: 3.626 MB / 1.234 GB, free: 60.87 MB / 0.6671 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002471/3.164, allocations: 411.3 kB / 1.234 GB, free: 60.47 MB / 0.6671 GB Notification: Performance of SimCode: time 2.286e-06/3.164, allocations: 2.078 kB / 1.234 GB, free: 60.47 MB / 0.6671 GB Notification: Performance of Templates: time 0.6183/3.782, allocations: 97.26 MB / 1.329 GB, free: 154.4 MB / 0.6828 GB