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.1_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve") Notification: Performance of loadModel(ModelicaTest): time 1.859/1.859, allocations: 209.3 MB / 221.9 MB, free: 7.723 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.099e-05/3.125e-05, allocations: 0 / 273.1 MB, free: 3.656 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08633/0.08639, allocations: 48.7 MB / 321.8 MB, free: 2.863 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8482/0.9347, allocations: 339.9 MB / 0.6462 GB, free: 31.98 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000233/0.9349, allocations: 85.58 kB / 0.6463 GB, free: 31.94 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.603/2.538, allocations: 302.6 MB / 0.9418 GB, free: 57.48 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.194e-06/2.538, allocations: 0 / 0.9418 GB, free: 57.48 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001865/2.538, allocations: 45.95 kB / 0.9418 GB, free: 57.46 MB / 426.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.007192/2.546, allocations: 2.063 MB / 0.9438 GB, free: 56 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/2.546, allocations: 9.75 kB / 0.9438 GB, free: 56 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001216/2.547, allocations: 198 kB / 0.944 GB, free: 55.9 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004028/2.551, allocations: 1.264 MB / 0.9453 GB, free: 55.02 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002072/2.551, allocations: 182.1 kB / 0.9454 GB, free: 54.89 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004854/2.552, allocations: 121.1 kB / 0.9456 GB, free: 54.85 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00424/2.556, allocations: 1.908 MB / 0.9474 GB, free: 53.72 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.496e-05/2.556, allocations: 7.656 kB / 0.9474 GB, free: 53.71 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000279/2.556, allocations: 49.53 kB / 0.9475 GB, free: 53.69 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001964/2.556, allocations: 112.9 kB / 0.9476 GB, free: 53.65 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004057/2.561, allocations: 1.879 MB / 0.9494 GB, free: 52.38 MB / 426.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.01625/2.577, allocations: 7.032 MB / 0.9563 GB, free: 45.14 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002533/2.579, allocations: 1.298 MB / 0.9576 GB, free: 43.83 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001506/2.581, allocations: 0.7903 MB / 0.9583 GB, free: 43.05 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00752/2.588, allocations: 4.515 MB / 0.9627 GB, free: 38.16 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.741e-05/2.589, allocations: 43.56 kB / 0.9628 GB, free: 38.11 MB / 426.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00115/2.59, allocations: 225.5 kB / 0.963 GB, free: 37.89 MB / 426.7 MB Notification: Performance of pre-optimization done (n=117): time 4.954e-06/2.59, allocations: 0 / 0.963 GB, free: 37.89 MB / 426.7 MB Notification: Performance of matching and sorting (n=132): time 0.01193/2.602, allocations: 4.367 MB / 0.9673 GB, free: 33.51 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.871e-05/2.602, allocations: 218.9 kB / 0.9675 GB, free: 33.25 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002319/2.604, allocations: 1.197 MB / 0.9686 GB, free: 32.05 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004164/2.605, allocations: 53.7 kB / 0.9687 GB, free: 31.99 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004293/2.605, allocations: 0.6169 MB / 0.9693 GB, free: 31.37 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005176/2.606, allocations: 458.1 kB / 0.9697 GB, free: 30.93 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001621/2.606, allocations: 32 kB / 0.9698 GB, free: 30.9 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001138/2.606, allocations: 376.1 kB / 0.9701 GB, free: 30.52 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001578/2.607, allocations: 0.7341 MB / 0.9708 GB, free: 29.79 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001842/2.609, allocations: 1.051 MB / 0.9719 GB, free: 28.62 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001874/2.611, allocations: 0.8665 MB / 0.9727 GB, free: 27.76 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.574e-06/2.611, allocations: 4 kB / 0.9727 GB, free: 27.75 MB / 426.7 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.005047/2.616, allocations: 2.263 MB / 0.9749 GB, free: 25.48 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005902/2.617, allocations: 2.968 MB / 0.9778 GB, free: 22.29 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.394e-05/2.617, allocations: 12 kB / 0.9778 GB, free: 22.27 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01051/2.627, allocations: 1.477 MB / 0.9793 GB, free: 20.81 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002101/2.63, allocations: 327.5 kB / 0.9796 GB, free: 20.49 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003555/2.633, allocations: 1.696 MB / 0.9812 GB, free: 18.77 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002377/2.636, allocations: 99.78 kB / 0.9813 GB, free: 18.67 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002873/2.636, allocations: 75.95 kB / 0.9814 GB, free: 18.59 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/2.636, allocations: 4 kB / 0.9814 GB, free: 18.59 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004342/2.64, allocations: 1.961 MB / 0.9833 GB, free: 16.62 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.54e-05/2.64, allocations: 8 kB / 0.9833 GB, free: 16.62 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005827/2.646, allocations: 0.909 MB / 0.9842 GB, free: 15.71 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002016/2.648, allocations: 351.5 kB / 0.9846 GB, free: 15.37 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001981/2.65, allocations: 1.255 MB / 0.9858 GB, free: 14.09 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001541/2.652, allocations: 99.78 kB / 0.9859 GB, free: 13.99 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002211/2.652, allocations: 71.97 kB / 0.9859 GB, free: 13.92 MB / 426.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.0005221/2.653, allocations: 196.7 kB / 0.9861 GB, free: 13.72 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004734/2.653, allocations: 162 kB / 0.9863 GB, free: 13.56 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005758/2.659, allocations: 2.476 MB / 0.9887 GB, free: 11.09 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.538e-05/2.659, allocations: 16 kB / 0.9887 GB, free: 11.07 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.523e-06/2.659, allocations: 0 / 0.9887 GB, free: 11.07 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.931e-05/2.659, allocations: 7.969 kB / 0.9887 GB, free: 11.06 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008602/2.668, allocations: 4.024 MB / 0.9927 GB, free: 7.012 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.051e-05/2.668, allocations: 3.938 kB / 0.9927 GB, free: 7.008 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001525/2.669, allocations: 235.7 kB / 0.9929 GB, free: 6.777 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006811/2.676, allocations: 1.208 MB / 0.9941 GB, free: 5.578 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003493/2.677, allocations: 47.97 kB / 0.9941 GB, free: 5.531 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00312/2.68, allocations: 1.752 MB / 0.9958 GB, free: 3.75 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.414e-06/2.68, allocations: 0 / 0.9958 GB, free: 3.75 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006971/2.687, allocations: 3.264 MB / 0.999 GB, free: 480 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001392/2.688, allocations: 470.5 kB / 0.9995 GB, free: 15.99 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003952/2.689, allocations: 24 kB / 0.9995 GB, free: 15.96 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001698/2.69, allocations: 111.8 kB / 0.9996 GB, free: 15.86 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003435/2.691, allocations: 113.1 kB / 0.9997 GB, free: 15.75 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002374/2.691, allocations: 59.95 kB / 0.9997 GB, free: 15.69 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002004/2.693, allocations: 0.8978 MB / 1.001 GB, free: 14.79 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.014e-06/2.693, allocations: 0 / 1.001 GB, free: 14.79 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005788/2.699, allocations: 1.428 MB / 1.002 GB, free: 13.36 MB / 442.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.003906/2.703, allocations: 1.25 MB / 1.003 GB, free: 12.21 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.009159/2.712, allocations: 2.941 MB / 1.006 GB, free: 9.266 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.272e-05/2.712, allocations: 1.688 kB / 1.006 GB, free: 9.266 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003006/2.715, allocations: 0.9806 MB / 1.007 GB, free: 8.289 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004489/2.719, allocations: 0.6896 MB / 1.008 GB, free: 7.609 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008487/2.728, allocations: 2.882 MB / 1.011 GB, free: 4.723 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001532/2.73, allocations: 1.413 MB / 1.012 GB, free: 3.285 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000961/2.731, allocations: 167.4 kB / 1.012 GB, free: 3.121 MB / 442.7 MB Notification: Performance of SimCode: time 2.08e-06/2.731, allocations: 0 / 1.012 GB, free: 3.121 MB / 442.7 MB Notification: Performance of Templates: time 0.3501/3.081, allocations: 41.18 MB / 1.052 GB, free: 65.2 MB / 442.7 MB