Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.301/2.301, allocations: 235 MB / 247.6 MB, free: 14.58 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.506e-05/3.509e-05, allocations: 4 kB / 305 MB, free: 5.754 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4315/0.4316, allocations: 54.84 MB / 359.9 MB, free: 2.609 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.367/1.799, allocations: 0.5043 GB / 0.8557 GB, free: 38.93 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000287/1.799, allocations: 90.44 kB / 0.8558 GB, free: 38.88 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.186/2.985, allocations: 233 MB / 1.083 GB, free: 12.59 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.214e-06/2.985, allocations: 0 / 1.083 GB, free: 12.59 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.427e-05/2.985, allocations: 16 kB / 1.083 GB, free: 12.57 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.003596/2.989, allocations: 1.1 MB / 1.084 GB, free: 11.43 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.347e-05/2.989, allocations: 8.031 kB / 1.084 GB, free: 11.42 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002131/2.989, allocations: 102.5 kB / 1.085 GB, free: 11.31 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001222/2.991, allocations: 135 kB / 1.085 GB, free: 11.18 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001627/2.992, allocations: 0.5443 MB / 1.085 GB, free: 10.59 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00012/2.992, allocations: 104.4 kB / 1.085 GB, free: 10.48 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001406/2.992, allocations: 47.91 kB / 1.085 GB, free: 10.43 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001678/2.994, allocations: 0.7852 MB / 1.086 GB, free: 9.566 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.882e-05/2.994, allocations: 7.938 kB / 1.086 GB, free: 9.559 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000123/2.994, allocations: 31.94 kB / 1.086 GB, free: 9.527 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.643e-05/2.994, allocations: 36.98 kB / 1.086 GB, free: 9.492 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001451/2.996, allocations: 0.5875 MB / 1.087 GB, free: 8.902 MB / 490.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.006343/3.002, allocations: 3.908 MB / 1.091 GB, free: 4.742 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007499/3.003, allocations: 315.2 kB / 1.091 GB, free: 4.426 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003646/3.003, allocations: 161.4 kB / 1.091 GB, free: 4.266 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001245/3.004, allocations: 33.27 kB / 1.091 GB, free: 4.23 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.552e-05/3.004, allocations: 34.84 kB / 1.091 GB, free: 4.188 MB / 490.7 MB Notification: Performance of pre-optimization done (n=34): time 3.416e-06/3.004, allocations: 4 kB / 1.091 GB, free: 4.184 MB / 490.7 MB Notification: Performance of matching and sorting (n=39): time 0.008676/3.012, allocations: 1.497 MB / 1.093 GB, free: 2.609 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.633e-05/3.012, allocations: 132.5 kB / 1.093 GB, free: 2.449 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008584/3.013, allocations: 0.5265 MB / 1.093 GB, free: 1.918 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.381e-05/3.013, allocations: 33.7 kB / 1.093 GB, free: 1.879 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002365/3.014, allocations: 409.2 kB / 1.094 GB, free: 1.473 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001427/3.014, allocations: 145.9 kB / 1.094 GB, free: 1.328 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.54e-05/3.014, allocations: 16 kB / 1.094 GB, free: 1.312 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.734e-05/3.014, allocations: 339.2 kB / 1.094 GB, free: 0.9727 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005092/3.014, allocations: 193.5 kB / 1.094 GB, free: 0.7852 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006511/3.015, allocations: 0.5239 MB / 1.095 GB, free: 100 kB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3454/3.361, allocations: 290.2 kB / 1.095 GB, free: 93.39 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-05/3.361, allocations: 3.188 kB / 1.095 GB, free: 93.39 MB / 490.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002569/3.363, allocations: 0.8072 MB / 1.096 GB, free: 93.34 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.123e-05/3.363, allocations: 10.56 kB / 1.096 GB, free: 93.34 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.126e-05/3.363, allocations: 13.58 kB / 1.096 GB, free: 93.34 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003012/3.366, allocations: 301.4 kB / 1.096 GB, free: 93.33 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001118/3.367, allocations: 127.6 kB / 1.096 GB, free: 93.33 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001953/3.369, allocations: 0.8997 MB / 1.097 GB, free: 92.82 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001506/3.371, allocations: 46.02 kB / 1.097 GB, free: 92.82 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001983/3.371, allocations: 71.91 kB / 1.097 GB, free: 92.82 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 71 * 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: 0 * Non-linear torn systems: 1 {2 16} Notification: Performance of prepare postOptimizeDAE: time 0.0002991/3.372, allocations: 150.2 kB / 1.097 GB, free: 92.71 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002309/3.372, allocations: 68.53 kB / 1.097 GB, free: 92.71 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003157/3.375, allocations: 0.6643 MB / 1.098 GB, free: 92.64 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.12e-05/3.375, allocations: 5.219 kB / 1.098 GB, free: 92.64 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.158e-05/3.375, allocations: 5.156 kB / 1.098 GB, free: 92.64 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.154e-05/3.375, allocations: 1.828 kB / 1.098 GB, free: 92.64 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004165/3.379, allocations: 1.237 MB / 1.099 GB, free: 92.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.616e-06/3.379, allocations: 1.062 kB / 1.099 GB, free: 92.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003017/3.382, allocations: 211 kB / 1.1 GB, free: 92.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001892/3.383, allocations: 25 kB / 1.1 GB, free: 92.2 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001014/3.383, allocations: 22.38 kB / 1.1 GB, free: 92.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002961/3.386, allocations: 2.679 MB / 1.102 GB, free: 89.64 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.817e-06/3.386, allocations: 5.828 kB / 1.102 GB, free: 89.64 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002549/3.388, allocations: 0.8276 MB / 1.103 GB, free: 89.36 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005251/3.389, allocations: 183.8 kB / 1.103 GB, free: 89.23 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002037/3.389, allocations: 13.38 kB / 1.103 GB, free: 89.23 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001019/3.39, allocations: 29.59 kB / 1.103 GB, free: 89.23 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001895/3.39, allocations: 40.09 kB / 1.103 GB, free: 89.23 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001517/3.39, allocations: 42.78 kB / 1.103 GB, free: 89.23 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00112/3.392, allocations: 410 kB / 1.104 GB, free: 89.12 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.81e-07/3.392, allocations: 2.531 kB / 1.104 GB, free: 89.12 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003109/3.395, allocations: 375.9 kB / 1.104 GB, free: 89.12 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (39): * 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): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 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.006643/3.401, allocations: 2.682 MB / 1.107 GB, free: 87.88 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002538/3.404, allocations: 0.5147 MB / 1.107 GB, free: 87.88 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.109e-05/3.404, allocations: 3.031 kB / 1.107 GB, free: 87.88 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002032/3.406, allocations: 375.8 kB / 1.108 GB, free: 87.78 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003747/3.41, allocations: 312.4 kB / 1.108 GB, free: 87.78 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01608/3.426, allocations: 2.654 MB / 1.11 GB, free: 87.43 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008513/3.427, allocations: 0.9415 MB / 1.111 GB, free: 86.73 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001296/3.428, allocations: 279.3 kB / 1.112 GB, free: 86.72 MB / 490.7 MB Notification: Performance of SimCode: time 1.523e-06/3.428, allocations: 0 / 1.112 GB, free: 86.72 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.286/6.714, allocations: 23.51 MB / 1.135 GB, free: 86.02 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.mat does not exist to compare? outputFormat=mat