Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.medium.h|pump.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage") Notification: Performance of loadModel(ModelicaTest): time 2.322/2.322, allocations: 249.5 MB / 261.6 MB, free: 2.164 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.329e-05/3.313e-05, allocations: 4 kB / 323.4 MB, free: 4.309 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3223/0.3224, allocations: 58.84 MB / 382.2 MB, free: 10.31 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.708/7.03, allocations: 2.782 GB / 3.155 GB, free: 124.2 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002427/7.031, allocations: 85.33 kB / 3.155 GB, free: 124.2 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.848/8.879, allocations: 439 MB / 3.584 GB, free: 61.82 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.017e-06/8.879, allocations: 0 / 3.584 GB, free: 61.82 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.218e-05/8.879, allocations: 20.44 kB / 3.584 GB, free: 61.82 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.006482/8.885, allocations: 1.742 MB / 3.585 GB, free: 61.07 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/8.885, allocations: 11.88 kB / 3.585 GB, free: 61.07 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003351/8.889, allocations: 327.3 kB / 3.586 GB, free: 61.03 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001469/8.89, allocations: 0.5708 MB / 3.586 GB, free: 60.79 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.356e-05/8.89, allocations: 48.81 kB / 3.586 GB, free: 60.79 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001389/8.891, allocations: 57.69 kB / 3.586 GB, free: 60.79 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002836/8.893, allocations: 0.9637 MB / 3.587 GB, free: 60.59 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.535e-05/8.894, allocations: 5.688 kB / 3.587 GB, free: 60.59 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001006/8.894, allocations: 32.86 kB / 3.587 GB, free: 60.59 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.377e-05/8.894, allocations: 19.91 kB / 3.587 GB, free: 60.58 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003096/8.897, allocations: 0.7907 MB / 3.588 GB, free: 60.58 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.005492/8.902, allocations: 4.536 MB / 3.593 GB, free: 57.32 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002728/8.905, allocations: 0.7145 MB / 3.593 GB, free: 57.3 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004949/8.906, allocations: 233.7 kB / 3.594 GB, free: 57.29 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1324/9.038, allocations: 55.75 MB / 3.648 GB, free: 38.65 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.74e-05/9.038, allocations: 34.81 kB / 3.648 GB, free: 38.61 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=48): time 3.314e-06/9.038, allocations: 0 / 3.648 GB, free: 38.61 MB / 0.5261 GB Notification: Performance of matching and sorting (n=52): time 0.006493/9.045, allocations: 1.855 MB / 3.65 GB, free: 38.19 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.388e-05/9.045, allocations: 107.2 kB / 3.65 GB, free: 38.07 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007111/9.045, allocations: 438.9 kB / 3.65 GB, free: 37.95 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 8.795e-05/9.046, allocations: 37.14 kB / 3.65 GB, free: 37.92 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002362/9.046, allocations: 332.5 kB / 3.651 GB, free: 37.75 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001595/9.046, allocations: 173.5 kB / 3.651 GB, free: 37.64 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.198e-05/9.046, allocations: 13.69 kB / 3.651 GB, free: 37.64 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002158/9.046, allocations: 372.8 kB / 3.651 GB, free: 37.32 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004356/9.047, allocations: 192.8 kB / 3.651 GB, free: 37.32 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005215/9.047, allocations: 359.9 kB / 3.652 GB, free: 37.14 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005061/9.048, allocations: 238.5 kB / 3.652 GB, free: 37.12 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.766e-06/9.048, allocations: 3.781 kB / 3.652 GB, free: 37.12 MB / 0.5261 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002114/9.05, allocations: 0.7842 MB / 3.653 GB, free: 37.04 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008676/9.051, allocations: 1.752 MB / 3.654 GB, free: 35.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.211e-05/9.051, allocations: 3.625 kB / 3.654 GB, free: 35.21 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002689/9.054, allocations: 391 kB / 3.655 GB, free: 35.18 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006918/9.054, allocations: 132.1 kB / 3.655 GB, free: 35.18 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001587/9.056, allocations: 0.8751 MB / 3.656 GB, free: 34.65 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001035/9.057, allocations: 98.06 kB / 3.656 GB, free: 34.64 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.91e-05/9.057, allocations: 31.27 kB / 3.656 GB, free: 34.64 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/9.057, allocations: 7.875 kB / 3.656 GB, free: 34.64 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002419/9.06, allocations: 0.7534 MB / 3.657 GB, free: 34.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/9.06, allocations: 3.469 kB / 3.657 GB, free: 34.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001701/9.061, allocations: 298 kB / 3.657 GB, free: 34.59 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007043/9.062, allocations: 132.7 kB / 3.657 GB, free: 34.59 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001493/9.064, allocations: 0.8465 MB / 3.658 GB, free: 34.05 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001003/9.065, allocations: 87.59 kB / 3.658 GB, free: 34.04 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.59e-05/9.065, allocations: 32.03 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: 20 * 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 (55): * Single equations (assignments): 54 * 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 {2 20} Notification: Performance of prepare postOptimizeDAE: time 0.0002775/9.065, allocations: 144.3 kB / 3.658 GB, free: 33.93 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001596/9.065, allocations: 64.41 kB / 3.658 GB, free: 33.9 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003814/9.069, allocations: 2.838 MB / 3.661 GB, free: 33.55 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.373e-05/9.069, allocations: 42.06 kB / 3.661 GB, free: 33.55 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.148e-06/9.069, allocations: 3.953 kB / 3.661 GB, free: 33.55 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.414e-05/9.069, allocations: 11.2 kB / 3.661 GB, free: 33.55 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005374/9.074, allocations: 3.991 MB / 3.665 GB, free: 32.44 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.056e-05/9.075, allocations: 3.328 kB / 3.665 GB, free: 32.44 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001054/9.076, allocations: 174.2 kB / 3.665 GB, free: 32.43 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004448/9.076, allocations: 79.69 kB / 3.665 GB, free: 32.4 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.497e-05/9.076, allocations: 11.94 kB / 3.665 GB, free: 32.39 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009722/9.077, allocations: 1.183 MB / 3.666 GB, free: 31.24 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.324e-06/9.077, allocations: 3.953 kB / 3.666 GB, free: 31.24 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00342/9.081, allocations: 2.36 MB / 3.669 GB, free: 30.1 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000594/9.081, allocations: 330.7 kB / 3.669 GB, free: 29.85 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001361/9.081, allocations: 11.69 kB / 3.669 GB, free: 29.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007333/9.082, allocations: 80.7 kB / 3.669 GB, free: 29.83 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001289/9.082, allocations: 66.69 kB / 3.669 GB, free: 29.81 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.567e-05/9.082, allocations: 21.72 kB / 3.669 GB, free: 29.81 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0007212/9.083, allocations: 447.6 kB / 3.67 GB, free: 29.6 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.63e-07/9.083, allocations: 0 / 3.67 GB, free: 29.6 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0053/9.088, allocations: 1.399 MB / 3.671 GB, free: 29.32 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: 25 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.region3boundary,$cse11.region3boundary,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.region3boundary,$cse15.region3boundary,$cse17.phase,$cse17.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 (67): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 13 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.008777/9.097, allocations: 1.741 MB / 3.673 GB, free: 28.89 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003213/9.1, allocations: 1.267 MB / 3.674 GB, free: 28.43 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/9.101, allocations: 0 / 3.674 GB, free: 28.43 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001538/9.102, allocations: 0.8051 MB / 3.675 GB, free: 28.07 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002305/9.104, allocations: 328.1 kB / 3.675 GB, free: 27.99 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003779/9.108, allocations: 1.948 MB / 3.677 GB, free: 27.09 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008741/9.109, allocations: 1.167 MB / 3.678 GB, free: 26.36 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001617/9.111, allocations: 0.6819 MB / 3.679 GB, free: 26.32 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002049/9.111, allocations: 56.62 kB / 3.679 GB, free: 26.31 MB / 0.5261 GB Notification: Performance of SimCode: time 2.213e-06/9.111, allocations: 0 / 3.679 GB, free: 26.31 MB / 0.5261 GB Notification: Performance of Templates: time 0.4021/9.513, allocations: 46.2 MB / 3.724 GB, free: 77.49 MB / 0.5261 GB