Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97OnePhase_ph",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.305/2.305, allocations: 235 MB / 247.1 MB, free: 14.4 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.414e-05/3.454e-05, allocations: 0 / 305 MB, free: 5.062 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3973/0.3974, allocations: 54.85 MB / 359.9 MB, free: 3.152 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.63/8.027, allocations: 2.627 GB / 2.978 GB, free: 121.3 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003133/8.028, allocations: 103.9 kB / 2.978 GB, free: 121.3 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.309/10.34, allocations: 0.4906 GB / 3.469 GB, free: 24.33 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.793e-06/10.34, allocations: 0 / 3.469 GB, free: 24.33 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.959e-05/10.34, allocations: 19.12 kB / 3.469 GB, free: 24.31 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.007081/10.34, allocations: 1.713 MB / 3.471 GB, free: 22.56 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/10.34, allocations: 12.03 kB / 3.471 GB, free: 22.55 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001727/10.34, allocations: 104.5 kB / 3.471 GB, free: 22.44 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003107/10.35, allocations: 328.1 kB / 3.471 GB, free: 22.12 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001502/10.35, allocations: 0.6066 MB / 3.472 GB, free: 21.48 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001154/10.35, allocations: 118.8 kB / 3.472 GB, free: 21.36 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000131/10.35, allocations: 59.91 kB / 3.472 GB, free: 21.3 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003086/10.35, allocations: 1.185 MB / 3.473 GB, free: 20.02 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.344e-05/10.35, allocations: 11.92 kB / 3.473 GB, free: 20 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001218/10.35, allocations: 34.36 kB / 3.473 GB, free: 19.97 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-05/10.35, allocations: 41.3 kB / 3.473 GB, free: 19.93 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002265/10.35, allocations: 0.8442 MB / 3.474 GB, free: 19.09 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.007878/10.36, allocations: 5.48 MB / 3.479 GB, free: 13.28 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00165/10.36, allocations: 0.5876 MB / 3.48 GB, free: 12.67 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004549/10.36, allocations: 221.6 kB / 3.48 GB, free: 12.45 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5245/10.89, allocations: 49.17 MB / 3.528 GB, free: 52.67 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.437e-05/10.89, allocations: 45.2 kB / 3.528 GB, free: 52.63 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=42): time 2.685e-06/10.89, allocations: 2.031 kB / 3.528 GB, free: 52.63 MB / 0.4948 GB Notification: Performance of matching and sorting (n=46): time 0.007458/10.9, allocations: 1.828 MB / 3.53 GB, free: 52.23 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.732e-05/10.9, allocations: 166.8 kB / 3.53 GB, free: 52.05 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00104/10.9, allocations: 0.5299 MB / 3.53 GB, free: 51.91 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001295/10.9, allocations: 36.23 kB / 3.53 GB, free: 51.88 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003187/10.9, allocations: 400.8 kB / 3.531 GB, free: 51.7 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002197/10.9, allocations: 168.2 kB / 3.531 GB, free: 51.62 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.707e-05/10.9, allocations: 23.28 kB / 3.531 GB, free: 51.62 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001403/10.9, allocations: 378 kB / 3.531 GB, free: 51.3 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005991/10.9, allocations: 220.5 kB / 3.532 GB, free: 51.3 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008588/10.9, allocations: 0.5797 MB / 3.532 GB, free: 50.84 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007953/10.9, allocations: 337.2 kB / 3.532 GB, free: 50.84 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.856e-06/10.9, allocations: 2.219 kB / 3.532 GB, free: 50.84 MB / 0.4948 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002332/10.9, allocations: 0.8815 MB / 3.533 GB, free: 50.76 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.629e-05/10.9, allocations: 12.44 kB / 3.533 GB, free: 50.76 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.5e-05/10.9, allocations: 14.44 kB / 3.533 GB, free: 50.76 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004013/10.9, allocations: 61.81 kB / 3.533 GB, free: 50.75 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002322/10.91, allocations: 289.7 kB / 3.534 GB, free: 50.75 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001637/10.91, allocations: 1.979 MB / 3.536 GB, free: 48.92 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00128/10.91, allocations: 62.45 kB / 3.536 GB, free: 48.91 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.927e-05/10.91, allocations: 42.09 kB / 3.536 GB, free: 48.91 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * Number of states: 0 () * Number of discrete variables: 10 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase,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) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 97 * 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 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002887/10.91, allocations: 169.1 kB / 3.536 GB, free: 48.81 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002109/10.91, allocations: 71.03 kB / 3.536 GB, free: 48.77 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003325/10.91, allocations: 2.214 MB / 3.538 GB, free: 48.52 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.886e-05/10.91, allocations: 29.78 kB / 3.538 GB, free: 48.52 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/10.91, allocations: 3.375 kB / 3.538 GB, free: 48.52 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.128e-05/10.91, allocations: 3.422 kB / 3.538 GB, free: 48.52 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005172/10.92, allocations: 3.269 MB / 3.541 GB, free: 48.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.058e-05/10.92, allocations: 4.938 kB / 3.541 GB, free: 48.07 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001752/10.92, allocations: 181.8 kB / 3.542 GB, free: 48.07 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004901/10.92, allocations: 89.19 kB / 3.542 GB, free: 48.06 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.864e-05/10.92, allocations: 14.75 kB / 3.542 GB, free: 48.06 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001498/10.92, allocations: 1.99 MB / 3.544 GB, free: 46.22 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/10.92, allocations: 3.5 kB / 3.544 GB, free: 46.22 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002911/10.93, allocations: 1.972 MB / 3.546 GB, free: 45.87 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000598/10.93, allocations: 284.5 kB / 3.546 GB, free: 45.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001486/10.93, allocations: 12.31 kB / 3.546 GB, free: 45.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001006/10.93, allocations: 65.92 kB / 3.546 GB, free: 45.71 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/10.93, allocations: 35.17 kB / 3.546 GB, free: 45.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.427e-05/10.93, allocations: 22.23 kB / 3.546 GB, free: 45.7 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0008812/10.93, allocations: 0.4925 MB / 3.546 GB, free: 45.6 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.21e-07/10.93, allocations: 0 / 3.546 GB, free: 45.6 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005646/10.93, allocations: 1.119 MB / 3.547 GB, free: 45.6 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 16 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01297/10.95, allocations: 4.046 MB / 3.551 GB, free: 44.61 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002963/10.95, allocations: 0.9331 MB / 3.552 GB, free: 44.59 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.504e-06/10.95, allocations: 2.188 kB / 3.552 GB, free: 44.59 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001782/10.95, allocations: 0.6538 MB / 3.553 GB, free: 44.59 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003138/10.95, allocations: 353.3 kB / 3.553 GB, free: 44.58 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007941/10.96, allocations: 2.263 MB / 3.556 GB, free: 44.14 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006517/10.96, allocations: 1.137 MB / 3.557 GB, free: 43.43 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001609/10.97, allocations: 451.4 kB / 3.557 GB, free: 43.42 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006392/10.97, allocations: 387.4 kB / 3.557 GB, free: 43.41 MB / 0.4948 GB Notification: Performance of SimCode: time 1.342e-06/10.97, allocations: 0 / 3.557 GB, free: 43.41 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1252/11.09, allocations: 53.39 MB / 3.61 GB, free: 40.83 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003445/11.09, allocations: 250.2 kB / 3.61 GB, free: 40.5 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.849/15.94, allocations: 3.906 kB / 3.61 GB, free: 40.49 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph_res.mat does not exist to compare? outputFormat=mat