Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97OnePhase_ph",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.47/2.47, allocations: 270 MB / 283.6 MB, free: 3.117 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.746e-05/3.749e-05, allocations: 5.312 kB / 348.5 MB, free: 10.72 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1464/0.1464, allocations: 61.89 MB / 410.4 MB, free: 12.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.118/9.265, allocations: 2.8 GB / 3.201 GB, free: 47.28 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003099/9.265, allocations: 92.81 kB / 3.201 GB, free: 47.23 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.107/12.37, allocations: 0.4982 GB / 3.699 GB, free: 52.21 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.744e-06/12.37, allocations: 5.797 kB / 3.699 GB, free: 52.21 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.302e-05/12.37, allocations: 18.72 kB / 3.699 GB, free: 52.21 MB / 0.5261 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.008254/12.38, allocations: 1.717 MB / 3.701 GB, free: 51.55 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.492e-05/12.38, allocations: 6.938 kB / 3.701 GB, free: 51.55 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002848/12.38, allocations: 109.6 kB / 3.701 GB, free: 51.51 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003536/12.38, allocations: 328.2 kB / 3.702 GB, free: 51.47 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002012/12.39, allocations: 0.6017 MB / 3.702 GB, free: 51.23 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001379/12.39, allocations: 110.9 kB / 3.702 GB, free: 51.16 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001551/12.39, allocations: 62 kB / 3.702 GB, free: 51.16 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003727/12.39, allocations: 1.191 MB / 3.704 GB, free: 50.87 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.148e-05/12.39, allocations: 9.875 kB / 3.704 GB, free: 50.87 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001626/12.39, allocations: 32.02 kB / 3.704 GB, free: 50.87 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.884e-05/12.39, allocations: 39.17 kB / 3.704 GB, free: 50.87 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002653/12.39, allocations: 0.8353 MB / 3.704 GB, free: 50.86 MB / 0.5261 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.009564/12.4, allocations: 5.491 MB / 3.71 GB, free: 47.14 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001818/12.41, allocations: 0.5925 MB / 3.71 GB, free: 47.09 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005019/12.41, allocations: 215.1 kB / 3.711 GB, free: 47.08 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1549/12.56, allocations: 46.11 MB / 3.756 GB, free: 35.75 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.127e-05/12.56, allocations: 41.55 kB / 3.756 GB, free: 35.71 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=42): time 3.166e-06/12.56, allocations: 0 / 3.756 GB, free: 35.71 MB / 0.5417 GB Notification: Performance of matching and sorting (n=46): time 0.007127/12.57, allocations: 1.832 MB / 3.757 GB, free: 35.22 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000115/12.57, allocations: 163.4 kB / 3.758 GB, free: 35.03 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009932/12.57, allocations: 0.5388 MB / 3.758 GB, free: 34.89 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0001369/12.57, allocations: 33.48 kB / 3.758 GB, free: 34.86 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.000321/12.57, allocations: 397.5 kB / 3.759 GB, free: 34.65 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.000189/12.57, allocations: 166.3 kB / 3.759 GB, free: 34.55 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.526e-05/12.57, allocations: 22.28 kB / 3.759 GB, free: 34.54 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0002194/12.57, allocations: 376.5 kB / 3.759 GB, free: 34.23 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005464/12.57, allocations: 215.8 kB / 3.759 GB, free: 34.23 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007606/12.57, allocations: 0.5471 MB / 3.76 GB, free: 33.8 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007661/12.57, allocations: 334.2 kB / 3.76 GB, free: 33.77 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.305e-06/12.57, allocations: 3.938 kB / 3.76 GB, free: 33.77 MB / 0.5417 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002044/12.57, allocations: 0.8251 MB / 3.761 GB, free: 33.67 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.019e-05/12.57, allocations: 10.94 kB / 3.761 GB, free: 33.67 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.03e-05/12.57, allocations: 14.97 kB / 3.761 GB, free: 33.67 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003907/12.57, allocations: 65.42 kB / 3.761 GB, free: 33.66 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002366/12.58, allocations: 285.5 kB / 3.761 GB, free: 33.66 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002893/12.58, allocations: 1.965 MB / 3.763 GB, free: 31.82 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00183/12.58, allocations: 52.45 kB / 3.763 GB, free: 31.82 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002064/12.58, allocations: 48.42 kB / 3.763 GB, free: 31.82 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * 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 (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.0004759/12.58, allocations: 163.4 kB / 3.763 GB, free: 31.7 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003573/12.58, allocations: 75.62 kB / 3.764 GB, free: 31.66 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00509/12.59, allocations: 2.209 MB / 3.766 GB, free: 31.38 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.7e-05/12.59, allocations: 33.77 kB / 3.766 GB, free: 31.37 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/12.59, allocations: 0 / 3.766 GB, free: 31.37 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.626e-05/12.59, allocations: 3.938 kB / 3.766 GB, free: 31.37 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00844/12.6, allocations: 3.275 MB / 3.769 GB, free: 30.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-05/12.6, allocations: 3.141 kB / 3.769 GB, free: 30.9 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002794/12.6, allocations: 203.1 kB / 3.769 GB, free: 30.89 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007498/12.6, allocations: 81.55 kB / 3.769 GB, free: 30.88 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001043/12.6, allocations: 14.55 kB / 3.769 GB, free: 30.88 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002829/12.6, allocations: 1.992 MB / 3.771 GB, free: 29.04 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/12.6, allocations: 4.062 kB / 3.771 GB, free: 29.04 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004841/12.61, allocations: 1.975 MB / 3.773 GB, free: 28.68 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001038/12.61, allocations: 286.3 kB / 3.773 GB, free: 28.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002555/12.61, allocations: 9.75 kB / 3.773 GB, free: 28.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001738/12.61, allocations: 57.52 kB / 3.773 GB, free: 28.5 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001977/12.61, allocations: 42.64 kB / 3.773 GB, free: 28.5 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001197/12.61, allocations: 18.86 kB / 3.773 GB, free: 28.5 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001503/12.61, allocations: 0.4976 MB / 3.774 GB, free: 28.4 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.202e-06/12.61, allocations: 2.516 kB / 3.774 GB, free: 28.4 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.008567/12.62, allocations: 1.127 MB / 3.775 GB, free: 28.25 MB / 0.5417 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: 16 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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.02274/12.64, allocations: 4.054 MB / 3.779 GB, free: 27.05 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.005299/12.65, allocations: 0.9021 MB / 3.78 GB, free: 27.03 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.391e-05/12.65, allocations: 4.438 kB / 3.78 GB, free: 27.03 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.003201/12.65, allocations: 0.6581 MB / 3.781 GB, free: 27.02 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005457/12.66, allocations: 360.1 kB / 3.781 GB, free: 27 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01521/12.67, allocations: 2.255 MB / 3.783 GB, free: 26.36 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001388/12.68, allocations: 1.143 MB / 3.784 GB, free: 25.65 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.00308/12.68, allocations: 447.6 kB / 3.785 GB, free: 25.62 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001026/12.68, allocations: 394.3 kB / 3.785 GB, free: 25.61 MB / 0.5417 GB Notification: Performance of SimCode: time 1.412e-06/12.68, allocations: 0 / 3.785 GB, free: 25.61 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1898/12.87, allocations: 53.7 MB / 3.837 GB, free: 14.73 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003706/12.87, allocations: 260.9 kB / 3.838 GB, free: 14.39 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.155/18.03, allocations: 0 / 3.838 GB, free: 14.39 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph_res.mat does not exist to compare? outputFormat=mat