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.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve") Notification: Performance of loadModel(ModelicaTest): time 2.324/2.324, allocations: 235 MB / 247.2 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.655e-05/3.672e-05, allocations: 4 kB / 304.9 MB, free: 5.156 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.328/0.3281, allocations: 54.84 MB / 359.8 MB, free: 3.156 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.451/6.779, allocations: 2.613 GB / 2.964 GB, free: 104.4 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002544/6.78, allocations: 85.16 kB / 2.964 GB, free: 104.4 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.811/8.59, allocations: 436.9 MB / 3.391 GB, free: 53.88 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.042e-06/8.59, allocations: 0 / 3.391 GB, free: 53.88 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.811e-05/8.59, allocations: 24.39 kB / 3.391 GB, free: 53.88 MB / 490.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.006293/8.597, allocations: 1.75 MB / 3.392 GB, free: 53.04 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/8.597, allocations: 10.78 kB / 3.392 GB, free: 53.04 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003351/8.6, allocations: 326.8 kB / 3.393 GB, free: 53 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001484/8.602, allocations: 0.575 MB / 3.393 GB, free: 52.75 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.532e-05/8.602, allocations: 55.64 kB / 3.393 GB, free: 52.74 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001328/8.602, allocations: 59.41 kB / 3.393 GB, free: 52.73 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003043/8.605, allocations: 0.953 MB / 3.394 GB, free: 52.55 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.48e-05/8.605, allocations: 3.719 kB / 3.394 GB, free: 52.55 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001011/8.605, allocations: 27.84 kB / 3.394 GB, free: 52.55 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.87e-05/8.605, allocations: 22.16 kB / 3.394 GB, free: 52.54 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002853/8.608, allocations: 0.7944 MB / 3.395 GB, free: 52.54 MB / 490.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.00543/8.614, allocations: 4.333 MB / 3.399 GB, free: 49.44 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002522/8.616, allocations: 0.6822 MB / 3.4 GB, free: 49.41 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004625/8.617, allocations: 216.8 kB / 3.4 GB, free: 49.4 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2091/8.826, allocations: 79.45 MB / 3.478 GB, free: 19.99 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.757e-05/8.826, allocations: 42.83 kB / 3.478 GB, free: 19.94 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=48): time 3.791e-06/8.826, allocations: 0 / 3.478 GB, free: 19.94 MB / 0.4948 GB Notification: Performance of matching and sorting (n=52): time 0.006465/8.832, allocations: 1.82 MB / 3.48 GB, free: 18.73 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.185e-05/8.833, allocations: 110.7 kB / 3.48 GB, free: 18.6 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006657/8.833, allocations: 423.3 kB / 3.48 GB, free: 18.29 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 8.782e-05/8.833, allocations: 33.33 kB / 3.48 GB, free: 18.26 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002272/8.834, allocations: 335.9 kB / 3.481 GB, free: 18.05 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000158/8.834, allocations: 181.4 kB / 3.481 GB, free: 17.91 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.964e-05/8.834, allocations: 18.88 kB / 3.481 GB, free: 17.9 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002077/8.834, allocations: 371.8 kB / 3.481 GB, free: 17.57 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004282/8.834, allocations: 182.7 kB / 3.481 GB, free: 17.46 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005058/8.835, allocations: 391.3 kB / 3.482 GB, free: 17.11 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005106/8.836, allocations: 250.9 kB / 3.482 GB, free: 16.97 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.278e-06/8.836, allocations: 0 / 3.482 GB, free: 16.97 MB / 0.4948 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002216/8.838, allocations: 0.8259 MB / 3.483 GB, free: 16.46 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001631/8.839, allocations: 2.345 MB / 3.485 GB, free: 29.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.022e-05/8.84, allocations: 8 kB / 3.485 GB, free: 29.97 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002565/8.842, allocations: 398.8 kB / 3.485 GB, free: 29.72 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007732/8.843, allocations: 145.8 kB / 3.485 GB, free: 29.62 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001435/8.844, allocations: 0.8659 MB / 3.486 GB, free: 28.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001055/8.845, allocations: 93.42 kB / 3.486 GB, free: 28.83 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000113/8.846, allocations: 43.38 kB / 3.486 GB, free: 28.8 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/8.846, allocations: 4 kB / 3.486 GB, free: 28.79 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001824/8.847, allocations: 0.693 MB / 3.487 GB, free: 28.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.317e-05/8.848, allocations: 8 kB / 3.487 GB, free: 28.22 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001497/8.849, allocations: 284.5 kB / 3.487 GB, free: 28 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007595/8.85, allocations: 155.9 kB / 3.488 GB, free: 27.88 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001295/8.851, allocations: 0.8132 MB / 3.488 GB, free: 27.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001045/8.852, allocations: 90.25 kB / 3.488 GB, free: 27 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001243/8.852, allocations: 31.84 kB / 3.488 GB, free: 26.97 MB / 0.5105 GB 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.0003137/8.853, allocations: 144.8 kB / 3.489 GB, free: 26.83 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002021/8.853, allocations: 59.25 kB / 3.489 GB, free: 26.77 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003731/8.857, allocations: 2.659 MB / 3.491 GB, free: 24.38 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.814e-05/8.857, allocations: 38.62 kB / 3.491 GB, free: 24.36 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.9e-06/8.857, allocations: 7.281 kB / 3.491 GB, free: 24.35 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.325e-05/8.857, allocations: 0 / 3.491 GB, free: 24.35 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005054/8.862, allocations: 3.663 MB / 3.495 GB, free: 21.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.386e-06/8.862, allocations: 0 / 3.495 GB, free: 21.11 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006934/8.863, allocations: 141.8 kB / 3.495 GB, free: 21 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000471/8.863, allocations: 101.5 kB / 3.495 GB, free: 20.91 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.12e-05/8.863, allocations: 15.56 kB / 3.495 GB, free: 20.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001107/8.864, allocations: 1.128 MB / 3.496 GB, free: 19.74 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.949e-06/8.864, allocations: 0 / 3.496 GB, free: 19.74 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003204/8.868, allocations: 2.088 MB / 3.498 GB, free: 17.8 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006581/8.868, allocations: 341.3 kB / 3.499 GB, free: 17.49 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001515/8.868, allocations: 12 kB / 3.499 GB, free: 17.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007169/8.869, allocations: 74.91 kB / 3.499 GB, free: 17.42 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001399/8.869, allocations: 51.36 kB / 3.499 GB, free: 17.39 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.233e-05/8.869, allocations: 23.38 kB / 3.499 GB, free: 17.37 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000722/8.87, allocations: 439.6 kB / 3.499 GB, free: 16.98 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.6e-07/8.87, allocations: 0 / 3.499 GB, free: 16.98 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005805/8.876, allocations: 1.4 MB / 3.501 GB, free: 15.61 MB / 0.5105 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.009023/8.885, allocations: 1.741 MB / 3.502 GB, free: 14.27 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002805/8.888, allocations: 1.196 MB / 3.503 GB, free: 13.2 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.75e-06/8.888, allocations: 4 kB / 3.503 GB, free: 13.19 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001232/8.889, allocations: 0.671 MB / 3.504 GB, free: 12.57 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001959/8.891, allocations: 281.2 kB / 3.504 GB, free: 12.36 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5877/9.479, allocations: 123.7 MB / 3.625 GB, free: 74.21 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006326/9.48, allocations: 1.151 MB / 3.626 GB, free: 73.48 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001738/9.481, allocations: 0.6461 MB / 3.627 GB, free: 73.45 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001928/9.482, allocations: 54.28 kB / 3.627 GB, free: 73.45 MB / 0.5105 GB Notification: Performance of SimCode: time 1.678e-06/9.482, allocations: 0 / 3.627 GB, free: 73.45 MB / 0.5105 GB Notification: Performance of Templates: time 0.07897/9.561, allocations: 45.28 MB / 3.671 GB, free: 52.91 MB / 0.5105 GB