Running command: "" <> buildModelFMU(Modelica.Media.Incompressible.Examples.TestGlycol,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Media_Incompressible_Examples_TestGlycol",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.148/2.148, allocations: 194.9 MB / 208.4 MB, free: 3.254 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.624e-05/3.638e-05, allocations: 4 kB / 255.4 MB, free: 3.113 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1034, allocations: 44.51 MB / 299.9 MB, free: 6.547 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5867/0.6901, allocations: 187.7 MB / 487.6 MB, free: 9.445 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002375/0.6904, allocations: 75.02 kB / 487.7 MB, free: 9.406 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09068/0.7811, allocations: 22.65 MB / 0.4984 GB, free: 5.855 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.512e-06/0.7812, allocations: 0 / 0.4984 GB, free: 5.855 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.26e-05/0.7812, allocations: 4 kB / 0.4984 GB, free: 5.852 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0007292/0.7819, allocations: 432.6 kB / 0.4988 GB, free: 5.395 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.371e-05/0.782, allocations: 12.03 kB / 0.4988 GB, free: 5.383 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.153e-05/0.7821, allocations: 38.23 kB / 0.4988 GB, free: 5.34 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004012/0.7825, allocations: 35.81 kB / 0.4989 GB, free: 5.309 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002658/0.7828, allocations: 194.2 kB / 0.4991 GB, free: 5.086 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.71e-05/0.7828, allocations: 7.625 kB / 0.4991 GB, free: 5.082 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.523e-05/0.7828, allocations: 7.5 kB / 0.4991 GB, free: 5.078 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003445/0.7832, allocations: 145 kB / 0.4992 GB, free: 4.941 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.7832, allocations: 0 / 0.4992 GB, free: 4.941 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.517e-05/0.7833, allocations: 3.062 kB / 0.4992 GB, free: 4.941 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/0.7833, allocations: 4 kB / 0.4992 GB, free: 4.938 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002743/0.7836, allocations: 105.4 kB / 0.4993 GB, free: 4.859 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009413/0.7845, allocations: 0.6204 MB / 0.4999 GB, free: 4.234 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002172/0.7848, allocations: 89.31 kB / 0.5 GB, free: 4.156 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.947e-05/0.7849, allocations: 35.05 kB / 0.5 GB, free: 4.129 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009296/0.7858, allocations: 0.8084 MB / 0.5008 GB, free: 3.145 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.775e-05/0.7859, allocations: 34.56 kB / 0.5009 GB, free: 3.102 MB / 394.7 MB Notification: Performance of pre-optimization done (n=13): time 2.855e-06/0.7859, allocations: 0 / 0.5009 GB, free: 3.102 MB / 394.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003716/0.7863, allocations: 97.3 kB / 0.501 GB, free: 3.016 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.425e-05/0.7863, allocations: 55.41 kB / 0.501 GB, free: 2.949 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00014/0.7865, allocations: 111.1 kB / 0.5011 GB, free: 2.836 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.851e-05/0.7865, allocations: 29.08 kB / 0.5011 GB, free: 2.805 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/0.7866, allocations: 170.3 kB / 0.5013 GB, free: 2.637 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.905e-05/0.7867, allocations: 41.86 kB / 0.5013 GB, free: 2.602 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.929e-06/0.7867, allocations: 7.25 kB / 0.5014 GB, free: 2.598 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.7869, allocations: 321.5 kB / 0.5017 GB, free: 2.277 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.915e-05/0.787, allocations: 27.5 kB / 0.5017 GB, free: 2.258 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001192/0.7871, allocations: 69.08 kB / 0.5018 GB, free: 2.184 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001014/0.7872, allocations: 35.61 kB / 0.5018 GB, free: 2.156 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.7872, allocations: 0 / 0.5018 GB, free: 2.156 MB / 394.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000335/0.7876, allocations: 133.9 kB / 0.5019 GB, free: 2.039 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/0.7876, allocations: 8 kB / 0.5019 GB, free: 2.031 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.7876, allocations: 0 / 0.5019 GB, free: 2.031 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/0.7877, allocations: 4 kB / 0.5019 GB, free: 2.027 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002286/0.7879, allocations: 36.02 kB / 0.502 GB, free: 1.992 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.169e-05/0.7879, allocations: 8 kB / 0.502 GB, free: 1.984 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001124/0.788, allocations: 17.95 kB / 0.502 GB, free: 1.969 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.954e-05/0.7881, allocations: 6.25 kB / 0.502 GB, free: 1.965 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.0001069/0.7882, allocations: 117.1 kB / 0.5021 GB, free: 1.848 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.556e-05/0.7883, allocations: 4 kB / 0.5021 GB, free: 1.844 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004827/0.7887, allocations: 148 kB / 0.5022 GB, free: 1.711 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.7888, allocations: 0 / 0.5022 GB, free: 1.711 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.7888, allocations: 0 / 0.5022 GB, free: 1.711 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-06/0.7888, allocations: 4 kB / 0.5023 GB, free: 1.707 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006915/0.7895, allocations: 399.6 kB / 0.5026 GB, free: 1.297 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.7895, allocations: 0 / 0.5026 GB, free: 1.297 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001626/0.7897, allocations: 26.55 kB / 0.5027 GB, free: 1.273 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.7897, allocations: 0 / 0.5027 GB, free: 1.273 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.559e-05/0.7897, allocations: 4 kB / 0.5027 GB, free: 1.27 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.7897, allocations: 4 kB / 0.5027 GB, free: 1.266 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.7898, allocations: 0 / 0.5027 GB, free: 1.266 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000307/0.7901, allocations: 210.2 kB / 0.5029 GB, free: 1.062 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001028/0.7902, allocations: 100.5 kB / 0.503 GB, free: 0.9531 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.373e-05/0.7902, allocations: 0 / 0.503 GB, free: 0.9531 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001458/0.7904, allocations: 7.375 kB / 0.503 GB, free: 0.9492 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.095e-05/0.7904, allocations: 7.984 kB / 0.503 GB, free: 0.9414 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.377e-05/0.7905, allocations: 8 kB / 0.503 GB, free: 0.9336 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.832e-05/0.7905, allocations: 86.66 kB / 0.5031 GB, free: 0.8516 MB / 394.7 MB Notification: Performance of sort global known variables: time 4e-07/0.7906, allocations: 0 / 0.5031 GB, free: 0.8516 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004978/0.7911, allocations: 70.42 kB / 0.5031 GB, free: 0.7891 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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.0009203/0.792, allocations: 0.795 MB / 0.5039 GB, free: 15.98 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002658/0.7923, allocations: 80.27 kB / 0.504 GB, free: 15.93 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.7923, allocations: 3.938 kB / 0.504 GB, free: 15.92 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.8e-05/0.7924, allocations: 43.11 kB / 0.504 GB, free: 15.89 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005318/0.793, allocations: 43.19 kB / 0.5041 GB, free: 15.86 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007095/0.7937, allocations: 198.6 kB / 0.5043 GB, free: 15.63 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003674/0.7941, allocations: 0.7009 MB / 0.5049 GB, free: 14.91 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001303/0.7942, allocations: 33.3 kB / 0.505 GB, free: 14.88 MB / 410.7 MB Notification: Performance of SimCode: time 9.42e-07/0.7942, allocations: 0 / 0.505 GB, free: 14.88 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.552/3.347, allocations: 2.626 MB / 0.5075 GB, free: 12.27 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat does not exist to compare? outputFormat=mat