Running command: "" <> buildModelFMU(Modelica.Media.Examples.SimpleLiquidWater,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_SimpleLiquidWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.094/2.094, allocations: 205.8 MB / 218.9 MB, free: 9.266 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.992e-05/2.985e-05, allocations: 0 / 269.4 MB, free: 6.309 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1157, allocations: 47.58 MB / 317 MB, free: 6.645 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9985/1.114, allocations: 272.6 MB / 0.5758 GB, free: 92.68 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000264/1.115, allocations: 63.66 kB / 0.5759 GB, free: 92.65 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03335/1.148, allocations: 9.381 MB / 0.585 GB, free: 84.96 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.884e-06/1.148, allocations: 0 / 0.585 GB, free: 84.96 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.375e-05/1.148, allocations: 4 kB / 0.585 GB, free: 84.95 MB / 426.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.001065/1.149, allocations: 446.6 kB / 0.5854 GB, free: 84.48 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/1.149, allocations: 12.03 kB / 0.5855 GB, free: 84.47 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.175e-05/1.149, allocations: 49.86 kB / 0.5855 GB, free: 84.42 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002193/1.15, allocations: 15.91 kB / 0.5855 GB, free: 84.41 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002486/1.15, allocations: 214.6 kB / 0.5857 GB, free: 84.16 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.799e-05/1.15, allocations: 8.094 kB / 0.5857 GB, free: 84.16 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.334e-05/1.15, allocations: 27.75 kB / 0.5858 GB, free: 84.14 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004276/1.15, allocations: 206.4 kB / 0.586 GB, free: 83.96 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/1.15, allocations: 0 / 0.586 GB, free: 83.96 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.735e-05/1.15, allocations: 7.938 kB / 0.586 GB, free: 83.95 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/1.15, allocations: 0 / 0.586 GB, free: 83.95 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000331/1.151, allocations: 122.7 kB / 0.5861 GB, free: 83.86 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001561/1.152, allocations: 0.9435 MB / 0.587 GB, free: 82.94 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003539/1.153, allocations: 133.4 kB / 0.5871 GB, free: 82.83 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001137/1.153, allocations: 48.34 kB / 0.5872 GB, free: 82.79 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006445/1.154, allocations: 0.5065 MB / 0.5877 GB, free: 82.25 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.616e-05/1.154, allocations: 34.58 kB / 0.5877 GB, free: 82.2 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 2.625e-06/1.154, allocations: 3.938 kB / 0.5877 GB, free: 82.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=20): time 0.00274/1.156, allocations: 0.6345 MB / 0.5883 GB, free: 81.61 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.568e-05/1.156, allocations: 59.36 kB / 0.5884 GB, free: 81.54 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001461/1.157, allocations: 144.4 kB / 0.5885 GB, free: 81.41 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.274e-05/1.157, allocations: 28.89 kB / 0.5885 GB, free: 81.38 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.27e-05/1.157, allocations: 143.4 kB / 0.5887 GB, free: 81.23 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.5e-05/1.157, allocations: 73.55 kB / 0.5888 GB, free: 81.17 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.404e-05/1.157, allocations: 7.875 kB / 0.5888 GB, free: 81.17 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.159e-05/1.157, allocations: 325.7 kB / 0.5891 GB, free: 80.85 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001778/1.157, allocations: 69.11 kB / 0.5891 GB, free: 80.8 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002333/1.157, allocations: 166.4 kB / 0.5893 GB, free: 80.62 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002235/1.158, allocations: 93.77 kB / 0.5894 GB, free: 80.55 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/1.158, allocations: 0 / 0.5894 GB, free: 80.55 MB / 426.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006274/1.158, allocations: 264.8 kB / 0.5896 GB, free: 80.34 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/1.158, allocations: 8 kB / 0.5896 GB, free: 80.33 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/1.158, allocations: 4 kB / 0.5897 GB, free: 80.33 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.007e-05/1.158, allocations: 8 kB / 0.5897 GB, free: 80.32 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007071/1.159, allocations: 83.44 kB / 0.5897 GB, free: 80.24 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.478e-05/1.159, allocations: 7.938 kB / 0.5897 GB, free: 80.23 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004025/1.159, allocations: 27.28 kB / 0.5898 GB, free: 80.21 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.709e-05/1.16, allocations: 15.81 kB / 0.5898 GB, free: 80.2 MB / 426.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.0001184/1.16, allocations: 119.9 kB / 0.5899 GB, free: 80.08 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.255e-05/1.16, allocations: 11.91 kB / 0.5899 GB, free: 80.07 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006279/1.16, allocations: 209.1 kB / 0.5901 GB, free: 79.91 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/1.16, allocations: 4 kB / 0.5901 GB, free: 79.9 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/1.16, allocations: 4 kB / 0.5901 GB, free: 79.9 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/1.16, allocations: 0 / 0.5901 GB, free: 79.9 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001418/1.162, allocations: 0.5622 MB / 0.5907 GB, free: 79.34 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/1.162, allocations: 4 kB / 0.5907 GB, free: 79.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005039/1.162, allocations: 47.95 kB / 0.5907 GB, free: 79.29 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.06e-05/1.162, allocations: 12.02 kB / 0.5907 GB, free: 79.28 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.06e-05/1.162, allocations: 11.48 kB / 0.5907 GB, free: 79.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.62e-06/1.162, allocations: 4 kB / 0.5907 GB, free: 79.27 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.857e-05/1.163, allocations: 3.938 kB / 0.5907 GB, free: 79.27 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007326/1.163, allocations: 403.2 kB / 0.5911 GB, free: 78.89 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.19e-05/1.163, allocations: 88.92 kB / 0.5912 GB, free: 78.78 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.659e-05/1.163, allocations: 7.312 kB / 0.5912 GB, free: 78.78 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006612/1.164, allocations: 11.61 kB / 0.5912 GB, free: 78.77 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.914e-05/1.164, allocations: 20 kB / 0.5913 GB, free: 78.75 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.962e-05/1.164, allocations: 15.36 kB / 0.5913 GB, free: 78.74 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001453/1.164, allocations: 109.8 kB / 0.5914 GB, free: 78.64 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.31e-07/1.164, allocations: 0 / 0.5914 GB, free: 78.64 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008379/1.165, allocations: 70.5 kB / 0.5914 GB, free: 78.58 MB / 426.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.00158/1.167, allocations: 1.247 MB / 0.5927 GB, free: 77.35 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005794/1.168, allocations: 183.2 kB / 0.5928 GB, free: 77.21 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/1.168, allocations: 0 / 0.5928 GB, free: 77.21 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001719/1.168, allocations: 70.8 kB / 0.5929 GB, free: 77.16 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005205/1.168, allocations: 35.34 kB / 0.5929 GB, free: 77.14 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001312/1.17, allocations: 352.5 kB / 0.5933 GB, free: 76.79 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001887/1.17, allocations: 0.7243 MB / 0.594 GB, free: 76.03 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004521/1.17, allocations: 42.08 kB / 0.594 GB, free: 75.99 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002035/1.171, allocations: 49.41 kB / 0.5941 GB, free: 75.96 MB / 426.7 MB Notification: Performance of SimCode: time 1.233e-06/1.171, allocations: 0 / 0.5941 GB, free: 75.96 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03312/1.204, allocations: 4.466 MB / 0.5984 GB, free: 71.57 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000285/1.204, allocations: 141.8 kB / 0.5986 GB, free: 71.34 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.503/3.707, allocations: 3.938 kB / 0.5986 GB, free: 71.34 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater_res.mat does not exist to compare? outputFormat=mat