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_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve") Notification: Performance of loadModel(ModelicaTest): time 2.359/2.359, allocations: 270.1 MB / 283.6 MB, free: 3.113 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.465e-05/3.48e-05, allocations: 4 kB / 348.4 MB, free: 10.82 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1347, allocations: 61.89 MB / 410.3 MB, free: 12.99 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.051/1.185, allocations: 352.1 MB / 0.7445 GB, free: 55.13 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000236/1.186, allocations: 84.52 kB / 0.7446 GB, free: 55.09 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.654/2.84, allocations: 311.3 MB / 1.049 GB, free: 75.42 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.492e-06/2.84, allocations: 2.156 kB / 1.049 GB, free: 75.42 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001836/2.84, allocations: 49.3 kB / 1.049 GB, free: 75.42 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.006942/2.847, allocations: 2.063 MB / 1.051 GB, free: 74.61 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/2.847, allocations: 9.062 kB / 1.051 GB, free: 74.61 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001185/2.848, allocations: 194.8 kB / 1.051 GB, free: 74.52 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004059/2.852, allocations: 1.276 MB / 1.052 GB, free: 74.21 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002276/2.852, allocations: 185.8 kB / 1.052 GB, free: 74.12 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000446/2.853, allocations: 109.4 kB / 1.052 GB, free: 74.12 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004453/2.857, allocations: 1.907 MB / 1.054 GB, free: 73.89 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.441e-05/2.857, allocations: 6.969 kB / 1.054 GB, free: 73.89 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000254/2.858, allocations: 51.03 kB / 1.054 GB, free: 73.89 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001988/2.858, allocations: 111.2 kB / 1.054 GB, free: 73.89 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004789/2.863, allocations: 1.88 MB / 1.056 GB, free: 73.88 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.01603/2.879, allocations: 6.998 MB / 1.063 GB, free: 71.67 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002551/2.881, allocations: 1.3 MB / 1.064 GB, free: 71.64 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00157/2.883, allocations: 0.7784 MB / 1.065 GB, free: 71.63 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008279/2.891, allocations: 4.5 MB / 1.07 GB, free: 69.31 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.123e-05/2.891, allocations: 49.25 kB / 1.07 GB, free: 69.27 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001336/2.893, allocations: 216 kB / 1.07 GB, free: 69.21 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=117): time 5.652e-06/2.893, allocations: 4.344 kB / 1.07 GB, free: 69.21 MB / 0.5261 GB Notification: Performance of matching and sorting (n=132): time 0.01279/2.906, allocations: 4.365 MB / 1.074 GB, free: 68.6 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.915e-05/2.906, allocations: 227.9 kB / 1.074 GB, free: 68.35 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002437/2.908, allocations: 1.191 MB / 1.075 GB, free: 68.18 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0004259/2.909, allocations: 52.48 kB / 1.075 GB, free: 68.15 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005913/2.909, allocations: 0.6555 MB / 1.076 GB, free: 67.9 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006051/2.91, allocations: 455.6 kB / 1.077 GB, free: 67.62 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001801/2.91, allocations: 34.62 kB / 1.077 GB, free: 67.62 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001229/2.91, allocations: 370.5 kB / 1.077 GB, free: 67.31 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001796/2.912, allocations: 0.7351 MB / 1.078 GB, free: 67.3 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002099/2.914, allocations: 1.052 MB / 1.079 GB, free: 66.98 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002126/2.916, allocations: 0.859 MB / 1.08 GB, free: 66.96 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.191e-05/2.916, allocations: 3.75 kB / 1.08 GB, free: 66.96 MB / 0.5261 GB Notification: Performance of matching and sorting (n=199) (initialization): time 0.005891/2.922, allocations: 2.358 MB / 1.082 GB, free: 66.81 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006074/2.923, allocations: 3.019 MB / 1.085 GB, free: 63.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.879e-05/2.923, allocations: 11.62 kB / 1.085 GB, free: 63.73 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009985/2.933, allocations: 1.465 MB / 1.086 GB, free: 63.71 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001908/2.935, allocations: 336.7 kB / 1.087 GB, free: 63.71 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003323/2.938, allocations: 1.687 MB / 1.088 GB, free: 63.17 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002333/2.941, allocations: 109 kB / 1.088 GB, free: 63.16 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002809/2.941, allocations: 77.02 kB / 1.088 GB, free: 63.16 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/2.941, allocations: 8.953 kB / 1.088 GB, free: 63.16 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004982/2.946, allocations: 2.053 MB / 1.09 GB, free: 63.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.816e-05/2.946, allocations: 7.812 kB / 1.09 GB, free: 63.12 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006667/2.953, allocations: 1.024 MB / 1.091 GB, free: 63.11 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002013/2.955, allocations: 354.7 kB / 1.092 GB, free: 63.11 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002692/2.957, allocations: 1.415 MB / 1.093 GB, free: 62.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002429/2.96, allocations: 96.47 kB / 1.093 GB, free: 62.56 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000487/2.96, allocations: 78.11 kB / 1.093 GB, free: 62.56 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.0005614/2.961, allocations: 198.9 kB / 1.093 GB, free: 62.45 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005325/2.962, allocations: 178 kB / 1.094 GB, free: 62.36 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006496/2.968, allocations: 2.457 MB / 1.096 GB, free: 62.23 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.616e-05/2.968, allocations: 14.38 kB / 1.096 GB, free: 62.23 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.984e-06/2.968, allocations: 0 / 1.096 GB, free: 62.23 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.022e-05/2.968, allocations: 7.828 kB / 1.096 GB, free: 62.23 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009484/2.978, allocations: 4.043 MB / 1.1 GB, free: 61.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.134e-05/2.978, allocations: 0 / 1.1 GB, free: 61.84 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001642/2.979, allocations: 226.3 kB / 1.1 GB, free: 61.84 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006752/2.986, allocations: 1.221 MB / 1.101 GB, free: 61.82 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003373/2.987, allocations: 40.44 kB / 1.101 GB, free: 61.82 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003114/2.99, allocations: 1.754 MB / 1.103 GB, free: 61.27 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.837e-06/2.99, allocations: 4.703 kB / 1.103 GB, free: 61.27 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007252/2.997, allocations: 3.274 MB / 1.106 GB, free: 61 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001535/2.999, allocations: 457.1 kB / 1.107 GB, free: 60.81 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004296/2.999, allocations: 31.8 kB / 1.107 GB, free: 60.81 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001837/3.001, allocations: 102.2 kB / 1.107 GB, free: 60.8 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000359/3.001, allocations: 120.5 kB / 1.107 GB, free: 60.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002383/3.002, allocations: 58.58 kB / 1.107 GB, free: 60.8 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001644/3.003, allocations: 0.8993 MB / 1.108 GB, free: 60.68 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9.23e-07/3.003, allocations: 0.5625 kB / 1.108 GB, free: 60.68 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005814/3.009, allocations: 1.433 MB / 1.109 GB, free: 60.44 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.004032/3.013, allocations: 1.247 MB / 1.111 GB, free: 60.09 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.008734/3.022, allocations: 3.049 MB / 1.114 GB, free: 59.98 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.242e-05/3.022, allocations: 7.531 kB / 1.114 GB, free: 59.97 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002871/3.025, allocations: 0.9885 MB / 1.115 GB, free: 59.95 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004734/3.03, allocations: 0.6934 MB / 1.115 GB, free: 59.94 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007231/3.037, allocations: 2.815 MB / 1.118 GB, free: 59.36 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001035/3.038, allocations: 1.418 MB / 1.119 GB, free: 58.64 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.003995/3.042, allocations: 0.7312 MB / 1.12 GB, free: 58.61 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005449/3.043, allocations: 134.9 kB / 1.12 GB, free: 58.61 MB / 0.5261 GB Notification: Performance of SimCode: time 1.937e-06/3.043, allocations: 3.938 kB / 1.12 GB, free: 58.6 MB / 0.5261 GB Notification: Performance of Templates: time 0.1029/3.146, allocations: 49.95 MB / 1.169 GB, free: 48.94 MB / 0.5261 GB