Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_ph",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.272/2.272, allocations: 194.9 MB / 208 MB, free: 3.262 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.269e-05/3.286e-05, allocations: 0 / 255.5 MB, free: 2.621 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1075, allocations: 44.5 MB / 300 MB, free: 6.066 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.399/8.507, allocations: 2.576 GB / 2.869 GB, free: 88.61 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003102/8.507, allocations: 88.42 kB / 2.869 GB, free: 88.61 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.142/10.65, allocations: 429.6 MB / 3.288 GB, free: 26.25 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.753e-06/10.65, allocations: 384 / 3.288 GB, free: 26.25 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.997e-05/10.65, allocations: 11.66 kB / 3.288 GB, free: 26.24 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.005948/10.65, allocations: 1.254 MB / 3.29 GB, free: 24.99 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.704e-05/10.65, allocations: 8.031 kB / 3.29 GB, free: 24.98 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000146/10.66, allocations: 66.53 kB / 3.29 GB, free: 24.91 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002072/10.66, allocations: 162.8 kB / 3.29 GB, free: 24.75 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007388/10.66, allocations: 312.7 kB / 3.29 GB, free: 24.41 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.038e-05/10.66, allocations: 29.64 kB / 3.29 GB, free: 24.38 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.388e-05/10.66, allocations: 32 kB / 3.29 GB, free: 24.35 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001882/10.66, allocations: 0.5461 MB / 3.291 GB, free: 23.78 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.435e-05/10.66, allocations: 7.938 kB / 3.291 GB, free: 23.77 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.346e-05/10.66, allocations: 14.88 kB / 3.291 GB, free: 23.76 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.269e-05/10.66, allocations: 11.95 kB / 3.291 GB, free: 23.75 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001721/10.66, allocations: 472.5 kB / 3.291 GB, free: 23.29 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.004103/10.67, allocations: 2.619 MB / 3.294 GB, free: 20.45 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001644/10.67, allocations: 426.8 kB / 3.294 GB, free: 20.04 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003015/10.67, allocations: 128.8 kB / 3.294 GB, free: 19.91 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001091/10.67, allocations: 0.5652 MB / 3.295 GB, free: 19.26 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.284e-05/10.67, allocations: 34.56 kB / 3.295 GB, free: 19.21 MB / 410.7 MB Notification: Performance of pre-optimization done (n=30): time 2.495e-06/10.67, allocations: 0 / 3.295 GB, free: 19.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.005319/10.67, allocations: 1.251 MB / 3.296 GB, free: 17.92 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.298e-05/10.67, allocations: 55.41 kB / 3.296 GB, free: 17.86 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00032/10.67, allocations: 221 kB / 3.296 GB, free: 17.63 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.045e-05/10.68, allocations: 33.7 kB / 3.296 GB, free: 17.59 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/10.68, allocations: 176.2 kB / 3.297 GB, free: 17.41 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001008/10.68, allocations: 120 kB / 3.297 GB, free: 17.3 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.859e-05/10.68, allocations: 11.94 kB / 3.297 GB, free: 17.29 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001183/10.68, allocations: 342.8 kB / 3.297 GB, free: 16.95 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002917/10.68, allocations: 108 kB / 3.297 GB, free: 16.84 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003344/10.68, allocations: 199.3 kB / 3.297 GB, free: 16.62 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000327/10.68, allocations: 127.6 kB / 3.297 GB, free: 16.5 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/10.68, allocations: 0 / 3.297 GB, free: 16.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001215/10.68, allocations: 434.3 kB / 3.298 GB, free: 16.06 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.348e-05/10.68, allocations: 7.938 kB / 3.298 GB, free: 16.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/10.68, allocations: 8 kB / 3.298 GB, free: 16.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005272/10.68, allocations: 88.03 kB / 3.298 GB, free: 15.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006569/10.68, allocations: 90.8 kB / 3.298 GB, free: 15.86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001648/10.68, allocations: 2.373 MB / 3.3 GB, free: 13.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007132/10.68, allocations: 51.11 kB / 3.3 GB, free: 13.26 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.835e-05/10.68, allocations: 23.22 kB / 3.3 GB, free: 13.24 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 3 (ambient.medium.phase,volume.medium.phase,fixedMassFlowRate.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 41 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001612/10.68, allocations: 128.8 kB / 3.301 GB, free: 13.11 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.803e-05/10.68, allocations: 31.52 kB / 3.301 GB, free: 13.08 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002052/10.68, allocations: 1.345 MB / 3.302 GB, free: 11.72 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-05/10.68, allocations: 22.92 kB / 3.302 GB, free: 11.7 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/10.68, allocations: 3.984 kB / 3.302 GB, free: 11.7 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001551/10.69, allocations: 1.424 MB / 3.303 GB, free: 10.18 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003021/10.69, allocations: 2.101 MB / 3.305 GB, free: 8.016 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.334e-06/10.69, allocations: 0 / 3.305 GB, free: 8.016 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007678/10.69, allocations: 111 kB / 3.306 GB, free: 7.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000476/10.69, allocations: 72.52 kB / 3.306 GB, free: 7.84 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.26e-05/10.69, allocations: 8 kB / 3.306 GB, free: 7.832 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004084/10.69, allocations: 0.5875 MB / 3.306 GB, free: 7.219 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/10.69, allocations: 2.969 kB / 3.306 GB, free: 7.219 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001806/10.69, allocations: 1.173 MB / 3.307 GB, free: 6.023 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002226/10.69, allocations: 168.1 kB / 3.307 GB, free: 5.84 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.266e-05/10.69, allocations: 11.98 kB / 3.307 GB, free: 5.828 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005943/10.69, allocations: 43.12 kB / 3.308 GB, free: 5.789 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001344/10.69, allocations: 39.83 kB / 3.308 GB, free: 5.754 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.192e-05/10.69, allocations: 15.98 kB / 3.308 GB, free: 5.738 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003388/10.69, allocations: 226.2 kB / 3.308 GB, free: 5.52 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.91e-07/10.69, allocations: 0 / 3.308 GB, free: 5.52 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004722/10.7, allocations: 0.8977 MB / 3.309 GB, free: 4.621 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.h) * Number of discrete variables: 11 ($cse1.phase,$cse1.region,$cse4.phase,$cse4.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,volume.medium.phase,fixedMassFlowRate.medium.phase,ambient.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01102/10.71, allocations: 2.955 MB / 3.312 GB, free: 1.875 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001586/10.71, allocations: 0.5678 MB / 3.312 GB, free: 1.293 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/10.71, allocations: 0 / 3.312 GB, free: 1.293 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007421/10.71, allocations: 379.7 kB / 3.312 GB, free: 0.9258 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001852/10.71, allocations: 182.8 kB / 3.313 GB, free: 0.7578 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00584/10.72, allocations: 1.327 MB / 3.314 GB, free: 15.47 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006969/10.72, allocations: 0.8914 MB / 3.315 GB, free: 14.56 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0007319/10.72, allocations: 156.9 kB / 3.315 GB, free: 14.41 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004094/10.72, allocations: 187.4 kB / 3.315 GB, free: 14.23 MB / 426.7 MB Notification: Performance of SimCode: time 9.52e-07/10.72, allocations: 0 / 3.315 GB, free: 14.23 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5082/11.23, allocations: 39.32 MB / 3.354 GB, free: 49.11 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002257/11.23, allocations: 205.6 kB / 3.354 GB, free: 48.88 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.764/15.99, allocations: 0 / 3.354 GB, free: 48.88 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph_res.mat does not exist to compare? outputFormat=mat