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_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve") Notification: Performance of loadModel(ModelicaTest): time 2.135/2.135, allocations: 235 MB / 247.6 MB, free: 14.39 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.012e-05/3.021e-05, allocations: 4 kB / 304.9 MB, free: 5.652 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3228/0.3229, allocations: 54.85 MB / 359.8 MB, free: 2.664 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7659/1.089, allocations: 346.2 MB / 0.6894 GB, free: 5.555 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002679/1.089, allocations: 86.77 kB / 0.6895 GB, free: 5.512 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.512/2.601, allocations: 302.6 MB / 0.985 GB, free: 80.96 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.295e-06/2.601, allocations: 0 / 0.985 GB, free: 80.96 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001707/2.601, allocations: 50.86 kB / 0.985 GB, free: 80.95 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.006525/2.608, allocations: 2.053 MB / 0.987 GB, free: 79.87 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/2.608, allocations: 10.22 kB / 0.9871 GB, free: 79.87 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001017/2.609, allocations: 203 kB / 0.9872 GB, free: 79.77 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003577/2.613, allocations: 1.265 MB / 0.9885 GB, free: 79.4 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001824/2.613, allocations: 189 kB / 0.9887 GB, free: 79.3 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003928/2.613, allocations: 117.2 kB / 0.9888 GB, free: 79.3 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004146/2.617, allocations: 1.916 MB / 0.9906 GB, free: 79.07 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.185e-05/2.617, allocations: 0 / 0.9906 GB, free: 79.07 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002439/2.618, allocations: 47.56 kB / 0.9907 GB, free: 79.07 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001852/2.618, allocations: 116.5 kB / 0.9908 GB, free: 79.07 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004198/2.622, allocations: 1.883 MB / 0.9926 GB, free: 79.06 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.01637/2.638, allocations: 7.03 MB / 0.9995 GB, free: 76.77 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002641/2.641, allocations: 1.291 MB / 1.001 GB, free: 76.74 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001684/2.643, allocations: 0.7784 MB / 1.002 GB, free: 76.73 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009044/2.652, allocations: 4.512 MB / 1.006 GB, free: 74.14 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.558e-05/2.652, allocations: 57.28 kB / 1.006 GB, free: 74.09 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001416/2.653, allocations: 214.9 kB / 1.006 GB, free: 74 MB / 490.7 MB Notification: Performance of pre-optimization done (n=117): time 4.496e-06/2.653, allocations: 0 / 1.006 GB, free: 74 MB / 490.7 MB Notification: Performance of matching and sorting (n=132): time 0.01255/2.666, allocations: 4.384 MB / 1.01 GB, free: 72.27 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.407e-05/2.666, allocations: 222.7 kB / 1.011 GB, free: 72.02 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002111/2.668, allocations: 1.185 MB / 1.012 GB, free: 71.54 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003278/2.669, allocations: 52.89 kB / 1.012 GB, free: 71.49 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003855/2.669, allocations: 0.6146 MB / 1.012 GB, free: 70.95 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004828/2.669, allocations: 458.4 kB / 1.013 GB, free: 70.61 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001508/2.67, allocations: 39.5 kB / 1.013 GB, free: 70.58 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001156/2.67, allocations: 372.2 kB / 1.013 GB, free: 70.24 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001681/2.671, allocations: 0.7341 MB / 1.014 GB, free: 69.97 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001892/2.673, allocations: 1.055 MB / 1.015 GB, free: 69.33 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001909/2.675, allocations: 0.8558 MB / 1.016 GB, free: 69.03 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.015e-05/2.675, allocations: 5.469 kB / 1.016 GB, free: 69.03 MB / 490.7 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.005444/2.681, allocations: 2.262 MB / 1.018 GB, free: 68.24 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006026/2.681, allocations: 2.974 MB / 1.021 GB, free: 65.09 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.453e-05/2.682, allocations: 18.03 kB / 1.021 GB, free: 65.09 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01088/2.692, allocations: 1.462 MB / 1.022 GB, free: 64.92 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002164/2.695, allocations: 337.9 kB / 1.023 GB, free: 64.91 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003362/2.698, allocations: 1.688 MB / 1.024 GB, free: 63.96 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002439/2.7, allocations: 104.5 kB / 1.025 GB, free: 63.93 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000366/2.701, allocations: 79.23 kB / 1.025 GB, free: 63.91 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/2.701, allocations: 3.875 kB / 1.025 GB, free: 63.91 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004754/2.706, allocations: 1.964 MB / 1.027 GB, free: 63.21 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.902e-05/2.706, allocations: 10.59 kB / 1.027 GB, free: 63.21 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007253/2.713, allocations: 0.9096 MB / 1.027 GB, free: 63.09 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002215/2.715, allocations: 347.2 kB / 1.028 GB, free: 63.06 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002159/2.718, allocations: 1.247 MB / 1.029 GB, free: 62.29 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001721/2.719, allocations: 104.3 kB / 1.029 GB, free: 62.26 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002679/2.72, allocations: 70.5 kB / 1.029 GB, free: 62.25 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.0005625/2.72, allocations: 209.6 kB / 1.029 GB, free: 62.07 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005141/2.721, allocations: 165.7 kB / 1.03 GB, free: 61.98 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006392/2.727, allocations: 2.467 MB / 1.032 GB, free: 61.1 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.398e-05/2.727, allocations: 20.22 kB / 1.032 GB, free: 61.1 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.912e-06/2.727, allocations: 0 / 1.032 GB, free: 61.1 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.547e-05/2.727, allocations: 9.625 kB / 1.032 GB, free: 61.09 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009142/2.736, allocations: 4.023 MB / 1.036 GB, free: 59.42 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-05/2.736, allocations: 3.938 kB / 1.036 GB, free: 59.41 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001716/2.738, allocations: 230.5 kB / 1.036 GB, free: 59.22 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006892/2.745, allocations: 1.199 MB / 1.037 GB, free: 58.33 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003386/2.745, allocations: 43.5 kB / 1.037 GB, free: 58.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003147/2.749, allocations: 1.754 MB / 1.039 GB, free: 56.7 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.448e-06/2.749, allocations: 0 / 1.039 GB, free: 56.7 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007052/2.756, allocations: 3.266 MB / 1.042 GB, free: 53.76 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001359/2.757, allocations: 461.3 kB / 1.043 GB, free: 53.36 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004837/2.758, allocations: 31.95 kB / 1.043 GB, free: 53.33 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001919/2.76, allocations: 113.5 kB / 1.043 GB, free: 53.25 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002957/2.76, allocations: 121.3 kB / 1.043 GB, free: 53.18 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002153/2.76, allocations: 55.2 kB / 1.043 GB, free: 53.13 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001586/2.762, allocations: 0.8957 MB / 1.044 GB, free: 52.31 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.062e-06/2.762, allocations: 0 / 1.044 GB, free: 52.31 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005001/2.767, allocations: 1.439 MB / 1.045 GB, free: 50.91 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.003526/2.77, allocations: 1.245 MB / 1.046 GB, free: 49.93 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007634/2.778, allocations: 2.936 MB / 1.049 GB, free: 47.26 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.179e-06/2.778, allocations: 0 / 1.049 GB, free: 47.26 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00253/2.781, allocations: 0.9809 MB / 1.05 GB, free: 46.38 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00428/2.785, allocations: 0.6962 MB / 1.051 GB, free: 45.89 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007126/2.792, allocations: 2.888 MB / 1.054 GB, free: 43.47 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000963/2.793, allocations: 1.408 MB / 1.055 GB, free: 42.29 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008462/2.794, allocations: 169.8 kB / 1.055 GB, free: 42.14 MB / 490.7 MB Notification: Performance of SimCode: time 1.782e-06/2.794, allocations: 0 / 1.055 GB, free: 42.14 MB / 490.7 MB Notification: Performance of Templates: time 0.06047/2.854, allocations: 41.19 MB / 1.096 GB, free: 2.895 MB / 490.7 MB