Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.213/2.213, allocations: 194.9 MB / 208 MB, free: 3.258 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.249e-05/3.267e-05, allocations: 4 kB / 255.5 MB, free: 2.625 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1111, allocations: 44.51 MB / 300 MB, free: 6.051 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.267/8.378, allocations: 2.574 GB / 2.867 GB, free: 84.34 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003439/8.379, allocations: 87.34 kB / 2.867 GB, free: 84.34 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.318/9.697, allocations: 296.4 MB / 3.157 GB, free: 12.44 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.485e-06/9.697, allocations: 0 / 3.157 GB, free: 12.44 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.531e-05/9.697, allocations: 12 kB / 3.157 GB, free: 12.43 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.003364/9.7, allocations: 0.9156 MB / 3.158 GB, free: 11.47 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/9.7, allocations: 12.03 kB / 3.158 GB, free: 11.46 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.76e-05/9.7, allocations: 70.53 kB / 3.158 GB, free: 11.38 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001017/9.701, allocations: 87.78 kB / 3.158 GB, free: 11.3 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005213/9.702, allocations: 294.5 kB / 3.158 GB, free: 10.97 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.88e-05/9.702, allocations: 20.78 kB / 3.158 GB, free: 10.95 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.586e-05/9.702, allocations: 32 kB / 3.158 GB, free: 10.92 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00105/9.703, allocations: 447.9 kB / 3.158 GB, free: 10.43 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.025e-05/9.703, allocations: 11.84 kB / 3.158 GB, free: 10.42 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.652e-05/9.703, allocations: 16 kB / 3.158 GB, free: 10.41 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.288e-05/9.703, allocations: 11.98 kB / 3.158 GB, free: 10.39 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008428/9.704, allocations: 325.9 kB / 3.159 GB, free: 10.07 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.003503/9.707, allocations: 2.619 MB / 3.161 GB, free: 7.23 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007486/9.708, allocations: 262.6 kB / 3.162 GB, free: 6.965 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000228/9.708, allocations: 104.8 kB / 3.162 GB, free: 6.859 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3731/10.08, allocations: 15.36 MB / 3.177 GB, free: 51.54 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.273e-05/10.08, allocations: 43.59 kB / 3.177 GB, free: 51.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=25): time 3.467e-06/10.08, allocations: 0 / 3.177 GB, free: 51.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=30): time 0.007974/10.09, allocations: 1.171 MB / 3.178 GB, free: 51.21 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.193e-05/10.09, allocations: 55.81 kB / 3.178 GB, free: 51.15 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003709/10.09, allocations: 240.6 kB / 3.178 GB, free: 51.05 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.878e-05/10.09, allocations: 30.8 kB / 3.178 GB, free: 51.02 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000123/10.09, allocations: 190.5 kB / 3.178 GB, free: 50.91 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.598e-05/10.09, allocations: 111.9 kB / 3.179 GB, free: 50.85 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.772e-05/10.09, allocations: 7.656 kB / 3.179 GB, free: 50.85 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.569e-05/10.09, allocations: 338.8 kB / 3.179 GB, free: 50.54 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002738/10.09, allocations: 98.66 kB / 3.179 GB, free: 50.54 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003454/10.09, allocations: 215.5 kB / 3.179 GB, free: 50.4 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003508/10.09, allocations: 131.1 kB / 3.179 GB, free: 50.4 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/10.09, allocations: 5.5 kB / 3.179 GB, free: 50.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.00123/10.09, allocations: 435.2 kB / 3.18 GB, free: 50.33 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.412e-05/10.09, allocations: 6.781 kB / 3.18 GB, free: 50.33 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/10.09, allocations: 3.562 kB / 3.18 GB, free: 50.33 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006774/10.1, allocations: 261.4 kB / 3.18 GB, free: 50.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006347/10.1, allocations: 85.52 kB / 3.18 GB, free: 50.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001703/10.1, allocations: 1.883 MB / 3.182 GB, free: 48.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005328/10.1, allocations: 19.09 kB / 3.182 GB, free: 48.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.556e-05/10.1, allocations: 22.42 kB / 3.182 GB, free: 48.54 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 43 * 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 {2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001505/10.1, allocations: 131.4 kB / 3.182 GB, free: 48.44 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.535e-05/10.1, allocations: 33.75 kB / 3.182 GB, free: 48.42 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001552/10.1, allocations: 0.9484 MB / 3.183 GB, free: 48.32 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.03e-05/10.1, allocations: 14.81 kB / 3.183 GB, free: 48.32 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/10.1, allocations: 0 / 3.183 GB, free: 48.32 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001378/10.11, allocations: 1.114 MB / 3.184 GB, free: 47.82 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002815/10.11, allocations: 1.573 MB / 3.186 GB, free: 47.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-05/10.11, allocations: 1.25 kB / 3.186 GB, free: 47.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004287/10.11, allocations: 60 kB / 3.186 GB, free: 47.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003016/10.11, allocations: 281.8 kB / 3.186 GB, free: 47.41 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.685e-05/10.11, allocations: 6.375 kB / 3.186 GB, free: 47.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006919/10.11, allocations: 0.6657 MB / 3.187 GB, free: 46.89 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/10.11, allocations: 0 / 3.187 GB, free: 46.89 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001587/10.11, allocations: 0.9489 MB / 3.188 GB, free: 46.72 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002428/10.12, allocations: 139.2 kB / 3.188 GB, free: 46.6 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.155e-05/10.12, allocations: 3.25 kB / 3.188 GB, free: 46.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004073/10.12, allocations: 24.47 kB / 3.188 GB, free: 46.6 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.608e-05/10.12, allocations: 14 kB / 3.188 GB, free: 46.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.759e-05/10.12, allocations: 13.08 kB / 3.188 GB, free: 46.6 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003764/10.12, allocations: 240.2 kB / 3.188 GB, free: 46.52 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.3e-07/10.12, allocations: 3.094 kB / 3.188 GB, free: 46.52 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003235/10.12, allocations: 0.54 MB / 3.188 GB, free: 46.52 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 4 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.006379/10.13, allocations: 2.24 MB / 3.191 GB, free: 45.79 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001279/10.13, allocations: 0.5086 MB / 3.191 GB, free: 45.68 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/10.13, allocations: 0 / 3.191 GB, free: 45.68 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000583/10.13, allocations: 295.3 kB / 3.191 GB, free: 45.67 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001789/10.13, allocations: 188.1 kB / 3.192 GB, free: 45.66 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003721/10.13, allocations: 0.9799 MB / 3.193 GB, free: 45.43 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003072/10.13, allocations: 0.8298 MB / 3.193 GB, free: 44.73 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005296/10.13, allocations: 105.9 kB / 3.193 GB, free: 44.73 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002328/10.13, allocations: 143.1 kB / 3.194 GB, free: 44.72 MB / 410.7 MB Notification: Performance of SimCode: time 1.242e-06/10.13, allocations: 2.844 kB / 3.194 GB, free: 44.72 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.101/10.24, allocations: 29.37 MB / 3.222 GB, free: 43.76 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002602/10.24, allocations: 201.1 kB / 3.223 GB, free: 43.54 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.998/14.23, allocations: 0 / 3.223 GB, free: 43.54 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT_res.mat does not exist to compare? outputFormat=mat