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.988/1.988, allocations: 209.3 MB / 221.4 MB, free: 1.945 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.604e-05/3.619e-05, allocations: 4 kB / 273.2 MB, free: 156 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1053, allocations: 48.71 MB / 321.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.599/7.704, allocations: 2.514 GB / 2.829 GB, free: 45.58 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003294/7.704, allocations: 92.62 kB / 2.829 GB, free: 45.53 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.574/10.28, allocations: 487.7 MB / 3.305 GB, free: 39.46 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.394e-06/10.28, allocations: 0 / 3.305 GB, free: 39.46 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.436e-05/10.28, allocations: 23.88 kB / 3.305 GB, free: 39.46 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.00771/10.29, allocations: 1.657 MB / 3.307 GB, free: 38.55 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/10.29, allocations: 10.06 kB / 3.307 GB, free: 38.55 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003076/10.29, allocations: 113.1 kB / 3.307 GB, free: 38.48 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002426/10.29, allocations: 222.3 kB / 3.307 GB, free: 38.42 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002111/10.29, allocations: 0.5854 MB / 3.308 GB, free: 38.04 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001602/10.29, allocations: 110.4 kB / 3.308 GB, free: 37.96 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001919/10.29, allocations: 63.61 kB / 3.308 GB, free: 37.94 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002916/10.29, allocations: 1.078 MB / 3.309 GB, free: 37.34 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.131e-05/10.29, allocations: 0.6875 kB / 3.309 GB, free: 37.34 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001305/10.29, allocations: 32.98 kB / 3.309 GB, free: 37.32 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.393e-05/10.29, allocations: 52.47 kB / 3.309 GB, free: 37.31 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002403/10.3, allocations: 0.8162 MB / 3.31 GB, free: 37.05 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.00818/10.31, allocations: 5.524 MB / 3.315 GB, free: 32.52 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001637/10.31, allocations: 0.5406 MB / 3.316 GB, free: 32.29 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004426/10.31, allocations: 204.6 kB / 3.316 GB, free: 32.19 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1791/10.49, allocations: 53.41 MB / 3.368 GB, free: 10.62 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.679e-05/10.49, allocations: 46.5 kB / 3.368 GB, free: 10.57 MB / 458.7 MB Notification: Performance of pre-optimization done (n=39): time 4.188e-06/10.49, allocations: 0 / 3.368 GB, free: 10.57 MB / 458.7 MB Notification: Performance of matching and sorting (n=44): time 0.01193/10.5, allocations: 1.991 MB / 3.37 GB, free: 8.785 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001444/10.5, allocations: 183.9 kB / 3.37 GB, free: 8.562 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001317/10.5, allocations: 0.5471 MB / 3.371 GB, free: 8.062 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001233/10.5, allocations: 37.77 kB / 3.371 GB, free: 8.02 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004297/10.5, allocations: 410 kB / 3.371 GB, free: 7.645 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002365/10.5, allocations: 153 kB / 3.371 GB, free: 7.512 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.458e-05/10.5, allocations: 20 kB / 3.371 GB, free: 7.492 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002593/10.5, allocations: 378.8 kB / 3.372 GB, free: 7.137 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007878/10.5, allocations: 221.5 kB / 3.372 GB, free: 6.934 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001039/10.5, allocations: 0.6076 MB / 3.372 GB, free: 6.176 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001024/10.5, allocations: 345.1 kB / 3.373 GB, free: 5.883 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.307e-05/10.5, allocations: 4 kB / 3.373 GB, free: 5.879 MB / 458.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002364/10.51, allocations: 0.9041 MB / 3.374 GB, free: 5.047 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.018e-05/10.51, allocations: 8 kB / 3.374 GB, free: 5.039 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.839e-05/10.51, allocations: 12 kB / 3.374 GB, free: 5.027 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007412/10.51, allocations: 278.3 kB / 3.374 GB, free: 4.836 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002568/10.52, allocations: 291.1 kB / 3.374 GB, free: 4.602 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002528/10.52, allocations: 2.024 MB / 3.376 GB, free: 2.488 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001259/10.52, allocations: 62.7 kB / 3.376 GB, free: 2.434 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000118/10.52, allocations: 44 kB / 3.376 GB, free: 2.391 MB / 458.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.0003641/10.52, allocations: 167.6 kB / 3.376 GB, free: 2.223 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002431/10.52, allocations: 75.11 kB / 3.376 GB, free: 2.148 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00393/10.53, allocations: 2.004 MB / 3.378 GB, free: 340 kB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.025e-05/10.53, allocations: 23.16 kB / 3.378 GB, free: 328 kB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.877e-06/10.53, allocations: 4 kB / 3.378 GB, free: 324 kB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.2e-05/10.53, allocations: 7.594 kB / 3.378 GB, free: 324 kB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3288/10.85, allocations: 2.977 MB / 3.381 GB, free: 62.48 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.085e-05/10.85, allocations: 3.531 kB / 3.381 GB, free: 62.48 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001833/10.86, allocations: 178.4 kB / 3.382 GB, free: 62.48 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003153/10.86, allocations: 298 kB / 3.382 GB, free: 62.47 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.443e-05/10.86, allocations: 14.38 kB / 3.382 GB, free: 62.47 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001891/10.86, allocations: 2.075 MB / 3.384 GB, free: 60.65 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.309e-06/10.86, allocations: 7.188 kB / 3.384 GB, free: 60.65 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003214/10.86, allocations: 1.932 MB / 3.386 GB, free: 60.29 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006461/10.87, allocations: 286.8 kB / 3.386 GB, free: 60.2 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001605/10.87, allocations: 9.906 kB / 3.386 GB, free: 60.2 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008586/10.87, allocations: 35.33 kB / 3.386 GB, free: 60.2 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001383/10.87, allocations: 33.38 kB / 3.386 GB, free: 60.2 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.385e-05/10.87, allocations: 21.88 kB / 3.386 GB, free: 60.19 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001166/10.87, allocations: 0.5425 MB / 3.387 GB, free: 60.09 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.133e-06/10.87, allocations: 1.422 kB / 3.387 GB, free: 60.09 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006031/10.87, allocations: 1.13 MB / 3.388 GB, free: 60.09 MB / 458.7 MB 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.0131/10.89, allocations: 4.074 MB / 3.392 GB, free: 59.02 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003226/10.89, allocations: 0.9034 MB / 3.393 GB, free: 59.01 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.211e-06/10.89, allocations: 0 / 3.393 GB, free: 59.01 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001954/10.89, allocations: 0.6174 MB / 3.393 GB, free: 59.01 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003219/10.9, allocations: 357.2 kB / 3.394 GB, free: 59 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007973/10.9, allocations: 2.16 MB / 3.396 GB, free: 58.61 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008787/10.9, allocations: 1.115 MB / 3.397 GB, free: 57.91 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001544/10.91, allocations: 350.4 kB / 3.397 GB, free: 57.89 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005986/10.91, allocations: 384.8 kB / 3.397 GB, free: 57.88 MB / 458.7 MB Notification: Performance of SimCode: time 1.082e-06/10.91, allocations: 0 / 3.397 GB, free: 57.88 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1284/11.04, allocations: 52.68 MB / 3.449 GB, free: 56.21 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002796/11.04, allocations: 251.7 kB / 3.449 GB, free: 55.87 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.694/15.73, allocations: 5.219 kB / 3.449 GB, free: 55.87 MB / 458.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