Running command: translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve") Notification: Performance of loadModel(ModelicaTest): time 2.352/2.352, allocations: 270 MB / 282.7 MB, free: 1.926 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.015e-05/3.024e-05, allocations: 4 kB / 347 MB, free: 3.273 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3273/0.3273, allocations: 61.87 MB / 408.8 MB, free: 10.8 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.06/1.387, allocations: 352.1 MB / 0.7431 GB, free: 188.4 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004103/1.388, allocations: 82.23 kB / 0.7432 GB, free: 188.3 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.304/2.692, allocations: 311.3 MB / 1.047 GB, free: 87.11 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.162e-06/2.692, allocations: 0 / 1.047 GB, free: 87.11 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001771/2.692, allocations: 48.03 kB / 1.047 GB, free: 87.07 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: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 0.00702/2.699, allocations: 2.065 MB / 1.049 GB, free: 84.98 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/2.7, allocations: 8.031 kB / 1.049 GB, free: 84.98 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00123/2.701, allocations: 209.7 kB / 1.049 GB, free: 84.77 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003878/2.705, allocations: 1.272 MB / 1.051 GB, free: 83.47 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000198/2.705, allocations: 183.1 kB / 1.051 GB, free: 83.28 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004351/2.705, allocations: 115.6 kB / 1.051 GB, free: 83.18 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004251/2.71, allocations: 1.903 MB / 1.053 GB, free: 81.21 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.367e-05/2.71, allocations: 0 / 1.053 GB, free: 81.21 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002424/2.71, allocations: 58.72 kB / 1.053 GB, free: 81.17 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001892/2.71, allocations: 110.2 kB / 1.053 GB, free: 81.06 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004183/2.714, allocations: 1.882 MB / 1.055 GB, free: 79.18 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.01632/2.731, allocations: 7.017 MB / 1.062 GB, free: 71.94 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002774/2.734, allocations: 1.3 MB / 1.063 GB, free: 70.64 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001565/2.735, allocations: 0.7822 MB / 1.064 GB, free: 69.87 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008173/2.743, allocations: 4.488 MB / 1.068 GB, free: 65 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.359e-05/2.743, allocations: 50.69 kB / 1.068 GB, free: 64.95 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001327/2.745, allocations: 219.3 kB / 1.068 GB, free: 64.74 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=117): time 5.839e-06/2.745, allocations: 0 / 1.068 GB, free: 64.74 MB / 0.5261 GB Notification: Performance of matching and sorting (n=132): time 0.01241/2.757, allocations: 4.38 MB / 1.073 GB, free: 60.31 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.888e-05/2.757, allocations: 218.9 kB / 1.073 GB, free: 60.05 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002156/2.76, allocations: 1.195 MB / 1.074 GB, free: 58.84 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0003969/2.76, allocations: 49.7 kB / 1.074 GB, free: 58.79 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004081/2.76, allocations: 0.6101 MB / 1.075 GB, free: 58.18 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004944/2.761, allocations: 464.3 kB / 1.075 GB, free: 57.73 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001591/2.761, allocations: 28 kB / 1.075 GB, free: 57.7 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001141/2.761, allocations: 374.8 kB / 1.076 GB, free: 57.33 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00159/2.763, allocations: 0.7341 MB / 1.076 GB, free: 56.59 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001904/2.765, allocations: 1.055 MB / 1.077 GB, free: 55.42 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002057/2.767, allocations: 0.8559 MB / 1.078 GB, free: 54.56 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.578e-05/2.767, allocations: 0 / 1.078 GB, free: 54.56 MB / 0.5261 GB Notification: Performance of matching and sorting (n=199) (initialization): time 0.006185/2.773, allocations: 2.271 MB / 1.08 GB, free: 52.28 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006142/2.774, allocations: 2.968 MB / 1.083 GB, free: 49.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.84e-05/2.774, allocations: 11.98 kB / 1.083 GB, free: 49.07 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01036/2.784, allocations: 1.462 MB / 1.085 GB, free: 47.62 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001926/2.786, allocations: 335.5 kB / 1.085 GB, free: 47.29 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003273/2.789, allocations: 1.688 MB / 1.087 GB, free: 45.58 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002353/2.792, allocations: 111.5 kB / 1.087 GB, free: 45.47 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004887/2.792, allocations: 76.05 kB / 1.087 GB, free: 45.4 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/2.792, allocations: 7.938 kB / 1.087 GB, free: 45.39 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005098/2.798, allocations: 2.05 MB / 1.089 GB, free: 43.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.9e-05/2.798, allocations: 8 kB / 1.089 GB, free: 43.33 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006057/2.804, allocations: 1.009 MB / 1.09 GB, free: 42.32 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00197/2.806, allocations: 343.5 kB / 1.09 GB, free: 41.99 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002401/2.808, allocations: 1.386 MB / 1.091 GB, free: 40.58 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001649/2.81, allocations: 104.1 kB / 1.092 GB, free: 40.48 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002453/2.81, allocations: 75.95 kB / 1.092 GB, free: 40.4 MB / 0.5261 GB 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.0005016/2.811, allocations: 194.2 kB / 1.092 GB, free: 40.21 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004912/2.811, allocations: 162 kB / 1.092 GB, free: 40.05 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005881/2.817, allocations: 2.48 MB / 1.094 GB, free: 37.55 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.518e-05/2.817, allocations: 19.94 kB / 1.094 GB, free: 37.54 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.249e-06/2.817, allocations: 0 / 1.094 GB, free: 37.54 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-05/2.817, allocations: 7.969 kB / 1.094 GB, free: 37.53 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008886/2.826, allocations: 4.019 MB / 1.098 GB, free: 33.47 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-05/2.826, allocations: 4 kB / 1.098 GB, free: 33.47 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001517/2.828, allocations: 239.6 kB / 1.099 GB, free: 33.23 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006766/2.834, allocations: 1.219 MB / 1.1 GB, free: 32.02 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003459/2.835, allocations: 39.94 kB / 1.1 GB, free: 31.98 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003171/2.838, allocations: 1.749 MB / 1.102 GB, free: 30.21 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.026e-06/2.838, allocations: 0 / 1.102 GB, free: 30.21 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006753/2.845, allocations: 3.279 MB / 1.105 GB, free: 26.92 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001417/2.846, allocations: 454.6 kB / 1.105 GB, free: 26.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004488/2.847, allocations: 35.69 kB / 1.105 GB, free: 26.42 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001823/2.849, allocations: 103.8 kB / 1.105 GB, free: 26.32 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004435/2.849, allocations: 117.1 kB / 1.105 GB, free: 26.21 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002493/2.849, allocations: 63.95 kB / 1.105 GB, free: 26.14 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00173/2.851, allocations: 0.9017 MB / 1.106 GB, free: 25.24 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.205e-06/2.851, allocations: 0 / 1.106 GB, free: 25.24 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005873/2.857, allocations: 1.428 MB / 1.108 GB, free: 23.81 MB / 0.5261 GB 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.00399/2.861, allocations: 1.241 MB / 1.109 GB, free: 22.67 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.008407/2.87, allocations: 2.993 MB / 1.112 GB, free: 19.67 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.169e-05/2.87, allocations: 8.188 kB / 1.112 GB, free: 19.66 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002698/2.872, allocations: 0.9857 MB / 1.113 GB, free: 18.68 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004232/2.877, allocations: 0.6829 MB / 1.114 GB, free: 18.02 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007243/2.884, allocations: 2.879 MB / 1.116 GB, free: 15.13 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009969/2.885, allocations: 1.406 MB / 1.118 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008582/2.886, allocations: 167.3 kB / 1.118 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of SimCode: time 1.854e-06/2.886, allocations: 0 / 1.118 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of Templates: time 0.3974/3.283, allocations: 41.28 MB / 1.158 GB, free: 78.43 MB / 0.5261 GB