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.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve") Notification: Performance of loadModel(ModelicaTest): time 1.865/1.865, allocations: 209.3 MB / 221.5 MB, free: 7.738 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.221e-05/3.212e-05, allocations: 0 / 273.1 MB, free: 3.164 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08939/0.08945, allocations: 48.69 MB / 321.8 MB, free: 2.379 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.551/6.641, allocations: 2.502 GB / 2.816 GB, free: 97.25 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004046/6.641, allocations: 85.12 kB / 2.816 GB, free: 97.25 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.771/8.412, allocations: 426 MB / 3.232 GB, free: 44.57 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.226e-06/8.412, allocations: 7.594 kB / 3.232 GB, free: 44.56 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.657e-05/8.412, allocations: 21.27 kB / 3.232 GB, free: 44.56 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.006007/8.418, allocations: 1.695 MB / 3.234 GB, free: 43.57 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/8.418, allocations: 10.84 kB / 3.234 GB, free: 43.57 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003363/8.421, allocations: 314.7 kB / 3.234 GB, free: 43.51 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001472/8.423, allocations: 0.58 MB / 3.235 GB, free: 43.12 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.009e-05/8.423, allocations: 50.31 kB / 3.235 GB, free: 43.11 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001291/8.423, allocations: 63.25 kB / 3.235 GB, free: 43.09 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00267/8.426, allocations: 0.9547 MB / 3.236 GB, free: 42.65 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.937e-05/8.426, allocations: 0 / 3.236 GB, free: 42.65 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.884e-05/8.426, allocations: 28.53 kB / 3.236 GB, free: 42.63 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.534e-05/8.426, allocations: 20.28 kB / 3.236 GB, free: 42.63 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00253/8.429, allocations: 0.7977 MB / 3.237 GB, free: 42.39 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.005226/8.434, allocations: 4.327 MB / 3.241 GB, free: 38.77 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002252/8.436, allocations: 0.6885 MB / 3.242 GB, free: 38.55 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004411/8.437, allocations: 219.8 kB / 3.242 GB, free: 38.45 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4703/8.907, allocations: 79.42 MB / 3.319 GB, free: 58.98 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.667e-05/8.907, allocations: 41.31 kB / 3.319 GB, free: 58.94 MB / 458.7 MB Notification: Performance of pre-optimization done (n=48): time 3.698e-06/8.907, allocations: 0 / 3.319 GB, free: 58.94 MB / 458.7 MB Notification: Performance of matching and sorting (n=52): time 0.006866/8.914, allocations: 1.82 MB / 3.321 GB, free: 58.6 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.59e-05/8.914, allocations: 110 kB / 3.321 GB, free: 58.48 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007828/8.915, allocations: 420.1 kB / 3.322 GB, free: 58.36 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 8.362e-05/8.915, allocations: 32.23 kB / 3.322 GB, free: 58.33 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002523/8.915, allocations: 340.2 kB / 3.322 GB, free: 58.18 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000196/8.915, allocations: 183.5 kB / 3.322 GB, free: 58.09 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.3e-05/8.916, allocations: 17.06 kB / 3.322 GB, free: 58.09 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001219/8.916, allocations: 368.6 kB / 3.323 GB, free: 57.77 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004957/8.916, allocations: 185.5 kB / 3.323 GB, free: 57.77 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006069/8.917, allocations: 389.3 kB / 3.323 GB, free: 57.54 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000628/8.917, allocations: 240.6 kB / 3.323 GB, free: 57.54 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.069e-06/8.917, allocations: 2.469 kB / 3.323 GB, free: 57.54 MB / 458.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002455/8.92, allocations: 0.823 MB / 3.324 GB, free: 57.46 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004907/8.92, allocations: 2.349 MB / 3.327 GB, free: 55.02 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.929e-05/8.921, allocations: 13.61 kB / 3.327 GB, free: 55.02 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0024/8.923, allocations: 391 kB / 3.327 GB, free: 55.01 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007634/8.924, allocations: 145 kB / 3.327 GB, free: 55.01 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001313/8.925, allocations: 0.8649 MB / 3.328 GB, free: 54.48 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00111/8.926, allocations: 99.39 kB / 3.328 GB, free: 54.48 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001397/8.926, allocations: 38.48 kB / 3.328 GB, free: 54.48 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/8.926, allocations: 5.156 kB / 3.328 GB, free: 54.48 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002002/8.928, allocations: 0.6925 MB / 3.329 GB, free: 54.45 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.689e-05/8.928, allocations: 10.5 kB / 3.329 GB, free: 54.45 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001546/8.93, allocations: 286.5 kB / 3.329 GB, free: 54.44 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008167/8.931, allocations: 148.7 kB / 3.329 GB, free: 54.44 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001122/8.932, allocations: 0.8145 MB / 3.33 GB, free: 53.91 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009855/8.933, allocations: 87.3 kB / 3.33 GB, free: 53.91 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001076/8.933, allocations: 44.88 kB / 3.33 GB, free: 53.91 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 (60): * Single equations (assignments): 59 * 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.000268/8.933, allocations: 145.7 kB / 3.33 GB, free: 53.8 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000189/8.934, allocations: 61.09 kB / 3.33 GB, free: 53.77 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0037/8.937, allocations: 2.66 MB / 3.333 GB, free: 53.49 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.734e-05/8.937, allocations: 33.28 kB / 3.333 GB, free: 53.49 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.475e-06/8.937, allocations: 4.516 kB / 3.333 GB, free: 53.49 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.216e-05/8.937, allocations: 6.859 kB / 3.333 GB, free: 53.49 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005066/8.943, allocations: 3.648 MB / 3.336 GB, free: 53.07 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.027e-05/8.943, allocations: 5.5 kB / 3.336 GB, free: 53.07 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007199/8.943, allocations: 145.7 kB / 3.337 GB, free: 53.07 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004497/8.944, allocations: 97.83 kB / 3.337 GB, free: 53.06 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.957e-05/8.944, allocations: 11.03 kB / 3.337 GB, free: 53.06 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007174/8.945, allocations: 1.133 MB / 3.338 GB, free: 52.02 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.669e-06/8.945, allocations: 0 / 3.338 GB, free: 52.02 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003205/8.948, allocations: 2.088 MB / 3.34 GB, free: 51.74 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000722/8.949, allocations: 344.5 kB / 3.34 GB, free: 51.58 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002236/8.949, allocations: 18.14 kB / 3.34 GB, free: 51.58 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009195/8.95, allocations: 67.41 kB / 3.34 GB, free: 51.57 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001601/8.95, allocations: 53.3 kB / 3.34 GB, free: 51.57 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.303e-05/8.95, allocations: 26.88 kB / 3.34 GB, free: 51.57 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0007519/8.951, allocations: 441.4 kB / 3.341 GB, free: 51.47 MB / 458.7 MB Notification: Performance of sort global known variables: time 9.24e-07/8.951, allocations: 0 / 3.341 GB, free: 51.47 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005988/8.957, allocations: 1.385 MB / 3.342 GB, free: 51.43 MB / 458.7 MB 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.009076/8.966, allocations: 1.72 MB / 3.344 GB, free: 51.24 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002947/8.969, allocations: 1.206 MB / 3.345 GB, free: 51.22 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.611e-06/8.969, allocations: 0 / 3.345 GB, free: 51.22 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001255/8.97, allocations: 0.6717 MB / 3.346 GB, free: 51.21 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001992/8.972, allocations: 296.9 kB / 3.346 GB, free: 51.21 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.262/9.234, allocations: 121.3 MB / 3.464 GB, free: 16.02 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006283/9.235, allocations: 1.16 MB / 3.466 GB, free: 15 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001597/9.237, allocations: 0.6356 MB / 3.466 GB, free: 14.63 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001912/9.237, allocations: 59.14 kB / 3.466 GB, free: 14.57 MB / 458.7 MB Notification: Performance of SimCode: time 1.859e-06/9.237, allocations: 1.781 kB / 3.466 GB, free: 14.57 MB / 458.7 MB Notification: Performance of Templates: time 0.3635/9.6, allocations: 45.09 MB / 3.51 GB, free: 60.15 MB / 458.7 MB