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_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve") Notification: Performance of loadModel(ModelicaTest): time 2.3/2.3, allocations: 270.1 MB / 283.6 MB, free: 3.023 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.744e-05/3.764e-05, allocations: 3.984 kB / 348.4 MB, free: 10.79 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1133, allocations: 61.89 MB / 410.3 MB, free: 12.96 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.963/7.077, allocations: 2.787 GB / 3.188 GB, free: 143.7 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002292/7.077, allocations: 81.45 kB / 3.188 GB, free: 143.7 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.863/8.94, allocations: 443.6 MB / 3.621 GB, free: 58.1 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.486e-06/8.94, allocations: 0 / 3.621 GB, free: 58.1 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.806e-05/8.94, allocations: 19.56 kB / 3.621 GB, free: 58.1 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.005704/8.946, allocations: 1.748 MB / 3.623 GB, free: 57.14 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/8.946, allocations: 11.19 kB / 3.623 GB, free: 57.14 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003403/8.949, allocations: 330.3 kB / 3.623 GB, free: 57.09 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001351/8.951, allocations: 0.5654 MB / 3.624 GB, free: 56.71 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.489e-05/8.951, allocations: 46.47 kB / 3.624 GB, free: 56.69 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001152/8.951, allocations: 58.78 kB / 3.624 GB, free: 56.67 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002892/8.954, allocations: 0.9569 MB / 3.625 GB, free: 56.23 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.006e-05/8.954, allocations: 0 / 3.625 GB, free: 56.23 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001037/8.954, allocations: 23.75 kB / 3.625 GB, free: 56.21 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.656e-05/8.954, allocations: 31.03 kB / 3.625 GB, free: 56.21 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002757/8.957, allocations: 0.7872 MB / 3.626 GB, free: 55.98 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.005824/8.963, allocations: 4.459 MB / 3.63 GB, free: 52.33 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002294/8.965, allocations: 0.7082 MB / 3.631 GB, free: 52.11 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004493/8.965, allocations: 227.8 kB / 3.631 GB, free: 52.01 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.126/9.091, allocations: 55.76 MB / 3.685 GB, free: 31.96 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.457e-05/9.091, allocations: 46.56 kB / 3.685 GB, free: 31.91 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=48): time 3.752e-06/9.091, allocations: 0 / 3.685 GB, free: 31.91 MB / 0.5417 GB Notification: Performance of matching and sorting (n=52): time 0.006906/9.098, allocations: 1.858 MB / 3.687 GB, free: 31.09 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.822e-05/9.098, allocations: 107.2 kB / 3.687 GB, free: 30.96 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007506/9.099, allocations: 458.7 kB / 3.688 GB, free: 30.75 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0001118/9.099, allocations: 36.77 kB / 3.688 GB, free: 30.71 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002319/9.1, allocations: 325.3 kB / 3.688 GB, free: 30.45 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001659/9.1, allocations: 175.5 kB / 3.688 GB, free: 30.32 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.02e-05/9.1, allocations: 12 kB / 3.688 GB, free: 30.31 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0002076/9.1, allocations: 376.4 kB / 3.689 GB, free: 29.96 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004526/9.101, allocations: 194.6 kB / 3.689 GB, free: 29.89 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005346/9.101, allocations: 355.9 kB / 3.689 GB, free: 29.61 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005348/9.102, allocations: 235.2 kB / 3.689 GB, free: 29.52 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.842e-06/9.102, allocations: 3.469 kB / 3.689 GB, free: 29.52 MB / 0.5417 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002169/9.104, allocations: 0.7986 MB / 3.69 GB, free: 29.19 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008755/9.105, allocations: 1.842 MB / 3.692 GB, free: 27.23 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.502e-05/9.105, allocations: 7.781 kB / 3.692 GB, free: 27.23 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002559/9.107, allocations: 398.5 kB / 3.692 GB, free: 27.16 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007556/9.108, allocations: 136 kB / 3.692 GB, free: 27.14 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001347/9.109, allocations: 0.8651 MB / 3.693 GB, free: 26.48 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001045/9.111, allocations: 91.38 kB / 3.693 GB, free: 26.46 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.084e-05/9.111, allocations: 41.25 kB / 3.693 GB, free: 26.45 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/9.111, allocations: 2.969 kB / 3.693 GB, free: 26.45 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001769/9.112, allocations: 0.6806 MB / 3.694 GB, free: 26.19 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/9.113, allocations: 3.25 kB / 3.694 GB, free: 26.19 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001328/9.114, allocations: 296.7 kB / 3.694 GB, free: 26.11 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007376/9.115, allocations: 137.4 kB / 3.694 GB, free: 26.1 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001167/9.116, allocations: 0.8279 MB / 3.695 GB, free: 25.45 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009509/9.117, allocations: 87.55 kB / 3.695 GB, free: 25.43 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.333e-05/9.117, allocations: 30.77 kB / 3.695 GB, free: 25.43 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.0002723/9.117, allocations: 148.3 kB / 3.695 GB, free: 25.29 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001592/9.117, allocations: 71.59 kB / 3.696 GB, free: 25.25 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003632/9.121, allocations: 2.653 MB / 3.698 GB, free: 23.41 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.539e-05/9.121, allocations: 31.42 kB / 3.698 GB, free: 23.4 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.326e-06/9.121, allocations: 7.938 kB / 3.698 GB, free: 23.39 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.107e-05/9.121, allocations: 4 kB / 3.698 GB, free: 23.39 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005183/9.126, allocations: 3.725 MB / 3.702 GB, free: 20.12 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.492e-06/9.126, allocations: 0 / 3.702 GB, free: 20.12 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007493/9.127, allocations: 150.1 kB / 3.702 GB, free: 20 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004641/9.128, allocations: 104.7 kB / 3.702 GB, free: 19.91 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.765e-05/9.128, allocations: 12 kB / 3.702 GB, free: 19.9 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001049/9.129, allocations: 1.124 MB / 3.703 GB, free: 18.75 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.462e-06/9.129, allocations: 4.062 kB / 3.703 GB, free: 18.74 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00321/9.132, allocations: 2.107 MB / 3.705 GB, free: 16.77 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006898/9.133, allocations: 367.8 kB / 3.706 GB, free: 16.45 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001515/9.133, allocations: 8 kB / 3.706 GB, free: 16.44 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000757/9.134, allocations: 73.14 kB / 3.706 GB, free: 16.38 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001534/9.134, allocations: 52.09 kB / 3.706 GB, free: 16.35 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.794e-05/9.134, allocations: 26.77 kB / 3.706 GB, free: 16.33 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0009428/9.135, allocations: 0.55 MB / 3.706 GB, free: 15.82 MB / 0.5417 GB Notification: Performance of sort global known variables: time 9.8e-07/9.135, allocations: 3.938 kB / 3.706 GB, free: 15.82 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.00573/9.141, allocations: 1.42 MB / 3.708 GB, free: 14.43 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.008646/9.149, allocations: 1.733 MB / 3.709 GB, free: 13.08 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002872/9.152, allocations: 1.203 MB / 3.711 GB, free: 11.96 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 9.502e-06/9.152, allocations: 4 kB / 3.711 GB, free: 11.96 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001253/9.154, allocations: 0.6772 MB / 3.711 GB, free: 11.32 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00229/9.156, allocations: 356.9 kB / 3.712 GB, free: 11.06 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004213/9.16, allocations: 1.82 MB / 3.713 GB, free: 9.387 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009961/9.161, allocations: 1.158 MB / 3.714 GB, free: 8.371 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001868/9.163, allocations: 0.6891 MB / 3.715 GB, free: 7.949 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002352/9.163, allocations: 59.28 kB / 3.715 GB, free: 7.895 MB / 0.5417 GB Notification: Performance of SimCode: time 2.037e-06/9.163, allocations: 0 / 3.715 GB, free: 7.895 MB / 0.5417 GB Notification: Performance of Templates: time 0.4239/9.587, allocations: 46.72 MB / 3.761 GB, free: 71.71 MB / 0.5417 GB