Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97OnePhase_ph",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.049/2.049, allocations: 209.4 MB / 216.5 MB, free: 6.668 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.231e-05/2.237e-05, allocations: 0 / 267.6 MB, free: 4.934 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1062, allocations: 48.7 MB / 316.3 MB, free: 4.137 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.717/7.824, allocations: 2.516 GB / 2.824 GB, free: 81.84 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003201/7.824, allocations: 89.2 kB / 2.825 GB, free: 81.79 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.571/10.39, allocations: 485.1 MB / 3.298 GB, free: 42.67 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.563e-06/10.39, allocations: 0.9375 kB / 3.298 GB, free: 42.67 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.003e-05/10.39, allocations: 19.31 kB / 3.298 GB, free: 42.67 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.00725/10.4, allocations: 1.674 MB / 3.3 GB, free: 41.88 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/10.4, allocations: 10.06 kB / 3.3 GB, free: 41.88 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003365/10.41, allocations: 317 kB / 3.3 GB, free: 41.84 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001842/10.41, allocations: 0.6105 MB / 3.301 GB, free: 41.58 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001144/10.41, allocations: 85.56 kB / 3.301 GB, free: 41.52 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000131/10.41, allocations: 34.27 kB / 3.301 GB, free: 41.52 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001635/10.41, allocations: 0.6523 MB / 3.302 GB, free: 41.51 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001781/10.41, allocations: 0.8741 MB / 3.302 GB, free: 41.22 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.513e-05/10.41, allocations: 10.59 kB / 3.302 GB, free: 41.22 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001139/10.41, allocations: 3.156 kB / 3.302 GB, free: 41.22 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.517e-05/10.41, allocations: 48.58 kB / 3.303 GB, free: 41.22 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.2533/10.66, allocations: 82.99 MB / 3.384 GB, free: 21.61 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009348/10.67, allocations: 365.7 kB / 3.384 GB, free: 21.58 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003244/10.67, allocations: 162.9 kB / 3.384 GB, free: 21.56 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1077/10.77, allocations: 33.96 MB / 3.417 GB, free: 8.996 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.237e-05/10.77, allocations: 38.81 kB / 3.417 GB, free: 8.953 MB / 490.7 MB Notification: Performance of pre-optimization done (n=33): time 2.735e-06/10.77, allocations: 0 / 3.417 GB, free: 8.953 MB / 490.7 MB Notification: Performance of matching and sorting (n=37): time 0.005124/10.78, allocations: 1.363 MB / 3.419 GB, free: 7.973 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.828e-05/10.78, allocations: 136.5 kB / 3.419 GB, free: 7.809 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007599/10.78, allocations: 495.2 kB / 3.419 GB, free: 7.473 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.022e-05/10.78, allocations: 25.7 kB / 3.419 GB, free: 7.441 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000286/10.78, allocations: 442.6 kB / 3.42 GB, free: 7.145 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001157/10.78, allocations: 135.8 kB / 3.42 GB, free: 7.039 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.261e-05/10.78, allocations: 0 / 3.42 GB, free: 7.039 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001752/10.78, allocations: 375.6 kB / 3.42 GB, free: 6.711 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004419/10.78, allocations: 193 kB / 3.42 GB, free: 6.609 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006009/10.78, allocations: 0.5601 MB / 3.421 GB, free: 6.008 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008931/10.78, allocations: 321.7 kB / 3.421 GB, free: 5.84 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.637e-06/10.78, allocations: 4 kB / 3.421 GB, free: 5.836 MB / 490.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001933/10.78, allocations: 0.7763 MB / 3.422 GB, free: 5.34 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.453e-05/10.78, allocations: 12.16 kB / 3.422 GB, free: 5.328 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.781e-05/10.78, allocations: 16 kB / 3.422 GB, free: 5.312 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003004/10.79, allocations: 59.16 kB / 3.422 GB, free: 5.27 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002205/10.79, allocations: 291.5 kB / 3.422 GB, free: 5.059 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3186/11.11, allocations: 1.927 MB / 3.424 GB, free: 94.12 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001252/11.11, allocations: 45.8 kB / 3.424 GB, free: 94.12 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001116/11.11, allocations: 42.61 kB / 3.424 GB, free: 94.12 MB / 490.7 MB 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.0002745/11.11, allocations: 142.9 kB / 3.424 GB, free: 94.02 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001361/11.11, allocations: 421.6 kB / 3.425 GB, free: 93.98 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001534/11.11, allocations: 67.92 kB / 3.425 GB, free: 93.98 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002904/11.11, allocations: 1.582 MB / 3.426 GB, free: 93.83 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.223e-05/11.11, allocations: 23.72 kB / 3.426 GB, free: 93.83 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/11.11, allocations: 1.906 kB / 3.426 GB, free: 93.83 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.183e-05/11.11, allocations: 4.906 kB / 3.426 GB, free: 93.83 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004519/11.12, allocations: 2.437 MB / 3.429 GB, free: 93.46 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.195e-06/11.12, allocations: 5.547 kB / 3.429 GB, free: 93.46 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001745/11.12, allocations: 175.8 kB / 3.429 GB, free: 93.46 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003808/11.12, allocations: 85.64 kB / 3.429 GB, free: 93.45 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.015e-05/11.12, allocations: 5.672 kB / 3.429 GB, free: 93.45 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001616/11.12, allocations: 1.967 MB / 3.431 GB, free: 91.69 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.152e-06/11.12, allocations: 4.609 kB / 3.431 GB, free: 91.68 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002766/11.12, allocations: 1.514 MB / 3.432 GB, free: 91.47 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005331/11.12, allocations: 218.3 kB / 3.433 GB, free: 91.33 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001501/11.12, allocations: 1.984 kB / 3.433 GB, free: 91.33 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009204/11.13, allocations: 50.09 kB / 3.433 GB, free: 91.33 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001134/11.13, allocations: 27.67 kB / 3.433 GB, free: 91.33 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.723e-05/11.13, allocations: 24.05 kB / 3.433 GB, free: 91.32 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006524/11.13, allocations: 353.5 kB / 3.433 GB, free: 91.23 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.51e-07/11.13, allocations: 0 / 3.433 GB, free: 91.23 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005733/11.13, allocations: 1.073 MB / 3.434 GB, free: 91.23 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.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.01306/11.14, allocations: 3.592 MB / 3.438 GB, free: 90.46 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002879/11.15, allocations: 0.788 MB / 3.438 GB, free: 90.45 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.544e-06/11.15, allocations: 1.188 kB / 3.438 GB, free: 90.45 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001802/11.15, allocations: 0.5283 MB / 3.439 GB, free: 90.45 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002526/11.15, allocations: 265.5 kB / 3.439 GB, free: 90.45 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007912/11.16, allocations: 1.931 MB / 3.441 GB, free: 90.07 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008233/11.16, allocations: 1.076 MB / 3.442 GB, free: 89.36 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001847/11.16, allocations: 0.5059 MB / 3.443 GB, free: 89.35 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005658/11.16, allocations: 333.1 kB / 3.443 GB, free: 89.34 MB / 490.7 MB Notification: Performance of SimCode: time 1.022e-06/11.16, allocations: 0 / 3.443 GB, free: 89.34 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1141/11.28, allocations: 42.17 MB / 3.484 GB, free: 88.3 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002204/11.28, allocations: 211.9 kB / 3.484 GB, free: 88.02 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.018/15.3, allocations: 3.656 kB / 3.484 GB, free: 88.02 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph_res.mat does not exist to compare? outputFormat=mat