Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.317/2.317, allocations: 235 MB / 247.2 MB, free: 14.39 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.786e-05/3.798e-05, allocations: 6.188 kB / 305 MB, free: 5.066 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.44/0.4401, allocations: 54.85 MB / 359.9 MB, free: 3.184 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.615/8.056, allocations: 2.625 GB / 2.976 GB, free: 119.9 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003105/8.056, allocations: 93.61 kB / 2.977 GB, free: 119.9 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.386/10.44, allocations: 0.4883 GB / 3.465 GB, free: 27.47 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.418e-06/10.44, allocations: 0 / 3.465 GB, free: 27.47 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.431e-05/10.44, allocations: 21.8 kB / 3.465 GB, free: 27.45 MB / 490.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.007765/10.45, allocations: 1.698 MB / 3.467 GB, free: 25.72 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/10.45, allocations: 8.031 kB / 3.467 GB, free: 25.71 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000308/10.45, allocations: 114.4 kB / 3.467 GB, free: 25.6 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002313/10.45, allocations: 228.2 kB / 3.467 GB, free: 25.38 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001838/10.45, allocations: 0.5879 MB / 3.468 GB, free: 24.75 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001355/10.45, allocations: 116.6 kB / 3.468 GB, free: 24.63 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001516/10.46, allocations: 63.91 kB / 3.468 GB, free: 24.57 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002752/10.46, allocations: 1.077 MB / 3.469 GB, free: 23.38 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.256e-05/10.46, allocations: 7.609 kB / 3.469 GB, free: 23.38 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001271/10.46, allocations: 32 kB / 3.469 GB, free: 23.35 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.685e-05/10.46, allocations: 48.91 kB / 3.469 GB, free: 23.3 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002398/10.46, allocations: 0.8156 MB / 3.47 GB, free: 22.48 MB / 490.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.008292/10.47, allocations: 5.519 MB / 3.475 GB, free: 16.64 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001635/10.47, allocations: 0.535 MB / 3.476 GB, free: 16.08 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004378/10.47, allocations: 205.3 kB / 3.476 GB, free: 15.87 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5625/11.03, allocations: 53.54 MB / 3.528 GB, free: 48.79 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.372e-05/11.03, allocations: 38.78 kB / 3.528 GB, free: 48.75 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=39): time 5.361e-06/11.03, allocations: 0 / 3.528 GB, free: 48.75 MB / 0.4948 GB Notification: Performance of matching and sorting (n=44): time 0.0124/11.05, allocations: 1.987 MB / 3.53 GB, free: 48.28 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.693e-05/11.05, allocations: 187.1 kB / 3.53 GB, free: 48.06 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001522/11.05, allocations: 0.5461 MB / 3.531 GB, free: 47.93 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001641/11.05, allocations: 36.59 kB / 3.531 GB, free: 47.9 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004652/11.05, allocations: 416.3 kB / 3.531 GB, free: 47.71 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002841/11.05, allocations: 166.5 kB / 3.531 GB, free: 47.63 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.565e-05/11.05, allocations: 13.25 kB / 3.531 GB, free: 47.63 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001948/11.05, allocations: 376.7 kB / 3.532 GB, free: 47.32 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009034/11.05, allocations: 219.7 kB / 3.532 GB, free: 47.32 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001135/11.05, allocations: 0.604 MB / 3.532 GB, free: 46.84 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001127/11.05, allocations: 340.1 kB / 3.533 GB, free: 46.83 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.627e-05/11.05, allocations: 3.344 kB / 3.533 GB, free: 46.83 MB / 0.4948 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00334/11.06, allocations: 0.9048 MB / 3.534 GB, free: 46.75 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.819e-05/11.06, allocations: 9.562 kB / 3.534 GB, free: 46.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.291e-05/11.06, allocations: 12.59 kB / 3.534 GB, free: 46.75 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00726/11.06, allocations: 268.8 kB / 3.534 GB, free: 46.74 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002552/11.07, allocations: 297.3 kB / 3.534 GB, free: 46.74 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002035/11.07, allocations: 2.018 MB / 3.536 GB, free: 44.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001345/11.07, allocations: 63.69 kB / 3.536 GB, free: 44.91 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001585/11.07, allocations: 43.59 kB / 3.536 GB, free: 44.91 MB / 0.4948 GB 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.0002884/11.07, allocations: 175.1 kB / 3.536 GB, free: 44.8 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002292/11.07, allocations: 70.47 kB / 3.537 GB, free: 44.76 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00322/11.07, allocations: 2.008 MB / 3.538 GB, free: 44.55 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.215e-05/11.07, allocations: 26.11 kB / 3.539 GB, free: 44.55 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/11.07, allocations: 0 / 3.539 GB, free: 44.55 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.051e-05/11.07, allocations: 4.531 kB / 3.539 GB, free: 44.55 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004791/11.08, allocations: 2.975 MB / 3.541 GB, free: 44.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.069e-05/11.08, allocations: 0.5625 kB / 3.541 GB, free: 44.11 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00176/11.08, allocations: 184.4 kB / 3.542 GB, free: 44.11 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003097/11.08, allocations: 300.7 kB / 3.542 GB, free: 44.1 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001183/11.08, allocations: 18.62 kB / 3.542 GB, free: 44.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001857/11.09, allocations: 2.065 MB / 3.544 GB, free: 42.26 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/11.09, allocations: 6.516 kB / 3.544 GB, free: 42.25 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00288/11.09, allocations: 1.934 MB / 3.546 GB, free: 41.84 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006902/11.09, allocations: 295.7 kB / 3.546 GB, free: 41.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001622/11.09, allocations: 11.42 kB / 3.546 GB, free: 41.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008805/11.09, allocations: 33.95 kB / 3.546 GB, free: 41.68 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.782e-05/11.09, allocations: 30.58 kB / 3.546 GB, free: 41.68 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.297e-05/11.09, allocations: 17.75 kB / 3.546 GB, free: 41.68 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0009954/11.09, allocations: 0.5464 MB / 3.547 GB, free: 41.59 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.81e-07/11.09, allocations: 0 / 3.547 GB, free: 41.59 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005972/11.1, allocations: 1.139 MB / 3.548 GB, free: 41.59 MB / 0.4948 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.01306/11.11, allocations: 4.084 MB / 3.552 GB, free: 40.44 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002883/11.11, allocations: 0.8995 MB / 3.553 GB, free: 40.43 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.554e-06/11.11, allocations: 8.891 kB / 3.553 GB, free: 40.43 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001814/11.12, allocations: 0.6148 MB / 3.553 GB, free: 40.43 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003242/11.12, allocations: 358.5 kB / 3.554 GB, free: 40.43 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007846/11.13, allocations: 2.167 MB / 3.556 GB, free: 39.97 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006505/11.13, allocations: 1.113 MB / 3.557 GB, free: 39.27 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001408/11.13, allocations: 356.9 kB / 3.557 GB, free: 39.25 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005877/11.13, allocations: 376.1 kB / 3.558 GB, free: 39.25 MB / 0.4948 GB Notification: Performance of SimCode: time 1.372e-06/11.13, allocations: 0 / 3.558 GB, free: 39.25 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1374/11.27, allocations: 52.83 MB / 3.609 GB, free: 36.8 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002765/11.27, allocations: 249.8 kB / 3.609 GB, free: 36.46 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.725/15.99, allocations: 3.75 kB / 3.609 GB, free: 36.46 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT_res.mat does not exist to compare? outputFormat=mat