Running command: "" <> buildModelFMU(ModelicaTest.Translational.TestBraking,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Translational_TestBraking",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.78/2.78, allocations: 249.5 MB / 261.6 MB, free: 2.168 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 5.096e-05/5.143e-05, allocations: 4 kB / 323.5 MB, free: 4.234 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4603/0.4604, allocations: 58.83 MB / 382.3 MB, free: 10.22 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2371/0.6976, allocations: 89.25 MB / 471.5 MB, free: 3.172 MB / 394.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003535/0.698, allocations: 71.97 kB / 471.6 MB, free: 3.102 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.04806/0.7461, allocations: 6.526 MB / 478.1 MB, free: 12.55 MB / 410.8 MB Notification: Performance of FrontEnd: time 2.965e-06/0.7462, allocations: 0 / 478.1 MB, free: 12.55 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.378e-05/0.7462, allocations: 8 kB / 478.1 MB, free: 12.54 MB / 410.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.00174/0.748, allocations: 0.5404 MB / 478.7 MB, free: 11.96 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 6.229e-05/0.7481, allocations: 8.031 kB / 478.7 MB, free: 11.95 MB / 410.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001579/0.7482, allocations: 66.53 kB / 478.8 MB, free: 11.88 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004815/0.7488, allocations: 51.73 kB / 478.8 MB, free: 11.83 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006188/0.7494, allocations: 254.5 kB / 479.1 MB, free: 11.54 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.013e-05/0.7495, allocations: 24.72 kB / 479.1 MB, free: 11.52 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001303/0.7496, allocations: 39.89 kB / 479.1 MB, free: 11.48 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001043/0.7507, allocations: 282.8 kB / 479.4 MB, free: 11.17 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.951e-05/0.7508, allocations: 7.906 kB / 479.4 MB, free: 11.16 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.622e-05/0.7509, allocations: 12 kB / 479.4 MB, free: 11.15 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.839e-05/0.7509, allocations: 15.92 kB / 479.4 MB, free: 11.14 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008757/0.7518, allocations: 188.3 kB / 479.6 MB, free: 10.95 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00415/0.756, allocations: 1.289 MB / 480.9 MB, free: 9.566 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001298/0.7573, allocations: 313 kB / 481.2 MB, free: 9.215 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004101/0.7578, allocations: 104.2 kB / 481.3 MB, free: 9.098 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 4.936e-05/0.7579, allocations: 4 kB / 481.3 MB, free: 9.094 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.693e-05/0.7579, allocations: 43.03 kB / 481.4 MB, free: 9.043 MB / 410.8 MB Notification: Performance of pre-optimization done (n=36): time 5.31e-06/0.758, allocations: 0 / 481.4 MB, free: 9.043 MB / 410.8 MB Notification: Performance of matching and sorting (n=40): time 0.004133/0.7621, allocations: 1.346 MB / 482.7 MB, free: 7.504 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001447/0.7623, allocations: 166.2 kB / 482.9 MB, free: 7.305 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004852/0.7628, allocations: 193 kB / 483 MB, free: 7.102 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 7.262e-05/0.7629, allocations: 41.64 kB / 483.1 MB, free: 7.055 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002117/0.7631, allocations: 164.3 kB / 483.3 MB, free: 6.891 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002866/0.7634, allocations: 161.7 kB / 483.4 MB, free: 6.73 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.468e-05/0.7635, allocations: 8 kB / 483.4 MB, free: 6.723 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0002607/0.7638, allocations: 342.8 kB / 483.8 MB, free: 6.379 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004662/0.7643, allocations: 97.06 kB / 483.8 MB, free: 6.285 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007046/0.765, allocations: 231.1 kB / 484.1 MB, free: 5.996 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000681/0.7657, allocations: 128.4 kB / 484.2 MB, free: 5.871 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.103e-05/0.7657, allocations: 0 / 484.2 MB, free: 5.871 MB / 410.8 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.00276/0.7685, allocations: 389.5 kB / 484.6 MB, free: 5.484 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.361e-05/0.7687, allocations: 8 kB / 484.6 MB, free: 5.477 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-05/0.7688, allocations: 7.984 kB / 484.6 MB, free: 5.469 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.989e-05/0.7688, allocations: 8 kB / 484.6 MB, free: 5.461 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002021/0.7709, allocations: 123.8 kB / 484.7 MB, free: 5.34 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.756e-05/0.771, allocations: 8 kB / 484.7 MB, free: 5.332 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001088/0.7722, allocations: 16 kB / 484.7 MB, free: 5.316 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001362/0.7724, allocations: 20 kB / 484.8 MB, free: 5.297 MB / 410.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 62 * 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.0003815/0.7728, allocations: 152.8 kB / 484.9 MB, free: 5.141 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005155/0.7733, allocations: 27.91 kB / 484.9 MB, free: 5.113 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007447/0.7741, allocations: 115.5 kB / 485.1 MB, free: 4.992 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.451e-05/0.7741, allocations: 7.984 kB / 485.1 MB, free: 4.984 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.141e-05/0.7742, allocations: 4 kB / 485.1 MB, free: 4.98 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.247e-05/0.7742, allocations: 3.984 kB / 485.1 MB, free: 4.977 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005038/0.7793, allocations: 1.022 MB / 486.1 MB, free: 3.871 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.822e-05/0.7794, allocations: 4 kB / 486.1 MB, free: 3.867 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001402/0.7808, allocations: 99.83 kB / 486.2 MB, free: 3.77 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.721e-05/0.7809, allocations: 4 kB / 486.2 MB, free: 3.766 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.801e-05/0.781, allocations: 16 kB / 486.2 MB, free: 3.75 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.995e-05/0.781, allocations: 4 kB / 486.2 MB, free: 3.746 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.324e-05/0.7811, allocations: 7.953 kB / 486.2 MB, free: 3.738 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001583/0.7827, allocations: 0.9553 MB / 487.2 MB, free: 2.656 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001273/0.7829, allocations: 96.83 kB / 487.3 MB, free: 2.543 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.352e-05/0.7829, allocations: 12 kB / 487.3 MB, free: 2.531 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000497/0.7834, allocations: 15.98 kB / 487.3 MB, free: 2.516 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.562e-05/0.7835, allocations: 35.86 kB / 487.3 MB, free: 2.48 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.26e-05/0.7836, allocations: 12 kB / 487.3 MB, free: 2.469 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.0002196/0.7838, allocations: 157.4 kB / 487.5 MB, free: 2.312 MB / 410.8 MB Notification: Performance of sort global known variables: time 4.71e-07/0.7838, allocations: 0 / 487.5 MB, free: 2.312 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0008822/0.7847, allocations: 84 kB / 487.6 MB, free: 2.23 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 11 (mass5.s,mass5.v,heatCapacitor.T,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 (41): * Single equations (assignments): 41 * 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.002042/0.7868, allocations: 2.334 MB / 489.9 MB, free: 15.8 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0008086/0.7876, allocations: 260 kB / 490.2 MB, free: 15.55 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/0.7877, allocations: 4.688 kB / 490.2 MB, free: 15.54 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003156/0.788, allocations: 128.1 kB / 490.3 MB, free: 15.42 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009825/0.789, allocations: 52.39 kB / 490.4 MB, free: 15.37 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003515/0.7925, allocations: 1.236 MB / 491.6 MB, free: 14.06 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004892/0.7931, allocations: 0.7923 MB / 492.4 MB, free: 13.24 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.0003182/0.7934, allocations: 34.97 kB / 492.4 MB, free: 13.21 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002381/0.7937, allocations: 107.4 kB / 492.5 MB, free: 13.1 MB / 426.8 MB Notification: Performance of SimCode: time 1.302e-06/0.7937, allocations: 0 / 492.5 MB, free: 13.1 MB / 426.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03583/0.8295, allocations: 5.785 MB / 498.3 MB, free: 7.398 MB / 426.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003296/0.8299, allocations: 150.4 kB / 498.5 MB, free: 7.168 MB / 426.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.927/3.757, allocations: 0 / 498.5 MB, free: 7.168 MB / 426.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking_res.mat does not exist to compare? outputFormat=mat