Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.49/2.49, allocations: 235 MB / 247.6 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 6.28e-05/6.262e-05, allocations: 10.64 kB / 305 MB, free: 5.543 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.409/0.4092, allocations: 54.84 MB / 359.9 MB, free: 2.719 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.839/8.248, allocations: 2.625 GB / 2.976 GB, free: 120.6 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003101/8.248, allocations: 92.92 kB / 2.977 GB, free: 120.6 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.421/10.67, allocations: 0.4883 GB / 3.465 GB, free: 24.8 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.214e-06/10.67, allocations: 0 / 3.465 GB, free: 24.8 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.803e-05/10.67, allocations: 21.25 kB / 3.465 GB, free: 24.79 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.007681/10.68, allocations: 1.694 MB / 3.467 GB, free: 23.07 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.182e-05/10.68, allocations: 12.03 kB / 3.467 GB, free: 23.05 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003063/10.68, allocations: 114.4 kB / 3.467 GB, free: 22.93 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002521/10.68, allocations: 231.5 kB / 3.467 GB, free: 22.71 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001966/10.68, allocations: 0.5765 MB / 3.468 GB, free: 22.1 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001528/10.68, allocations: 115.4 kB / 3.468 GB, free: 21.98 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000156/10.68, allocations: 67.89 kB / 3.468 GB, free: 21.91 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002674/10.69, allocations: 1.067 MB / 3.469 GB, free: 20.73 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.862e-05/10.69, allocations: 7.938 kB / 3.469 GB, free: 20.72 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001252/10.69, allocations: 25.88 kB / 3.469 GB, free: 20.7 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.465e-05/10.69, allocations: 40.98 kB / 3.469 GB, free: 20.66 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002416/10.69, allocations: 0.802 MB / 3.47 GB, free: 19.86 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.008252/10.7, allocations: 5.532 MB / 3.475 GB, free: 14 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001614/10.7, allocations: 0.5311 MB / 3.475 GB, free: 13.45 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004748/10.7, allocations: 201 kB / 3.476 GB, free: 13.24 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5374/11.24, allocations: 53.53 MB / 3.528 GB, free: 47.25 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.268e-05/11.24, allocations: 42.88 kB / 3.528 GB, free: 47.21 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=39): time 4.969e-06/11.24, allocations: 0 / 3.528 GB, free: 47.21 MB / 0.4948 GB Notification: Performance of matching and sorting (n=44): time 0.008909/11.24, allocations: 1.984 MB / 3.53 GB, free: 46.74 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.36e-05/11.25, allocations: 189.4 kB / 3.53 GB, free: 46.52 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001085/11.25, allocations: 0.5465 MB / 3.531 GB, free: 46.39 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001403/11.25, allocations: 34.48 kB / 3.531 GB, free: 46.36 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003845/11.25, allocations: 442.1 kB / 3.531 GB, free: 46.1 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002284/11.25, allocations: 161.5 kB / 3.531 GB, free: 46.03 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.044e-05/11.25, allocations: 15.34 kB / 3.531 GB, free: 46.03 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001196/11.25, allocations: 351.6 kB / 3.532 GB, free: 45.71 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006463/11.25, allocations: 225.9 kB / 3.532 GB, free: 45.71 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008357/11.25, allocations: 0.5928 MB / 3.532 GB, free: 45.23 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008101/11.25, allocations: 344.9 kB / 3.533 GB, free: 45.22 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-05/11.25, allocations: 4.281 kB / 3.533 GB, free: 45.22 MB / 0.4948 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002194/11.25, allocations: 0.8201 MB / 3.534 GB, free: 45.16 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.528e-05/11.25, allocations: 9.812 kB / 3.534 GB, free: 45.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.713e-05/11.25, allocations: 14.16 kB / 3.534 GB, free: 45.16 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006894/11.26, allocations: 274.5 kB / 3.534 GB, free: 45.16 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002544/11.26, allocations: 294.9 kB / 3.534 GB, free: 45.16 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002002/11.26, allocations: 2.023 MB / 3.536 GB, free: 43.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001322/11.26, allocations: 62.11 kB / 3.536 GB, free: 43.32 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001067/11.26, allocations: 41.16 kB / 3.536 GB, free: 43.32 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.0002822/11.27, allocations: 171.6 kB / 3.536 GB, free: 43.21 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000228/11.27, allocations: 74.42 kB / 3.536 GB, free: 43.17 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003219/11.27, allocations: 2.009 MB / 3.538 GB, free: 42.96 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.452e-05/11.27, allocations: 19.72 kB / 3.538 GB, free: 42.96 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/11.27, allocations: 2.906 kB / 3.538 GB, free: 42.96 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.034e-05/11.27, allocations: 7.25 kB / 3.538 GB, free: 42.96 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004873/11.27, allocations: 2.972 MB / 3.541 GB, free: 42.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-05/11.27, allocations: 5.25 kB / 3.541 GB, free: 42.52 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00179/11.28, allocations: 189.1 kB / 3.541 GB, free: 42.52 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003137/11.28, allocations: 290 kB / 3.542 GB, free: 42.51 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.911e-05/11.28, allocations: 10.69 kB / 3.542 GB, free: 42.51 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001819/11.28, allocations: 2.074 MB / 3.544 GB, free: 40.67 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/11.28, allocations: 0 / 3.544 GB, free: 40.67 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002865/11.28, allocations: 1.932 MB / 3.546 GB, free: 40.25 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006667/11.28, allocations: 290.2 kB / 3.546 GB, free: 40.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001671/11.28, allocations: 18.64 kB / 3.546 GB, free: 40.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008809/11.29, allocations: 38.05 kB / 3.546 GB, free: 40.09 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/11.29, allocations: 34.38 kB / 3.546 GB, free: 40.09 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-05/11.29, allocations: 20.28 kB / 3.546 GB, free: 40.09 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001044/11.29, allocations: 0.5432 MB / 3.547 GB, free: 40 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.01e-07/11.29, allocations: 0 / 3.547 GB, free: 40 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006258/11.29, allocations: 1.14 MB / 3.548 GB, free: 40 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.01337/11.31, allocations: 4.086 MB / 3.552 GB, free: 38.85 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002836/11.31, allocations: 0.8732 MB / 3.553 GB, free: 38.84 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.652e-06/11.31, allocations: 0 / 3.553 GB, free: 38.84 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001775/11.31, allocations: 0.6089 MB / 3.553 GB, free: 38.84 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003232/11.31, allocations: 359.4 kB / 3.554 GB, free: 38.83 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008162/11.32, allocations: 2.19 MB / 3.556 GB, free: 38.34 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006603/11.32, allocations: 1.114 MB / 3.557 GB, free: 37.64 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006433/11.32, allocations: 381.8 kB / 3.557 GB, free: 37.63 MB / 0.4948 GB Notification: Performance of SimCode: time 1.473e-06/11.32, allocations: 1.969 kB / 3.557 GB, free: 37.63 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.032/15.36, allocations: 44.23 MB / 3.6 GB, free: 34.67 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT_res.mat does not exist to compare? outputFormat=mat