Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97OnePhase_ph",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.557/2.557, allocations: 249.5 MB / 261.6 MB, free: 2.172 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.458e-05/3.468e-05, allocations: 0 / 323.5 MB, free: 4.211 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4276/0.4276, allocations: 58.83 MB / 382.3 MB, free: 10.33 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.741/9.169, allocations: 2.796 GB / 3.169 GB, free: 128.8 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003387/9.169, allocations: 90.31 kB / 3.169 GB, free: 128.8 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.586/11.76, allocations: 0.4934 GB / 3.662 GB, free: 43.79 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.582e-06/11.76, allocations: 0 / 3.662 GB, free: 43.79 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.313e-05/11.76, allocations: 25.94 kB / 3.662 GB, free: 43.77 MB / 0.5105 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.007829/11.76, allocations: 1.716 MB / 3.664 GB, free: 42.03 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.557e-05/11.76, allocations: 11.97 kB / 3.664 GB, free: 42.02 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002771/11.76, allocations: 112.9 kB / 3.664 GB, free: 41.9 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003345/11.77, allocations: 331.8 kB / 3.664 GB, free: 41.58 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001798/11.77, allocations: 0.5939 MB / 3.665 GB, free: 40.96 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001318/11.77, allocations: 111.4 kB / 3.665 GB, free: 40.84 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001511/11.77, allocations: 63.28 kB / 3.665 GB, free: 40.79 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003507/11.77, allocations: 1.181 MB / 3.666 GB, free: 39.51 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.349e-05/11.77, allocations: 11.94 kB / 3.666 GB, free: 39.5 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001488/11.77, allocations: 26.81 kB / 3.666 GB, free: 39.47 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.219e-05/11.77, allocations: 49.28 kB / 3.666 GB, free: 39.42 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002443/11.78, allocations: 0.8338 MB / 3.667 GB, free: 38.59 MB / 0.5105 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.009289/11.78, allocations: 5.503 MB / 3.673 GB, free: 32.76 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001843/11.79, allocations: 0.5998 MB / 3.673 GB, free: 32.14 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004896/11.79, allocations: 218.3 kB / 3.673 GB, free: 31.92 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6515/12.44, allocations: 46.06 MB / 3.718 GB, free: 75.67 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.014e-05/12.44, allocations: 44.12 kB / 3.718 GB, free: 75.63 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=42): time 3.457e-06/12.44, allocations: 0 / 3.718 GB, free: 75.63 MB / 0.5261 GB Notification: Performance of matching and sorting (n=46): time 0.007611/12.45, allocations: 1.837 MB / 3.72 GB, free: 75.23 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.044e-05/12.45, allocations: 164.2 kB / 3.72 GB, free: 75.04 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001089/12.45, allocations: 0.5326 MB / 3.721 GB, free: 74.91 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001203/12.45, allocations: 36.89 kB / 3.721 GB, free: 74.88 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003242/12.45, allocations: 391.1 kB / 3.721 GB, free: 74.7 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002112/12.45, allocations: 176.1 kB / 3.722 GB, free: 74.62 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.473e-05/12.45, allocations: 16.38 kB / 3.722 GB, free: 74.62 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.00014/12.45, allocations: 378.9 kB / 3.722 GB, free: 74.3 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005941/12.45, allocations: 218.4 kB / 3.722 GB, free: 74.3 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007676/12.45, allocations: 0.5459 MB / 3.723 GB, free: 73.89 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007466/12.45, allocations: 328.9 kB / 3.723 GB, free: 73.88 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.448e-06/12.45, allocations: 3.5 kB / 3.723 GB, free: 73.88 MB / 0.5261 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002153/12.45, allocations: 0.8245 MB / 3.724 GB, free: 73.8 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.157e-05/12.45, allocations: 11.66 kB / 3.724 GB, free: 73.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.878e-05/12.45, allocations: 10.5 kB / 3.724 GB, free: 73.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003999/12.45, allocations: 60.28 kB / 3.724 GB, free: 73.79 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002364/12.46, allocations: 284.1 kB / 3.724 GB, free: 73.79 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001783/12.46, allocations: 1.969 MB / 3.726 GB, free: 71.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001287/12.46, allocations: 59.64 kB / 3.726 GB, free: 71.95 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.457e-05/12.46, allocations: 48.89 kB / 3.726 GB, free: 71.95 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 10 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.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.0002892/12.46, allocations: 169.4 kB / 3.726 GB, free: 71.84 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001858/12.46, allocations: 73.56 kB / 3.726 GB, free: 71.81 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003325/12.46, allocations: 2.208 MB / 3.729 GB, free: 71.56 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.002e-05/12.46, allocations: 39.14 kB / 3.729 GB, free: 71.56 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/12.46, allocations: 0 / 3.729 GB, free: 71.56 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.247e-05/12.46, allocations: 3.844 kB / 3.729 GB, free: 71.56 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00538/12.47, allocations: 3.273 MB / 3.732 GB, free: 71.11 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.748e-06/12.47, allocations: 0 / 3.732 GB, free: 71.11 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001837/12.47, allocations: 195.4 kB / 3.732 GB, free: 71.11 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005039/12.47, allocations: 85.69 kB / 3.732 GB, free: 71.1 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.157e-05/12.47, allocations: 12.69 kB / 3.732 GB, free: 71.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00161/12.47, allocations: 1.992 MB / 3.734 GB, free: 69.26 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/12.47, allocations: 3.969 kB / 3.734 GB, free: 69.26 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003097/12.48, allocations: 1.976 MB / 3.736 GB, free: 68.9 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007038/12.48, allocations: 285.8 kB / 3.736 GB, free: 68.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001719/12.48, allocations: 13.34 kB / 3.736 GB, free: 68.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001096/12.48, allocations: 60.91 kB / 3.736 GB, free: 68.75 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/12.48, allocations: 29.92 kB / 3.736 GB, free: 68.75 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.832e-05/12.48, allocations: 26.03 kB / 3.736 GB, free: 68.75 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0009433/12.48, allocations: 0.4946 MB / 3.737 GB, free: 68.65 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.71e-07/12.48, allocations: 0 / 3.737 GB, free: 68.65 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005926/12.48, allocations: 1.131 MB / 3.738 GB, free: 68.65 MB / 0.5261 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: 16 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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.01311/12.5, allocations: 4.062 MB / 3.742 GB, free: 67.68 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00299/12.5, allocations: 0.9022 MB / 3.743 GB, free: 67.66 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.185e-06/12.5, allocations: 3.109 kB / 3.743 GB, free: 67.66 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001862/12.5, allocations: 0.6574 MB / 3.743 GB, free: 67.66 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003306/12.51, allocations: 361 kB / 3.744 GB, free: 67.66 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008195/12.51, allocations: 2.255 MB / 3.746 GB, free: 67.21 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006814/12.52, allocations: 1.134 MB / 3.747 GB, free: 66.51 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001602/12.52, allocations: 452.2 kB / 3.747 GB, free: 66.5 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006594/12.52, allocations: 398.4 kB / 3.748 GB, free: 66.49 MB / 0.5261 GB Notification: Performance of SimCode: time 1.493e-06/12.52, allocations: 0 / 3.748 GB, free: 66.49 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1371/12.65, allocations: 53.67 MB / 3.8 GB, free: 64.64 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002378/12.65, allocations: 260.3 kB / 3.801 GB, free: 64.3 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.974/17.63, allocations: 0 / 3.801 GB, free: 64.3 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph_res.mat does not exist to compare? outputFormat=mat