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.938/1.938, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.427e-05/2.436e-05, allocations: 4 kB / 249.7 MB, free: 15.19 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3011/0.3011, allocations: 44.5 MB / 294.2 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.149/1.45, allocations: 434 MB / 0.7112 GB, free: 16.32 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002959/1.45, allocations: 92.36 kB / 0.7112 GB, free: 16.27 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.765/2.215, allocations: 153.3 MB / 0.861 GB, free: 39.08 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.553e-06/2.215, allocations: 0 / 0.861 GB, free: 39.08 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.288e-05/2.215, allocations: 12 kB / 0.861 GB, free: 39.07 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.001118/2.216, allocations: 0.5969 MB / 0.8616 GB, free: 38.43 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/2.216, allocations: 12.03 kB / 0.8616 GB, free: 38.42 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003721/2.217, allocations: 39.66 kB / 0.8616 GB, free: 38.38 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004387/2.217, allocations: 270.6 kB / 0.8619 GB, free: 38.07 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.966e-05/2.217, allocations: 8 kB / 0.8619 GB, free: 38.07 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.571e-05/2.217, allocations: 12 kB / 0.8619 GB, free: 38.05 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004249/2.218, allocations: 181.1 kB / 0.8621 GB, free: 37.88 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005224/2.218, allocations: 270.6 kB / 0.8623 GB, free: 37.59 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.032e-05/2.218, allocations: 3.938 kB / 0.8623 GB, free: 37.58 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.026e-05/2.218, allocations: 7.953 kB / 0.8623 GB, free: 37.57 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.039e-05/2.218, allocations: 7.938 kB / 0.8624 GB, free: 37.57 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.002196/2.221, allocations: 1.547 MB / 0.8639 GB, free: 35.88 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002899/2.221, allocations: 143.8 kB / 0.864 GB, free: 35.73 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001587/2.221, allocations: 76.86 kB / 0.8641 GB, free: 35.65 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.817e-05/2.221, allocations: 11.92 kB / 0.8641 GB, free: 35.64 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.013e-05/2.221, allocations: 34.91 kB / 0.8641 GB, free: 35.6 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 2.956e-06/2.221, allocations: 0 / 0.8641 GB, free: 35.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=25): time 0.006557/2.228, allocations: 0.9997 MB / 0.8651 GB, free: 34.52 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.453e-05/2.228, allocations: 55.41 kB / 0.8652 GB, free: 34.45 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002594/2.228, allocations: 199.9 kB / 0.8653 GB, free: 34.25 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.749e-05/2.228, allocations: 25.7 kB / 0.8654 GB, free: 34.22 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.307e-05/2.228, allocations: 246.2 kB / 0.8656 GB, free: 33.98 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.781e-05/2.228, allocations: 86.75 kB / 0.8657 GB, free: 33.89 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.735e-05/2.228, allocations: 0 / 0.8657 GB, free: 33.89 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.481e-05/2.229, allocations: 326.8 kB / 0.866 GB, free: 33.57 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001806/2.229, allocations: 76 kB / 0.8661 GB, free: 33.49 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002277/2.229, allocations: 172.2 kB / 0.8662 GB, free: 33.28 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002519/2.229, allocations: 107.9 kB / 0.8663 GB, free: 33.18 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/2.229, allocations: 4 kB / 0.8663 GB, free: 33.17 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000817/2.23, allocations: 358.8 kB / 0.8667 GB, free: 32.81 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/2.23, allocations: 4 kB / 0.8667 GB, free: 32.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/2.23, allocations: 4 kB / 0.8667 GB, free: 32.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002694/2.23, allocations: 66.09 kB / 0.8668 GB, free: 32.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006174/2.231, allocations: 87.83 kB / 0.8668 GB, free: 32.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001312/2.232, allocations: 1.809 MB / 0.8686 GB, free: 30.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004294/2.233, allocations: 15.98 kB / 0.8686 GB, free: 30.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.158e-05/2.233, allocations: 36 kB / 0.8687 GB, free: 30.64 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.0001444/2.233, allocations: 121 kB / 0.8688 GB, free: 30.52 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000619/2.234, allocations: 259.1 kB / 0.869 GB, free: 30.25 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.292e-05/2.234, allocations: 31.66 kB / 0.869 GB, free: 30.22 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001072/2.235, allocations: 352.3 kB / 0.8694 GB, free: 29.87 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.732e-06/2.235, allocations: 7.938 kB / 0.8694 GB, free: 29.86 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.88e-06/2.235, allocations: 0 / 0.8694 GB, free: 29.86 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000538/2.235, allocations: 0.5435 MB / 0.8699 GB, free: 29.23 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00125/2.237, allocations: 0.6572 MB / 0.8706 GB, free: 28.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/2.237, allocations: 4.062 kB / 0.8706 GB, free: 28.51 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005499/2.237, allocations: 71.91 kB / 0.8706 GB, free: 28.44 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001089/2.237, allocations: 20.84 kB / 0.8707 GB, free: 28.42 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.929e-05/2.237, allocations: 11.98 kB / 0.8707 GB, free: 28.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000794/2.238, allocations: 1.241 MB / 0.8719 GB, free: 27.05 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/2.238, allocations: 3.938 kB / 0.8719 GB, free: 27.05 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008251/2.239, allocations: 465.2 kB / 0.8723 GB, free: 26.55 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001095/2.239, allocations: 100.9 kB / 0.8724 GB, free: 26.44 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.834e-05/2.239, allocations: 4 kB / 0.8724 GB, free: 26.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004767/2.24, allocations: 11.92 kB / 0.8724 GB, free: 26.42 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.949e-05/2.24, allocations: 28.03 kB / 0.8725 GB, free: 26.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.37e-05/2.24, allocations: 31.98 kB / 0.8725 GB, free: 26.36 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001804/2.24, allocations: 160.5 kB / 0.8726 GB, free: 26.2 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.31e-07/2.24, allocations: 0 / 0.8726 GB, free: 26.2 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009869/2.241, allocations: 156 kB / 0.8728 GB, free: 26.05 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.244, allocations: 1.935 MB / 0.8747 GB, free: 24.07 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008625/2.245, allocations: 345.5 kB / 0.875 GB, free: 23.73 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.177e-06/2.245, allocations: 0.8125 kB / 0.875 GB, free: 23.73 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003228/2.245, allocations: 221.7 kB / 0.8752 GB, free: 23.5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00128/2.246, allocations: 120.2 kB / 0.8753 GB, free: 23.38 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001748/2.248, allocations: 0.5766 MB / 0.8759 GB, free: 22.76 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002362/2.248, allocations: 0.7718 MB / 0.8767 GB, free: 21.96 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005124/2.249, allocations: 127.4 kB / 0.8768 GB, free: 21.84 MB / 410.7 MB Notification: Performance of SimCode: time 1.052e-06/2.249, allocations: 4 kB / 0.8768 GB, free: 21.83 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.119/5.368, allocations: 12.43 MB / 0.8889 GB, free: 9.383 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