Running command: "" <> buildModelFMU(Modelica.Media.Incompressible.Examples.TestGlycol,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Media_Incompressible_Examples_TestGlycol",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.825/1.825, allocations: 171.2 MB / 183.8 MB, free: 12.02 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.49e-05/3.488e-05, allocations: 4 kB / 225.1 MB, free: 2.695 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2752/0.2753, allocations: 38.77 MB / 263.8 MB, free: 9.871 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5423/0.8177, allocations: 182.3 MB / 446.1 MB, free: 14.01 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000278/0.818, allocations: 69.17 kB / 446.2 MB, free: 13.98 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08427/0.9023, allocations: 22.21 MB / 468.4 MB, free: 10.79 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.9023, allocations: 0 / 468.4 MB, free: 10.79 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.15e-05/0.9024, allocations: 4 kB / 468.4 MB, free: 10.79 MB / 330.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.0006257/0.903, allocations: 427.9 kB / 468.8 MB, free: 10.33 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.9031, allocations: 8.031 kB / 468.8 MB, free: 10.32 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.515e-05/0.9031, allocations: 41.73 kB / 468.9 MB, free: 10.28 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003872/0.9035, allocations: 23.39 kB / 468.9 MB, free: 10.26 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002414/0.9038, allocations: 209.1 kB / 469.1 MB, free: 10.02 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.9038, allocations: 0 / 469.1 MB, free: 10.02 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.682e-05/0.9039, allocations: 15.88 kB / 469.1 MB, free: 10.01 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003045/0.9042, allocations: 131 kB / 469.2 MB, free: 9.891 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.9042, allocations: 0 / 469.2 MB, free: 9.891 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.566e-05/0.9042, allocations: 7.938 kB / 469.3 MB, free: 9.887 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.423e-06/0.9042, allocations: 0 / 469.3 MB, free: 9.887 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002446/0.9045, allocations: 102.6 kB / 469.4 MB, free: 9.809 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008824/0.9054, allocations: 0.6286 MB / 470 MB, free: 9.176 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001904/0.9056, allocations: 85.38 kB / 470.1 MB, free: 9.102 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.367e-05/0.9057, allocations: 35.17 kB / 470.1 MB, free: 9.074 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008483/0.9066, allocations: 0.8102 MB / 470.9 MB, free: 8.086 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.297e-05/0.9066, allocations: 37.95 kB / 470.9 MB, free: 8.043 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 2.976e-06/0.9066, allocations: 3.938 kB / 471 MB, free: 8.039 MB / 330.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003408/0.907, allocations: 91.61 kB / 471 MB, free: 7.957 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.393e-05/0.907, allocations: 59.34 kB / 471.1 MB, free: 7.887 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001201/0.9072, allocations: 111.1 kB / 471.2 MB, free: 7.773 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.403e-05/0.9072, allocations: 28.52 kB / 471.2 MB, free: 7.742 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.719e-05/0.9073, allocations: 169.2 kB / 471.4 MB, free: 7.578 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.138e-05/0.9074, allocations: 50.23 kB / 471.5 MB, free: 7.535 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.258e-06/0.9074, allocations: 0 / 471.5 MB, free: 7.535 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.9075, allocations: 317.9 kB / 471.8 MB, free: 7.219 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.323e-05/0.9076, allocations: 27.75 kB / 471.8 MB, free: 7.199 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001048/0.9077, allocations: 63.45 kB / 471.9 MB, free: 7.129 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.848e-05/0.9078, allocations: 30.55 kB / 471.9 MB, free: 7.105 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.9078, allocations: 0 / 471.9 MB, free: 7.105 MB / 330.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003183/0.9082, allocations: 138.4 kB / 472 MB, free: 6.984 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.9082, allocations: 6.5 kB / 472 MB, free: 6.98 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.9082, allocations: 3.953 kB / 472 MB, free: 6.977 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.019e-05/0.9083, allocations: 8.141 kB / 472 MB, free: 6.969 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002192/0.9085, allocations: 35.92 kB / 472.1 MB, free: 6.934 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.55e-05/0.9085, allocations: 7.984 kB / 472.1 MB, free: 6.926 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001126/0.9086, allocations: 15.09 kB / 472.1 MB, free: 6.914 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.86e-05/0.9087, allocations: 8 kB / 472.1 MB, free: 6.906 MB / 330.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 9.268e-05/0.9088, allocations: 104.4 kB / 472.2 MB, free: 6.801 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.511e-05/0.9088, allocations: 11.84 kB / 472.2 MB, free: 6.789 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004613/0.9093, allocations: 137.3 kB / 472.3 MB, free: 6.68 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.788e-06/0.9093, allocations: 11.89 kB / 472.4 MB, free: 6.668 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.9093, allocations: 0 / 472.4 MB, free: 6.668 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.9094, allocations: 7.984 kB / 472.4 MB, free: 6.66 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006547/0.91, allocations: 392.5 kB / 472.7 MB, free: 6.258 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.91, allocations: 0 / 472.7 MB, free: 6.258 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001527/0.9102, allocations: 19.98 kB / 472.8 MB, free: 6.238 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.304e-06/0.9102, allocations: 7.953 kB / 472.8 MB, free: 6.23 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.551e-05/0.9102, allocations: 7.062 kB / 472.8 MB, free: 6.227 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.9103, allocations: 0 / 472.8 MB, free: 6.227 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.9103, allocations: 3.938 kB / 472.8 MB, free: 6.223 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002838/0.9106, allocations: 204.2 kB / 473 MB, free: 6.023 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.228e-05/0.9107, allocations: 98.73 kB / 473.1 MB, free: 5.914 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.288e-05/0.9107, allocations: 11.39 kB / 473.1 MB, free: 5.906 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001402/0.9109, allocations: 3.938 kB / 473.1 MB, free: 5.902 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.818e-05/0.9109, allocations: 15.42 kB / 473.1 MB, free: 5.891 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.265e-05/0.9109, allocations: 4 kB / 473.1 MB, free: 5.887 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.272e-05/0.911, allocations: 86.53 kB / 473.2 MB, free: 5.805 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.911, allocations: 4 kB / 473.2 MB, free: 5.801 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004997/0.9115, allocations: 62.73 kB / 473.3 MB, free: 5.746 MB / 330.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.0008267/0.9124, allocations: 0.789 MB / 474.1 MB, free: 4.949 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002391/0.9126, allocations: 74.48 kB / 474.1 MB, free: 4.891 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.9126, allocations: 320 / 474.1 MB, free: 4.891 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 9.049e-05/0.9128, allocations: 47.17 kB / 474.2 MB, free: 4.852 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005251/0.9133, allocations: 47.09 kB / 474.2 MB, free: 4.812 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006186/0.9139, allocations: 191.5 kB / 474.4 MB, free: 4.598 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003121/0.9143, allocations: 0.7042 MB / 475.1 MB, free: 3.871 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001151/0.9144, allocations: 30.48 kB / 475.1 MB, free: 3.848 MB / 330.7 MB Notification: Performance of SimCode: time 9.92e-07/0.9144, allocations: 288 / 475.1 MB, free: 3.848 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.626/3.541, allocations: 2.628 MB / 477.8 MB, free: 1.238 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat does not exist to compare? outputFormat=mat