Running command: translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank1.level|tank1.medium.T|tank2.level|tank2.medium.T|tank3.level|tank3.medium.T|valveDelayed.filter.x.1.|valveDelayed.filter.x.2.",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve") Notification: Performance of loadModel(ModelicaTest): time 2.249/2.249, allocations: 235 MB / 247.2 MB, free: 14.35 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.591e-05/3.608e-05, allocations: 8 kB / 304.9 MB, free: 5.156 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3316/0.3317, allocations: 54.84 MB / 359.8 MB, free: 3.148 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6836/1.015, allocations: 346.2 MB / 0.6894 GB, free: 5.586 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002802/1.016, allocations: 83.08 kB / 0.6895 GB, free: 5.543 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.556/2.571, allocations: 302.6 MB / 0.985 GB, free: 81.3 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.397e-06/2.571, allocations: 0 / 0.985 GB, free: 81.3 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002156/2.572, allocations: 49.47 kB / 0.9851 GB, free: 81.29 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: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 0.007267/2.579, allocations: 2.052 MB / 0.9871 GB, free: 80.21 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/2.579, allocations: 8.469 kB / 0.9871 GB, free: 80.21 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001283/2.58, allocations: 210.8 kB / 0.9873 GB, free: 80.11 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003979/2.584, allocations: 1.261 MB / 0.9885 GB, free: 79.74 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002328/2.585, allocations: 185.1 kB / 0.9887 GB, free: 79.64 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005479/2.585, allocations: 126.1 kB / 0.9888 GB, free: 79.64 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004976/2.59, allocations: 1.909 MB / 0.9907 GB, free: 79.41 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.732e-05/2.59, allocations: 0 / 0.9907 GB, free: 79.41 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002877/2.59, allocations: 48.42 kB / 0.9907 GB, free: 79.41 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001884/2.591, allocations: 118.3 kB / 0.9908 GB, free: 79.41 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004812/2.596, allocations: 1.881 MB / 0.9927 GB, free: 79.39 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.01754/2.613, allocations: 7.024 MB / 0.9995 GB, free: 77.11 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002746/2.616, allocations: 1.292 MB / 1.001 GB, free: 77.08 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001665/2.618, allocations: 0.7858 MB / 1.002 GB, free: 77.07 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008811/2.626, allocations: 4.508 MB / 1.006 GB, free: 74.48 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.055e-05/2.627, allocations: 51.66 kB / 1.006 GB, free: 74.43 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001426/2.628, allocations: 224.4 kB / 1.006 GB, free: 74.34 MB / 490.7 MB Notification: Performance of pre-optimization done (n=117): time 6.562e-06/2.628, allocations: 0 / 1.006 GB, free: 74.34 MB / 490.7 MB Notification: Performance of matching and sorting (n=132): time 0.01327/2.641, allocations: 4.376 MB / 1.01 GB, free: 72.61 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.807e-05/2.641, allocations: 221.6 kB / 1.011 GB, free: 72.36 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002303/2.644, allocations: 1.186 MB / 1.012 GB, free: 71.88 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003801/2.644, allocations: 54.83 kB / 1.012 GB, free: 71.83 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005106/2.645, allocations: 0.6508 MB / 1.013 GB, free: 71.32 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005766/2.645, allocations: 460.9 kB / 1.013 GB, free: 70.97 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001639/2.645, allocations: 27.88 kB / 1.013 GB, free: 70.95 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001254/2.646, allocations: 378 kB / 1.013 GB, free: 70.61 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001716/2.647, allocations: 0.7316 MB / 1.014 GB, free: 70.34 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002111/2.649, allocations: 1.053 MB / 1.015 GB, free: 69.71 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002158/2.652, allocations: 0.8554 MB / 1.016 GB, free: 69.4 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-05/2.652, allocations: 3.406 kB / 1.016 GB, free: 69.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.006408/2.658, allocations: 2.367 MB / 1.018 GB, free: 68.55 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006273/2.659, allocations: 3.023 MB / 1.021 GB, free: 65.41 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.698e-05/2.659, allocations: 8.344 kB / 1.021 GB, free: 65.41 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009848/2.669, allocations: 1.469 MB / 1.023 GB, free: 65.24 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002129/2.671, allocations: 333.3 kB / 1.023 GB, free: 65.23 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00366/2.675, allocations: 1.698 MB / 1.025 GB, free: 64.27 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002509/2.677, allocations: 100.4 kB / 1.025 GB, free: 64.24 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000476/2.678, allocations: 75.39 kB / 1.025 GB, free: 64.23 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/2.678, allocations: 3.906 kB / 1.025 GB, free: 64.23 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005007/2.683, allocations: 1.963 MB / 1.027 GB, free: 63.53 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.085e-05/2.683, allocations: 12.56 kB / 1.027 GB, free: 63.53 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006056/2.689, allocations: 0.931 MB / 1.028 GB, free: 63.41 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002204/2.691, allocations: 345.9 kB / 1.028 GB, free: 63.38 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002233/2.693, allocations: 1.274 MB / 1.029 GB, free: 62.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002116/2.696, allocations: 103.5 kB / 1.029 GB, free: 62.56 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003858/2.696, allocations: 75.41 kB / 1.029 GB, free: 62.55 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 6 (tank1.regularFlow[1],tank1.inFlow[1],tank2.regularFlow[1],tank2.inFlow[1],tank3.regularFlow[1],tank3.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (165): * Single equations (assignments): 162 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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 {10 23} Notification: Performance of prepare postOptimizeDAE: time 0.0005438/2.696, allocations: 200.3 kB / 1.03 GB, free: 62.38 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005031/2.697, allocations: 168.6 kB / 1.03 GB, free: 62.29 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006514/2.704, allocations: 2.467 MB / 1.032 GB, free: 61.4 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.576e-05/2.704, allocations: 16.31 kB / 1.032 GB, free: 61.4 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.216e-06/2.704, allocations: 0 / 1.032 GB, free: 61.4 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.408e-05/2.704, allocations: 12.34 kB / 1.032 GB, free: 61.4 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009358/2.713, allocations: 4.02 MB / 1.036 GB, free: 59.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.129e-05/2.713, allocations: 4 kB / 1.036 GB, free: 59.29 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001562/2.715, allocations: 235.8 kB / 1.036 GB, free: 59.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006302/2.721, allocations: 1.202 MB / 1.038 GB, free: 58.21 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003443/2.721, allocations: 43.22 kB / 1.038 GB, free: 58.17 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002949/2.724, allocations: 1.748 MB / 1.039 GB, free: 56.58 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.405e-06/2.724, allocations: 1.688 kB / 1.039 GB, free: 56.58 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006777/2.731, allocations: 3.277 MB / 1.042 GB, free: 53.63 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001441/2.733, allocations: 459.2 kB / 1.043 GB, free: 53.23 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005771/2.733, allocations: 39.84 kB / 1.043 GB, free: 53.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001896/2.735, allocations: 97.03 kB / 1.043 GB, free: 53.12 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003565/2.736, allocations: 116.3 kB / 1.043 GB, free: 53.06 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002368/2.736, allocations: 58.36 kB / 1.043 GB, free: 53.01 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001732/2.738, allocations: 0.9006 MB / 1.044 GB, free: 52.19 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.162e-06/2.738, allocations: 0 / 1.044 GB, free: 52.19 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005582/2.743, allocations: 1.433 MB / 1.045 GB, free: 50.79 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (tank1.medium.T,tank1.level,tank2.medium.T,tank2.level,tank3.medium.T,tank3.level,valveDelayed.filter.x[1],valveDelayed.filter.x[2]) * Number of discrete variables: 6 (tank1.regularFlow[1],tank1.inFlow[1],tank2.regularFlow[1],tank2.inFlow[1],tank3.regularFlow[1],tank3.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (116): * Single equations (assignments): 113 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {10 38} Notification: Performance of Backend phase and start with SimCode phase: time 0.003834/2.747, allocations: 1.248 MB / 1.047 GB, free: 49.8 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008157/2.755, allocations: 3.003 MB / 1.05 GB, free: 47.08 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.715e-06/2.755, allocations: 3.906 kB / 1.05 GB, free: 47.07 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002717/2.758, allocations: 0.9908 MB / 1.051 GB, free: 46.19 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004164/2.762, allocations: 0.6867 MB / 1.051 GB, free: 45.7 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007351/2.77, allocations: 2.83 MB / 1.054 GB, free: 43.31 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001035/2.771, allocations: 1.414 MB / 1.055 GB, free: 42.12 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003793/2.775, allocations: 0.7368 MB / 1.056 GB, free: 41.64 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005626/2.775, allocations: 134.5 kB / 1.056 GB, free: 41.52 MB / 490.7 MB Notification: Performance of SimCode: time 1.68e-06/2.775, allocations: 0 / 1.056 GB, free: 41.52 MB / 490.7 MB Notification: Performance of Templates: time 0.3895/3.165, allocations: 49.53 MB / 1.105 GB, free: 76.35 MB / 490.7 MB