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.095/2.095, allocations: 195 MB / 202.8 MB, free: 13.78 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.438e-05/3.467e-05, allocations: 8 kB / 249.7 MB, free: 14.8 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3106/0.3106, allocations: 44.49 MB / 294.2 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.72/8.03, allocations: 2.575 GB / 2.863 GB, free: 84.42 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000432/8.031, allocations: 87.12 kB / 2.863 GB, free: 84.37 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.425/10.46, allocations: 425.8 MB / 3.278 GB, free: 37.45 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.994e-06/10.46, allocations: 0 / 3.278 GB, free: 37.45 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.71e-05/10.46, allocations: 13.8 kB / 3.278 GB, free: 37.45 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.005837/10.46, allocations: 1.251 MB / 3.28 GB, free: 36.97 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.219e-05/10.46, allocations: 7.344 kB / 3.28 GB, free: 36.97 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002052/10.46, allocations: 156.8 kB / 3.28 GB, free: 36.95 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006634/10.46, allocations: 323 kB / 3.28 GB, free: 36.75 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.673e-05/10.46, allocations: 14.91 kB / 3.28 GB, free: 36.75 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.238e-05/10.46, allocations: 18.53 kB / 3.28 GB, free: 36.75 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007316/10.47, allocations: 300.1 kB / 3.28 GB, free: 36.75 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007248/10.47, allocations: 362.3 kB / 3.281 GB, free: 36.63 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.499e-05/10.47, allocations: 1.984 kB / 3.281 GB, free: 36.63 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.72e-05/10.47, allocations: 3.875 kB / 3.281 GB, free: 36.63 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.302e-05/10.47, allocations: 17.52 kB / 3.281 GB, free: 36.63 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.004037/10.47, allocations: 2.549 MB / 3.283 GB, free: 34.74 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006269/10.47, allocations: 234.8 kB / 3.284 GB, free: 34.71 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002435/10.47, allocations: 119.4 kB / 3.284 GB, free: 34.71 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001074/10.47, allocations: 0.5581 MB / 3.284 GB, free: 34.24 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.649e-05/10.47, allocations: 41.42 kB / 3.284 GB, free: 34.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=29): time 2.615e-06/10.47, allocations: 0 / 3.284 GB, free: 34.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.003998/10.48, allocations: 0.9891 MB / 3.285 GB, free: 33.88 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.66e-05/10.48, allocations: 60.22 kB / 3.285 GB, free: 33.81 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002747/10.48, allocations: 192 kB / 3.285 GB, free: 33.71 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.715e-05/10.48, allocations: 25.7 kB / 3.285 GB, free: 33.68 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000104/10.48, allocations: 188.7 kB / 3.286 GB, free: 33.57 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.245e-05/10.48, allocations: 113.5 kB / 3.286 GB, free: 33.51 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.714e-05/10.48, allocations: 0 / 3.286 GB, free: 33.51 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.945e-05/10.48, allocations: 334.3 kB / 3.286 GB, free: 33.2 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002329/10.48, allocations: 93.03 kB / 3.286 GB, free: 33.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002758/10.48, allocations: 192.4 kB / 3.286 GB, free: 33.09 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004519/10.48, allocations: 133.1 kB / 3.286 GB, free: 33.09 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/10.48, allocations: 0 / 3.286 GB, free: 33.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001254/10.48, allocations: 404.4 kB / 3.287 GB, free: 33.02 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.42e-05/10.48, allocations: 7.219 kB / 3.287 GB, free: 33.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/10.48, allocations: 3.656 kB / 3.287 GB, free: 33.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004062/10.48, allocations: 81.86 kB / 3.287 GB, free: 32.99 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006812/10.48, allocations: 93.27 kB / 3.287 GB, free: 32.99 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001638/10.48, allocations: 2.33 MB / 3.289 GB, free: 30.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007729/10.48, allocations: 61.98 kB / 3.289 GB, free: 30.76 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.682e-05/10.48, allocations: 19.73 kB / 3.289 GB, free: 30.76 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 (volume.medium.phase,fixedMassFlowRate.medium.phase,ambient.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.0001507/10.48, allocations: 119.9 kB / 3.289 GB, free: 30.65 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009031/10.48, allocations: 307.6 kB / 3.29 GB, free: 30.58 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.953e-05/10.48, allocations: 30.97 kB / 3.29 GB, free: 30.57 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0018/10.49, allocations: 1.108 MB / 3.291 GB, free: 30.43 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.413e-05/10.49, allocations: 17.09 kB / 3.291 GB, free: 30.43 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/10.49, allocations: 3.844 kB / 3.291 GB, free: 30.43 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001409/10.49, allocations: 1.25 MB / 3.292 GB, free: 29.92 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00266/10.49, allocations: 1.764 MB / 3.294 GB, free: 29.53 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.455e-06/10.49, allocations: 5.828 kB / 3.294 GB, free: 29.53 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000652/10.49, allocations: 87.97 kB / 3.294 GB, free: 29.53 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003445/10.49, allocations: 68.98 kB / 3.294 GB, free: 29.52 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.197e-05/10.49, allocations: 6.688 kB / 3.294 GB, free: 29.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004356/10.49, allocations: 0.6187 MB / 3.295 GB, free: 29 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/10.49, allocations: 3.75 kB / 3.295 GB, free: 29 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00157/10.49, allocations: 1.007 MB / 3.296 GB, free: 28.81 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001978/10.49, allocations: 148.9 kB / 3.296 GB, free: 28.68 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.779e-05/10.49, allocations: 6.906 kB / 3.296 GB, free: 28.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005596/10.49, allocations: 39.14 kB / 3.296 GB, free: 28.67 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/10.49, allocations: 28.94 kB / 3.296 GB, free: 28.67 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.584e-05/10.49, allocations: 10.66 kB / 3.296 GB, free: 28.67 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002797/10.49, allocations: 211 kB / 3.296 GB, free: 28.59 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.01e-07/10.49, allocations: 3.906 kB / 3.296 GB, free: 28.59 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004529/10.5, allocations: 0.8666 MB / 3.297 GB, free: 28.47 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: 8 ($cse2.phase,$cse2.region,$cse3.region3boundary,$cse4.region3boundary,$cse5.phase,$cse5.region,volume.medium.phase,fixedMassFlowRate.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0106/10.51, allocations: 2.869 MB / 3.3 GB, free: 27.6 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0014/10.51, allocations: 0.5168 MB / 3.3 GB, free: 27.5 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/10.51, allocations: 3.125 kB / 3.3 GB, free: 27.5 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005852/10.51, allocations: 326.8 kB / 3.301 GB, free: 27.49 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001593/10.51, allocations: 142.4 kB / 3.301 GB, free: 27.49 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005024/10.52, allocations: 1.175 MB / 3.302 GB, free: 27.14 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003368/10.52, allocations: 0.867 MB / 3.303 GB, free: 26.44 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006178/10.52, allocations: 170.4 kB / 3.303 GB, free: 26.43 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000275/10.52, allocations: 159.1 kB / 3.303 GB, free: 26.42 MB / 410.7 MB Notification: Performance of SimCode: time 1.103e-06/10.52, allocations: 2.156 kB / 3.303 GB, free: 26.42 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09777/10.62, allocations: 31.48 MB / 3.334 GB, free: 25.58 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002745/10.62, allocations: 162.8 kB / 3.334 GB, free: 25.38 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.438/15.06, allocations: 3.125 kB / 3.334 GB, free: 25.38 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_ph_res.mat does not exist to compare? outputFormat=mat