Running command: "" <> buildModelFMU(ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Mechanical_FlexibleBeam_ScaledExperiments_FlexibleBeamModelica_N_2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ScalableTestSuite): time 3.01/3.01, allocations: 326.3 MB / 339.3 MB, free: 11.27 MB / 283.2 MB Notification: Performance of FrontEnd - loaded program: time 3.595e-05/3.606e-05, allocations: 3.984 kB / 422.3 MB, free: 0.5547 MB / 331.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1659/0.1659, allocations: 80.01 MB / 0.4906 GB, free: 440 kB / 411.2 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6629/0.8289, allocations: 145.7 MB / 0.6328 GB, free: 7.523 MB / 0.5109 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002502/0.8292, allocations: 74.47 kB / 0.6329 GB, free: 7.488 MB / 0.5109 GB Notification: Performance of FrontEnd - DAE generated: time 0.4425/1.272, allocations: 105.9 MB / 0.7363 GB, free: 11.89 MB / 0.6046 GB Notification: Performance of FrontEnd: time 2.134e-06/1.272, allocations: 0 / 0.7363 GB, free: 11.89 MB / 0.6046 GB Notification: Performance of Transformations before backend: time 0.0004453/1.272, allocations: 96 kB / 0.7364 GB, free: 11.8 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.02287/1.295, allocations: 5.463 MB / 0.7418 GB, free: 6.648 MB / 0.6046 GB Notification: Performance of prepare preOptimizeDAE: time 5.959e-05/1.295, allocations: 12.03 kB / 0.7418 GB, free: 6.637 MB / 0.6046 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003939/1.299, allocations: 0.8429 MB / 0.7426 GB, free: 6.109 MB / 0.6046 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06797/1.367, allocations: 9.27 MB / 0.7517 GB, free: 13.78 MB / 0.6203 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03/1.397, allocations: 8.248 MB / 0.7597 GB, free: 7.215 MB / 0.6203 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000495/1.398, allocations: 357.1 kB / 0.7601 GB, free: 6.988 MB / 0.6203 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002684/1.401, allocations: 474.8 kB / 0.7605 GB, free: 6.652 MB / 0.6203 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03732/1.438, allocations: 11.89 MB / 0.7721 GB, free: 12.73 MB / 0.6359 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004673/1.438, allocations: 75.3 kB / 0.7722 GB, free: 12.66 MB / 0.6359 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002511/1.441, allocations: 226.7 kB / 0.7724 GB, free: 12.57 MB / 0.6359 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002763/1.444, allocations: 1.071 MB / 0.7735 GB, free: 11.65 MB / 0.6359 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03259/1.476, allocations: 9.953 MB / 0.7832 GB, free: 3.23 MB / 0.6359 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5312/2.008, allocations: 50 MB / 0.832 GB, free: 140.4 MB / 0.6515 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0182/2.026, allocations: 4.994 MB / 0.8369 GB, free: 139.7 MB / 0.6515 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005796/2.032, allocations: 2.809 MB / 0.8396 GB, free: 139.7 MB / 0.6515 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02502/2.057, allocations: 10.33 MB / 0.8497 GB, free: 138.4 MB / 0.6515 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.527e-05/2.057, allocations: 60.58 kB / 0.8498 GB, free: 138.4 MB / 0.6515 GB Notification: Performance of pre-optimization done (n=204): time 6.201e-06/2.057, allocations: 3.969 kB / 0.8498 GB, free: 138.4 MB / 0.6515 GB Notification: Performance of matching and sorting (n=235): time 0.09516/2.152, allocations: 23.95 MB / 0.8732 GB, free: 134.9 MB / 0.6515 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001218/2.152, allocations: 307.9 kB / 0.8735 GB, free: 134.6 MB / 0.6515 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009507/2.162, allocations: 4.295 MB / 0.8777 GB, free: 133.9 MB / 0.6515 GB Notification: Performance of collectPreVariables (initialization): time 0.0006098/2.162, allocations: 64.64 kB / 0.8777 GB, free: 133.9 MB / 0.6515 GB Notification: Performance of collectInitialEqns (initialization): time 0.003044/2.166, allocations: 3.486 MB / 0.8811 GB, free: 131.5 MB / 0.6515 GB Notification: Performance of collectInitialBindings (initialization): time 0.001367/2.167, allocations: 0.8785 MB / 0.882 GB, free: 130.9 MB / 0.6515 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006615/2.168, allocations: 120.4 kB / 0.8821 GB, free: 130.8 MB / 0.6515 GB Notification: Performance of setup shared object (initialization): time 0.000365/2.168, allocations: 0.5687 MB / 0.8826 GB, free: 130.4 MB / 0.6515 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00604/2.174, allocations: 2.701 MB / 0.8853 GB, free: 129.5 MB / 0.6515 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008314/2.182, allocations: 6.191 MB / 0.8913 GB, free: 124.1 MB / 0.6515 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008625/2.191, allocations: 4.113 MB / 0.8953 GB, free: 123 MB / 0.6515 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001113/2.191, allocations: 39.53 kB / 0.8954 GB, free: 123 MB / 0.6515 GB Notification: Performance of matching and sorting (n=800) (initialization): time 0.02834/2.22, allocations: 10.07 MB / 0.9052 GB, free: 120.5 MB / 0.6515 GB Notification: Performance of prepare postOptimizeDAE: time 9.879e-05/2.22, allocations: 55.81 kB / 0.9053 GB, free: 120.5 MB / 0.6515 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001729/2.22, allocations: 123.4 kB / 0.9054 GB, free: 120.5 MB / 0.6515 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007565/2.228, allocations: 1.836 MB / 0.9072 GB, free: 120.2 MB / 0.6515 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008768/2.236, allocations: 1.426 MB / 0.9086 GB, free: 120.1 MB / 0.6515 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02172/2.258, allocations: 11.17 MB / 0.9195 GB, free: 114.2 MB / 0.6515 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007782/2.266, allocations: 443.7 kB / 0.9199 GB, free: 113.9 MB / 0.6515 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001459/2.267, allocations: 362.9 kB / 0.9203 GB, free: 113.6 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.001519/2.269, allocations: 0.5727 MB / 0.9208 GB, free: 113 MB / 0.6515 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001165/2.27, allocations: 430.5 kB / 0.9212 GB, free: 112.6 MB / 0.6515 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01586/2.286, allocations: 5.724 MB / 0.9268 GB, free: 108.2 MB / 0.6515 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.579e-05/2.286, allocations: 28 kB / 0.9268 GB, free: 108.2 MB / 0.6515 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.867e-05/2.286, allocations: 8 kB / 0.9268 GB, free: 108.2 MB / 0.6515 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.612e-05/2.286, allocations: 12.92 kB / 0.9269 GB, free: 108.2 MB / 0.6515 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03317/2.319, allocations: 12.48 MB / 0.939 GB, free: 98.25 MB / 0.6515 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.918e-05/2.32, allocations: 7.844 kB / 0.9391 GB, free: 98.24 MB / 0.6515 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003417/2.323, allocations: 383.2 kB / 0.9394 GB, free: 97.95 MB / 0.6515 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006985/2.33, allocations: 1.664 MB / 0.941 GB, free: 96.82 MB / 0.6515 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004607/2.33, allocations: 44 kB / 0.9411 GB, free: 96.78 MB / 0.6515 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02113/2.352, allocations: 10.77 MB / 0.9516 GB, free: 87.1 MB / 0.6515 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/2.352, allocations: 4 kB / 0.9516 GB, free: 87.1 MB / 0.6515 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02127/2.373, allocations: 9.52 MB / 0.9609 GB, free: 77.43 MB / 0.6515 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003326/2.376, allocations: 0.886 MB / 0.9618 GB, free: 76.52 MB / 0.6515 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008362/2.377, allocations: 40 kB / 0.9618 GB, free: 76.48 MB / 0.6515 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0034/2.381, allocations: 219.7 kB / 0.962 GB, free: 76.27 MB / 0.6515 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005709/2.381, allocations: 149 kB / 0.9622 GB, free: 76.12 MB / 0.6515 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002644/2.381, allocations: 65.16 kB / 0.9622 GB, free: 76.06 MB / 0.6515 GB Notification: Performance of sorting global known variables: time 0.006619/2.388, allocations: 3.08 MB / 0.9652 GB, free: 72.98 MB / 0.6515 GB Notification: Performance of sort global known variables: time 7.71e-07/2.388, allocations: 0 / 0.9652 GB, free: 72.98 MB / 0.6515 GB Notification: Performance of remove unused functions: time 0.007877/2.396, allocations: 1.266 MB / 0.9665 GB, free: 71.73 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.02127/2.417, allocations: 10.81 MB / 0.977 GB, free: 60.82 MB / 0.6515 GB Notification: Performance of simCode: created initialization part: time 0.01377/2.431, allocations: 6.368 MB / 0.9832 GB, free: 54.47 MB / 0.6515 GB Notification: Performance of simCode: created event and clocks part: time 8.916e-06/2.431, allocations: 4 kB / 0.9833 GB, free: 54.46 MB / 0.6515 GB Notification: Performance of simCode: created simulation system equations: time 0.005794/2.437, allocations: 2.581 MB / 0.9858 GB, free: 51.88 MB / 0.6515 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004632/2.442, allocations: 0.6133 MB / 0.9864 GB, free: 51.29 MB / 0.6515 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03419/2.476, allocations: 12.12 MB / 0.9982 GB, free: 39.09 MB / 0.6515 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009024/2.485, allocations: 4.135 MB / 1.002 GB, free: 34.94 MB / 0.6515 GB Notification: Performance of simCode: alias equations: time 0.01023/2.495, allocations: 2.275 MB / 1.004 GB, free: 32.68 MB / 0.6515 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005406/2.501, allocations: 2.346 MB / 1.007 GB, free: 30.33 MB / 0.6515 GB Notification: Performance of SimCode: time 1.252e-06/2.501, allocations: 7.938 kB / 1.007 GB, free: 30.32 MB / 0.6515 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6773/3.178, allocations: 103.5 MB / 1.108 GB, free: 170.6 MB / 0.6671 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001913/3.178, allocations: 210.5 kB / 1.108 GB, free: 170.4 MB / 0.6671 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.726/8.905, allocations: 3.906 kB / 1.108 GB, free: 170.4 MB / 0.6671 GB TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2_res.mat does not exist to compare? outputFormat=mat