Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Water_IdealSteam",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.811/1.811, allocations: 171.2 MB / 183.8 MB, free: 12.04 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.303e-05/3.325e-05, allocations: 0 / 225.1 MB, free: 2.695 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2714/0.2714, allocations: 38.77 MB / 263.8 MB, free: 9.875 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.364/1.636, allocations: 428.9 MB / 0.6765 GB, free: 92.52 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003498/1.636, allocations: 90.98 kB / 0.6766 GB, free: 92.48 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7846/2.421, allocations: 154.9 MB / 0.8279 GB, free: 89.43 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.773e-06/2.421, allocations: 3.391 kB / 0.8279 GB, free: 89.43 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.717e-05/2.421, allocations: 15.22 kB / 0.8279 GB, free: 89.42 MB / 362.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.001103/2.422, allocations: 0.5854 MB / 0.8285 GB, free: 88.83 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.821e-05/2.422, allocations: 11.59 kB / 0.8285 GB, free: 88.82 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.745e-05/2.422, allocations: 62.55 kB / 0.8286 GB, free: 88.75 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003494/2.422, allocations: 43.61 kB / 0.8286 GB, free: 88.71 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004455/2.423, allocations: 295.3 kB / 0.8289 GB, free: 88.4 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.206e-05/2.423, allocations: 20.56 kB / 0.8289 GB, free: 88.38 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.344e-05/2.423, allocations: 24 kB / 0.829 GB, free: 88.36 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006491/2.424, allocations: 312.6 kB / 0.8292 GB, free: 88.02 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.995e-05/2.424, allocations: 0 / 0.8292 GB, free: 88.02 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.219e-05/2.424, allocations: 12 kB / 0.8293 GB, free: 88.01 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.969e-06/2.424, allocations: 8 kB / 0.8293 GB, free: 88 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004608/2.424, allocations: 193.6 kB / 0.8295 GB, free: 87.82 MB / 362.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.002139/2.426, allocations: 1.577 MB / 0.831 GB, free: 86.12 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003649/2.427, allocations: 170.8 kB / 0.8312 GB, free: 85.95 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002007/2.427, allocations: 85.23 kB / 0.8312 GB, free: 85.86 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.901e-05/2.427, allocations: 8.188 kB / 0.8312 GB, free: 85.85 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/2.427, allocations: 38.69 kB / 0.8313 GB, free: 85.8 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 2.655e-06/2.427, allocations: 3.219 kB / 0.8313 GB, free: 85.8 MB / 362.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.008099/2.435, allocations: 1.234 MB / 0.8325 GB, free: 84.52 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.86e-05/2.435, allocations: 63.38 kB / 0.8325 GB, free: 84.44 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003151/2.436, allocations: 224.9 kB / 0.8328 GB, free: 84.21 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.112e-05/2.436, allocations: 37.7 kB / 0.8328 GB, free: 84.17 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.67e-05/2.436, allocations: 235.3 kB / 0.833 GB, free: 83.94 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.974e-05/2.436, allocations: 93.31 kB / 0.8331 GB, free: 83.85 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.197e-05/2.436, allocations: 12 kB / 0.8331 GB, free: 83.84 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.017e-05/2.436, allocations: 325.2 kB / 0.8334 GB, free: 83.52 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002309/2.436, allocations: 91.77 kB / 0.8335 GB, free: 83.43 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002754/2.437, allocations: 174.5 kB / 0.8337 GB, free: 83.21 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002974/2.437, allocations: 124.5 kB / 0.8338 GB, free: 83.1 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/2.437, allocations: 4 kB / 0.8338 GB, free: 83.1 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009326/2.438, allocations: 373.7 kB / 0.8342 GB, free: 82.72 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/2.438, allocations: 4 kB / 0.8342 GB, free: 82.72 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/2.438, allocations: 7.281 kB / 0.8342 GB, free: 82.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003279/2.438, allocations: 77.58 kB / 0.8343 GB, free: 82.63 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005926/2.439, allocations: 83.89 kB / 0.8343 GB, free: 82.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001415/2.44, allocations: 1.846 MB / 0.8361 GB, free: 80.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004712/2.441, allocations: 23.94 kB / 0.8362 GB, free: 80.53 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.379e-05/2.441, allocations: 46.14 kB / 0.8362 GB, free: 80.49 MB / 362.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.0001458/2.441, allocations: 128.7 kB / 0.8363 GB, free: 80.36 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.877e-05/2.441, allocations: 27.72 kB / 0.8364 GB, free: 80.33 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001416/2.443, allocations: 438.1 kB / 0.8368 GB, free: 79.91 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.423e-06/2.443, allocations: 7.562 kB / 0.8368 GB, free: 79.9 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/2.443, allocations: 0 / 0.8368 GB, free: 79.9 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006176/2.443, allocations: 0.5591 MB / 0.8373 GB, free: 79.25 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001351/2.445, allocations: 0.7164 MB / 0.838 GB, free: 78.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/2.445, allocations: 7.938 kB / 0.838 GB, free: 78.47 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005554/2.445, allocations: 71.89 kB / 0.8381 GB, free: 78.4 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000115/2.445, allocations: 19.81 kB / 0.8381 GB, free: 78.38 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.742e-05/2.445, allocations: 19.98 kB / 0.8381 GB, free: 78.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008412/2.446, allocations: 1.279 MB / 0.8394 GB, free: 76.95 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.297e-06/2.446, allocations: 3.984 kB / 0.8394 GB, free: 76.95 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009423/2.447, allocations: 488.6 kB / 0.8399 GB, free: 76.44 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00012/2.447, allocations: 100.8 kB / 0.84 GB, free: 76.32 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.609e-05/2.447, allocations: 8 kB / 0.84 GB, free: 76.31 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000438/2.448, allocations: 19.92 kB / 0.84 GB, free: 76.3 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.903e-05/2.448, allocations: 31.86 kB / 0.84 GB, free: 76.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.724e-05/2.448, allocations: 31.98 kB / 0.84 GB, free: 76.23 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000253/2.448, allocations: 183.1 kB / 0.8402 GB, free: 76.05 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.71e-07/2.448, allocations: 0 / 0.8402 GB, free: 76.05 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001004/2.449, allocations: 188 kB / 0.8404 GB, free: 75.87 MB / 362.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.002524/2.452, allocations: 1.842 MB / 0.8422 GB, free: 74.21 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009845/2.453, allocations: 371.7 kB / 0.8425 GB, free: 73.83 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.159e-06/2.453, allocations: 0 / 0.8425 GB, free: 73.83 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00038/2.453, allocations: 226.5 kB / 0.8428 GB, free: 73.6 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001559/2.455, allocations: 160.5 kB / 0.8429 GB, free: 73.44 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001833/2.457, allocations: 0.6101 MB / 0.8435 GB, free: 72.79 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002526/2.457, allocations: 0.772 MB / 0.8443 GB, free: 72 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005104/2.458, allocations: 135.4 kB / 0.8444 GB, free: 71.86 MB / 362.7 MB Notification: Performance of SimCode: time 9.82e-07/2.458, allocations: 0 / 0.8444 GB, free: 71.86 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.983/5.441, allocations: 12.87 MB / 0.857 GB, free: 59.05 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam_res.mat does not exist to compare? outputFormat=mat