Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.045/2.045, allocations: 209.3 MB / 221.5 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.02e-05/4.031e-05, allocations: 0 / 273.2 MB, free: 144 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1054, allocations: 48.7 MB / 321.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.753/7.859, allocations: 2.514 GB / 2.829 GB, free: 45.37 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003106/7.859, allocations: 90.14 kB / 2.829 GB, free: 45.32 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.586/10.45, allocations: 487.7 MB / 3.305 GB, free: 39.56 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.873e-06/10.45, allocations: 0 / 3.305 GB, free: 39.56 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.361e-05/10.45, allocations: 23 kB / 3.305 GB, free: 39.55 MB / 442.7 MB 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.007693/10.45, allocations: 1.665 MB / 3.307 GB, free: 38.65 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/10.45, allocations: 11.19 kB / 3.307 GB, free: 38.65 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000188/10.45, allocations: 106 kB / 3.307 GB, free: 38.57 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002131/10.46, allocations: 218.5 kB / 3.307 GB, free: 38.52 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00161/10.46, allocations: 0.5881 MB / 3.308 GB, free: 38.14 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001245/10.46, allocations: 108.1 kB / 3.308 GB, free: 38.06 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001331/10.46, allocations: 62.12 kB / 3.308 GB, free: 38.04 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00254/10.46, allocations: 1.069 MB / 3.309 GB, free: 37.45 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.138e-05/10.46, allocations: 4.625 kB / 3.309 GB, free: 37.45 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001205/10.46, allocations: 38.3 kB / 3.309 GB, free: 37.43 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.334e-05/10.46, allocations: 45.98 kB / 3.309 GB, free: 37.42 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002313/10.46, allocations: 0.8002 MB / 3.31 GB, free: 37.16 MB / 442.7 MB 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.008396/10.47, allocations: 5.524 MB / 3.315 GB, free: 32.63 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001586/10.47, allocations: 0.5304 MB / 3.316 GB, free: 32.4 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004267/10.47, allocations: 208.8 kB / 3.316 GB, free: 32.3 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2051/10.68, allocations: 53.41 MB / 3.368 GB, free: 10.73 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.781e-05/10.68, allocations: 42.56 kB / 3.368 GB, free: 10.68 MB / 458.7 MB Notification: Performance of pre-optimization done (n=39): time 4.959e-06/10.68, allocations: 0 / 3.368 GB, free: 10.68 MB / 458.7 MB Notification: Performance of matching and sorting (n=44): time 0.01173/10.69, allocations: 1.991 MB / 3.37 GB, free: 8.902 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001681/10.69, allocations: 183.9 kB / 3.37 GB, free: 8.68 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001243/10.69, allocations: 0.5483 MB / 3.371 GB, free: 8.176 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001028/10.69, allocations: 41.27 kB / 3.371 GB, free: 8.133 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004122/10.69, allocations: 402.5 kB / 3.371 GB, free: 7.766 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002047/10.69, allocations: 167.2 kB / 3.371 GB, free: 7.625 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.109e-05/10.69, allocations: 16 kB / 3.371 GB, free: 7.609 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002577/10.69, allocations: 382.2 kB / 3.372 GB, free: 7.246 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007207/10.69, allocations: 220 kB / 3.372 GB, free: 7.051 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001015/10.69, allocations: 0.5933 MB / 3.372 GB, free: 6.301 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000976/10.7, allocations: 346.2 kB / 3.373 GB, free: 6.008 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.219e-05/10.7, allocations: 4 kB / 3.373 GB, free: 6.004 MB / 458.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002743/10.7, allocations: 0.8607 MB / 3.374 GB, free: 5.215 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.826e-05/10.7, allocations: 12 kB / 3.374 GB, free: 5.203 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.129e-05/10.7, allocations: 12 kB / 3.374 GB, free: 5.191 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01073/10.71, allocations: 276.5 kB / 3.374 GB, free: 5 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003629/10.71, allocations: 291.6 kB / 3.374 GB, free: 4.766 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00327/10.72, allocations: 2.016 MB / 3.376 GB, free: 2.656 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001219/10.72, allocations: 63.44 kB / 3.376 GB, free: 2.602 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001074/10.72, allocations: 47.89 kB / 3.376 GB, free: 2.559 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * 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 (98): * Single equations (assignments): 96 * 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.0002902/10.72, allocations: 172.5 kB / 3.376 GB, free: 2.383 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002191/10.72, allocations: 75.11 kB / 3.376 GB, free: 2.309 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003775/10.72, allocations: 2.004 MB / 3.378 GB, free: 492 kB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.083e-05/10.72, allocations: 23.97 kB / 3.378 GB, free: 468 kB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/10.72, allocations: 0 / 3.378 GB, free: 468 kB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.143e-05/10.72, allocations: 3.984 kB / 3.378 GB, free: 464 kB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3311/11.05, allocations: 2.972 MB / 3.381 GB, free: 62.59 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.38e-05/11.05, allocations: 2.109 kB / 3.381 GB, free: 62.59 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0019/11.05, allocations: 183.4 kB / 3.381 GB, free: 62.59 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003181/11.06, allocations: 299.5 kB / 3.382 GB, free: 62.57 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.866e-05/11.06, allocations: 16.8 kB / 3.382 GB, free: 62.57 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0019/11.06, allocations: 2.065 MB / 3.384 GB, free: 60.76 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.753e-06/11.06, allocations: 6.938 kB / 3.384 GB, free: 60.76 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003407/11.06, allocations: 1.931 MB / 3.386 GB, free: 60.4 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007675/11.06, allocations: 288.8 kB / 3.386 GB, free: 60.3 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000201/11.06, allocations: 10.12 kB / 3.386 GB, free: 60.3 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008711/11.07, allocations: 40.98 kB / 3.386 GB, free: 60.3 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001242/11.07, allocations: 29.88 kB / 3.386 GB, free: 60.3 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.967e-05/11.07, allocations: 23.73 kB / 3.386 GB, free: 60.3 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001192/11.07, allocations: 0.542 MB / 3.387 GB, free: 60.2 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.61e-07/11.07, allocations: 0 / 3.387 GB, free: 60.2 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.008375/11.08, allocations: 1.13 MB / 3.388 GB, free: 60.2 MB / 458.7 MB 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.01698/11.09, allocations: 4.084 MB / 3.392 GB, free: 59.12 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003159/11.1, allocations: 0.8746 MB / 3.393 GB, free: 59.11 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.483e-06/11.1, allocations: 0 / 3.393 GB, free: 59.11 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002058/11.1, allocations: 0.6209 MB / 3.393 GB, free: 59.11 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00332/11.1, allocations: 354 kB / 3.393 GB, free: 59.11 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008619/11.11, allocations: 2.158 MB / 3.396 GB, free: 58.71 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009712/11.11, allocations: 1.117 MB / 3.397 GB, free: 58.01 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001673/11.11, allocations: 347 kB / 3.397 GB, free: 57.99 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006579/11.11, allocations: 379.2 kB / 3.397 GB, free: 57.98 MB / 458.7 MB Notification: Performance of SimCode: time 1.222e-06/11.11, allocations: 0 / 3.397 GB, free: 57.98 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1429/11.26, allocations: 52.69 MB / 3.449 GB, free: 56.21 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002942/11.26, allocations: 248 kB / 3.449 GB, free: 55.87 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.673/15.93, allocations: 0 / 3.449 GB, free: 55.87 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT_res.mat does not exist to compare? outputFormat=mat