Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_ph",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.139/2.139, allocations: 194.9 MB / 208.5 MB, free: 3.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.259e-05/3.27e-05, allocations: 3.984 kB / 255.5 MB, free: 3.074 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09779/0.09785, allocations: 44.5 MB / 300 MB, free: 6.516 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.048/8.146, allocations: 2.576 GB / 2.869 GB, free: 85 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003263/8.146, allocations: 88.75 kB / 2.869 GB, free: 84.99 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.048/10.19, allocations: 429.6 MB / 3.288 GB, free: 32.59 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.286e-06/10.19, allocations: 0 / 3.288 GB, free: 32.59 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.688e-05/10.19, allocations: 12.55 kB / 3.288 GB, free: 32.58 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.005421/10.2, allocations: 1.253 MB / 3.29 GB, free: 31.33 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.208e-05/10.2, allocations: 15.09 kB / 3.29 GB, free: 31.32 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001268/10.2, allocations: 62.53 kB / 3.29 GB, free: 31.25 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001972/10.2, allocations: 162.7 kB / 3.29 GB, free: 31.09 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006111/10.2, allocations: 309.4 kB / 3.29 GB, free: 30.75 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.484e-05/10.2, allocations: 33.64 kB / 3.29 GB, free: 30.72 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.503e-05/10.2, allocations: 28 kB / 3.29 GB, free: 30.69 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001776/10.2, allocations: 0.5459 MB / 3.291 GB, free: 30.12 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.749e-05/10.2, allocations: 0 / 3.291 GB, free: 30.12 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.264e-05/10.2, allocations: 12 kB / 3.291 GB, free: 30.11 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.246e-05/10.2, allocations: 11.95 kB / 3.291 GB, free: 30.09 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001665/10.21, allocations: 475.8 kB / 3.291 GB, free: 29.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.004298/10.21, allocations: 2.621 MB / 3.294 GB, free: 26.8 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001759/10.21, allocations: 425.1 kB / 3.294 GB, free: 26.38 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003402/10.21, allocations: 133.3 kB / 3.294 GB, free: 26.25 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00114/10.21, allocations: 0.5585 MB / 3.295 GB, free: 25.61 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.269e-05/10.21, allocations: 38.55 kB / 3.295 GB, free: 25.56 MB / 410.7 MB Notification: Performance of pre-optimization done (n=30): time 2.565e-06/10.21, allocations: 0 / 3.295 GB, free: 25.56 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.005626/10.22, allocations: 1.23 MB / 3.296 GB, free: 24.28 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.3e-05/10.22, allocations: 65.38 kB / 3.296 GB, free: 24.21 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003403/10.22, allocations: 225 kB / 3.296 GB, free: 23.98 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.445e-05/10.22, allocations: 29.7 kB / 3.296 GB, free: 23.95 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/10.22, allocations: 238.6 kB / 3.297 GB, free: 23.71 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001006/10.22, allocations: 118.2 kB / 3.297 GB, free: 23.6 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.146e-05/10.22, allocations: 8 kB / 3.297 GB, free: 23.59 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.365e-05/10.22, allocations: 325.7 kB / 3.297 GB, free: 23.27 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003023/10.22, allocations: 108.9 kB / 3.297 GB, free: 23.16 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003222/10.22, allocations: 194.1 kB / 3.297 GB, free: 22.94 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003338/10.22, allocations: 137.7 kB / 3.297 GB, free: 22.8 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/10.22, allocations: 0 / 3.297 GB, free: 22.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001161/10.22, allocations: 411 kB / 3.298 GB, free: 22.39 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/10.22, allocations: 7.531 kB / 3.298 GB, free: 22.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/10.22, allocations: 4 kB / 3.298 GB, free: 22.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005204/10.22, allocations: 88.72 kB / 3.298 GB, free: 22.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006979/10.22, allocations: 87.89 kB / 3.298 GB, free: 22.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001754/10.23, allocations: 2.372 MB / 3.3 GB, free: 19.65 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007267/10.23, allocations: 53.11 kB / 3.3 GB, free: 19.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.146e-05/10.23, allocations: 19.52 kB / 3.3 GB, free: 19.59 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.0001579/10.23, allocations: 128.9 kB / 3.301 GB, free: 19.46 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.237e-05/10.23, allocations: 35.58 kB / 3.301 GB, free: 19.42 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002028/10.23, allocations: 1.332 MB / 3.302 GB, free: 18.09 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-05/10.23, allocations: 23.97 kB / 3.302 GB, free: 18.06 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/10.23, allocations: 0 / 3.302 GB, free: 18.06 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001602/10.23, allocations: 1.428 MB / 3.303 GB, free: 16.55 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003078/10.23, allocations: 2.1 MB / 3.305 GB, free: 14.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.277e-06/10.23, allocations: 0 / 3.305 GB, free: 14.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008003/10.23, allocations: 111.4 kB / 3.305 GB, free: 14.28 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000484/10.24, allocations: 72.7 kB / 3.306 GB, free: 14.2 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.198e-05/10.24, allocations: 15.92 kB / 3.306 GB, free: 14.19 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003992/10.24, allocations: 0.5862 MB / 3.306 GB, free: 13.58 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/10.24, allocations: 0 / 3.306 GB, free: 13.58 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001798/10.24, allocations: 1.176 MB / 3.307 GB, free: 12.39 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002332/10.24, allocations: 168.1 kB / 3.307 GB, free: 12.2 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.431e-05/10.24, allocations: 8 kB / 3.307 GB, free: 12.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000601/10.24, allocations: 43.31 kB / 3.307 GB, free: 12.16 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001302/10.24, allocations: 35.94 kB / 3.308 GB, free: 12.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.136e-05/10.24, allocations: 8 kB / 3.308 GB, free: 12.11 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003502/10.24, allocations: 234.1 kB / 3.308 GB, free: 11.89 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.41e-07/10.24, allocations: 0 / 3.308 GB, free: 11.89 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004653/10.24, allocations: 0.8973 MB / 3.309 GB, free: 10.99 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.01072/10.25, allocations: 2.952 MB / 3.312 GB, free: 8.238 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001514/10.26, allocations: 0.5666 MB / 3.312 GB, free: 7.664 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/10.26, allocations: 0 / 3.312 GB, free: 7.664 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007541/10.26, allocations: 376.7 kB / 3.312 GB, free: 7.297 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001888/10.26, allocations: 187.2 kB / 3.313 GB, free: 7.125 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005421/10.26, allocations: 1.356 MB / 3.314 GB, free: 5.797 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003621/10.26, allocations: 0.891 MB / 3.315 GB, free: 4.891 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000399/10.27, allocations: 191.4 kB / 3.315 GB, free: 4.703 MB / 410.7 MB Notification: Performance of SimCode: time 1.373e-06/10.27, allocations: 3.125 kB / 3.315 GB, free: 4.703 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.995/14.26, allocations: 29.86 MB / 3.344 GB, free: 61.3 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph_res.mat does not exist to compare? outputFormat=mat