Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_ph",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.807/1.807, allocations: 171.2 MB / 183.8 MB, free: 12.03 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.66e-05/3.675e-05, allocations: 4 kB / 225.1 MB, free: 2.691 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.26/0.2601, allocations: 38.77 MB / 263.8 MB, free: 9.855 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.467/7.727, allocations: 2.466 GB / 2.724 GB, free: 81.19 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003151/7.728, allocations: 85.14 kB / 2.724 GB, free: 81.19 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.277/10.01, allocations: 418.9 MB / 3.133 GB, free: 27.95 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.305e-06/10.01, allocations: 0 / 3.133 GB, free: 27.95 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.498e-05/10.01, allocations: 9.688 kB / 3.133 GB, free: 27.95 MB / 362.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.006352/10.01, allocations: 1.231 MB / 3.134 GB, free: 27.41 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.835e-05/10.01, allocations: 7.5 kB / 3.134 GB, free: 27.41 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000142/10.01, allocations: 68.23 kB / 3.134 GB, free: 27.37 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002725/10.01, allocations: 155.9 kB / 3.134 GB, free: 27.35 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000793/10.02, allocations: 320.8 kB / 3.135 GB, free: 27.14 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.311e-05/10.02, allocations: 33.89 kB / 3.135 GB, free: 27.14 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.414e-05/10.02, allocations: 32.28 kB / 3.135 GB, free: 27.14 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002585/10.02, allocations: 0.5412 MB / 3.135 GB, free: 27.02 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.53e-05/10.02, allocations: 6.906 kB / 3.135 GB, free: 27.02 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.433e-05/10.02, allocations: 17.62 kB / 3.135 GB, free: 27.02 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.479e-05/10.02, allocations: 7.562 kB / 3.135 GB, free: 27.02 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002354/10.02, allocations: 474.7 kB / 3.136 GB, free: 27.01 MB / 362.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.005532/10.03, allocations: 2.618 MB / 3.138 GB, free: 25.09 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001717/10.03, allocations: 424.9 kB / 3.139 GB, free: 25.07 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003151/10.03, allocations: 135.9 kB / 3.139 GB, free: 25.06 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00111/10.03, allocations: 0.5524 MB / 3.139 GB, free: 24.59 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.018e-05/10.03, allocations: 42.06 kB / 3.139 GB, free: 24.55 MB / 362.7 MB Notification: Performance of pre-optimization done (n=30): time 2.726e-06/10.03, allocations: 0 / 3.139 GB, free: 24.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=34): time 0.005616/10.04, allocations: 1.258 MB / 3.141 GB, free: 24.21 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.632e-05/10.04, allocations: 59.84 kB / 3.141 GB, free: 24.15 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003287/10.04, allocations: 216.9 kB / 3.141 GB, free: 24.05 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.475e-05/10.04, allocations: 36.23 kB / 3.141 GB, free: 24.02 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001131/10.04, allocations: 234.3 kB / 3.141 GB, free: 23.83 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001095/10.04, allocations: 119 kB / 3.141 GB, free: 23.76 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.067e-05/10.04, allocations: 7.688 kB / 3.141 GB, free: 23.76 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.122e-05/10.04, allocations: 328.3 kB / 3.142 GB, free: 23.45 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002779/10.04, allocations: 103.4 kB / 3.142 GB, free: 23.45 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000328/10.04, allocations: 201.1 kB / 3.142 GB, free: 23.34 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003263/10.04, allocations: 119.6 kB / 3.142 GB, free: 23.34 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/10.04, allocations: 2.812 kB / 3.142 GB, free: 23.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001272/10.04, allocations: 433.5 kB / 3.143 GB, free: 23.27 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.695e-05/10.04, allocations: 7.844 kB / 3.143 GB, free: 23.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/10.04, allocations: 3.906 kB / 3.143 GB, free: 23.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005434/10.04, allocations: 85.92 kB / 3.143 GB, free: 23.24 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006848/10.04, allocations: 89.73 kB / 3.143 GB, free: 23.24 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001729/10.04, allocations: 2.373 MB / 3.145 GB, free: 20.95 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007807/10.04, allocations: 53.69 kB / 3.145 GB, free: 20.95 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.607e-05/10.04, allocations: 21.81 kB / 3.145 GB, free: 20.95 MB / 362.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.0001734/10.04, allocations: 129.7 kB / 3.145 GB, free: 20.84 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.578e-05/10.04, allocations: 29.75 kB / 3.145 GB, free: 20.82 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002138/10.05, allocations: 1.346 MB / 3.147 GB, free: 20.64 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.81e-05/10.05, allocations: 18.33 kB / 3.147 GB, free: 20.64 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/10.05, allocations: 0 / 3.147 GB, free: 20.64 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001655/10.05, allocations: 1.428 MB / 3.148 GB, free: 20.13 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003005/10.05, allocations: 2.099 MB / 3.15 GB, free: 19.69 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/10.05, allocations: 2.625 kB / 3.15 GB, free: 19.69 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007838/10.05, allocations: 102.4 kB / 3.15 GB, free: 19.69 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004698/10.05, allocations: 75.52 kB / 3.15 GB, free: 19.68 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.379e-05/10.05, allocations: 14.88 kB / 3.15 GB, free: 19.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003956/10.05, allocations: 0.595 MB / 3.151 GB, free: 19.16 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/10.05, allocations: 0 / 3.151 GB, free: 19.16 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001759/10.05, allocations: 1.171 MB / 3.152 GB, free: 18.96 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002242/10.05, allocations: 163.7 kB / 3.152 GB, free: 18.82 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.299e-05/10.05, allocations: 10.44 kB / 3.152 GB, free: 18.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006393/10.05, allocations: 45.78 kB / 3.152 GB, free: 18.82 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001303/10.05, allocations: 36.36 kB / 3.152 GB, free: 18.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.073e-05/10.05, allocations: 17.73 kB / 3.152 GB, free: 18.82 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003399/10.06, allocations: 235 kB / 3.152 GB, free: 18.73 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.11e-07/10.06, allocations: 0 / 3.152 GB, free: 18.73 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.004645/10.06, allocations: 0.8849 MB / 3.153 GB, free: 18.61 MB / 362.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.01092/10.07, allocations: 2.947 MB / 3.156 GB, free: 17.73 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001635/10.07, allocations: 0.5842 MB / 3.157 GB, free: 17.61 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.361e-06/10.07, allocations: 0 / 3.157 GB, free: 17.61 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007357/10.07, allocations: 380.4 kB / 3.157 GB, free: 17.61 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001871/10.08, allocations: 183.3 kB / 3.157 GB, free: 17.6 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005294/10.08, allocations: 1.365 MB / 3.159 GB, free: 17.18 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001004/10.08, allocations: 0.8874 MB / 3.159 GB, free: 32.48 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003847/10.08, allocations: 190.9 kB / 3.16 GB, free: 32.47 MB / 378.7 MB Notification: Performance of SimCode: time 1.152e-06/10.08, allocations: 6.812 kB / 3.16 GB, free: 32.47 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.671/13.75, allocations: 29.76 MB / 3.189 GB, free: 30.37 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph_res.mat does not exist to compare? outputFormat=mat