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_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve") Notification: Performance of loadModel(ModelicaTest): time 2.368/2.368, allocations: 269 MB / 284.1 MB, free: 3.656 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.766e-05/2.772e-05, allocations: 4 kB / 349 MB, free: 10.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1292, allocations: 61.9 MB / 410.9 MB, free: 12.87 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve): time 0.3814/0.5106, allocations: 27.57 MB / 438.5 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.03744/0.5481, allocations: 15.95 MB / 454.5 MB, free: 5.359 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003152/0.5513, allocations: 69.19 kB / 454.5 MB, free: 5.324 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002979/0.5543, allocations: 0.5882 MB / 455.1 MB, free: 4.977 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008645/0.563, allocations: 1.81 MB / 456.9 MB, free: 3.699 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0158/0.5789, allocations: 3.408 MB / 460.3 MB, free: 1.152 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.005983/0.5849, allocations: 1.952 MB / 462.3 MB, free: 15.72 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002369/0.5873, allocations: 0.9114 MB / 463.2 MB, free: 15.12 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003903/0.5913, allocations: 1.1 MB / 464.3 MB, free: 14.55 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003731/0.595, allocations: 1.124 MB / 465.4 MB, free: 13.92 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008883/0.604, allocations: 2.506 MB / 467.9 MB, free: 12.7 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001823/0.6059, allocations: 187.2 kB / 468.1 MB, free: 12.7 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001509/0.6074, allocations: 0.5211 MB / 468.6 MB, free: 12.36 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001361/0.6088, allocations: 174.6 kB / 468.8 MB, free: 12.36 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008242/0.6171, allocations: 2.967 MB / 471.8 MB, free: 10.59 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.6171, allocations: 0 / 471.8 MB, free: 10.59 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.304e-06/0.6172, allocations: 0 / 471.8 MB, free: 10.59 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001023/0.6173, allocations: 5.938 kB / 471.8 MB, free: 10.59 MB / 378.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.008266/0.6256, allocations: 1.952 MB / 473.7 MB, free: 9.18 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.6256, allocations: 9.156 kB / 473.7 MB, free: 9.18 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001393/0.627, allocations: 204 kB / 473.9 MB, free: 9.082 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003463/0.6305, allocations: 1.081 MB / 475 MB, free: 7.965 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002925/0.6309, allocations: 183.2 kB / 475.2 MB, free: 7.766 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005574/0.6314, allocations: 115.9 kB / 475.3 MB, free: 7.652 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006535/0.638, allocations: 1.919 MB / 477.2 MB, free: 5.66 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.347e-05/0.6381, allocations: 3.938 kB / 477.2 MB, free: 5.656 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002945/0.6384, allocations: 51.97 kB / 477.3 MB, free: 5.605 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002905/0.6387, allocations: 114.2 kB / 477.4 MB, free: 5.492 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006625/0.6453, allocations: 1.949 MB / 479.3 MB, free: 3.531 MB / 378.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.02416/0.6696, allocations: 7.367 MB / 486.7 MB, free: 11.8 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004333/0.674, allocations: 1.392 MB / 488.1 MB, free: 10.39 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01215/0.6862, allocations: 4.569 MB / 492.7 MB, free: 5.406 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.241e-05/0.6863, allocations: 55.55 kB / 492.7 MB, free: 5.344 MB / 394.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001624/0.6879, allocations: 214.6 kB / 492.9 MB, free: 5.133 MB / 394.7 MB Notification: Performance of pre-optimization done (n=118): time 6.132e-06/0.688, allocations: 0 / 492.9 MB, free: 5.133 MB / 394.7 MB Notification: Performance of matching and sorting (n=133): time 0.03759/0.7256, allocations: 6.537 MB / 499.5 MB, free: 14.54 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001625/0.7258, allocations: 226.9 kB / 499.7 MB, free: 14.27 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00301/0.7288, allocations: 1.208 MB / 0.4891 GB, free: 13.05 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004473/0.7293, allocations: 53.7 kB / 0.4892 GB, free: 12.99 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007834/0.7301, allocations: 0.6271 MB / 0.4898 GB, free: 12.36 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009026/0.731, allocations: 465.4 kB / 0.4903 GB, free: 11.9 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002182/0.7313, allocations: 28 kB / 0.4903 GB, free: 11.87 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002509/0.7316, allocations: 374.8 kB / 0.4906 GB, free: 11.5 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002792/0.7344, allocations: 0.8042 MB / 0.4914 GB, free: 10.69 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003288/0.7377, allocations: 1.15 MB / 0.4925 GB, free: 9.41 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003231/0.741, allocations: 0.9383 MB / 0.4935 GB, free: 8.477 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.579e-05/0.741, allocations: 4 kB / 0.4935 GB, free: 8.473 MB / 410.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.009066/0.7501, allocations: 2.474 MB / 0.4959 GB, free: 5.984 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001625/0.7518, allocations: 3.234 MB / 0.499 GB, free: 2.496 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.894e-05/0.7519, allocations: 8.062 kB / 0.4991 GB, free: 2.488 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01774/0.7697, allocations: 1.694 MB / 0.5007 GB, free: 0.793 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00288/0.7726, allocations: 339.4 kB / 0.501 GB, free: 472 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005226/0.7779, allocations: 1.778 MB / 0.5028 GB, free: 14.66 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002852/0.7808, allocations: 99.78 kB / 0.5029 GB, free: 14.56 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005321/0.7814, allocations: 79.95 kB / 0.5029 GB, free: 14.48 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.418e-05/0.7814, allocations: 4 kB / 0.5029 GB, free: 14.48 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007834/0.7893, allocations: 2.261 MB / 0.5051 GB, free: 12.22 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.883e-05/0.7894, allocations: 11.98 kB / 0.5052 GB, free: 12.21 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01024/0.7996, allocations: 1.048 MB / 0.5062 GB, free: 11.16 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003032/0.8027, allocations: 359.4 kB / 0.5065 GB, free: 10.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003812/0.8066, allocations: 1.437 MB / 0.5079 GB, free: 9.344 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002196/0.8088, allocations: 95.8 kB / 0.508 GB, free: 9.25 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004744/0.8093, allocations: 75.95 kB / 0.5081 GB, free: 9.176 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (168): * Single equations (assignments): 165 * 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 24} Notification: Performance of prepare postOptimizeDAE: time 0.001487/0.8108, allocations: 409.4 kB / 0.5085 GB, free: 8.766 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000613/0.8115, allocations: 173.9 kB / 0.5087 GB, free: 8.594 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00909/0.8206, allocations: 2.57 MB / 0.5112 GB, free: 6.004 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.792e-05/0.8207, allocations: 19.94 kB / 0.5112 GB, free: 5.984 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.12e-05/0.8207, allocations: 7.984 kB / 0.5112 GB, free: 5.977 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-05/0.8207, allocations: 3.984 kB / 0.5112 GB, free: 5.973 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0135/0.8342, allocations: 4.207 MB / 0.5153 GB, free: 1.695 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.341e-05/0.8343, allocations: 7.922 kB / 0.5153 GB, free: 1.688 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002318/0.8366, allocations: 227.7 kB / 0.5155 GB, free: 1.465 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00969/0.8464, allocations: 1.318 MB / 0.5168 GB, free: 144 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004074/0.8468, allocations: 39.98 kB / 0.5168 GB, free: 104 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0045/0.8514, allocations: 1.801 MB / 0.5186 GB, free: 14.28 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.8514, allocations: 0 / 0.5186 GB, free: 14.28 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01073/0.8622, allocations: 3.482 MB / 0.522 GB, free: 10.77 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001754/0.864, allocations: 474.6 kB / 0.5225 GB, free: 10.29 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007054/0.8647, allocations: 31.98 kB / 0.5225 GB, free: 10.26 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002544/0.8673, allocations: 99.88 kB / 0.5226 GB, free: 10.16 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005293/0.8679, allocations: 117.1 kB / 0.5227 GB, free: 10.05 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002775/0.8681, allocations: 55.97 kB / 0.5228 GB, free: 9.992 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002183/0.8703, allocations: 0.9148 MB / 0.5236 GB, free: 9.078 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.01e-07/0.8704, allocations: 0 / 0.5236 GB, free: 9.078 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005722/0.8761, allocations: 1.32 MB / 0.5249 GB, free: 7.758 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (tank1.level,tank1.medium.T,tank2.level,tank2.medium.T,tank3.level,tank3.medium.T,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 39} Notification: Performance of Backend phase and start with SimCode phase: time 0.0037/0.8799, allocations: 0.9588 MB / 0.5259 GB, free: 6.785 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0127/0.8926, allocations: 3.233 MB / 0.529 GB, free: 3.547 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.288e-06/0.8927, allocations: 0 / 0.529 GB, free: 3.547 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004202/0.8969, allocations: 1.047 MB / 0.53 GB, free: 2.504 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00626/0.9032, allocations: 0.6869 MB / 0.5307 GB, free: 1.82 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.012/0.9153, allocations: 4.215 MB / 0.5348 GB, free: 13.57 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001418/0.9167, allocations: 1.41 MB / 0.5362 GB, free: 12.13 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001052/0.9178, allocations: 159.4 kB / 0.5364 GB, free: 11.98 MB / 458.7 MB Notification: Performance of SimCode: time 1.162e-06/0.9178, allocations: 0 / 0.5364 GB, free: 11.98 MB / 458.7 MB Notification: Performance of Templates: time 0.0949/1.013, allocations: 41.21 MB / 0.5766 GB, free: 2.879 MB / 490.7 MB