Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97OnePhase_ph",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.889/1.889, allocations: 194.9 MB / 208 MB, free: 3.188 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.29e-05/4.305e-05, allocations: 6.391 kB / 255.5 MB, free: 2.609 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1342, allocations: 44.5 MB / 300 MB, free: 6.043 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.283/8.417, allocations: 2.576 GB / 2.869 GB, free: 85.12 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003423/8.418, allocations: 88.19 kB / 2.869 GB, free: 85.12 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.223/10.64, allocations: 429.7 MB / 3.289 GB, free: 31.92 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.094e-06/10.64, allocations: 0 / 3.289 GB, free: 31.92 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.422e-05/10.64, allocations: 4 kB / 3.289 GB, free: 31.91 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.005044/10.65, allocations: 1.214 MB / 3.29 GB, free: 30.69 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/10.65, allocations: 8.031 kB / 3.29 GB, free: 30.68 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.935e-05/10.65, allocations: 70.53 kB / 3.29 GB, free: 30.61 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00189/10.65, allocations: 150.9 kB / 3.29 GB, free: 30.46 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005756/10.65, allocations: 318.3 kB / 3.29 GB, free: 30.11 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.099e-05/10.65, allocations: 21.64 kB / 3.29 GB, free: 30.09 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.932e-05/10.65, allocations: 32 kB / 3.29 GB, free: 30.06 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001772/10.65, allocations: 0.5514 MB / 3.291 GB, free: 29.49 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.468e-05/10.65, allocations: 0 / 3.291 GB, free: 29.49 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.82e-05/10.65, allocations: 15.69 kB / 3.291 GB, free: 29.48 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.259e-05/10.65, allocations: 11.95 kB / 3.291 GB, free: 29.46 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000859/10.65, allocations: 324.8 kB / 3.291 GB, free: 29.15 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.003892/10.66, allocations: 2.557 MB / 3.294 GB, free: 26.36 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008113/10.66, allocations: 281.9 kB / 3.294 GB, free: 26.08 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002446/10.66, allocations: 105.3 kB / 3.294 GB, free: 25.98 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1095/10.77, allocations: 30.89 MB / 3.324 GB, free: 7.906 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.321e-05/10.77, allocations: 46.55 kB / 3.324 GB, free: 7.852 MB / 426.7 MB Notification: Performance of pre-optimization done (n=27): time 2.826e-06/10.77, allocations: 0 / 3.324 GB, free: 7.852 MB / 426.7 MB Notification: Performance of matching and sorting (n=31): time 0.00528/10.77, allocations: 1.081 MB / 3.325 GB, free: 6.707 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.231e-05/10.77, allocations: 55.41 kB / 3.325 GB, free: 6.641 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004465/10.77, allocations: 230.8 kB / 3.326 GB, free: 6.414 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.635e-05/10.77, allocations: 33.7 kB / 3.326 GB, free: 6.375 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001766/10.77, allocations: 191 kB / 3.326 GB, free: 6.191 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001328/10.77, allocations: 102.4 kB / 3.326 GB, free: 6.09 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.22e-05/10.77, allocations: 12 kB / 3.326 GB, free: 6.078 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001738/10.77, allocations: 342.8 kB / 3.326 GB, free: 5.734 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002866/10.77, allocations: 92.88 kB / 3.326 GB, free: 5.645 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004094/10.77, allocations: 202 kB / 3.327 GB, free: 5.395 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003735/10.77, allocations: 123.9 kB / 3.327 GB, free: 5.273 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/10.77, allocations: 0 / 3.327 GB, free: 5.273 MB / 426.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001256/10.77, allocations: 402.7 kB / 3.327 GB, free: 4.867 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.829e-05/10.78, allocations: 9.406 kB / 3.327 GB, free: 4.859 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.402e-05/10.78, allocations: 4 kB / 3.327 GB, free: 4.855 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000415/10.78, allocations: 58.08 kB / 3.327 GB, free: 4.793 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006857/10.78, allocations: 91.89 kB / 3.327 GB, free: 4.703 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002451/10.78, allocations: 2.418 MB / 3.33 GB, free: 2.098 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005644/10.78, allocations: 32.17 kB / 3.33 GB, free: 2.066 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.884e-05/10.78, allocations: 16 kB / 3.33 GB, free: 2.051 MB / 426.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): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002179/10.78, allocations: 128.9 kB / 3.33 GB, free: 1.918 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001065/10.78, allocations: 35.58 kB / 3.33 GB, free: 1.883 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00184/10.78, allocations: 0.8592 MB / 3.331 GB, free: 1.02 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.108e-05/10.78, allocations: 7.984 kB / 3.331 GB, free: 1.012 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/10.78, allocations: 4 kB / 3.331 GB, free: 1.008 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3408/11.12, allocations: 1.032 MB / 3.332 GB, free: 65.08 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002628/11.13, allocations: 1.481 MB / 3.333 GB, free: 64.71 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.087e-06/11.13, allocations: 7.125 kB / 3.333 GB, free: 64.71 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004584/11.13, allocations: 57.44 kB / 3.333 GB, free: 64.71 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004873/11.13, allocations: 71.38 kB / 3.333 GB, free: 64.71 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.869e-05/11.13, allocations: 9 kB / 3.333 GB, free: 64.71 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004188/11.13, allocations: 0.5928 MB / 3.334 GB, free: 64.19 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/11.13, allocations: 1.688 kB / 3.334 GB, free: 64.19 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001677/11.13, allocations: 0.8106 MB / 3.335 GB, free: 64.04 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002586/11.13, allocations: 140 kB / 3.335 GB, free: 63.95 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.636e-05/11.13, allocations: 7.5 kB / 3.335 GB, free: 63.95 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007114/11.13, allocations: 41.89 kB / 3.335 GB, free: 63.95 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.506e-05/11.13, allocations: 22.27 kB / 3.335 GB, free: 63.95 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.042e-05/11.13, allocations: 16.31 kB / 3.335 GB, free: 63.95 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004413/11.13, allocations: 233.4 kB / 3.335 GB, free: 63.87 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.11e-07/11.13, allocations: 0 / 3.335 GB, free: 63.87 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005658/11.14, allocations: 0.8907 MB / 3.336 GB, free: 63.87 MB / 426.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: 4 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 29 * 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 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01149/11.15, allocations: 2.591 MB / 3.338 GB, free: 63.14 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001594/11.15, allocations: 470.5 kB / 3.339 GB, free: 63.04 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/11.15, allocations: 3.844 kB / 3.339 GB, free: 63.04 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006132/11.15, allocations: 245.8 kB / 3.339 GB, free: 63.04 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001917/11.15, allocations: 176.1 kB / 3.339 GB, free: 63.04 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005372/11.16, allocations: 1.091 MB / 3.34 GB, free: 62.82 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004222/11.16, allocations: 0.8314 MB / 3.341 GB, free: 62.12 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0008048/11.16, allocations: 181.5 kB / 3.341 GB, free: 62.12 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002615/11.16, allocations: 143.8 kB / 3.341 GB, free: 62.12 MB / 426.7 MB Notification: Performance of SimCode: time 1.483e-06/11.16, allocations: 2.469 kB / 3.341 GB, free: 62.12 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1056/11.26, allocations: 37.59 MB / 3.378 GB, free: 61.29 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002214/11.26, allocations: 202.8 kB / 3.378 GB, free: 61.06 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.423/15.69, allocations: 2.25 kB / 3.378 GB, free: 61.06 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.WaterIF97OnePhase_ph_res.mat does not exist to compare? outputFormat=mat