Running command: "" <> buildModelFMU(Modelica.Media.Examples.SimpleLiquidWater,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Media_Examples_SimpleLiquidWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.899/1.899, allocations: 194.9 MB / 208.4 MB, free: 3.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.903e-05/2.913e-05, allocations: 4 kB / 255.4 MB, free: 3.105 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09236/0.09241, allocations: 44.5 MB / 299.9 MB, free: 6.543 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.993/1.085, allocations: 268.4 MB / 0.555 GB, free: 109.5 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002812/1.086, allocations: 62.75 kB / 0.5551 GB, free: 109.5 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04466/1.131, allocations: 9.319 MB / 0.5642 GB, free: 107.9 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.995e-06/1.131, allocations: 0 / 0.5642 GB, free: 107.9 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.495e-05/1.131, allocations: 3.938 kB / 0.5642 GB, free: 107.9 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.00138/1.132, allocations: 452.5 kB / 0.5646 GB, free: 107.5 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.394e-05/1.132, allocations: 7.781 kB / 0.5646 GB, free: 107.5 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.662e-05/1.132, allocations: 53.14 kB / 0.5647 GB, free: 107.4 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003293/1.132, allocations: 23.52 kB / 0.5647 GB, free: 107.4 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003507/1.133, allocations: 213.1 kB / 0.5649 GB, free: 107.2 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.322e-05/1.133, allocations: 11.88 kB / 0.5649 GB, free: 107.2 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.602e-05/1.133, allocations: 23.41 kB / 0.5649 GB, free: 107.2 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005687/1.134, allocations: 196.4 kB / 0.5651 GB, free: 107.1 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.106e-05/1.134, allocations: 4 kB / 0.5651 GB, free: 107.1 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.875e-05/1.134, allocations: 7.5 kB / 0.5651 GB, free: 107.1 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.503e-05/1.134, allocations: 3.906 kB / 0.5651 GB, free: 107.1 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004282/1.134, allocations: 124.9 kB / 0.5653 GB, free: 107 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002073/1.136, allocations: 0.9366 MB / 0.5662 GB, free: 106.2 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004918/1.137, allocations: 126.1 kB / 0.5663 GB, free: 106.2 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001647/1.137, allocations: 52.59 kB / 0.5663 GB, free: 106.2 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008656/1.138, allocations: 0.5121 MB / 0.5668 GB, free: 105.7 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.494e-05/1.138, allocations: 34.52 kB / 0.5669 GB, free: 105.6 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 3.206e-06/1.138, allocations: 0 / 0.5669 GB, free: 105.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=20): time 0.003668/1.142, allocations: 0.6378 MB / 0.5675 GB, free: 105.3 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.303e-05/1.142, allocations: 51.41 kB / 0.5675 GB, free: 105.2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001912/1.142, allocations: 154.7 kB / 0.5677 GB, free: 105.1 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.294e-05/1.142, allocations: 29.27 kB / 0.5677 GB, free: 105 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.716e-05/1.142, allocations: 211.6 kB / 0.5679 GB, free: 104.9 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.075e-05/1.142, allocations: 67.97 kB / 0.568 GB, free: 104.8 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.527e-05/1.142, allocations: 9.875 kB / 0.568 GB, free: 104.8 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.978e-05/1.142, allocations: 321.5 kB / 0.5683 GB, free: 104.5 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002563/1.143, allocations: 62.69 kB / 0.5684 GB, free: 104.5 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003184/1.143, allocations: 170.5 kB / 0.5685 GB, free: 104.3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002398/1.143, allocations: 87.88 kB / 0.5686 GB, free: 104.3 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/1.143, allocations: 0 / 0.5686 GB, free: 104.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000629/1.144, allocations: 269.5 kB / 0.5689 GB, free: 104.2 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/1.144, allocations: 8.062 kB / 0.5689 GB, free: 104.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/1.144, allocations: 11.73 kB / 0.5689 GB, free: 104.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.603e-05/1.144, allocations: 7.375 kB / 0.5689 GB, free: 104.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006915/1.145, allocations: 81.88 kB / 0.569 GB, free: 104.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.469e-05/1.145, allocations: 7.812 kB / 0.569 GB, free: 104.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004055/1.145, allocations: 19.33 kB / 0.569 GB, free: 104.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.394e-05/1.145, allocations: 15.28 kB / 0.569 GB, free: 104.2 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * 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.0001129/1.145, allocations: 124.3 kB / 0.5691 GB, free: 104.1 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.122e-05/1.145, allocations: 15.53 kB / 0.5691 GB, free: 104.1 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005967/1.146, allocations: 209.8 kB / 0.5693 GB, free: 104 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/1.146, allocations: 0 / 0.5693 GB, free: 104 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/1.146, allocations: 3.875 kB / 0.5693 GB, free: 104 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/1.146, allocations: 3.953 kB / 0.5694 GB, free: 104 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001376/1.147, allocations: 0.5603 MB / 0.5699 GB, free: 103.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/1.147, allocations: 0 / 0.5699 GB, free: 103.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005032/1.148, allocations: 53.89 kB / 0.57 GB, free: 103.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.146e-06/1.148, allocations: 3.812 kB / 0.57 GB, free: 103.6 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.853e-05/1.148, allocations: 7.609 kB / 0.57 GB, free: 103.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/1.148, allocations: 7.906 kB / 0.57 GB, free: 103.6 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/1.148, allocations: 0 / 0.57 GB, free: 103.6 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006546/1.149, allocations: 400.6 kB / 0.5704 GB, free: 103.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.319e-05/1.149, allocations: 99.97 kB / 0.5704 GB, free: 103.2 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.749e-05/1.149, allocations: 0 / 0.5704 GB, free: 103.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003953/1.149, allocations: 22.88 kB / 0.5705 GB, free: 103.2 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.907e-05/1.149, allocations: 15.3 kB / 0.5705 GB, free: 103.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.483e-05/1.149, allocations: 15.83 kB / 0.5705 GB, free: 103.2 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.298e-05/1.149, allocations: 109 kB / 0.5706 GB, free: 103.1 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.01e-07/1.149, allocations: 3.844 kB / 0.5706 GB, free: 103.1 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000556/1.15, allocations: 71.33 kB / 0.5707 GB, free: 103.1 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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.001019/1.151, allocations: 1.241 MB / 0.5719 GB, free: 102 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004735/1.151, allocations: 173.3 kB / 0.5721 GB, free: 102 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/1.151, allocations: 4.375 kB / 0.5721 GB, free: 102 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00017/1.152, allocations: 80.92 kB / 0.5721 GB, free: 102 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004747/1.152, allocations: 38.92 kB / 0.5722 GB, free: 102 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001282/1.153, allocations: 373.1 kB / 0.5725 GB, free: 101.7 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001824/1.154, allocations: 0.7243 MB / 0.5732 GB, free: 101 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001957/1.154, allocations: 57.22 kB / 0.5733 GB, free: 100.9 MB / 410.7 MB Notification: Performance of SimCode: time 1.072e-06/1.154, allocations: 0 / 0.5733 GB, free: 100.9 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.641/3.795, allocations: 3.337 MB / 0.5765 GB, free: 97.73 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Media.Examples.SimpleLiquidWater_res.mat does not exist to compare? outputFormat=mat