Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.medium.h|pump.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve") Notification: Performance of loadModel(ModelicaTest): time 2.556/2.556, allocations: 270 MB / 283.6 MB, free: 1.949 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.835e-05/2.857e-05, allocations: 4 kB / 348.4 MB, free: 2.805 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3287/0.3288, allocations: 61.87 MB / 410.3 MB, free: 10.77 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.079/7.408, allocations: 2.787 GB / 3.188 GB, free: 127.4 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002257/7.408, allocations: 85.2 kB / 3.188 GB, free: 127.4 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.874/9.282, allocations: 443.6 MB / 3.621 GB, free: 63.79 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.431e-06/9.282, allocations: 3.156 kB / 3.621 GB, free: 63.79 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.937e-05/9.282, allocations: 16.44 kB / 3.621 GB, free: 63.79 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.005813/9.288, allocations: 1.746 MB / 3.623 GB, free: 62.84 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/9.288, allocations: 11.03 kB / 3.623 GB, free: 62.84 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00338/9.292, allocations: 328.5 kB / 3.623 GB, free: 62.78 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001473/9.293, allocations: 0.5697 MB / 3.624 GB, free: 62.4 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.667e-05/9.293, allocations: 44.22 kB / 3.624 GB, free: 62.38 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001341/9.293, allocations: 57.47 kB / 3.624 GB, free: 62.36 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002779/9.296, allocations: 0.9566 MB / 3.625 GB, free: 61.92 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.045e-05/9.296, allocations: 6.562 kB / 3.625 GB, free: 61.91 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.403e-05/9.296, allocations: 25.56 kB / 3.625 GB, free: 61.9 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.668e-05/9.296, allocations: 25.34 kB / 3.625 GB, free: 61.89 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002384/9.299, allocations: 0.7921 MB / 3.626 GB, free: 61.66 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.005631/9.304, allocations: 4.462 MB / 3.63 GB, free: 58.01 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002628/9.307, allocations: 0.7005 MB / 3.631 GB, free: 57.79 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004533/9.308, allocations: 228.9 kB / 3.631 GB, free: 57.69 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1249/9.433, allocations: 55.76 MB / 3.685 GB, free: 19.69 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.688e-05/9.433, allocations: 39 kB / 3.685 GB, free: 19.64 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=48): time 3.474e-06/9.433, allocations: 0 / 3.685 GB, free: 19.64 MB / 0.5261 GB Notification: Performance of matching and sorting (n=52): time 0.007/9.44, allocations: 1.853 MB / 3.687 GB, free: 34 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.574e-05/9.44, allocations: 115.2 kB / 3.687 GB, free: 33.87 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000721/9.441, allocations: 463.5 kB / 3.688 GB, free: 33.45 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 9.094e-05/9.441, allocations: 33.7 kB / 3.688 GB, free: 33.41 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.000224/9.441, allocations: 326.5 kB / 3.688 GB, free: 33.11 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001634/9.441, allocations: 180.4 kB / 3.688 GB, free: 32.95 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.595e-05/9.441, allocations: 16 kB / 3.688 GB, free: 32.94 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0002098/9.441, allocations: 369.5 kB / 3.689 GB, free: 32.59 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004296/9.442, allocations: 193.1 kB / 3.689 GB, free: 32.4 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004917/9.442, allocations: 357 kB / 3.689 GB, free: 32 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004947/9.443, allocations: 233.3 kB / 3.689 GB, free: 31.8 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.583e-06/9.443, allocations: 0 / 3.689 GB, free: 31.8 MB / 0.5417 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002126/9.445, allocations: 0.8003 MB / 3.69 GB, free: 31.07 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.000932/9.446, allocations: 1.843 MB / 3.692 GB, free: 29.09 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.427e-05/9.446, allocations: 8 kB / 3.692 GB, free: 29.08 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002491/9.448, allocations: 397.4 kB / 3.692 GB, free: 28.79 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007998/9.449, allocations: 128.4 kB / 3.692 GB, free: 28.68 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001336/9.451, allocations: 0.8744 MB / 3.693 GB, free: 27.82 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001041/9.452, allocations: 88.53 kB / 3.693 GB, free: 27.75 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.882e-05/9.452, allocations: 35.75 kB / 3.693 GB, free: 27.71 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/9.452, allocations: 11.89 kB / 3.693 GB, free: 27.7 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001737/9.454, allocations: 0.6816 MB / 3.694 GB, free: 27.09 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/9.454, allocations: 7.953 kB / 3.694 GB, free: 27.08 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001293/9.455, allocations: 281 kB / 3.694 GB, free: 26.86 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006601/9.456, allocations: 138.2 kB / 3.694 GB, free: 26.75 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00115/9.457, allocations: 0.8336 MB / 3.695 GB, free: 25.92 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009703/9.458, allocations: 85.7 kB / 3.695 GB, free: 25.86 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.346e-05/9.458, allocations: 35.8 kB / 3.695 GB, free: 25.82 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 6 (Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase,valve.state_b.phase,valve.state_a.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 19} Notification: Performance of prepare postOptimizeDAE: time 0.0002734/9.458, allocations: 148.2 kB / 3.695 GB, free: 25.68 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001581/9.458, allocations: 67.16 kB / 3.696 GB, free: 25.61 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003509/9.462, allocations: 2.658 MB / 3.698 GB, free: 23.21 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-05/9.462, allocations: 38.91 kB / 3.698 GB, free: 23.18 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.271e-06/9.462, allocations: 0 / 3.698 GB, free: 23.18 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.194e-05/9.462, allocations: 3.938 kB / 3.698 GB, free: 23.18 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005138/9.467, allocations: 3.726 MB / 3.702 GB, free: 19.91 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.952e-06/9.467, allocations: 0 / 3.702 GB, free: 19.91 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000727/9.468, allocations: 154.8 kB / 3.702 GB, free: 19.79 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004517/9.468, allocations: 94.81 kB / 3.702 GB, free: 19.71 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.916e-05/9.468, allocations: 27.27 kB / 3.702 GB, free: 19.69 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001128/9.47, allocations: 1.122 MB / 3.703 GB, free: 18.54 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.849e-06/9.47, allocations: 0 / 3.703 GB, free: 18.54 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003128/9.473, allocations: 2.106 MB / 3.705 GB, free: 16.56 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007108/9.474, allocations: 368 kB / 3.706 GB, free: 16.24 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000154/9.474, allocations: 16 kB / 3.706 GB, free: 16.22 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007519/9.474, allocations: 72.28 kB / 3.706 GB, free: 16.17 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001994/9.475, allocations: 53.38 kB / 3.706 GB, free: 16.14 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.593e-05/9.475, allocations: 23.66 kB / 3.706 GB, free: 16.12 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0008964/9.476, allocations: 0.5544 MB / 3.706 GB, free: 15.61 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.053e-06/9.476, allocations: 0 / 3.706 GB, free: 15.61 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.00552/9.481, allocations: 1.42 MB / 3.708 GB, free: 14.22 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pump.medium.p,pump.medium.h) * Number of discrete variables: 21 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse12.phase,$cse12.region,$cse16.phase,$cse16.region,Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.008705/9.49, allocations: 1.742 MB / 3.709 GB, free: 12.86 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002934/9.493, allocations: 1.199 MB / 3.711 GB, free: 11.75 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.019e-06/9.493, allocations: 0 / 3.711 GB, free: 11.75 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001267/9.494, allocations: 0.6788 MB / 3.711 GB, free: 11.11 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00243/9.497, allocations: 348.9 kB / 3.712 GB, free: 10.86 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004232/9.501, allocations: 1.811 MB / 3.713 GB, free: 9.191 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009796/9.502, allocations: 1.155 MB / 3.714 GB, free: 8.176 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001849/9.504, allocations: 0.6884 MB / 3.715 GB, free: 7.762 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002345/9.504, allocations: 58.72 kB / 3.715 GB, free: 7.707 MB / 0.5417 GB Notification: Performance of SimCode: time 1.813e-06/9.504, allocations: 0 / 3.715 GB, free: 7.707 MB / 0.5417 GB Notification: Performance of Templates: time 0.4216/9.926, allocations: 46.72 MB / 3.761 GB, free: 77.01 MB / 0.5417 GB