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_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve") Notification: Performance of loadModel(ModelicaTest): time 2.338/2.338, allocations: 249.5 MB / 261.6 MB, free: 2.164 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.631e-05/3.651e-05, allocations: 4 kB / 323.4 MB, free: 4.305 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.368/0.3681, allocations: 58.83 MB / 382.2 MB, free: 10.32 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.589/6.957, allocations: 2.782 GB / 3.155 GB, free: 123.9 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002251/6.958, allocations: 87.16 kB / 3.155 GB, free: 123.9 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.812/8.769, allocations: 439.4 MB / 3.584 GB, free: 61.8 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.822e-06/8.769, allocations: 0 / 3.584 GB, free: 61.8 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.385e-05/8.77, allocations: 17.55 kB / 3.584 GB, free: 61.8 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.00611/8.776, allocations: 1.744 MB / 3.586 GB, free: 61.03 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/8.776, allocations: 7.625 kB / 3.586 GB, free: 61.03 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003313/8.779, allocations: 331 kB / 3.586 GB, free: 60.99 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001447/8.781, allocations: 0.5663 MB / 3.587 GB, free: 60.73 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.267e-05/8.781, allocations: 59.8 kB / 3.587 GB, free: 60.73 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001225/8.781, allocations: 54.19 kB / 3.587 GB, free: 60.73 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002781/8.784, allocations: 0.9563 MB / 3.588 GB, free: 60.54 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.99e-05/8.784, allocations: 1.969 kB / 3.588 GB, free: 60.54 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-05/8.784, allocations: 29.47 kB / 3.588 GB, free: 60.54 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.074e-05/8.784, allocations: 26.67 kB / 3.588 GB, free: 60.53 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002446/8.786, allocations: 0.8014 MB / 3.589 GB, free: 60.53 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.005681/8.792, allocations: 4.484 MB / 3.593 GB, free: 57.41 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002288/8.794, allocations: 0.6978 MB / 3.594 GB, free: 57.39 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004851/8.795, allocations: 229.1 kB / 3.594 GB, free: 57.38 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1274/8.922, allocations: 55.73 MB / 3.648 GB, free: 38.75 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.649e-05/8.922, allocations: 38.41 kB / 3.648 GB, free: 38.71 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=48): time 4.002e-06/8.922, allocations: 0 / 3.648 GB, free: 38.71 MB / 0.5261 GB Notification: Performance of matching and sorting (n=52): time 0.006523/8.929, allocations: 1.864 MB / 3.65 GB, free: 38.28 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.869e-05/8.929, allocations: 113.7 kB / 3.65 GB, free: 38.16 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007365/8.93, allocations: 455.9 kB / 3.651 GB, free: 38.04 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 9.149e-05/8.93, allocations: 40.98 kB / 3.651 GB, free: 38 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002316/8.93, allocations: 327.8 kB / 3.651 GB, free: 37.84 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001617/8.93, allocations: 180.1 kB / 3.651 GB, free: 37.73 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.828e-05/8.93, allocations: 10 kB / 3.651 GB, free: 37.73 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000216/8.931, allocations: 372.6 kB / 3.652 GB, free: 37.41 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004565/8.931, allocations: 189.5 kB / 3.652 GB, free: 37.41 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00052/8.932, allocations: 362 kB / 3.652 GB, free: 37.22 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005377/8.932, allocations: 231.6 kB / 3.652 GB, free: 37.21 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.69e-06/8.932, allocations: 3.969 kB / 3.652 GB, free: 37.21 MB / 0.5261 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002275/8.934, allocations: 0.8065 MB / 3.653 GB, free: 37.11 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009253/8.935, allocations: 1.833 MB / 3.655 GB, free: 35.19 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.469e-05/8.935, allocations: 7.594 kB / 3.655 GB, free: 35.19 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002396/8.938, allocations: 399.6 kB / 3.655 GB, free: 35.18 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006651/8.939, allocations: 132.3 kB / 3.655 GB, free: 35.17 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001408/8.94, allocations: 0.8753 MB / 3.656 GB, free: 34.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001062/8.941, allocations: 94.25 kB / 3.656 GB, free: 34.63 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.642e-05/8.941, allocations: 41.41 kB / 3.656 GB, free: 34.63 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/8.941, allocations: 3.656 kB / 3.656 GB, free: 34.63 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001951/8.943, allocations: 0.676 MB / 3.657 GB, free: 34.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/8.943, allocations: 3.969 kB / 3.657 GB, free: 34.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002013/8.945, allocations: 299.5 kB / 3.657 GB, free: 34.59 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007839/8.946, allocations: 147.4 kB / 3.657 GB, free: 34.58 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001524/8.948, allocations: 0.8323 MB / 3.658 GB, free: 34.05 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001044/8.949, allocations: 91.11 kB / 3.658 GB, free: 34.04 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.088e-05/8.949, allocations: 31.92 kB / 3.658 GB, free: 34.04 MB / 0.5261 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.0002914/8.949, allocations: 145 kB / 3.659 GB, free: 33.93 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001678/8.949, allocations: 70.94 kB / 3.659 GB, free: 33.89 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003828/8.953, allocations: 2.659 MB / 3.661 GB, free: 33.53 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.02e-05/8.953, allocations: 37.41 kB / 3.661 GB, free: 33.53 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.012e-06/8.953, allocations: 0 / 3.661 GB, free: 33.53 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.2e-05/8.953, allocations: 3.281 kB / 3.661 GB, free: 33.53 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00538/8.959, allocations: 3.727 MB / 3.665 GB, free: 33.08 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.009e-05/8.959, allocations: 5.25 kB / 3.665 GB, free: 33.08 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008204/8.96, allocations: 151.9 kB / 3.665 GB, free: 33.07 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005382/8.96, allocations: 96.84 kB / 3.665 GB, free: 33.05 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-05/8.96, allocations: 19.41 kB / 3.665 GB, free: 33.05 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001111/8.961, allocations: 1.128 MB / 3.666 GB, free: 31.98 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.764e-06/8.961, allocations: 3.938 kB / 3.666 GB, free: 31.98 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003342/8.965, allocations: 2.103 MB / 3.668 GB, free: 30.95 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007041/8.965, allocations: 364.2 kB / 3.669 GB, free: 30.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001548/8.966, allocations: 15.56 kB / 3.669 GB, free: 30.69 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007576/8.966, allocations: 75.48 kB / 3.669 GB, free: 30.67 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001448/8.967, allocations: 47.83 kB / 3.669 GB, free: 30.66 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.447e-05/8.967, allocations: 22.66 kB / 3.669 GB, free: 30.66 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.000929/8.968, allocations: 0.5539 MB / 3.669 GB, free: 30.41 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9.06e-07/8.968, allocations: 0 / 3.669 GB, free: 30.41 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005602/8.973, allocations: 1.424 MB / 3.671 GB, free: 30.13 MB / 0.5261 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.008857/8.982, allocations: 1.736 MB / 3.672 GB, free: 29.7 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003145/8.985, allocations: 1.196 MB / 3.674 GB, free: 29.28 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.635e-06/8.985, allocations: 0 / 3.674 GB, free: 29.28 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00132/8.987, allocations: 0.6725 MB / 3.674 GB, free: 28.98 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0022/8.989, allocations: 342.8 kB / 3.675 GB, free: 28.89 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003454/8.992, allocations: 1.824 MB / 3.676 GB, free: 28.04 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008564/8.993, allocations: 1.153 MB / 3.677 GB, free: 27.32 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001738/8.995, allocations: 0.68 MB / 3.678 GB, free: 27.27 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000208/8.995, allocations: 59.73 kB / 3.678 GB, free: 27.26 MB / 0.5261 GB Notification: Performance of SimCode: time 1.885e-06/8.995, allocations: 0 / 3.678 GB, free: 27.26 MB / 0.5261 GB Notification: Performance of Templates: time 0.3978/9.393, allocations: 46.72 MB / 3.724 GB, free: 77.25 MB / 0.5261 GB