Running command: "" <> buildModelFMU(ModelicaTest.Translational.TestBraking,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Translational_TestBraking",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.552/2.552, allocations: 270 MB / 283.6 MB, free: 3.137 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.402e-05/3.41e-05, allocations: 0 / 348.5 MB, free: 10.76 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1324/0.1325, allocations: 61.88 MB / 410.3 MB, free: 12.95 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.497/0.6295, allocations: 90.33 MB / 0.4889 GB, free: 13.79 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002357/0.6298, allocations: 72.47 kB / 0.489 GB, free: 13.71 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02966/0.6595, allocations: 6.639 MB / 0.4955 GB, free: 7.062 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.6596, allocations: 0 / 0.4955 GB, free: 7.062 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.536e-05/0.6596, allocations: 4 kB / 0.4955 GB, free: 7.059 MB / 410.7 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.001127/0.6607, allocations: 0.5455 MB / 0.496 GB, free: 6.469 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.099e-05/0.6608, allocations: 12.03 kB / 0.496 GB, free: 6.457 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001076/0.6609, allocations: 66.53 kB / 0.4961 GB, free: 6.383 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002998/0.6612, allocations: 47.61 kB / 0.4961 GB, free: 6.336 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003929/0.6616, allocations: 246.5 kB / 0.4964 GB, free: 6.055 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.378e-05/0.6617, allocations: 24.73 kB / 0.4964 GB, free: 6.031 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.908e-05/0.6618, allocations: 39.89 kB / 0.4964 GB, free: 5.992 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006913/0.6625, allocations: 290.8 kB / 0.4967 GB, free: 5.684 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.569e-05/0.6625, allocations: 0 / 0.4967 GB, free: 5.684 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.056e-05/0.6626, allocations: 16 kB / 0.4967 GB, free: 5.668 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.536e-05/0.6626, allocations: 8 kB / 0.4967 GB, free: 5.66 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005503/0.6632, allocations: 184.2 kB / 0.4969 GB, free: 5.48 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002585/0.6658, allocations: 1.293 MB / 0.4982 GB, free: 4.09 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007749/0.6666, allocations: 316.9 kB / 0.4985 GB, free: 3.734 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002485/0.6668, allocations: 104.8 kB / 0.4986 GB, free: 3.617 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.552e-05/0.6669, allocations: 8.453 kB / 0.4986 GB, free: 3.609 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.755e-05/0.6669, allocations: 38.56 kB / 0.4986 GB, free: 3.562 MB / 410.7 MB Notification: Performance of pre-optimization done (n=36): time 4.769e-06/0.6669, allocations: 11.92 kB / 0.4986 GB, free: 3.551 MB / 410.7 MB Notification: Performance of matching and sorting (n=40): time 0.002479/0.6694, allocations: 1.338 MB / 0.4999 GB, free: 2.02 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.51e-05/0.6695, allocations: 162.2 kB / 0.5001 GB, free: 1.824 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002827/0.6698, allocations: 197 kB / 0.5003 GB, free: 1.621 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.051e-05/0.6699, allocations: 33.7 kB / 0.5003 GB, free: 1.582 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001371/0.67, allocations: 168.3 kB / 0.5005 GB, free: 1.414 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001702/0.6702, allocations: 165.7 kB / 0.5006 GB, free: 1.25 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.685e-05/0.6703, allocations: 8 kB / 0.5007 GB, free: 1.242 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001685/0.6704, allocations: 338.8 kB / 0.501 GB, free: 0.9023 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002645/0.6707, allocations: 97.11 kB / 0.5011 GB, free: 0.8086 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003912/0.6711, allocations: 227.1 kB / 0.5013 GB, free: 0.5273 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003595/0.6715, allocations: 132.7 kB / 0.5014 GB, free: 408 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.6715, allocations: 0 / 0.5014 GB, free: 408 kB / 410.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0009553/0.6725, allocations: 397.1 kB / 0.5018 GB, free: 4 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.553e-05/0.6725, allocations: 15.94 kB / 0.5018 GB, free: 15.99 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/0.6726, allocations: 4 kB / 0.5018 GB, free: 15.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.677e-05/0.6726, allocations: 8 kB / 0.5018 GB, free: 15.98 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007989/0.6734, allocations: 115.8 kB / 0.5019 GB, free: 15.86 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.8e-05/0.6734, allocations: 4 kB / 0.5019 GB, free: 15.86 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003428/0.6738, allocations: 16 kB / 0.5019 GB, free: 15.84 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.004e-05/0.6739, allocations: 31.97 kB / 0.502 GB, free: 15.81 MB / 426.7 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.0001515/0.674, allocations: 137 kB / 0.5021 GB, free: 15.67 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001587/0.6742, allocations: 31.62 kB / 0.5021 GB, free: 15.64 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003342/0.6745, allocations: 119.4 kB / 0.5022 GB, free: 15.52 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.248e-05/0.6746, allocations: 11.98 kB / 0.5023 GB, free: 15.5 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/0.6746, allocations: 0 / 0.5023 GB, free: 15.5 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.127e-05/0.6746, allocations: 4 kB / 0.5023 GB, free: 15.5 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002249/0.6769, allocations: 1.026 MB / 0.5033 GB, free: 14.39 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.194e-06/0.6769, allocations: 0 / 0.5033 GB, free: 14.39 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009446/0.6779, allocations: 103.8 kB / 0.5034 GB, free: 14.29 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-05/0.6779, allocations: 4 kB / 0.5034 GB, free: 14.29 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.194e-05/0.6779, allocations: 12 kB / 0.5034 GB, free: 14.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.387e-05/0.678, allocations: 8 kB / 0.5034 GB, free: 14.27 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/0.678, allocations: 0 / 0.5034 GB, free: 14.27 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001334/0.6793, allocations: 0.9706 MB / 0.5043 GB, free: 13.17 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001239/0.6795, allocations: 100.8 kB / 0.5044 GB, free: 13.05 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.699e-05/0.6795, allocations: 11.98 kB / 0.5044 GB, free: 13.04 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004856/0.68, allocations: 16 kB / 0.5045 GB, free: 13.02 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.788e-05/0.6801, allocations: 31.86 kB / 0.5045 GB, free: 12.99 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.209e-05/0.6802, allocations: 16 kB / 0.5045 GB, free: 12.98 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002193/0.6804, allocations: 157.5 kB / 0.5047 GB, free: 12.82 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.6804, allocations: 4.125 kB / 0.5047 GB, free: 12.81 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008338/0.6813, allocations: 84 kB / 0.5047 GB, free: 12.73 MB / 426.7 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.001959/0.6832, allocations: 2.335 MB / 0.507 GB, free: 10.3 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007531/0.684, allocations: 255.5 kB / 0.5073 GB, free: 10.05 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/0.684, allocations: 0.75 kB / 0.5073 GB, free: 10.05 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003071/0.6844, allocations: 128.4 kB / 0.5074 GB, free: 9.926 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009298/0.6853, allocations: 52.52 kB / 0.5074 GB, free: 9.875 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003386/0.6887, allocations: 1.228 MB / 0.5086 GB, free: 8.574 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005202/0.6893, allocations: 0.7884 MB / 0.5094 GB, free: 7.754 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003133/0.6896, allocations: 38.97 kB / 0.5094 GB, free: 7.715 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002434/0.6899, allocations: 107.4 kB / 0.5095 GB, free: 7.609 MB / 426.7 MB Notification: Performance of SimCode: time 9.92e-07/0.6899, allocations: 0 / 0.5095 GB, free: 7.609 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03909/0.729, allocations: 5.787 MB / 0.5152 GB, free: 1.934 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003142/0.7293, allocations: 146.9 kB / 0.5153 GB, free: 1.707 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.7/3.429, allocations: 4.109 kB / 0.5153 GB, free: 1.703 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking_res.mat does not exist to compare? outputFormat=mat