Running command: "" <> buildModelFMU(ModelicaTest.Translational.TestBraking,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Translational_TestBraking",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.312/2.312, allocations: 235 MB / 247.6 MB, free: 14.31 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.982e-05/3.986e-05, allocations: 4 kB / 305 MB, free: 5.574 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3845/0.3846, allocations: 54.85 MB / 359.8 MB, free: 2.316 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1619/0.5465, allocations: 82.36 MB / 442.2 MB, free: 14.52 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002881/0.5469, allocations: 63.97 kB / 442.3 MB, free: 14.46 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02668/0.5736, allocations: 4.488 MB / 446.8 MB, free: 9.996 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.5737, allocations: 0 / 446.8 MB, free: 9.996 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.139e-05/0.5737, allocations: 4 kB / 446.8 MB, free: 9.992 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.001164/0.5749, allocations: 478.2 kB / 447.2 MB, free: 9.48 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.017e-05/0.575, allocations: 12.03 kB / 447.2 MB, free: 9.469 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001068/0.5751, allocations: 54.5 kB / 447.3 MB, free: 9.406 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.801e-05/0.5752, allocations: 23.72 kB / 447.3 MB, free: 9.383 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004325/0.5757, allocations: 226.7 kB / 447.5 MB, free: 9.121 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.684e-05/0.5757, allocations: 16.44 kB / 447.6 MB, free: 9.105 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.849e-05/0.5758, allocations: 23.91 kB / 447.6 MB, free: 9.082 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007195/0.5765, allocations: 213.8 kB / 447.8 MB, free: 8.855 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.338e-05/0.5766, allocations: 4 kB / 447.8 MB, free: 8.852 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.171e-05/0.5767, allocations: 4 kB / 447.8 MB, free: 8.848 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.275e-05/0.5767, allocations: 11.95 kB / 447.8 MB, free: 8.836 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005384/0.5772, allocations: 128 kB / 447.9 MB, free: 8.711 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00259/0.5799, allocations: 0.9937 MB / 448.9 MB, free: 7.633 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006623/0.5806, allocations: 215.7 kB / 449.1 MB, free: 7.387 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002418/0.5808, allocations: 71.38 kB / 449.2 MB, free: 7.305 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.233e-05/0.5809, allocations: 7.953 kB / 449.2 MB, free: 7.297 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.437e-05/0.5809, allocations: 46.55 kB / 449.3 MB, free: 7.242 MB / 378.7 MB Notification: Performance of pre-optimization done (n=25): time 4.047e-06/0.5809, allocations: 2.625 kB / 449.3 MB, free: 7.242 MB / 378.7 MB Notification: Performance of matching and sorting (n=28): time 0.002433/0.5834, allocations: 0.9529 MB / 450.2 MB, free: 6.145 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001042/0.5835, allocations: 140.5 kB / 450.4 MB, free: 5.977 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003285/0.5839, allocations: 165.8 kB / 450.5 MB, free: 5.805 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.161e-05/0.5839, allocations: 33.7 kB / 450.6 MB, free: 5.766 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001728/0.5841, allocations: 210.6 kB / 450.8 MB, free: 5.555 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001606/0.5843, allocations: 102.5 kB / 450.9 MB, free: 5.453 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.228e-05/0.5844, allocations: 12 kB / 450.9 MB, free: 5.441 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000184/0.5846, allocations: 326.8 kB / 451.2 MB, free: 5.113 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000279/0.5848, allocations: 64.75 kB / 451.3 MB, free: 5.051 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004071/0.5853, allocations: 171.7 kB / 451.4 MB, free: 4.832 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003841/0.5857, allocations: 100.3 kB / 451.5 MB, free: 4.734 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/0.5857, allocations: 0 / 451.5 MB, free: 4.734 MB / 378.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001041/0.5868, allocations: 285.7 kB / 451.8 MB, free: 4.449 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.18e-05/0.5868, allocations: 9.719 kB / 451.8 MB, free: 4.441 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.483e-05/0.5868, allocations: 4 kB / 451.8 MB, free: 4.438 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.93e-05/0.5869, allocations: 4 kB / 451.8 MB, free: 4.434 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007044/0.5876, allocations: 83.84 kB / 451.9 MB, free: 4.352 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.751e-05/0.5876, allocations: 4.312 kB / 451.9 MB, free: 4.348 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000266/0.5879, allocations: 23.91 kB / 451.9 MB, free: 4.324 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.539e-05/0.588, allocations: 15.98 kB / 451.9 MB, free: 4.309 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.000136/0.5881, allocations: 128.8 kB / 452.1 MB, free: 4.176 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001296/0.5882, allocations: 23.77 kB / 452.1 MB, free: 4.152 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003163/0.5886, allocations: 104.2 kB / 452.2 MB, free: 4.035 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.127e-06/0.5886, allocations: 4 kB / 452.2 MB, free: 4.031 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.024e-06/0.5886, allocations: 0 / 452.2 MB, free: 4.031 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.149e-05/0.5886, allocations: 7.984 kB / 452.2 MB, free: 4.023 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001625/0.5903, allocations: 0.7711 MB / 453 MB, free: 3.176 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.5903, allocations: 8.188 kB / 453 MB, free: 3.168 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006894/0.591, allocations: 72.02 kB / 453.1 MB, free: 3.098 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.31e-05/0.591, allocations: 8.781 kB / 453.1 MB, free: 3.09 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.219e-05/0.5911, allocations: 8 kB / 453.1 MB, free: 3.082 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.578e-06/0.5911, allocations: 4 kB / 453.1 MB, free: 3.078 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.5911, allocations: 3.938 kB / 453.1 MB, free: 3.074 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000944/0.5921, allocations: 0.7306 MB / 453.8 MB, free: 2.246 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001016/0.5922, allocations: 100.8 kB / 453.9 MB, free: 2.129 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.562e-05/0.5923, allocations: 11.95 kB / 453.9 MB, free: 2.117 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003401/0.5926, allocations: 12.97 kB / 453.9 MB, free: 2.105 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.48e-05/0.5927, allocations: 27.97 kB / 454 MB, free: 2.078 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.891e-05/0.5927, allocations: 8 kB / 454 MB, free: 2.07 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001609/0.5929, allocations: 132.3 kB / 454.1 MB, free: 1.941 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.7e-07/0.5929, allocations: 0 / 454.1 MB, free: 1.941 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007205/0.5936, allocations: 64 kB / 454.2 MB, free: 1.879 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.001511/0.5951, allocations: 1.893 MB / 456 MB, free: 15.9 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005403/0.5957, allocations: 179.8 kB / 456.2 MB, free: 15.73 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.5957, allocations: 1.406 kB / 456.2 MB, free: 15.73 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002042/0.5959, allocations: 87.8 kB / 456.3 MB, free: 15.64 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007415/0.5967, allocations: 49.77 kB / 456.4 MB, free: 15.6 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002586/0.5993, allocations: 0.9306 MB / 457.3 MB, free: 14.6 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004106/0.5998, allocations: 0.7597 MB / 458 MB, free: 13.81 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001901/0.6, allocations: 75.41 kB / 458.1 MB, free: 13.74 MB / 394.7 MB Notification: Performance of SimCode: time 9.52e-07/0.6, allocations: 8 kB / 458.1 MB, free: 13.73 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.467/3.067, allocations: 3.747 MB / 461.9 MB, free: 9.984 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Translational.TestBraking_res.mat does not exist to compare? outputFormat=mat