Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97_ph",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.647/2.647, allocations: 270 MB / 283.6 MB, free: 1.863 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.774e-05/3.782e-05, allocations: 7.984 kB / 348.5 MB, free: 2.645 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.402/0.4021, allocations: 61.87 MB / 410.4 MB, free: 10.62 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.154/9.556, allocations: 2.8 GB / 3.201 GB, free: 106 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003096/9.557, allocations: 93.19 kB / 3.201 GB, free: 105.9 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.76/12.32, allocations: 0.4981 GB / 3.699 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.723e-06/12.32, allocations: 0 / 3.699 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.856e-05/12.32, allocations: 17.02 kB / 3.699 GB, free: 15.52 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.008202/12.32, allocations: 1.765 MB / 3.701 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/12.32, allocations: 8.031 kB / 3.701 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003303/12.33, allocations: 106.5 kB / 3.701 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003675/12.33, allocations: 333.2 kB / 3.702 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002078/12.33, allocations: 0.5938 MB / 3.702 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001746/12.33, allocations: 127.4 kB / 3.702 GB, free: 12.53 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001973/12.33, allocations: 56 kB / 3.702 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003827/12.34, allocations: 1.199 MB / 3.703 GB, free: 11.18 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.055e-05/12.34, allocations: 7.875 kB / 3.703 GB, free: 11.17 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001494/12.34, allocations: 28 kB / 3.703 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.24e-05/12.34, allocations: 41.3 kB / 3.704 GB, free: 11.11 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003689/12.34, allocations: 0.9704 MB / 3.704 GB, free: 10.13 MB / 0.5261 GB 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.009897/12.35, allocations: 5.626 MB / 3.71 GB, free: 4.176 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00291/12.35, allocations: 0.7356 MB / 3.711 GB, free: 3.426 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006326/12.35, allocations: 241.7 kB / 3.711 GB, free: 3.184 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05596/12.41, allocations: 15.77 MB / 3.726 GB, free: 1.559 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.547e-05/12.41, allocations: 46.5 kB / 3.726 GB, free: 1.504 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=45): time 3.276e-06/12.41, allocations: 0 / 3.726 GB, free: 1.504 MB / 0.5417 GB Notification: Performance of matching and sorting (n=49): time 0.4108/12.82, allocations: 2.006 MB / 3.728 GB, free: 72.88 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.829e-05/12.82, allocations: 161.4 kB / 3.728 GB, free: 72.7 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001269/12.82, allocations: 0.5362 MB / 3.729 GB, free: 72.56 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0001197/12.82, allocations: 40.45 kB / 3.729 GB, free: 72.53 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003981/12.82, allocations: 386.8 kB / 3.729 GB, free: 72.35 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002444/12.82, allocations: 171.2 kB / 3.73 GB, free: 72.27 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.38e-05/12.82, allocations: 17.25 kB / 3.73 GB, free: 72.27 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001649/12.82, allocations: 377 kB / 3.73 GB, free: 71.96 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008145/12.82, allocations: 240.9 kB / 3.73 GB, free: 71.96 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009628/12.82, allocations: 0.5551 MB / 3.731 GB, free: 71.56 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000899/12.83, allocations: 331.3 kB / 3.731 GB, free: 71.55 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.11e-05/12.83, allocations: 3.188 kB / 3.731 GB, free: 71.55 MB / 0.5417 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002507/12.83, allocations: 0.8538 MB / 3.732 GB, free: 71.47 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.852e-05/12.83, allocations: 12.45 kB / 3.732 GB, free: 71.47 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.225e-05/12.83, allocations: 10.81 kB / 3.732 GB, free: 71.47 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004325/12.83, allocations: 70.84 kB / 3.732 GB, free: 71.46 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002701/12.83, allocations: 304.5 kB / 3.732 GB, free: 71.46 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001812/12.83, allocations: 1.982 MB / 3.734 GB, free: 69.62 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001543/12.83, allocations: 77.3 kB / 3.734 GB, free: 69.62 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001374/12.83, allocations: 46.89 kB / 3.734 GB, free: 69.62 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 10 (volume.heatTransfer.states[1].phase,fixedMassFlowRate.medium.phase,ambient.medium.phase,volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 93 * 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: 1 * 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: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003266/12.83, allocations: 159.3 kB / 3.734 GB, free: 69.52 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000251/12.84, allocations: 76.09 kB / 3.735 GB, free: 69.48 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003987/12.84, allocations: 2.567 MB / 3.737 GB, free: 69.21 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-05/12.84, allocations: 39.88 kB / 3.737 GB, free: 69.2 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/12.84, allocations: 5.594 kB / 3.737 GB, free: 69.2 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.812e-05/12.84, allocations: 4.562 kB / 3.737 GB, free: 69.2 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006514/12.85, allocations: 3.756 MB / 3.741 GB, free: 68.74 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-05/12.85, allocations: 3.516 kB / 3.741 GB, free: 68.74 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002326/12.85, allocations: 244.8 kB / 3.741 GB, free: 68.74 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000565/12.85, allocations: 78.94 kB / 3.741 GB, free: 68.73 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001091/12.85, allocations: 10.97 kB / 3.741 GB, free: 68.73 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001691/12.85, allocations: 1.995 MB / 3.743 GB, free: 66.9 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/12.85, allocations: 2.297 kB / 3.743 GB, free: 66.9 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003587/12.85, allocations: 2.237 MB / 3.745 GB, free: 66.53 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001194/12.86, allocations: 328.4 kB / 3.746 GB, free: 66.37 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004135/12.86, allocations: 11.61 kB / 3.746 GB, free: 66.37 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001353/12.86, allocations: 66.14 kB / 3.746 GB, free: 66.36 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001966/12.86, allocations: 55.83 kB / 3.746 GB, free: 66.36 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.38e-05/12.86, allocations: 25.72 kB / 3.746 GB, free: 66.36 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.00109/12.86, allocations: 0.5475 MB / 3.746 GB, free: 66.26 MB / 0.5417 GB Notification: Performance of sort global known variables: time 6.21e-07/12.86, allocations: 0 / 3.746 GB, free: 66.26 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.006543/12.87, allocations: 1.131 MB / 3.747 GB, free: 66.26 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 21 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,volume.heatTransfer.states[1].phase,fixedMassFlowRate.medium.phase,ambient.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * 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: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01413/12.88, allocations: 4.329 MB / 3.752 GB, free: 65.26 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.003339/12.88, allocations: 1.004 MB / 3.753 GB, free: 65.24 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 8.496e-06/12.88, allocations: 0 / 3.753 GB, free: 65.24 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.002155/12.89, allocations: 0.7577 MB / 3.753 GB, free: 65.23 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004785/12.89, allocations: 373.3 kB / 3.754 GB, free: 65.23 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01247/12.9, allocations: 2.455 MB / 3.756 GB, free: 64.75 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007064/12.9, allocations: 1.18 MB / 3.757 GB, free: 64.04 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001602/12.91, allocations: 443.9 kB / 3.758 GB, free: 64.03 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007825/12.91, allocations: 446.9 kB / 3.758 GB, free: 64.02 MB / 0.5417 GB Notification: Performance of SimCode: time 1.302e-06/12.91, allocations: 0 / 3.758 GB, free: 64.02 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1452/13.05, allocations: 55.49 MB / 3.812 GB, free: 62.65 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002197/13.05, allocations: 243.7 kB / 3.812 GB, free: 62.32 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.34/18.39, allocations: 0 / 3.812 GB, free: 62.32 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph_res.mat does not exist to compare? outputFormat=mat