Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.974/1.974, allocations: 209.4 MB / 216.5 MB, free: 6.664 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.171e-05/2.171e-05, allocations: 0 / 267.6 MB, free: 4.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1105, allocations: 48.7 MB / 316.3 MB, free: 4.129 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.453/7.563, allocations: 2.514 GB / 2.823 GB, free: 87.74 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003081/7.563, allocations: 93 kB / 2.823 GB, free: 87.69 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.47/10.03, allocations: 482.8 MB / 3.294 GB, free: 44.61 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.944e-06/10.03, allocations: 0 / 3.294 GB, free: 44.61 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.613e-05/10.03, allocations: 17.38 kB / 3.294 GB, free: 44.61 MB / 442.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.007068/10.04, allocations: 1.656 MB / 3.296 GB, free: 43.88 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/10.04, allocations: 11.38 kB / 3.296 GB, free: 43.88 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002214/10.04, allocations: 218.8 kB / 3.296 GB, free: 43.84 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001684/10.04, allocations: 0.5907 MB / 3.297 GB, free: 43.58 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001235/10.04, allocations: 94.06 kB / 3.297 GB, free: 43.52 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001441/10.05, allocations: 40.5 kB / 3.297 GB, free: 43.52 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001549/10.05, allocations: 0.6245 MB / 3.298 GB, free: 43.52 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001664/10.05, allocations: 0.8727 MB / 3.298 GB, free: 43.2 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.646e-05/10.05, allocations: 3.469 kB / 3.298 GB, free: 43.2 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001054/10.05, allocations: 3.969 kB / 3.298 GB, free: 43.2 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.668e-05/10.05, allocations: 48.53 kB / 3.298 GB, free: 43.2 MB / 442.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.1983/10.25, allocations: 67.62 MB / 3.364 GB, free: 16.84 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009096/10.25, allocations: 344.3 kB / 3.365 GB, free: 16.81 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003074/10.25, allocations: 145.8 kB / 3.365 GB, free: 16.8 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1638/10.41, allocations: 53.42 MB / 3.417 GB, free: 10.68 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.487e-05/10.41, allocations: 38.25 kB / 3.417 GB, free: 10.64 MB / 490.7 MB Notification: Performance of pre-optimization done (n=31): time 4.057e-06/10.41, allocations: 0 / 3.417 GB, free: 10.64 MB / 490.7 MB Notification: Performance of matching and sorting (n=36): time 0.007306/10.42, allocations: 1.596 MB / 3.419 GB, free: 9.535 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.3066/10.73, allocations: 138.2 kB / 3.419 GB, free: 95.39 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001091/10.73, allocations: 497.6 kB / 3.419 GB, free: 95.28 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000115/10.73, allocations: 26.86 kB / 3.419 GB, free: 95.25 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003379/10.73, allocations: 441.1 kB / 3.42 GB, free: 95.12 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001573/10.73, allocations: 133 kB / 3.42 GB, free: 95.06 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.462e-05/10.73, allocations: 1.438 kB / 3.42 GB, free: 95.06 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001366/10.73, allocations: 375.8 kB / 3.42 GB, free: 94.75 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005337/10.73, allocations: 205.6 kB / 3.42 GB, free: 94.75 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007681/10.73, allocations: 0.5871 MB / 3.421 GB, free: 94.28 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001868/10.73, allocations: 422.7 kB / 3.421 GB, free: 94.28 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.056e-05/10.73, allocations: 3.188 kB / 3.421 GB, free: 94.28 MB / 490.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003207/10.73, allocations: 0.9018 MB / 3.422 GB, free: 94.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.67e-05/10.73, allocations: 10.7 kB / 3.422 GB, free: 94.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.5e-05/10.73, allocations: 12.47 kB / 3.422 GB, free: 94.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003885/10.74, allocations: 75.78 kB / 3.422 GB, free: 94.19 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002374/10.74, allocations: 289.7 kB / 3.423 GB, free: 94.19 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002702/10.74, allocations: 2.071 MB / 3.425 GB, free: 92.41 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001213/10.74, allocations: 47.58 kB / 3.425 GB, free: 92.41 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.88e-05/10.74, allocations: 43.69 kB / 3.425 GB, free: 92.41 MB / 490.7 MB 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.0002461/10.74, allocations: 148.1 kB / 3.425 GB, free: 92.3 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002013/10.74, allocations: 0.5065 MB / 3.425 GB, free: 92.23 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001359/10.74, allocations: 69.8 kB / 3.425 GB, free: 92.19 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002849/10.75, allocations: 1.5 MB / 3.427 GB, free: 92.03 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.181e-05/10.75, allocations: 17.69 kB / 3.427 GB, free: 92.03 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/10.75, allocations: 1.281 kB / 3.427 GB, free: 92.03 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.103e-05/10.75, allocations: 2.016 kB / 3.427 GB, free: 92.03 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004103/10.75, allocations: 2.34 MB / 3.429 GB, free: 91.64 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.294e-06/10.75, allocations: 3.344 kB / 3.429 GB, free: 91.64 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001709/10.75, allocations: 168.9 kB / 3.429 GB, free: 91.64 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004791/10.75, allocations: 114.5 kB / 3.429 GB, free: 91.63 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.065e-05/10.75, allocations: 7.062 kB / 3.43 GB, free: 91.63 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002/10.76, allocations: 2.075 MB / 3.432 GB, free: 89.84 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/10.76, allocations: 1.75 kB / 3.432 GB, free: 89.84 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002816/10.76, allocations: 1.508 MB / 3.433 GB, free: 89.62 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005519/10.76, allocations: 212.1 kB / 3.433 GB, free: 89.48 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001518/10.76, allocations: 1.688 kB / 3.433 GB, free: 89.48 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006784/10.76, allocations: 24.06 kB / 3.433 GB, free: 89.48 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001123/10.76, allocations: 27.23 kB / 3.433 GB, free: 89.48 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.373e-05/10.76, allocations: 15.95 kB / 3.433 GB, free: 89.48 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006629/10.76, allocations: 357.6 kB / 3.434 GB, free: 89.39 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.81e-07/10.76, allocations: 0 / 3.434 GB, free: 89.39 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006059/10.77, allocations: 1.082 MB / 3.435 GB, free: 89.36 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 10 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.01255/10.78, allocations: 3.593 MB / 3.438 GB, free: 88.54 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00298/10.78, allocations: 0.8057 MB / 3.439 GB, free: 88.53 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/10.78, allocations: 0 / 3.439 GB, free: 88.53 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001773/10.78, allocations: 0.5341 MB / 3.439 GB, free: 88.53 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002439/10.79, allocations: 260.3 kB / 3.44 GB, free: 88.53 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007268/10.79, allocations: 1.89 MB / 3.442 GB, free: 88.14 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005916/10.79, allocations: 1.056 MB / 3.443 GB, free: 87.44 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.00165/10.8, allocations: 425.5 kB / 3.443 GB, free: 87.43 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005925/10.8, allocations: 311 kB / 3.443 GB, free: 87.42 MB / 490.7 MB Notification: Performance of SimCode: time 1.212e-06/10.8, allocations: 0 / 3.443 GB, free: 87.42 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.115/10.91, allocations: 41.53 MB / 3.484 GB, free: 86.35 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002334/10.91, allocations: 202 kB / 3.484 GB, free: 86.14 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.148/15.06, allocations: 4 kB / 3.484 GB, free: 86.14 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT_res.mat does not exist to compare? outputFormat=mat