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.306/2.306, allocations: 235.1 MB / 242.2 MB, free: 15.85 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.154e-05/2.165e-05, allocations: 0 / 299.5 MB, free: 6.516 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3932/0.3932, allocations: 54.86 MB / 354.3 MB, free: 14.07 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.925/8.318, allocations: 2.626 GB / 2.972 GB, free: 118.3 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003329/8.319, allocations: 97.09 kB / 2.972 GB, free: 118.3 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.439/10.76, allocations: 497.3 MB / 3.458 GB, free: 43.75 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.647e-06/10.76, allocations: 0 / 3.458 GB, free: 43.75 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001015/10.76, allocations: 25.12 kB / 3.458 GB, free: 43.74 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.01044/10.77, allocations: 1.716 MB / 3.46 GB, free: 42.39 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.064e-05/10.77, allocations: 12.03 kB / 3.46 GB, free: 42.38 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005931/10.77, allocations: 317.5 kB / 3.46 GB, free: 42.07 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002654/10.78, allocations: 0.612 MB / 3.46 GB, free: 41.44 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001668/10.78, allocations: 88.7 kB / 3.461 GB, free: 41.34 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002038/10.78, allocations: 43.95 kB / 3.461 GB, free: 41.3 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002775/10.78, allocations: 0.6427 MB / 3.461 GB, free: 40.66 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002972/10.78, allocations: 0.8786 MB / 3.462 GB, free: 39.69 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.934e-05/10.78, allocations: 7.984 kB / 3.462 GB, free: 39.68 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002097/10.78, allocations: 4 kB / 3.462 GB, free: 39.68 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001346/10.78, allocations: 49.23 kB / 3.462 GB, free: 39.63 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.6656/11.45, allocations: 83.07 MB / 3.543 GB, free: 50.64 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009154/11.45, allocations: 350.5 kB / 3.544 GB, free: 50.62 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000325/11.45, allocations: 163.6 kB / 3.544 GB, free: 50.61 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1067/11.56, allocations: 33.97 MB / 3.577 GB, free: 29.9 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.89e-05/11.56, allocations: 42.34 kB / 3.577 GB, free: 29.86 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=33): time 3.457e-06/11.56, allocations: 3.891 kB / 3.577 GB, free: 29.86 MB / 0.4948 GB Notification: Performance of matching and sorting (n=37): time 0.005559/11.56, allocations: 1.362 MB / 3.578 GB, free: 29.48 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.343e-05/11.56, allocations: 138.7 kB / 3.578 GB, free: 29.32 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008403/11.56, allocations: 493.8 kB / 3.579 GB, free: 29.2 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001041/11.56, allocations: 29.5 kB / 3.579 GB, free: 29.17 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003109/11.56, allocations: 436.1 kB / 3.579 GB, free: 28.96 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001529/11.56, allocations: 139.7 kB / 3.579 GB, free: 28.89 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.639e-05/11.56, allocations: 0 / 3.579 GB, free: 28.89 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001191/11.56, allocations: 367.6 kB / 3.58 GB, free: 28.58 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004421/11.57, allocations: 202.6 kB / 3.58 GB, free: 28.58 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006457/11.57, allocations: 0.5525 MB / 3.581 GB, free: 28.12 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009753/11.57, allocations: 323.3 kB / 3.581 GB, free: 28.1 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.398e-06/11.57, allocations: 2.844 kB / 3.581 GB, free: 28.1 MB / 0.4948 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002099/11.57, allocations: 0.7794 MB / 3.582 GB, free: 28.01 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.984e-05/11.57, allocations: 7.469 kB / 3.582 GB, free: 28.01 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.997e-05/11.57, allocations: 15.06 kB / 3.582 GB, free: 28.01 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003028/11.57, allocations: 60.48 kB / 3.582 GB, free: 28 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002325/11.57, allocations: 292.6 kB / 3.582 GB, free: 28 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001669/11.57, allocations: 1.939 MB / 3.584 GB, free: 26.22 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00125/11.57, allocations: 45.78 kB / 3.584 GB, free: 26.21 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.905e-05/11.57, allocations: 46.23 kB / 3.584 GB, free: 26.21 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.0002554/11.58, allocations: 138.6 kB / 3.584 GB, free: 26.11 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001141/11.58, allocations: 426.3 kB / 3.584 GB, free: 26.02 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001375/11.58, allocations: 68.92 kB / 3.585 GB, free: 25.98 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002464/11.58, allocations: 1.584 MB / 3.586 GB, free: 25.8 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.161e-05/11.58, allocations: 21.56 kB / 3.586 GB, free: 25.8 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/11.58, allocations: 0 / 3.586 GB, free: 25.8 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/11.58, allocations: 5.766 kB / 3.586 GB, free: 25.8 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003988/11.58, allocations: 2.444 MB / 3.589 GB, free: 25.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.727e-06/11.58, allocations: 0 / 3.589 GB, free: 25.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001741/11.58, allocations: 172 kB / 3.589 GB, free: 25.39 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004163/11.59, allocations: 85.48 kB / 3.589 GB, free: 25.38 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.856e-05/11.59, allocations: 7.219 kB / 3.589 GB, free: 25.38 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00165/11.59, allocations: 1.973 MB / 3.591 GB, free: 23.59 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.344e-06/11.59, allocations: 3.953 kB / 3.591 GB, free: 23.59 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002497/11.59, allocations: 1.508 MB / 3.592 GB, free: 23.36 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005889/11.59, allocations: 215.9 kB / 3.592 GB, free: 23.22 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001603/11.59, allocations: 7.109 kB / 3.592 GB, free: 23.22 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009228/11.59, allocations: 49.75 kB / 3.592 GB, free: 23.21 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001071/11.59, allocations: 26.61 kB / 3.592 GB, free: 23.21 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.419e-05/11.59, allocations: 20.92 kB / 3.592 GB, free: 23.21 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0006165/11.59, allocations: 356.5 kB / 3.593 GB, free: 23.12 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6.01e-07/11.59, allocations: 0 / 3.593 GB, free: 23.12 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006176/11.6, allocations: 1.08 MB / 3.594 GB, free: 23.12 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 12 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 34 * 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 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01316/11.61, allocations: 3.596 MB / 3.597 GB, free: 22.27 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.00273/11.61, allocations: 0.7948 MB / 3.598 GB, free: 22.25 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.355e-06/11.61, allocations: 3.969 kB / 3.598 GB, free: 22.25 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001658/11.62, allocations: 0.5281 MB / 3.599 GB, free: 22.25 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002586/11.62, allocations: 256.4 kB / 3.599 GB, free: 22.23 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007479/11.63, allocations: 1.928 MB / 3.601 GB, free: 21.79 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006304/11.63, allocations: 1.079 MB / 3.602 GB, free: 21.07 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.00164/11.63, allocations: 0.5065 MB / 3.602 GB, free: 21.04 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005836/11.63, allocations: 329 kB / 3.603 GB, free: 21.04 MB / 0.4948 GB Notification: Performance of SimCode: time 1.413e-06/11.63, allocations: 4 kB / 3.603 GB, free: 21.03 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1626/11.79, allocations: 42.3 MB / 3.644 GB, free: 18.62 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002085/11.79, allocations: 207.9 kB / 3.644 GB, free: 18.33 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.637/16.43, allocations: 0 / 3.644 GB, free: 18.33 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