Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.485/2.485, allocations: 249.5 MB / 261.6 MB, free: 2.16 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.427e-05/3.435e-05, allocations: 0 / 323.5 MB, free: 4.211 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4063/0.4064, allocations: 58.84 MB / 382.3 MB, free: 10.22 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.902/9.308, allocations: 2.794 GB / 3.167 GB, free: 128.5 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000338/9.308, allocations: 90.56 kB / 3.167 GB, free: 128.4 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.582/11.89, allocations: 0.4911 GB / 3.658 GB, free: 45.68 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.445e-06/11.89, allocations: 0 / 3.658 GB, free: 45.68 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.945e-05/11.89, allocations: 20.12 kB / 3.658 GB, free: 45.66 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.008096/11.9, allocations: 1.7 MB / 3.66 GB, free: 43.95 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.013e-05/11.9, allocations: 12.03 kB / 3.66 GB, free: 43.94 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003682/11.9, allocations: 113.5 kB / 3.66 GB, free: 43.82 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00265/11.9, allocations: 234.3 kB / 3.66 GB, free: 43.59 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002109/11.9, allocations: 0.5727 MB / 3.661 GB, free: 43 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001516/11.9, allocations: 108.7 kB / 3.661 GB, free: 42.88 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001594/11.9, allocations: 62.97 kB / 3.661 GB, free: 42.82 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002835/11.91, allocations: 1.086 MB / 3.662 GB, free: 41.63 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.036e-05/11.91, allocations: 4 kB / 3.662 GB, free: 41.63 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001277/11.91, allocations: 28 kB / 3.662 GB, free: 41.6 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.81e-05/11.91, allocations: 44.7 kB / 3.662 GB, free: 41.56 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002393/11.91, allocations: 0.802 MB / 3.663 GB, free: 40.76 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.007938/11.92, allocations: 5.55 MB / 3.668 GB, free: 34.91 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001637/11.92, allocations: 0.5458 MB / 3.669 GB, free: 34.34 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004398/11.92, allocations: 205.8 kB / 3.669 GB, free: 34.14 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6062/12.53, allocations: 47.35 MB / 3.715 GB, free: 75.28 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.055e-05/12.53, allocations: 41.56 kB / 3.715 GB, free: 75.24 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=39): time 3.546e-06/12.53, allocations: 0 / 3.715 GB, free: 75.24 MB / 0.5261 GB Notification: Performance of matching and sorting (n=44): time 0.009618/12.54, allocations: 2.017 MB / 3.717 GB, free: 74.77 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.842e-05/12.54, allocations: 187.7 kB / 3.718 GB, free: 74.55 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001218/12.54, allocations: 0.5535 MB / 3.718 GB, free: 74.42 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.00013/12.54, allocations: 35.39 kB / 3.718 GB, free: 74.39 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003876/12.54, allocations: 401.1 kB / 3.719 GB, free: 74.21 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002171/12.54, allocations: 159.5 kB / 3.719 GB, free: 74.13 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.746e-05/12.54, allocations: 15.53 kB / 3.719 GB, free: 74.13 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000155/12.54, allocations: 381.5 kB / 3.719 GB, free: 73.82 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006207/12.54, allocations: 218.8 kB / 3.719 GB, free: 73.82 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008588/12.54, allocations: 0.5717 MB / 3.72 GB, free: 73.38 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008215/12.54, allocations: 340 kB / 3.72 GB, free: 73.37 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.043e-05/12.54, allocations: 2.719 kB / 3.72 GB, free: 73.37 MB / 0.5261 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002359/12.54, allocations: 0.8479 MB / 3.721 GB, free: 73.29 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.766e-05/12.54, allocations: 10.91 kB / 3.721 GB, free: 73.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.339e-05/12.54, allocations: 11.12 kB / 3.721 GB, free: 73.29 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00698/12.55, allocations: 273 kB / 3.721 GB, free: 73.28 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002576/12.55, allocations: 280.3 kB / 3.722 GB, free: 73.28 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00206/12.55, allocations: 2.012 MB / 3.724 GB, free: 71.44 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001392/12.56, allocations: 68.38 kB / 3.724 GB, free: 71.43 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001286/12.56, allocations: 45.8 kB / 3.724 GB, free: 71.43 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 10 (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,ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 92 * 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 {2 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003015/12.56, allocations: 170.1 kB / 3.724 GB, free: 71.33 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002373/12.56, allocations: 69.25 kB / 3.724 GB, free: 71.29 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003199/12.56, allocations: 2.006 MB / 3.726 GB, free: 71.07 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.932e-05/12.56, allocations: 29.73 kB / 3.726 GB, free: 71.07 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/12.56, allocations: 0.6562 kB / 3.726 GB, free: 71.07 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.452e-05/12.56, allocations: 6.297 kB / 3.726 GB, free: 71.07 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006709/12.57, allocations: 2.989 MB / 3.729 GB, free: 70.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.456e-05/12.57, allocations: 0 / 3.729 GB, free: 70.64 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002359/12.57, allocations: 188 kB / 3.729 GB, free: 70.64 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01125/12.58, allocations: 292.1 kB / 3.729 GB, free: 70.63 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001621/12.58, allocations: 19.39 kB / 3.729 GB, free: 70.62 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002573/12.58, allocations: 2.067 MB / 3.731 GB, free: 68.79 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/12.58, allocations: 3.688 kB / 3.731 GB, free: 68.79 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01804/12.6, allocations: 1.948 MB / 3.733 GB, free: 68.37 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009233/12.6, allocations: 288 kB / 3.733 GB, free: 68.22 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002503/12.6, allocations: 9.5 kB / 3.733 GB, free: 68.22 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001352/12.6, allocations: 38.47 kB / 3.734 GB, free: 68.21 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001445/12.6, allocations: 37.09 kB / 3.734 GB, free: 68.21 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.187e-05/12.6, allocations: 21.53 kB / 3.734 GB, free: 68.21 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.01068/12.62, allocations: 0.5522 MB / 3.734 GB, free: 68.12 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9.92e-07/12.62, allocations: 0 / 3.734 GB, free: 68.12 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.02551/12.64, allocations: 1.143 MB / 3.735 GB, free: 68.12 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 12 ($cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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 {2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01424/12.66, allocations: 4.095 MB / 3.739 GB, free: 67 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003042/12.66, allocations: 0.8781 MB / 3.74 GB, free: 66.99 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.636e-06/12.66, allocations: 0 / 3.74 GB, free: 66.99 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001865/12.66, allocations: 0.6187 MB / 3.741 GB, free: 66.99 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003533/12.66, allocations: 380.6 kB / 3.741 GB, free: 66.99 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008506/12.67, allocations: 2.155 MB / 3.743 GB, free: 66.54 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007236/12.67, allocations: 1.123 MB / 3.744 GB, free: 65.83 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001429/12.67, allocations: 354.2 kB / 3.745 GB, free: 65.82 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006025/12.68, allocations: 379.9 kB / 3.745 GB, free: 65.81 MB / 0.5261 GB Notification: Performance of SimCode: time 1.432e-06/12.68, allocations: 0 / 3.745 GB, free: 65.81 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1294/12.8, allocations: 53.3 MB / 3.797 GB, free: 64.07 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001906/12.81, allocations: 244.3 kB / 3.797 GB, free: 63.73 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.941/17.75, allocations: 0 / 3.797 GB, free: 63.73 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT_res.mat does not exist to compare? outputFormat=mat