Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.667/2.667, allocations: 270 MB / 283.6 MB, free: 3.125 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.798e-05/3.812e-05, allocations: 4 kB / 348.5 MB, free: 10.74 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.137, allocations: 61.88 MB / 410.4 MB, free: 12.92 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.067/9.204, allocations: 2.799 GB / 3.2 GB, free: 65.09 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003209/9.205, allocations: 92.39 kB / 3.2 GB, free: 65.04 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.109/12.31, allocations: 0.4958 GB / 3.695 GB, free: 54.2 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.795e-06/12.31, allocations: 1.156 kB / 3.695 GB, free: 54.2 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.394e-05/12.31, allocations: 18.22 kB / 3.695 GB, free: 54.2 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.008132/12.32, allocations: 1.706 MB / 3.697 GB, free: 53.55 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.244e-05/12.32, allocations: 9.25 kB / 3.697 GB, free: 53.55 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003125/12.32, allocations: 109.3 kB / 3.697 GB, free: 53.51 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002417/12.33, allocations: 231.5 kB / 3.697 GB, free: 53.47 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002027/12.33, allocations: 0.5815 MB / 3.698 GB, free: 53.23 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001499/12.33, allocations: 108.2 kB / 3.698 GB, free: 53.17 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001857/12.33, allocations: 59.47 kB / 3.698 GB, free: 53.17 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003143/12.33, allocations: 1.077 MB / 3.699 GB, free: 52.85 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.914e-05/12.33, allocations: 5.344 kB / 3.699 GB, free: 52.85 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001423/12.33, allocations: 30.62 kB / 3.699 GB, free: 52.85 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001016/12.33, allocations: 45.73 kB / 3.699 GB, free: 52.85 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002784/12.33, allocations: 0.7997 MB / 3.7 GB, free: 52.84 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.009101/12.34, allocations: 5.549 MB / 3.705 GB, free: 49 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001777/12.34, allocations: 0.5566 MB / 3.706 GB, free: 48.93 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004774/12.35, allocations: 205.3 kB / 3.706 GB, free: 48.91 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1833/12.53, allocations: 47.36 MB / 3.752 GB, free: 36.18 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.537e-05/12.53, allocations: 42.19 kB / 3.753 GB, free: 36.14 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=39): time 4.489e-06/12.53, allocations: 0 / 3.753 GB, free: 36.14 MB / 0.5417 GB Notification: Performance of matching and sorting (n=44): time 0.008803/12.54, allocations: 2.009 MB / 3.754 GB, free: 35.59 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001208/12.54, allocations: 191 kB / 3.755 GB, free: 35.37 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001025/12.54, allocations: 0.5513 MB / 3.755 GB, free: 35.23 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0001228/12.54, allocations: 35.14 kB / 3.755 GB, free: 35.2 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003151/12.54, allocations: 400.6 kB / 3.756 GB, free: 34.98 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001908/12.54, allocations: 164.2 kB / 3.756 GB, free: 34.89 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.394e-05/12.54, allocations: 13.84 kB / 3.756 GB, free: 34.89 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001957/12.54, allocations: 381.6 kB / 3.756 GB, free: 34.57 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005588/12.54, allocations: 224.8 kB / 3.756 GB, free: 34.57 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007681/12.54, allocations: 0.5739 MB / 3.757 GB, free: 34.11 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007447/12.54, allocations: 342.7 kB / 3.757 GB, free: 34.09 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.307e-06/12.54, allocations: 3.469 kB / 3.757 GB, free: 34.09 MB / 0.5417 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002177/12.54, allocations: 0.839 MB / 3.758 GB, free: 34 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.038e-05/12.54, allocations: 10.38 kB / 3.758 GB, free: 34 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.95e-05/12.54, allocations: 9.312 kB / 3.758 GB, free: 34 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006825/12.55, allocations: 273.6 kB / 3.758 GB, free: 33.99 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002388/12.55, allocations: 280.7 kB / 3.759 GB, free: 33.99 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002358/12.56, allocations: 2.02 MB / 3.761 GB, free: 32.14 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001304/12.56, allocations: 62.7 kB / 3.761 GB, free: 32.13 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.038e-05/12.56, allocations: 42.28 kB / 3.761 GB, free: 32.13 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.0002771/12.56, allocations: 163.8 kB / 3.761 GB, free: 32.02 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001905/12.56, allocations: 73.86 kB / 3.761 GB, free: 31.98 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003206/12.56, allocations: 2.005 MB / 3.763 GB, free: 31.72 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.438e-05/12.56, allocations: 26.16 kB / 3.763 GB, free: 31.72 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.533e-06/12.56, allocations: 7.922 kB / 3.763 GB, free: 31.71 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.291e-05/12.56, allocations: 3.609 kB / 3.763 GB, free: 31.71 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004999/12.57, allocations: 2.985 MB / 3.766 GB, free: 31.26 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.149e-05/12.57, allocations: 3.812 kB / 3.766 GB, free: 31.26 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001816/12.57, allocations: 187.5 kB / 3.766 GB, free: 31.26 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003163/12.57, allocations: 297.5 kB / 3.766 GB, free: 31.24 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001192/12.57, allocations: 15.44 kB / 3.766 GB, free: 31.24 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002287/12.57, allocations: 2.078 MB / 3.768 GB, free: 29.39 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/12.57, allocations: 0 / 3.768 GB, free: 29.39 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003064/12.58, allocations: 1.948 MB / 3.77 GB, free: 28.96 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007655/12.58, allocations: 288.6 kB / 3.771 GB, free: 28.79 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001735/12.58, allocations: 10.16 kB / 3.771 GB, free: 28.79 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009608/12.58, allocations: 37.19 kB / 3.771 GB, free: 28.78 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000115/12.58, allocations: 35.92 kB / 3.771 GB, free: 28.78 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.654e-05/12.58, allocations: 20.19 kB / 3.771 GB, free: 28.78 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001082/12.58, allocations: 0.5543 MB / 3.771 GB, free: 28.68 MB / 0.5417 GB Notification: Performance of sort global known variables: time 5.21e-07/12.58, allocations: 2.812 kB / 3.771 GB, free: 28.68 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.006329/12.59, allocations: 1.14 MB / 3.772 GB, free: 28.54 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.01411/12.6, allocations: 4.109 MB / 3.776 GB, free: 27.17 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.003005/12.6, allocations: 0.8783 MB / 3.777 GB, free: 27.15 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.975e-06/12.6, allocations: 0 / 3.777 GB, free: 27.15 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001867/12.61, allocations: 0.6229 MB / 3.778 GB, free: 27.14 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003644/12.61, allocations: 377.4 kB / 3.778 GB, free: 27.12 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008335/12.62, allocations: 2.16 MB / 3.78 GB, free: 26.49 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008397/12.62, allocations: 1.117 MB / 3.781 GB, free: 25.78 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001447/12.62, allocations: 342.4 kB / 3.782 GB, free: 25.75 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006443/12.62, allocations: 377.7 kB / 3.782 GB, free: 25.74 MB / 0.5417 GB Notification: Performance of SimCode: time 1.353e-06/12.62, allocations: 4 kB / 3.782 GB, free: 25.74 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1625/12.78, allocations: 53.33 MB / 3.834 GB, free: 22.97 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003836/12.78, allocations: 240.7 kB / 3.834 GB, free: 22.64 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.496/18.28, allocations: 0 / 3.834 GB, free: 22.64 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_pT_res.mat does not exist to compare? outputFormat=mat