Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.457/2.457, allocations: 270 MB / 283.6 MB, free: 3.117 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.122e-05/4.156e-05, allocations: 4 kB / 348.5 MB, free: 10.7 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1343, allocations: 61.88 MB / 410.4 MB, free: 12.88 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.126/9.26, allocations: 2.799 GB / 3.2 GB, free: 49.66 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003043/9.26, allocations: 89.2 kB / 3.2 GB, free: 49.61 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.01/12.27, allocations: 0.4958 GB / 3.695 GB, free: 53.56 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.565e-06/12.27, allocations: 0 / 3.695 GB, free: 53.56 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001115/12.27, allocations: 18.84 kB / 3.695 GB, free: 53.56 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.009662/12.28, allocations: 1.71 MB / 3.697 GB, free: 52.89 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.433e-05/12.28, allocations: 11.34 kB / 3.697 GB, free: 52.89 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003365/12.28, allocations: 111 kB / 3.697 GB, free: 52.86 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002471/12.28, allocations: 224.2 kB / 3.697 GB, free: 52.82 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001937/12.29, allocations: 0.5842 MB / 3.698 GB, free: 52.58 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001491/12.29, allocations: 115.7 kB / 3.698 GB, free: 52.51 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001884/12.29, allocations: 58.73 kB / 3.698 GB, free: 52.51 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002853/12.29, allocations: 1.074 MB / 3.699 GB, free: 52.19 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.652e-05/12.29, allocations: 2.438 kB / 3.699 GB, free: 52.19 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001327/12.29, allocations: 36.23 kB / 3.699 GB, free: 52.19 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.938e-05/12.29, allocations: 39.72 kB / 3.699 GB, free: 52.19 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002501/12.29, allocations: 0.8038 MB / 3.7 GB, free: 52.19 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.008631/12.3, allocations: 5.541 MB / 3.706 GB, free: 48.33 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00168/12.3, allocations: 0.5518 MB / 3.706 GB, free: 48.26 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004598/12.3, allocations: 202.8 kB / 3.706 GB, free: 48.23 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2023/12.5, allocations: 47.37 MB / 3.753 GB, free: 35.38 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.82e-05/12.5, allocations: 39.56 kB / 3.753 GB, free: 35.34 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=39): time 5.45e-06/12.5, allocations: 0 / 3.753 GB, free: 35.34 MB / 0.5417 GB Notification: Performance of matching and sorting (n=44): time 0.009742/12.51, allocations: 2.004 MB / 3.754 GB, free: 34.78 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001444/12.51, allocations: 190.8 kB / 3.755 GB, free: 34.56 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0011/12.52, allocations: 0.5465 MB / 3.755 GB, free: 34.43 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0001177/12.52, allocations: 37.36 kB / 3.755 GB, free: 34.39 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003345/12.52, allocations: 407.7 kB / 3.756 GB, free: 34.18 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001768/12.52, allocations: 156.9 kB / 3.756 GB, free: 34.09 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.347e-05/12.52, allocations: 17.97 kB / 3.756 GB, free: 34.09 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0002122/12.52, allocations: 384.3 kB / 3.756 GB, free: 33.77 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000559/12.52, allocations: 221.9 kB / 3.756 GB, free: 33.76 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007646/12.52, allocations: 0.5637 MB / 3.757 GB, free: 33.31 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000713/12.52, allocations: 349.9 kB / 3.757 GB, free: 33.28 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.069e-05/12.52, allocations: 7.562 kB / 3.757 GB, free: 33.28 MB / 0.5417 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002083/12.52, allocations: 0.8389 MB / 3.758 GB, free: 33.19 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.838e-05/12.52, allocations: 11.69 kB / 3.758 GB, free: 33.19 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.836e-05/12.52, allocations: 15.84 kB / 3.758 GB, free: 33.19 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00684/12.53, allocations: 270.9 kB / 3.758 GB, free: 33.18 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002399/12.53, allocations: 281.9 kB / 3.759 GB, free: 33.18 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002343/12.53, allocations: 2.02 MB / 3.761 GB, free: 31.33 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001253/12.53, allocations: 63.52 kB / 3.761 GB, free: 31.32 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001005/12.53, allocations: 44.44 kB / 3.761 GB, free: 31.32 MB / 0.5417 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.0002945/12.53, allocations: 164.5 kB / 3.761 GB, free: 31.21 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002046/12.53, allocations: 70.25 kB / 3.761 GB, free: 31.18 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003188/12.54, allocations: 2.014 MB / 3.763 GB, free: 30.92 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.365e-05/12.54, allocations: 22.84 kB / 3.763 GB, free: 30.91 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/12.54, allocations: 3.844 kB / 3.763 GB, free: 30.91 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/12.54, allocations: 3.75 kB / 3.763 GB, free: 30.91 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004824/12.54, allocations: 2.987 MB / 3.766 GB, free: 30.45 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.047e-05/12.54, allocations: 3.953 kB / 3.766 GB, free: 30.45 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001781/12.54, allocations: 185.8 kB / 3.766 GB, free: 30.45 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003075/12.55, allocations: 293.2 kB / 3.766 GB, free: 30.44 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.76e-05/12.55, allocations: 17.38 kB / 3.766 GB, free: 30.44 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002168/12.55, allocations: 2.067 MB / 3.768 GB, free: 28.59 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/12.55, allocations: 192 / 3.768 GB, free: 28.59 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002904/12.55, allocations: 1.945 MB / 3.77 GB, free: 28.16 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006488/12.55, allocations: 291.5 kB / 3.771 GB, free: 27.99 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001662/12.55, allocations: 11.22 kB / 3.771 GB, free: 27.99 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008676/12.55, allocations: 39.77 kB / 3.771 GB, free: 27.98 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001021/12.55, allocations: 32.7 kB / 3.771 GB, free: 27.98 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.374e-05/12.56, allocations: 23.61 kB / 3.771 GB, free: 27.98 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001084/12.56, allocations: 0.5575 MB / 3.771 GB, free: 27.88 MB / 0.5417 GB Notification: Performance of sort global known variables: time 5.71e-07/12.56, allocations: 0 / 3.771 GB, free: 27.88 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.005888/12.56, allocations: 1.136 MB / 3.772 GB, free: 27.73 MB / 0.5417 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.01438/12.58, allocations: 4.102 MB / 3.776 GB, free: 26.39 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.003935/12.58, allocations: 0.8816 MB / 3.777 GB, free: 26.37 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/12.58, allocations: 4.125 kB / 3.777 GB, free: 26.37 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.002732/12.58, allocations: 0.6138 MB / 3.778 GB, free: 26.36 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004605/12.59, allocations: 380.6 kB / 3.778 GB, free: 26.34 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00945/12.6, allocations: 2.159 MB / 3.78 GB, free: 25.71 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001173/12.6, allocations: 1.116 MB / 3.781 GB, free: 24.99 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001844/12.6, allocations: 353.4 kB / 3.782 GB, free: 24.96 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007981/12.6, allocations: 376.8 kB / 3.782 GB, free: 24.95 MB / 0.5417 GB Notification: Performance of SimCode: time 1.352e-06/12.6, allocations: 0 / 3.782 GB, free: 24.95 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1451/12.75, allocations: 53.33 MB / 3.834 GB, free: 16.49 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003858/12.75, allocations: 248.7 kB / 3.834 GB, free: 16.16 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.336/18.08, allocations: 0 / 3.834 GB, free: 16.16 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT_res.mat does not exist to compare? outputFormat=mat