Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Water_IdealSteam",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.013/2.013, allocations: 194.9 MB / 208.4 MB, free: 3.254 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.168e-05/3.178e-05, allocations: 4 kB / 255.5 MB, free: 3.098 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09852/0.09859, allocations: 44.51 MB / 300 MB, free: 6.527 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.464/1.563, allocations: 434.7 MB / 0.7174 GB, free: 104.7 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003118/1.563, allocations: 84.98 kB / 0.7175 GB, free: 104.7 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8532/2.416, allocations: 154.9 MB / 0.8688 GB, free: 104.2 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.963e-06/2.416, allocations: 0 / 0.8688 GB, free: 104.2 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.763e-05/2.416, allocations: 6.906 kB / 0.8688 GB, free: 104.2 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001256/2.418, allocations: 0.6027 MB / 0.8694 GB, free: 103.7 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.43e-05/2.418, allocations: 8.5 kB / 0.8694 GB, free: 103.7 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.267e-05/2.418, allocations: 60.34 kB / 0.8695 GB, free: 103.7 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003871/2.418, allocations: 40.36 kB / 0.8695 GB, free: 103.7 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004844/2.419, allocations: 280.8 kB / 0.8698 GB, free: 103.5 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.919e-05/2.419, allocations: 19.28 kB / 0.8698 GB, free: 103.5 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.286e-05/2.419, allocations: 26.34 kB / 0.8698 GB, free: 103.5 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006716/2.42, allocations: 303.9 kB / 0.8701 GB, free: 103.4 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.338e-05/2.42, allocations: 8.344 kB / 0.8701 GB, free: 103.4 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.626e-05/2.42, allocations: 10.47 kB / 0.8702 GB, free: 103.4 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.12e-05/2.42, allocations: 6.688 kB / 0.8702 GB, free: 103.4 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004896/2.42, allocations: 193.6 kB / 0.8703 GB, free: 103.4 MB / 410.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002382/2.423, allocations: 1.576 MB / 0.8719 GB, free: 102.2 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003988/2.423, allocations: 168.7 kB / 0.872 GB, free: 102.2 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002119/2.423, allocations: 84.7 kB / 0.8721 GB, free: 102.2 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.353e-05/2.423, allocations: 11.45 kB / 0.8721 GB, free: 102.2 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.155e-05/2.423, allocations: 38.38 kB / 0.8722 GB, free: 102.1 MB / 410.7 MB Notification: Performance of pre-optimization done (n=22): time 2.896e-06/2.423, allocations: 0 / 0.8722 GB, free: 102.1 MB / 410.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=27): time 0.008307/2.432, allocations: 1.244 MB / 0.8734 GB, free: 101.7 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.266e-05/2.432, allocations: 58.89 kB / 0.8734 GB, free: 101.7 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003531/2.432, allocations: 222 kB / 0.8737 GB, free: 101.6 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.927e-05/2.432, allocations: 28.89 kB / 0.8737 GB, free: 101.5 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001097/2.432, allocations: 235.5 kB / 0.8739 GB, free: 101.4 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.804e-05/2.432, allocations: 96.19 kB / 0.874 GB, free: 101.3 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.209e-05/2.432, allocations: 7.688 kB / 0.874 GB, free: 101.3 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.861e-05/2.433, allocations: 335.4 kB / 0.8743 GB, free: 101 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002411/2.433, allocations: 83.59 kB / 0.8744 GB, free: 101 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002967/2.433, allocations: 173.8 kB / 0.8746 GB, free: 100.9 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003174/2.433, allocations: 124.3 kB / 0.8747 GB, free: 100.9 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/2.433, allocations: 0 / 0.8747 GB, free: 100.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009296/2.434, allocations: 372.7 kB / 0.875 GB, free: 100.8 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.333e-05/2.434, allocations: 3.688 kB / 0.875 GB, free: 100.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/2.434, allocations: 6.75 kB / 0.8751 GB, free: 100.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003338/2.435, allocations: 78.62 kB / 0.8751 GB, free: 100.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005943/2.435, allocations: 85.08 kB / 0.8752 GB, free: 100.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001484/2.437, allocations: 1.85 MB / 0.877 GB, free: 99.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005083/2.437, allocations: 20.77 kB / 0.877 GB, free: 99.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.721e-05/2.438, allocations: 36.5 kB / 0.8771 GB, free: 99.04 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001658/2.438, allocations: 124.8 kB / 0.8772 GB, free: 98.93 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.407e-05/2.438, allocations: 30.56 kB / 0.8772 GB, free: 98.91 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001458/2.439, allocations: 440.7 kB / 0.8776 GB, free: 98.83 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/2.439, allocations: 3.875 kB / 0.8776 GB, free: 98.83 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/2.439, allocations: 0 / 0.8776 GB, free: 98.83 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006315/2.44, allocations: 0.5544 MB / 0.8782 GB, free: 98.38 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001446/2.441, allocations: 0.7188 MB / 0.8789 GB, free: 98.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/2.441, allocations: 0 / 0.8789 GB, free: 98.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005566/2.442, allocations: 68.73 kB / 0.879 GB, free: 98.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001309/2.442, allocations: 22.7 kB / 0.879 GB, free: 98.04 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.207e-05/2.442, allocations: 20.45 kB / 0.879 GB, free: 98.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009373/2.443, allocations: 1.276 MB / 0.8802 GB, free: 96.79 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/2.443, allocations: 0 / 0.8802 GB, free: 96.79 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001068/2.444, allocations: 499.3 kB / 0.8807 GB, free: 96.57 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001539/2.445, allocations: 107.4 kB / 0.8808 GB, free: 96.46 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.906e-05/2.445, allocations: 5.844 kB / 0.8808 GB, free: 96.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004538/2.445, allocations: 20.23 kB / 0.8808 GB, free: 96.46 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.023e-05/2.445, allocations: 23.53 kB / 0.8809 GB, free: 96.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.759e-05/2.445, allocations: 32.73 kB / 0.8809 GB, free: 96.46 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002778/2.446, allocations: 186.4 kB / 0.8811 GB, free: 96.38 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.01e-07/2.446, allocations: 0 / 0.8811 GB, free: 96.38 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001204/2.447, allocations: 189.6 kB / 0.8813 GB, free: 96.38 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 25 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002846/2.45, allocations: 1.835 MB / 0.883 GB, free: 95.43 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001026/2.451, allocations: 356.3 kB / 0.8834 GB, free: 95.32 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/2.451, allocations: 0 / 0.8834 GB, free: 95.32 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000388/2.451, allocations: 219.2 kB / 0.8836 GB, free: 95.22 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00163/2.453, allocations: 164.8 kB / 0.8838 GB, free: 95.21 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001907/2.455, allocations: 0.6011 MB / 0.8843 GB, free: 94.96 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002864/2.455, allocations: 0.7711 MB / 0.8851 GB, free: 94.27 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005149/2.456, allocations: 140.5 kB / 0.8852 GB, free: 94.26 MB / 410.7 MB Notification: Performance of SimCode: time 1.463e-06/2.456, allocations: 3.969 kB / 0.8852 GB, free: 94.26 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.041/5.497, allocations: 12.91 MB / 0.8978 GB, free: 90.3 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam_res.mat does not exist to compare? outputFormat=mat