Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97_ph",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.335/2.335, allocations: 235 MB / 247.1 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.427e-05/3.45e-05, allocations: 2.5 kB / 305 MB, free: 5.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4204/0.4204, allocations: 54.85 MB / 359.9 MB, free: 3.164 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.658/8.078, allocations: 2.627 GB / 2.978 GB, free: 121.4 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003063/8.079, allocations: 92.94 kB / 2.978 GB, free: 121.4 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.373/10.45, allocations: 0.4905 GB / 3.469 GB, free: 24.6 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.834e-06/10.45, allocations: 0 / 3.469 GB, free: 24.6 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.509e-05/10.45, allocations: 19.36 kB / 3.469 GB, free: 24.58 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.007736/10.46, allocations: 1.761 MB / 3.47 GB, free: 22.79 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/10.46, allocations: 12.03 kB / 3.47 GB, free: 22.78 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002104/10.46, allocations: 106.5 kB / 3.471 GB, free: 22.66 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003191/10.46, allocations: 327.2 kB / 3.471 GB, free: 22.35 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001618/10.46, allocations: 0.6022 MB / 3.471 GB, free: 21.71 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001396/10.46, allocations: 116.7 kB / 3.472 GB, free: 21.59 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001466/10.46, allocations: 71.81 kB / 3.472 GB, free: 21.52 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003254/10.47, allocations: 1.19 MB / 3.473 GB, free: 20.23 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.177e-05/10.47, allocations: 7.938 kB / 3.473 GB, free: 20.22 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001222/10.47, allocations: 32 kB / 3.473 GB, free: 20.19 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.1e-05/10.47, allocations: 41.3 kB / 3.473 GB, free: 20.15 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003177/10.47, allocations: 0.9846 MB / 3.474 GB, free: 19.16 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.008405/10.48, allocations: 5.596 MB / 3.479 GB, free: 13.24 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00263/10.48, allocations: 0.7242 MB / 3.48 GB, free: 12.5 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005317/10.48, allocations: 245 kB / 3.48 GB, free: 12.25 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05922/10.54, allocations: 18.86 MB / 3.499 GB, free: 7.105 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.674e-05/10.54, allocations: 50.55 kB / 3.499 GB, free: 7.047 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=45): time 3.026e-06/10.54, allocations: 0 / 3.499 GB, free: 7.047 MB / 0.4948 GB Notification: Performance of matching and sorting (n=49): time 0.008577/10.55, allocations: 2.013 MB / 3.501 GB, free: 4.973 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.638e-05/10.55, allocations: 162.7 kB / 3.501 GB, free: 4.777 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001075/10.55, allocations: 0.5265 MB / 3.501 GB, free: 4.246 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 8.321e-05/10.55, allocations: 37.7 kB / 3.501 GB, free: 4.203 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00039/10.55, allocations: 394.7 kB / 3.502 GB, free: 3.812 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002218/10.55, allocations: 177.3 kB / 3.502 GB, free: 3.641 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.081e-05/10.55, allocations: 16 kB / 3.502 GB, free: 3.625 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.00025/10.55, allocations: 374.8 kB / 3.502 GB, free: 3.25 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006702/10.55, allocations: 245.9 kB / 3.503 GB, free: 3.012 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009736/10.56, allocations: 0.5925 MB / 3.503 GB, free: 2.254 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008708/10.56, allocations: 337.4 kB / 3.503 GB, free: 1.922 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-05/10.56, allocations: 4 kB / 3.503 GB, free: 1.918 MB / 0.4948 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00245/10.56, allocations: 0.91 MB / 3.504 GB, free: 0.9961 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.936e-05/10.56, allocations: 8 kB / 3.504 GB, free: 0.9883 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.068e-05/10.56, allocations: 12 kB / 3.504 GB, free: 0.9766 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004218/10.56, allocations: 68.77 kB / 3.504 GB, free: 0.9062 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002619/10.56, allocations: 312.1 kB / 3.505 GB, free: 0.6016 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3758/10.94, allocations: 1.975 MB / 3.507 GB, free: 64.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001469/10.94, allocations: 83.81 kB / 3.507 GB, free: 64.08 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001258/10.94, allocations: 44.31 kB / 3.507 GB, free: 64.08 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 10 (volume.heatTransfer.states[1].phase,fixedMassFlowRate.medium.phase,ambient.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.0002854/10.94, allocations: 171.1 kB / 3.507 GB, free: 63.97 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000219/10.94, allocations: 73.12 kB / 3.507 GB, free: 63.97 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004285/10.94, allocations: 2.566 MB / 3.51 GB, free: 63.78 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.654e-05/10.94, allocations: 35.94 kB / 3.51 GB, free: 63.78 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/10.94, allocations: 3.906 kB / 3.51 GB, free: 63.78 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.437e-05/10.94, allocations: 3.797 kB / 3.51 GB, free: 63.78 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006559/10.95, allocations: 3.749 MB / 3.513 GB, free: 63.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.094e-05/10.95, allocations: 0.9375 kB / 3.513 GB, free: 63.34 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002309/10.95, allocations: 243.4 kB / 3.513 GB, free: 63.34 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005162/10.95, allocations: 81.28 kB / 3.514 GB, free: 63.34 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.321e-05/10.95, allocations: 12.69 kB / 3.514 GB, free: 63.34 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001575/10.96, allocations: 1.996 MB / 3.515 GB, free: 61.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/10.96, allocations: 0 / 3.515 GB, free: 61.5 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003862/10.96, allocations: 2.231 MB / 3.518 GB, free: 61.13 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007976/10.96, allocations: 335.1 kB / 3.518 GB, free: 60.97 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001726/10.96, allocations: 15.83 kB / 3.518 GB, free: 60.97 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001008/10.96, allocations: 62.28 kB / 3.518 GB, free: 60.96 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001842/10.96, allocations: 49.92 kB / 3.518 GB, free: 60.96 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.554e-05/10.96, allocations: 18.88 kB / 3.518 GB, free: 60.96 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001156/10.96, allocations: 0.5362 MB / 3.519 GB, free: 60.86 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.81e-07/10.96, allocations: 0.5 kB / 3.519 GB, free: 60.86 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006337/10.97, allocations: 1.135 MB / 3.52 GB, free: 60.86 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: 21 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,volume.heatTransfer.states[1].phase,fixedMassFlowRate.medium.phase,ambient.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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.01443/10.98, allocations: 4.311 MB / 3.524 GB, free: 59.88 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003573/10.99, allocations: 1.023 MB / 3.525 GB, free: 59.85 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.692e-06/10.99, allocations: 1.188 kB / 3.525 GB, free: 59.85 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002292/10.99, allocations: 0.7597 MB / 3.526 GB, free: 59.85 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003455/10.99, allocations: 367.7 kB / 3.526 GB, free: 59.85 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01129/11, allocations: 2.457 MB / 3.528 GB, free: 59.39 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001414/11.01, allocations: 1.187 MB / 3.53 GB, free: 58.69 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.002393/11.01, allocations: 449.8 kB / 3.53 GB, free: 58.67 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001053/11.01, allocations: 443.7 kB / 3.53 GB, free: 58.66 MB / 0.4948 GB Notification: Performance of SimCode: time 1.412e-06/11.01, allocations: 0 / 3.53 GB, free: 58.66 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1942/11.2, allocations: 55.16 MB / 3.584 GB, free: 56.9 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002193/11.2, allocations: 241.8 kB / 3.585 GB, free: 56.57 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.811/16.02, allocations: 4 kB / 3.585 GB, free: 56.57 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_ph_res.mat does not exist to compare? outputFormat=mat