Running command: "" <> buildModelFMU(ModelicaTest.Translational.TestBraking,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Translational_TestBraking",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.443/2.443, allocations: 235 MB / 247.1 MB, free: 14.6 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.089e-05/4.12e-05, allocations: 3.984 kB / 305 MB, free: 5.305 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4149/0.415, allocations: 54.86 MB / 359.9 MB, free: 2.715 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1559/0.571, allocations: 82.35 MB / 442.2 MB, free: 14.5 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002462/0.5713, allocations: 63.97 kB / 442.3 MB, free: 14.44 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02105/0.5923, allocations: 4.493 MB / 446.8 MB, free: 9.969 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.5924, allocations: 4 kB / 446.8 MB, free: 9.965 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.273e-05/0.5924, allocations: 4 kB / 446.8 MB, free: 9.961 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.0009202/0.5934, allocations: 470.3 kB / 447.2 MB, free: 9.457 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.572e-05/0.5934, allocations: 8.031 kB / 447.2 MB, free: 9.449 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.681e-05/0.5935, allocations: 54.55 kB / 447.3 MB, free: 9.387 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.33e-05/0.5936, allocations: 31.67 kB / 447.3 MB, free: 9.355 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003584/0.594, allocations: 234.7 kB / 447.5 MB, free: 9.086 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.54e-05/0.5941, allocations: 12.44 kB / 447.6 MB, free: 9.074 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.588e-05/0.5941, allocations: 23.91 kB / 447.6 MB, free: 9.051 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005526/0.5947, allocations: 210.7 kB / 447.8 MB, free: 8.828 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.612e-05/0.5947, allocations: 0 / 447.8 MB, free: 8.828 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.714e-05/0.5948, allocations: 12 kB / 447.8 MB, free: 8.816 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.44e-05/0.5948, allocations: 7.953 kB / 447.8 MB, free: 8.809 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004323/0.5953, allocations: 139.9 kB / 447.9 MB, free: 8.672 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00211/0.5974, allocations: 0.9937 MB / 448.9 MB, free: 7.59 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005169/0.598, allocations: 220.3 kB / 449.1 MB, free: 7.34 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001737/0.5981, allocations: 75.91 kB / 449.2 MB, free: 7.254 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.39e-05/0.5982, allocations: 3.984 kB / 449.2 MB, free: 7.25 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.628e-05/0.5982, allocations: 47.53 kB / 449.3 MB, free: 7.195 MB / 378.7 MB Notification: Performance of pre-optimization done (n=25): time 3.437e-06/0.5983, allocations: 0 / 449.3 MB, free: 7.195 MB / 378.7 MB Notification: Performance of matching and sorting (n=28): time 0.002027/0.6003, allocations: 0.9595 MB / 450.2 MB, free: 6.09 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.654e-05/0.6005, allocations: 136.5 kB / 450.4 MB, free: 5.926 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002751/0.6007, allocations: 165.8 kB / 450.5 MB, free: 5.754 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.285e-05/0.6008, allocations: 29.7 kB / 450.6 MB, free: 5.719 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001356/0.6009, allocations: 152.2 kB / 450.7 MB, free: 5.562 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001191/0.6011, allocations: 106.5 kB / 450.8 MB, free: 5.457 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.025e-05/0.6011, allocations: 8.656 kB / 450.8 MB, free: 5.449 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.6013, allocations: 334.8 kB / 451.1 MB, free: 5.113 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001941/0.6015, allocations: 60.75 kB / 451.2 MB, free: 5.055 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002923/0.6018, allocations: 183.9 kB / 451.4 MB, free: 4.824 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002859/0.6021, allocations: 92.86 kB / 451.5 MB, free: 4.734 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.6021, allocations: 0 / 451.5 MB, free: 4.734 MB / 378.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007734/0.6029, allocations: 309.2 kB / 451.8 MB, free: 4.426 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.969e-05/0.6029, allocations: 9.594 kB / 451.8 MB, free: 4.418 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.532e-05/0.603, allocations: 4 kB / 451.8 MB, free: 4.414 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.876e-05/0.603, allocations: 4 kB / 451.8 MB, free: 4.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000608/0.6036, allocations: 87.84 kB / 451.9 MB, free: 4.324 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.409e-05/0.6037, allocations: 7.984 kB / 451.9 MB, free: 4.316 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002774/0.6039, allocations: 12 kB / 451.9 MB, free: 4.305 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.795e-05/0.604, allocations: 16 kB / 451.9 MB, free: 4.289 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001495/0.6042, allocations: 128.8 kB / 452 MB, free: 4.156 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001342/0.6043, allocations: 27.83 kB / 452.1 MB, free: 4.129 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003474/0.6047, allocations: 107.1 kB / 452.2 MB, free: 4.012 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-05/0.6047, allocations: 4 kB / 452.2 MB, free: 4.008 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.6047, allocations: 0.75 kB / 452.2 MB, free: 4.008 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.054e-05/0.6047, allocations: 4 kB / 452.2 MB, free: 4.004 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00168/0.6064, allocations: 0.7832 MB / 453 MB, free: 3.145 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.566e-06/0.6065, allocations: 112 / 453 MB, free: 3.145 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006383/0.6071, allocations: 75.84 kB / 453 MB, free: 3.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-05/0.6071, allocations: 4 kB / 453 MB, free: 3.066 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.786e-05/0.6072, allocations: 8 kB / 453 MB, free: 3.059 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.075e-05/0.6072, allocations: 8.172 kB / 453.1 MB, free: 3.051 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.078e-05/0.6072, allocations: 9.406 kB / 453.1 MB, free: 3.043 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001059/0.6083, allocations: 0.7305 MB / 453.8 MB, free: 2.215 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001161/0.6084, allocations: 96.83 kB / 453.9 MB, free: 2.102 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.396e-05/0.6085, allocations: 8 kB / 453.9 MB, free: 2.094 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003523/0.6089, allocations: 11.95 kB / 453.9 MB, free: 2.082 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.583e-05/0.6089, allocations: 23.91 kB / 453.9 MB, free: 2.059 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-05/0.609, allocations: 8 kB / 453.9 MB, free: 2.051 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001927/0.6092, allocations: 148.2 kB / 454.1 MB, free: 1.906 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6092, allocations: 0 / 454.1 MB, free: 1.906 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006518/0.6099, allocations: 56 kB / 454.1 MB, free: 1.852 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 8 (mass4.s,mass4.v,mass3.s,mass3.v,mass2.s,mass2.v,mass1.s,mass1.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001528/0.6114, allocations: 1.889 MB / 456 MB, free: 15.88 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005648/0.612, allocations: 196.6 kB / 456.2 MB, free: 15.69 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.612, allocations: 4.094 kB / 456.2 MB, free: 15.69 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002051/0.6122, allocations: 87.81 kB / 456.3 MB, free: 15.6 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007256/0.613, allocations: 41.88 kB / 456.4 MB, free: 15.56 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002654/0.6156, allocations: 0.9138 MB / 457.3 MB, free: 14.59 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004337/0.6161, allocations: 0.7636 MB / 458 MB, free: 13.8 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002304/0.6164, allocations: 26.06 kB / 458.1 MB, free: 13.77 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001794/0.6166, allocations: 71.42 kB / 458.1 MB, free: 13.7 MB / 394.7 MB Notification: Performance of SimCode: time 1.082e-06/0.6166, allocations: 0 / 458.1 MB, free: 13.7 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03085/0.6474, allocations: 4.282 MB / 462.4 MB, free: 9.5 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003241/0.6478, allocations: 143.8 kB / 462.5 MB, free: 9.277 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.48/3.127, allocations: 0 / 462.5 MB, free: 9.277 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Translational.TestBraking_res.mat does not exist to compare? outputFormat=mat