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_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve") Notification: Performance of loadModel(ModelicaTest): time 2.505/2.505, allocations: 270 MB / 283.6 MB, free: 1.781 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.028e-05/4.041e-05, allocations: 7.938 kB / 348.4 MB, free: 2.668 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.329/0.3291, allocations: 61.88 MB / 410.3 MB, free: 10.71 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.028/1.358, allocations: 352.1 MB / 0.7445 GB, free: 134.3 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002317/1.358, allocations: 90.95 kB / 0.7446 GB, free: 134.3 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.332/2.69, allocations: 311.3 MB / 1.049 GB, free: 77 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.363e-06/2.69, allocations: 4 kB / 1.049 GB, free: 77 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001536/2.69, allocations: 48.03 kB / 1.049 GB, free: 76.96 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.006158/2.697, allocations: 2.058 MB / 1.051 GB, free: 74.86 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/2.697, allocations: 8.031 kB / 1.051 GB, free: 74.86 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009999/2.698, allocations: 201.8 kB / 1.051 GB, free: 74.66 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00346/2.701, allocations: 1.267 MB / 1.052 GB, free: 73.36 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001744/2.701, allocations: 183.1 kB / 1.052 GB, free: 73.17 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003392/2.702, allocations: 115.5 kB / 1.052 GB, free: 73.07 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003996/2.706, allocations: 1.91 MB / 1.054 GB, free: 71.09 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.18e-05/2.706, allocations: 0 / 1.054 GB, free: 71.09 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002337/2.706, allocations: 59.47 kB / 1.054 GB, free: 71.05 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001921/2.706, allocations: 110.2 kB / 1.054 GB, free: 70.94 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003956/2.71, allocations: 1.882 MB / 1.056 GB, free: 69.05 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.01519/2.725, allocations: 7.001 MB / 1.063 GB, free: 61.8 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002477/2.728, allocations: 1.292 MB / 1.064 GB, free: 60.5 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001472/2.729, allocations: 0.7812 MB / 1.065 GB, free: 59.72 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007677/2.737, allocations: 4.503 MB / 1.07 GB, free: 54.84 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.383e-05/2.737, allocations: 54.94 kB / 1.07 GB, free: 54.78 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001212/2.738, allocations: 225.5 kB / 1.07 GB, free: 54.56 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=117): time 4.849e-06/2.738, allocations: 0 / 1.07 GB, free: 54.56 MB / 0.5261 GB Notification: Performance of matching and sorting (n=132): time 0.01198/2.75, allocations: 4.36 MB / 1.074 GB, free: 50.15 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.643e-05/2.751, allocations: 230.9 kB / 1.074 GB, free: 49.88 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002169/2.753, allocations: 1.187 MB / 1.075 GB, free: 48.68 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0003424/2.753, allocations: 49.7 kB / 1.075 GB, free: 48.63 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000483/2.754, allocations: 0.6614 MB / 1.076 GB, free: 47.96 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004483/2.754, allocations: 457.1 kB / 1.077 GB, free: 47.52 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001545/2.754, allocations: 32 kB / 1.077 GB, free: 47.49 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001109/2.754, allocations: 365.9 kB / 1.077 GB, free: 47.13 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001601/2.756, allocations: 0.7341 MB / 1.078 GB, free: 46.39 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001822/2.758, allocations: 1.051 MB / 1.079 GB, free: 45.22 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00231/2.76, allocations: 0.8559 MB / 1.08 GB, free: 44.37 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-05/2.76, allocations: 7.938 kB / 1.08 GB, free: 44.36 MB / 0.5261 GB Notification: Performance of matching and sorting (n=199) (initialization): time 0.006008/2.766, allocations: 2.363 MB / 1.082 GB, free: 41.98 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006161/2.767, allocations: 3.018 MB / 1.085 GB, free: 38.78 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.041e-05/2.767, allocations: 15.98 kB / 1.085 GB, free: 38.77 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01075/2.778, allocations: 1.464 MB / 1.086 GB, free: 37.31 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001927/2.78, allocations: 331.5 kB / 1.087 GB, free: 36.99 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003369/2.783, allocations: 1.688 MB / 1.088 GB, free: 35.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002298/2.785, allocations: 111.8 kB / 1.088 GB, free: 35.16 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003471/2.786, allocations: 79.89 kB / 1.088 GB, free: 35.09 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/2.786, allocations: 4 kB / 1.088 GB, free: 35.08 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004895/2.791, allocations: 2.043 MB / 1.09 GB, free: 33.04 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.385e-05/2.791, allocations: 19.92 kB / 1.09 GB, free: 33.02 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006448/2.797, allocations: 1.022 MB / 1.091 GB, free: 32 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001982/2.799, allocations: 347.5 kB / 1.092 GB, free: 31.66 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002561/2.802, allocations: 1.412 MB / 1.093 GB, free: 30.22 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002885/2.805, allocations: 107.7 kB / 1.093 GB, free: 30.12 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003737/2.805, allocations: 75.95 kB / 1.093 GB, free: 30.04 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.0005146/2.806, allocations: 199.6 kB / 1.093 GB, free: 29.85 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004801/2.806, allocations: 169.9 kB / 1.094 GB, free: 29.68 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00609/2.812, allocations: 2.465 MB / 1.096 GB, free: 27.2 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.33e-05/2.812, allocations: 16 kB / 1.096 GB, free: 27.19 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/2.812, allocations: 4 kB / 1.096 GB, free: 27.18 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.402e-05/2.813, allocations: 11.77 kB / 1.096 GB, free: 27.18 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008745/2.821, allocations: 4.025 MB / 1.1 GB, free: 23.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.051e-05/2.821, allocations: 0 / 1.1 GB, free: 23.12 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001508/2.823, allocations: 231.7 kB / 1.1 GB, free: 22.89 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006573/2.829, allocations: 1.226 MB / 1.101 GB, free: 21.67 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003312/2.83, allocations: 43.92 kB / 1.101 GB, free: 21.63 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002975/2.833, allocations: 1.745 MB / 1.103 GB, free: 19.86 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.76e-06/2.833, allocations: 0 / 1.103 GB, free: 19.86 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00675/2.84, allocations: 3.283 MB / 1.106 GB, free: 16.56 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001398/2.841, allocations: 450.7 kB / 1.107 GB, free: 16.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004074/2.842, allocations: 35.94 kB / 1.107 GB, free: 16.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00178/2.843, allocations: 107.8 kB / 1.107 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003788/2.844, allocations: 117.1 kB / 1.107 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002432/2.844, allocations: 59.95 kB / 1.107 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001663/2.846, allocations: 0.8978 MB / 1.108 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.7e-07/2.846, allocations: 0 / 1.108 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005598/2.851, allocations: 1.428 MB / 1.109 GB, free: 13.46 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.003631/2.855, allocations: 1.251 MB / 1.111 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.008224/2.863, allocations: 3.046 MB / 1.114 GB, free: 9.246 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.066e-05/2.863, allocations: 5.688 kB / 1.114 GB, free: 9.242 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002688/2.866, allocations: 0.9857 MB / 1.115 GB, free: 8.258 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004232/2.87, allocations: 0.6904 MB / 1.115 GB, free: 7.574 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007044/2.877, allocations: 2.817 MB / 1.118 GB, free: 4.723 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009727/2.878, allocations: 1.417 MB / 1.119 GB, free: 3.277 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.00366/2.882, allocations: 0.7393 MB / 1.12 GB, free: 2.531 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005415/2.883, allocations: 127.3 kB / 1.12 GB, free: 2.406 MB / 0.5261 GB Notification: Performance of SimCode: time 1.714e-06/2.883, allocations: 0 / 1.12 GB, free: 2.406 MB / 0.5261 GB Notification: Performance of Templates: time 0.4338/3.316, allocations: 49.93 MB / 1.169 GB, free: 83.78 MB / 0.5261 GB