Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.048/2.048, allocations: 209.3 MB / 221.9 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.799e-05/3.81e-05, allocations: 4 kB / 273.1 MB, free: 0.6406 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1057, allocations: 48.7 MB / 321.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.561/1.667, allocations: 0.4976 GB / 0.8119 GB, free: 3.293 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003282/1.667, allocations: 87.95 kB / 0.812 GB, free: 3.207 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.418/3.086, allocations: 234.3 MB / 1.041 GB, free: 82.62 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.056e-06/3.086, allocations: 3.891 kB / 1.041 GB, free: 82.62 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.454e-05/3.086, allocations: 18.3 kB / 1.041 GB, free: 82.62 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.00367/3.09, allocations: 1.107 MB / 1.042 GB, free: 82.05 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.449e-05/3.09, allocations: 7.719 kB / 1.042 GB, free: 82.05 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002303/3.09, allocations: 97.06 kB / 1.042 GB, free: 82.01 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00126/3.091, allocations: 131.8 kB / 1.042 GB, free: 81.97 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001715/3.093, allocations: 0.5534 MB / 1.043 GB, free: 81.73 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001255/3.093, allocations: 98.78 kB / 1.043 GB, free: 81.66 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001428/3.093, allocations: 50.33 kB / 1.043 GB, free: 81.66 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001778/3.095, allocations: 0.7966 MB / 1.044 GB, free: 81.44 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.317e-05/3.095, allocations: 6.625 kB / 1.044 GB, free: 81.44 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001166/3.095, allocations: 23.67 kB / 1.044 GB, free: 81.44 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.471e-05/3.095, allocations: 38.61 kB / 1.044 GB, free: 81.44 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001493/3.097, allocations: 0.6068 MB / 1.044 GB, free: 81.43 MB / 426.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.005763/3.103, allocations: 3.898 MB / 1.048 GB, free: 78.84 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007226/3.103, allocations: 334.3 kB / 1.048 GB, free: 78.77 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000362/3.104, allocations: 165.9 kB / 1.049 GB, free: 78.71 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001138/3.104, allocations: 30.91 kB / 1.049 GB, free: 78.71 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.959e-05/3.104, allocations: 38.72 kB / 1.049 GB, free: 78.66 MB / 426.7 MB Notification: Performance of pre-optimization done (n=34): time 3.016e-06/3.104, allocations: 0 / 1.049 GB, free: 78.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=39): time 0.008303/3.112, allocations: 1.496 MB / 1.05 GB, free: 77.91 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.907e-05/3.112, allocations: 134.4 kB / 1.05 GB, free: 77.76 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008687/3.113, allocations: 0.5222 MB / 1.051 GB, free: 77.51 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.211e-05/3.113, allocations: 33.42 kB / 1.051 GB, free: 77.48 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002645/3.114, allocations: 408.7 kB / 1.051 GB, free: 77.12 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001433/3.114, allocations: 147.2 kB / 1.051 GB, free: 77.01 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.48e-05/3.114, allocations: 14.44 kB / 1.051 GB, free: 77 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.118e-05/3.114, allocations: 342.2 kB / 1.052 GB, free: 76.68 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004872/3.114, allocations: 192.4 kB / 1.052 GB, free: 76.61 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006788/3.115, allocations: 0.5218 MB / 1.052 GB, free: 76.11 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006569/3.116, allocations: 298.2 kB / 1.053 GB, free: 76.02 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.316e-06/3.116, allocations: 3.688 kB / 1.053 GB, free: 76.02 MB / 426.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001976/3.118, allocations: 0.8362 MB / 1.053 GB, free: 75.77 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.665e-05/3.118, allocations: 14.84 kB / 1.053 GB, free: 75.77 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.683e-05/3.118, allocations: 10.62 kB / 1.053 GB, free: 75.77 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002176/3.12, allocations: 305.4 kB / 1.054 GB, free: 75.72 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008054/3.121, allocations: 127.1 kB / 1.054 GB, free: 75.71 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001412/3.122, allocations: 0.8952 MB / 1.055 GB, free: 75.06 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00111/3.124, allocations: 54.06 kB / 1.055 GB, free: 75.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001317/3.124, allocations: 65.08 kB / 1.055 GB, free: 75.04 MB / 426.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.0002476/3.124, allocations: 157.2 kB / 1.055 GB, free: 74.9 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001513/3.124, allocations: 71.75 kB / 1.055 GB, free: 74.86 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002197/3.126, allocations: 0.6701 MB / 1.056 GB, free: 74.6 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.185e-06/3.126, allocations: 3.5 kB / 1.056 GB, free: 74.6 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.794e-06/3.126, allocations: 0 / 1.056 GB, free: 74.6 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/3.126, allocations: 3.656 kB / 1.056 GB, free: 74.6 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002544/3.129, allocations: 1.24 MB / 1.057 GB, free: 73.87 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.654e-06/3.129, allocations: 10.39 kB / 1.057 GB, free: 73.87 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002452/3.131, allocations: 202.6 kB / 1.057 GB, free: 73.87 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001656/3.132, allocations: 26 kB / 1.057 GB, free: 73.86 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.797e-05/3.132, allocations: 18 kB / 1.057 GB, free: 73.85 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002645/3.134, allocations: 2.696 MB / 1.06 GB, free: 71.14 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.91e-06/3.134, allocations: 3.438 kB / 1.06 GB, free: 71.14 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002306/3.137, allocations: 0.8347 MB / 1.061 GB, free: 70.64 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005238/3.137, allocations: 179.5 kB / 1.061 GB, free: 70.48 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002025/3.138, allocations: 17.83 kB / 1.061 GB, free: 70.48 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001013/3.139, allocations: 30.12 kB / 1.061 GB, free: 70.47 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001635/3.139, allocations: 35.78 kB / 1.061 GB, free: 70.46 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001231/3.139, allocations: 42.72 kB / 1.061 GB, free: 70.46 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0009458/3.14, allocations: 408.3 kB / 1.061 GB, free: 70.28 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.32e-07/3.14, allocations: 3.938 kB / 1.061 GB, free: 70.27 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002827/3.143, allocations: 377.8 kB / 1.062 GB, free: 70.18 MB / 426.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.006082/3.149, allocations: 2.655 MB / 1.064 GB, free: 68.65 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002361/3.151, allocations: 0.5373 MB / 1.065 GB, free: 68.48 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.676e-06/3.151, allocations: 0 / 1.065 GB, free: 68.48 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00185/3.153, allocations: 383 kB / 1.065 GB, free: 68.3 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01562/3.169, allocations: 312.6 kB / 1.065 GB, free: 68.25 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02727/3.196, allocations: 2.656 MB / 1.068 GB, free: 67.45 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006494/3.197, allocations: 0.9393 MB / 1.069 GB, free: 66.73 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008572/3.205, allocations: 281 kB / 1.069 GB, free: 66.57 MB / 426.7 MB Notification: Performance of SimCode: time 1.352e-06/3.205, allocations: 0 / 1.069 GB, free: 66.57 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.507/6.712, allocations: 23.51 MB / 1.092 GB, free: 46.78 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.mat does not exist to compare? outputFormat=mat