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 1.893/1.893, allocations: 194.9 MB / 208.4 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.492e-05/3.512e-05, allocations: 4 kB / 255.4 MB, free: 3.098 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09533/0.09541, allocations: 44.5 MB / 299.9 MB, free: 6.535 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.48/1.575, allocations: 434.7 MB / 0.7174 GB, free: 105.4 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003142/1.576, allocations: 92.23 kB / 0.7175 GB, free: 105.4 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9252/2.501, allocations: 154.9 MB / 0.8688 GB, free: 105.1 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.734e-06/2.501, allocations: 0 / 0.8688 GB, free: 105.1 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.586e-05/2.501, allocations: 6 kB / 0.8688 GB, free: 105.1 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.001135/2.502, allocations: 0.5943 MB / 0.8694 GB, free: 104.7 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/2.502, allocations: 13.34 kB / 0.8694 GB, free: 104.7 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.412e-05/2.502, allocations: 63.14 kB / 0.8695 GB, free: 104.7 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003522/2.502, allocations: 39.47 kB / 0.8695 GB, free: 104.7 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004624/2.503, allocations: 286 kB / 0.8698 GB, free: 104.5 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.348e-05/2.503, allocations: 19.28 kB / 0.8698 GB, free: 104.5 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.241e-05/2.503, allocations: 21.69 kB / 0.8698 GB, free: 104.5 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000637/2.504, allocations: 315.2 kB / 0.8701 GB, free: 104.4 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.181e-05/2.504, allocations: 3.594 kB / 0.8701 GB, free: 104.4 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.273e-05/2.504, allocations: 13.66 kB / 0.8701 GB, free: 104.4 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.828e-06/2.504, allocations: 3.531 kB / 0.8701 GB, free: 104.4 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004519/2.504, allocations: 203.8 kB / 0.8703 GB, free: 104.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.0021/2.506, allocations: 1.573 MB / 0.8719 GB, free: 103.2 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003631/2.507, allocations: 165.2 kB / 0.872 GB, free: 103.2 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002121/2.507, allocations: 88.77 kB / 0.8721 GB, free: 103.2 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.166e-05/2.507, allocations: 11.62 kB / 0.8721 GB, free: 103.2 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.684e-05/2.507, allocations: 34.62 kB / 0.8721 GB, free: 103.1 MB / 410.7 MB Notification: Performance of pre-optimization done (n=22): time 3.036e-06/2.507, allocations: 0 / 0.8721 GB, free: 103.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.008019/2.515, allocations: 1.244 MB / 0.8734 GB, free: 102.7 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.158e-05/2.515, allocations: 64.7 kB / 0.8734 GB, free: 102.6 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003143/2.516, allocations: 218.6 kB / 0.8736 GB, free: 102.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.462e-05/2.516, allocations: 33.27 kB / 0.8737 GB, free: 102.5 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.997e-05/2.516, allocations: 241.9 kB / 0.8739 GB, free: 102.3 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.067e-05/2.516, allocations: 87.81 kB / 0.874 GB, free: 102.3 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.164e-05/2.516, allocations: 10.75 kB / 0.874 GB, free: 102.3 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.821e-05/2.516, allocations: 324 kB / 0.8743 GB, free: 102 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002302/2.516, allocations: 85.06 kB / 0.8744 GB, free: 102 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002797/2.516, allocations: 179.3 kB / 0.8745 GB, free: 101.8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000291/2.517, allocations: 120.6 kB / 0.8747 GB, free: 101.8 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/2.517, allocations: 3.844 kB / 0.8747 GB, free: 101.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009174/2.518, allocations: 379.5 kB / 0.875 GB, free: 101.8 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/2.518, allocations: 8.125 kB / 0.875 GB, free: 101.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/2.518, allocations: 10.25 kB / 0.875 GB, free: 101.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003308/2.518, allocations: 82.39 kB / 0.8751 GB, free: 101.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005785/2.519, allocations: 82.31 kB / 0.8752 GB, free: 101.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001357/2.52, allocations: 1.85 MB / 0.877 GB, free: 100 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004561/2.521, allocations: 27.59 kB / 0.877 GB, free: 100 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.403e-05/2.521, allocations: 38.16 kB / 0.8771 GB, free: 100 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.000145/2.521, allocations: 124 kB / 0.8772 GB, free: 99.89 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.107e-05/2.521, allocations: 40.36 kB / 0.8772 GB, free: 99.87 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001381/2.522, allocations: 425.7 kB / 0.8776 GB, free: 99.8 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/2.522, allocations: 7.062 kB / 0.8776 GB, free: 99.8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/2.522, allocations: 0 / 0.8776 GB, free: 99.8 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006401/2.523, allocations: 0.5595 MB / 0.8782 GB, free: 99.34 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001296/2.524, allocations: 0.7183 MB / 0.8789 GB, free: 99.01 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/2.524, allocations: 3.938 kB / 0.8789 GB, free: 99.01 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005548/2.525, allocations: 73.53 kB / 0.879 GB, free: 99.01 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001143/2.525, allocations: 19.12 kB / 0.879 GB, free: 99 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.772e-05/2.525, allocations: 18.09 kB / 0.879 GB, free: 99 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008321/2.526, allocations: 1.272 MB / 0.8802 GB, free: 97.76 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/2.526, allocations: 0 / 0.8802 GB, free: 97.76 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009262/2.527, allocations: 0.4905 MB / 0.8807 GB, free: 97.54 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001189/2.527, allocations: 103.3 kB / 0.8808 GB, free: 97.44 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.644e-05/2.527, allocations: 7.062 kB / 0.8808 GB, free: 97.44 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004429/2.528, allocations: 31.73 kB / 0.8809 GB, free: 97.43 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.406e-05/2.528, allocations: 22.91 kB / 0.8809 GB, free: 97.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.456e-05/2.528, allocations: 33.05 kB / 0.8809 GB, free: 97.43 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002632/2.528, allocations: 189.5 kB / 0.8811 GB, free: 97.35 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.41e-07/2.528, allocations: 6.062 kB / 0.8811 GB, free: 97.35 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009814/2.529, allocations: 183.3 kB / 0.8813 GB, free: 97.34 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.002512/2.532, allocations: 1.825 MB / 0.883 GB, free: 96.39 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009033/2.532, allocations: 362.5 kB / 0.8834 GB, free: 96.29 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/2.532, allocations: 0 / 0.8834 GB, free: 96.29 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003576/2.533, allocations: 228.8 kB / 0.8836 GB, free: 96.17 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001477/2.534, allocations: 168.6 kB / 0.8838 GB, free: 96.16 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00167/2.536, allocations: 0.6026 MB / 0.8844 GB, free: 95.92 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002443/2.536, allocations: 0.7679 MB / 0.8851 GB, free: 95.22 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004981/2.537, allocations: 139.9 kB / 0.8852 GB, free: 95.21 MB / 410.7 MB Notification: Performance of SimCode: time 1.132e-06/2.537, allocations: 0 / 0.8852 GB, free: 95.21 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.229/5.766, allocations: 12.88 MB / 0.8978 GB, free: 91.5 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