Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97_ph",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.627/2.627, allocations: 249.5 MB / 261.6 MB, free: 2.168 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.551e-05/3.58e-05, allocations: 4 kB / 323.5 MB, free: 4.203 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4375/0.4375, allocations: 58.83 MB / 382.3 MB, free: 10.33 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.702/9.139, allocations: 2.796 GB / 3.169 GB, free: 129.1 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003436/9.14, allocations: 96.38 kB / 3.169 GB, free: 129.1 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.667/11.81, allocations: 0.4933 GB / 3.662 GB, free: 42.45 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.104e-06/11.81, allocations: 0 / 3.662 GB, free: 42.45 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.687e-05/11.81, allocations: 20 kB / 3.662 GB, free: 42.43 MB / 0.5105 GB 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.008678/11.82, allocations: 1.758 MB / 3.664 GB, free: 40.66 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.545e-05/11.82, allocations: 8.031 kB / 3.664 GB, free: 40.65 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003663/11.82, allocations: 117.6 kB / 3.664 GB, free: 40.53 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00367/11.82, allocations: 325.9 kB / 3.664 GB, free: 40.21 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00205/11.82, allocations: 0.5975 MB / 3.665 GB, free: 39.58 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002058/11.82, allocations: 115.5 kB / 3.665 GB, free: 39.46 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002513/11.82, allocations: 60 kB / 3.665 GB, free: 39.4 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004037/11.83, allocations: 1.194 MB / 3.666 GB, free: 38.11 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.022e-05/11.83, allocations: 11.92 kB / 3.666 GB, free: 38.09 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001588/11.83, allocations: 30.03 kB / 3.666 GB, free: 38.07 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.994e-05/11.83, allocations: 37.3 kB / 3.666 GB, free: 38.03 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003706/11.83, allocations: 0.9705 MB / 3.667 GB, free: 37.06 MB / 0.5105 GB 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.009773/11.84, allocations: 5.62 MB / 3.673 GB, free: 31.11 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002823/11.84, allocations: 0.7333 MB / 3.674 GB, free: 30.36 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005747/11.84, allocations: 241.7 kB / 3.674 GB, free: 30.12 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05082/11.89, allocations: 15.76 MB / 3.689 GB, free: 12.5 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.533e-05/11.9, allocations: 47.22 kB / 3.689 GB, free: 12.45 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=45): time 4.188e-06/11.9, allocations: 0 / 3.689 GB, free: 12.45 MB / 0.5105 GB Notification: Performance of matching and sorting (n=49): time 0.008587/11.9, allocations: 2.017 MB / 3.691 GB, free: 10.37 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.285e-05/11.9, allocations: 166.7 kB / 3.691 GB, free: 10.17 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009726/11.9, allocations: 0.5305 MB / 3.692 GB, free: 9.629 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001345/11.9, allocations: 29.7 kB / 3.692 GB, free: 9.594 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002806/11.91, allocations: 398 kB / 3.692 GB, free: 9.207 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002117/11.91, allocations: 171.4 kB / 3.692 GB, free: 9.039 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.772e-05/11.91, allocations: 19.94 kB / 3.692 GB, free: 9.02 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001287/11.91, allocations: 374.8 kB / 3.693 GB, free: 8.645 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006013/11.91, allocations: 237.5 kB / 3.693 GB, free: 8.414 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007576/11.91, allocations: 0.5617 MB / 3.694 GB, free: 7.695 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007448/11.91, allocations: 329.5 kB / 3.694 GB, free: 7.375 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.757e-06/11.91, allocations: 4 kB / 3.694 GB, free: 7.371 MB / 0.5105 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002156/11.91, allocations: 0.8554 MB / 3.695 GB, free: 6.508 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.46e-05/11.91, allocations: 14.3 kB / 3.695 GB, free: 6.496 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.821e-05/11.91, allocations: 12 kB / 3.695 GB, free: 6.484 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003988/11.91, allocations: 65.44 kB / 3.695 GB, free: 6.418 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002638/11.91, allocations: 303.6 kB / 3.695 GB, free: 6.121 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001771/11.91, allocations: 1.976 MB / 3.697 GB, free: 3.992 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001484/11.92, allocations: 88.03 kB / 3.697 GB, free: 3.906 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001272/11.92, allocations: 47.92 kB / 3.697 GB, free: 3.859 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (95): * Single equations (assignments): 93 * 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.0003026/11.92, allocations: 172.3 kB / 3.697 GB, free: 3.688 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002308/11.92, allocations: 67.16 kB / 3.697 GB, free: 3.621 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003876/11.92, allocations: 2.567 MB / 3.7 GB, free: 1.039 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.162e-05/11.92, allocations: 35.94 kB / 3.7 GB, free: 1.004 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/11.92, allocations: 3.938 kB / 3.7 GB, free: 1 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.277e-05/11.92, allocations: 3.984 kB / 3.7 GB, free: 0.9961 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007436/11.93, allocations: 3.747 MB / 3.704 GB, free: 13.19 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.501e-05/11.93, allocations: 3.984 kB / 3.704 GB, free: 13.19 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002477/11.93, allocations: 243.7 kB / 3.704 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005986/11.93, allocations: 84.69 kB / 3.704 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001038/11.93, allocations: 12 kB / 3.704 GB, free: 12.85 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002296/11.93, allocations: 2.003 MB / 3.706 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.403e-06/11.93, allocations: 4.031 kB / 3.706 GB, free: 10.69 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004362/11.94, allocations: 2.227 MB / 3.708 GB, free: 8.434 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008841/11.94, allocations: 338.7 kB / 3.708 GB, free: 8.082 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002005/11.94, allocations: 12 kB / 3.708 GB, free: 8.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001129/11.94, allocations: 68.05 kB / 3.709 GB, free: 8.004 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002153/11.94, allocations: 48.48 kB / 3.709 GB, free: 7.957 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.813e-05/11.94, allocations: 19.98 kB / 3.709 GB, free: 7.938 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001264/11.94, allocations: 0.5499 MB / 3.709 GB, free: 7.391 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.01e-07/11.94, allocations: 3.938 kB / 3.709 GB, free: 7.387 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006765/11.95, allocations: 1.132 MB / 3.71 GB, free: 6.254 MB / 0.5261 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.01594/11.97, allocations: 4.33 MB / 3.714 GB, free: 2.105 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003833/11.97, allocations: 1.001 MB / 3.715 GB, free: 1.102 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.514e-06/11.97, allocations: 4.438 kB / 3.715 GB, free: 1.098 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002525/11.97, allocations: 0.7571 MB / 3.716 GB, free: 352 kB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003831/11.98, allocations: 360.2 kB / 3.717 GB, free: 0 / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4333/12.41, allocations: 2.453 MB / 3.719 GB, free: 75.51 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009853/12.41, allocations: 1.189 MB / 3.72 GB, free: 74.81 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001794/12.41, allocations: 437.9 kB / 3.72 GB, free: 74.8 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009505/12.41, allocations: 449.1 kB / 3.721 GB, free: 74.8 MB / 0.5261 GB Notification: Performance of SimCode: time 1.663e-06/12.41, allocations: 0 / 3.721 GB, free: 74.8 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1495/12.56, allocations: 55.47 MB / 3.775 GB, free: 73.2 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003052/12.56, allocations: 248.4 kB / 3.775 GB, free: 72.86 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.006/17.57, allocations: 0 / 3.775 GB, free: 72.86 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph_res.mat does not exist to compare? outputFormat=mat