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.544/2.544, allocations: 235 MB / 247.2 MB, free: 14.59 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.264e-05/5.271e-05, allocations: 7.984 kB / 305 MB, free: 5.293 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5035/0.5036, allocations: 54.85 MB / 359.9 MB, free: 2.707 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2128/0.7164, allocations: 82.35 MB / 442.2 MB, free: 14.5 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000235/0.7167, allocations: 64.56 kB / 442.3 MB, free: 14.44 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02058/0.7373, allocations: 4.497 MB / 446.8 MB, free: 9.969 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.644e-06/0.7374, allocations: 0 / 446.8 MB, free: 9.969 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.328e-05/0.7374, allocations: 8.641 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.0009397/0.7384, allocations: 474.3 kB / 447.3 MB, free: 9.453 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/0.7384, allocations: 8.031 kB / 447.3 MB, free: 9.445 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.252e-05/0.7385, allocations: 58.55 kB / 447.3 MB, free: 9.379 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.581e-05/0.7386, allocations: 27.67 kB / 447.3 MB, free: 9.352 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003406/0.739, allocations: 226.7 kB / 447.6 MB, free: 9.09 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.325e-05/0.739, allocations: 12.44 kB / 447.6 MB, free: 9.078 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.88e-05/0.7391, allocations: 32.64 kB / 447.6 MB, free: 9.047 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005082/0.7396, allocations: 209.9 kB / 447.8 MB, free: 8.824 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.125e-05/0.7397, allocations: 0 / 447.8 MB, free: 8.824 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.248e-05/0.7397, allocations: 12 kB / 447.8 MB, free: 8.812 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.91e-05/0.7397, allocations: 11.94 kB / 447.8 MB, free: 8.801 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003775/0.7401, allocations: 131.9 kB / 448 MB, free: 8.672 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001937/0.7421, allocations: 0.9858 MB / 449 MB, free: 7.602 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004811/0.7426, allocations: 222.3 kB / 449.2 MB, free: 7.348 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001887/0.7428, allocations: 72.75 kB / 449.2 MB, free: 7.266 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.123e-05/0.7429, allocations: 7.984 kB / 449.2 MB, free: 7.258 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.93e-05/0.7429, allocations: 46.45 kB / 449.3 MB, free: 7.203 MB / 378.7 MB Notification: Performance of pre-optimization done (n=25): time 3.326e-06/0.7429, allocations: 0 / 449.3 MB, free: 7.203 MB / 378.7 MB Notification: Performance of matching and sorting (n=28): time 0.001815/0.7448, allocations: 0.9478 MB / 450.2 MB, free: 6.109 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.673e-05/0.7449, allocations: 136.5 kB / 450.4 MB, free: 5.945 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002453/0.7451, allocations: 170.6 kB / 450.5 MB, free: 5.77 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.659e-05/0.7452, allocations: 29.7 kB / 450.6 MB, free: 5.734 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001242/0.7453, allocations: 152.2 kB / 450.7 MB, free: 5.578 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001136/0.7454, allocations: 106.5 kB / 450.8 MB, free: 5.473 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.992e-05/0.7455, allocations: 4 kB / 450.8 MB, free: 5.469 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.7456, allocations: 334.8 kB / 451.2 MB, free: 5.133 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001834/0.7458, allocations: 64.75 kB / 451.2 MB, free: 5.07 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002789/0.7461, allocations: 175.6 kB / 451.4 MB, free: 4.848 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002654/0.7464, allocations: 105.3 kB / 451.5 MB, free: 4.746 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.7464, allocations: 0 / 451.5 MB, free: 4.746 MB / 378.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007175/0.7471, allocations: 293 kB / 451.8 MB, free: 4.453 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.7472, allocations: 4 kB / 451.8 MB, free: 4.449 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/0.7472, allocations: 4 kB / 451.8 MB, free: 4.445 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.606e-05/0.7472, allocations: 8.312 kB / 451.8 MB, free: 4.438 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005663/0.7478, allocations: 83.91 kB / 451.9 MB, free: 4.355 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.861e-05/0.7478, allocations: 11.94 kB / 451.9 MB, free: 4.344 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002319/0.7481, allocations: 8 kB / 451.9 MB, free: 4.336 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.805e-05/0.7481, allocations: 23.98 kB / 451.9 MB, free: 4.312 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.0001211/0.7483, allocations: 124.9 kB / 452 MB, free: 4.184 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001203/0.7484, allocations: 23.77 kB / 452.1 MB, free: 4.16 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002892/0.7487, allocations: 108.5 kB / 452.2 MB, free: 4.039 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.226e-06/0.7487, allocations: 4 kB / 452.2 MB, free: 4.035 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.7487, allocations: 4 kB / 452.2 MB, free: 4.031 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.698e-06/0.7488, allocations: 3.984 kB / 452.2 MB, free: 4.027 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001563/0.7503, allocations: 0.7711 MB / 453 MB, free: 3.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.674e-06/0.7503, allocations: 4 kB / 453 MB, free: 3.176 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006618/0.751, allocations: 67.91 kB / 453 MB, free: 3.109 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-05/0.7511, allocations: 4.109 kB / 453 MB, free: 3.105 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.124e-05/0.7511, allocations: 15.94 kB / 453 MB, free: 3.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.019e-06/0.7511, allocations: 96 / 453 MB, free: 3.09 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.7511, allocations: 7.938 kB / 453.1 MB, free: 3.082 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000902/0.752, allocations: 0.7353 MB / 453.8 MB, free: 2.25 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.043e-05/0.7521, allocations: 100.8 kB / 453.9 MB, free: 2.133 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.472e-05/0.7522, allocations: 8 kB / 453.9 MB, free: 2.125 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003411/0.7526, allocations: 15.95 kB / 453.9 MB, free: 2.109 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.215e-05/0.7526, allocations: 27.91 kB / 453.9 MB, free: 2.082 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.518e-05/0.7527, allocations: 12 kB / 453.9 MB, free: 2.07 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001607/0.7528, allocations: 132.3 kB / 454.1 MB, free: 1.941 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.7528, allocations: 0 / 454.1 MB, free: 1.941 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006873/0.7535, allocations: 56 kB / 454.1 MB, free: 1.887 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.001516/0.7551, allocations: 1.905 MB / 456 MB, free: 15.9 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005437/0.7556, allocations: 176.1 kB / 456.2 MB, free: 15.73 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.7557, allocations: 0 / 456.2 MB, free: 15.73 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002079/0.7559, allocations: 88.95 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.0007442/0.7566, allocations: 54.53 kB / 456.3 MB, free: 15.59 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002561/0.7592, allocations: 0.8963 MB / 457.2 MB, free: 14.63 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004452/0.7597, allocations: 0.7636 MB / 458 MB, free: 13.84 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002163/0.7599, allocations: 30.06 kB / 458 MB, free: 13.81 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001663/0.7601, allocations: 71.41 kB / 458.1 MB, free: 13.74 MB / 394.7 MB Notification: Performance of SimCode: time 1.342e-06/0.7601, allocations: 0 / 458.1 MB, free: 13.74 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02908/0.7892, allocations: 4.267 MB / 462.4 MB, free: 9.555 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003/0.7896, allocations: 146.4 kB / 462.5 MB, free: 9.328 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.555/3.344, allocations: 0 / 462.5 MB, free: 9.328 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