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.415/2.415, allocations: 235 MB / 247.2 MB, free: 14.41 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.228e-05/4.247e-05, allocations: 4 kB / 305 MB, free: 5.047 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4012/0.4012, allocations: 54.85 MB / 359.9 MB, free: 3.168 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.898/8.299, allocations: 2.625 GB / 2.977 GB, free: 120 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003053/8.3, allocations: 91.38 kB / 2.977 GB, free: 120 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.448/10.75, allocations: 0.4883 GB / 3.465 GB, free: 27.38 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.963e-06/10.75, allocations: 0 / 3.465 GB, free: 27.38 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.265e-05/10.75, allocations: 23.97 kB / 3.465 GB, free: 27.36 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.007866/10.76, allocations: 1.695 MB / 3.467 GB, free: 25.64 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.104e-05/10.76, allocations: 8.031 kB / 3.467 GB, free: 25.63 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002638/10.76, allocations: 117.6 kB / 3.467 GB, free: 25.51 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002312/10.76, allocations: 232.2 kB / 3.467 GB, free: 25.28 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001891/10.76, allocations: 0.5825 MB / 3.468 GB, free: 24.66 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001558/10.76, allocations: 114.5 kB / 3.468 GB, free: 24.54 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001933/10.76, allocations: 66.09 kB / 3.468 GB, free: 24.48 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002849/10.76, allocations: 1.074 MB / 3.469 GB, free: 23.29 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.184e-05/10.76, allocations: 3.938 kB / 3.469 GB, free: 23.29 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001268/10.76, allocations: 33.88 kB / 3.469 GB, free: 23.26 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.764e-05/10.76, allocations: 36.98 kB / 3.469 GB, free: 23.22 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002515/10.77, allocations: 0.802 MB / 3.47 GB, free: 22.42 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.008141/10.78, allocations: 5.519 MB / 3.475 GB, free: 16.58 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001628/10.78, allocations: 0.5465 MB / 3.476 GB, free: 16.01 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004339/10.78, allocations: 201 kB / 3.476 GB, free: 15.8 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5471/11.32, allocations: 53.52 MB / 3.528 GB, free: 49.17 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.796e-05/11.32, allocations: 38.41 kB / 3.528 GB, free: 49.13 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=39): time 3.737e-06/11.32, allocations: 0 / 3.528 GB, free: 49.13 MB / 0.4948 GB Notification: Performance of matching and sorting (n=44): time 0.008622/11.33, allocations: 1.984 MB / 3.53 GB, free: 48.67 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.818e-05/11.33, allocations: 185 kB / 3.53 GB, free: 48.45 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001049/11.33, allocations: 0.5484 MB / 3.531 GB, free: 48.32 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.799e-05/11.33, allocations: 34.11 kB / 3.531 GB, free: 48.29 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003204/11.33, allocations: 409.1 kB / 3.531 GB, free: 48.09 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001882/11.33, allocations: 168.3 kB / 3.531 GB, free: 48.02 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.337e-05/11.33, allocations: 16.47 kB / 3.531 GB, free: 48.02 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001443/11.34, allocations: 381.4 kB / 3.532 GB, free: 47.71 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006013/11.34, allocations: 225.2 kB / 3.532 GB, free: 47.7 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008169/11.34, allocations: 0.5946 MB / 3.532 GB, free: 47.22 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008015/11.34, allocations: 346.3 kB / 3.533 GB, free: 47.21 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.186e-05/11.34, allocations: 3.844 kB / 3.533 GB, free: 47.21 MB / 0.4948 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002297/11.34, allocations: 0.8572 MB / 3.534 GB, free: 47.14 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.661e-05/11.34, allocations: 12.28 kB / 3.534 GB, free: 47.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.392e-05/11.34, allocations: 12 kB / 3.534 GB, free: 47.14 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006821/11.35, allocations: 279.1 kB / 3.534 GB, free: 47.13 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002515/11.35, allocations: 285.1 kB / 3.534 GB, free: 47.13 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001942/11.35, allocations: 2.031 MB / 3.536 GB, free: 45.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001275/11.35, allocations: 56.42 kB / 3.536 GB, free: 45.29 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.816e-05/11.35, allocations: 46.69 kB / 3.536 GB, free: 45.29 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.0002629/11.35, allocations: 170.2 kB / 3.536 GB, free: 45.18 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001948/11.35, allocations: 75.44 kB / 3.536 GB, free: 45.14 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003128/11.36, allocations: 2.003 MB / 3.538 GB, free: 44.93 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.142e-05/11.36, allocations: 23.97 kB / 3.538 GB, free: 44.93 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/11.36, allocations: 1.562 kB / 3.538 GB, free: 44.93 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/11.36, allocations: 3.891 kB / 3.538 GB, free: 44.93 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00472/11.36, allocations: 2.972 MB / 3.541 GB, free: 44.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.024e-05/11.36, allocations: 0 / 3.541 GB, free: 44.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001803/11.36, allocations: 191.5 kB / 3.542 GB, free: 44.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003099/11.37, allocations: 295.7 kB / 3.542 GB, free: 44.48 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001165/11.37, allocations: 14.78 kB / 3.542 GB, free: 44.48 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001797/11.37, allocations: 2.068 MB / 3.544 GB, free: 42.64 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/11.37, allocations: 7.859 kB / 3.544 GB, free: 42.64 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002861/11.37, allocations: 1.926 MB / 3.546 GB, free: 42.22 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006716/11.37, allocations: 285.2 kB / 3.546 GB, free: 42.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001643/11.37, allocations: 18.98 kB / 3.546 GB, free: 42.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008633/11.37, allocations: 38.28 kB / 3.546 GB, free: 42.07 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001075/11.37, allocations: 30.53 kB / 3.546 GB, free: 42.07 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.218e-05/11.37, allocations: 18.11 kB / 3.546 GB, free: 42.07 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001027/11.37, allocations: 0.5448 MB / 3.547 GB, free: 41.97 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.01e-07/11.37, allocations: 0 / 3.547 GB, free: 41.97 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006279/11.38, allocations: 1.139 MB / 3.548 GB, free: 41.97 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.01347/11.39, allocations: 4.106 MB / 3.552 GB, free: 40.82 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003144/11.4, allocations: 0.8876 MB / 3.553 GB, free: 40.8 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.885e-06/11.4, allocations: 0 / 3.553 GB, free: 40.8 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002026/11.4, allocations: 0.6125 MB / 3.553 GB, free: 40.8 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003317/11.4, allocations: 356.4 kB / 3.554 GB, free: 40.8 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01093/11.41, allocations: 2.156 MB / 3.556 GB, free: 40.35 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001228/11.41, allocations: 1.119 MB / 3.557 GB, free: 39.64 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.002057/11.42, allocations: 350.8 kB / 3.557 GB, free: 39.63 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001055/11.42, allocations: 375.1 kB / 3.557 GB, free: 39.63 MB / 0.4948 GB Notification: Performance of SimCode: time 1.473e-06/11.42, allocations: 0 / 3.557 GB, free: 39.63 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1253/11.54, allocations: 52.84 MB / 3.609 GB, free: 37.11 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002631/11.54, allocations: 244.4 kB / 3.609 GB, free: 36.77 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.657/16.2, allocations: 1.5 kB / 3.609 GB, free: 36.77 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