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.2_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve") Notification: Performance of loadModel(ModelicaTest): time 2.548/2.548, allocations: 234.9 MB / 249.4 MB, free: 10.01 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.575e-05/2.562e-05, allocations: 4 kB / 308 MB, free: 15.34 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3874/0.3875, allocations: 54.86 MB / 362.9 MB, free: 12.27 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve): time 0.04758/0.4351, allocations: 27.35 MB / 390.2 MB, free: 2.348 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.03522/0.4704, allocations: 15.88 MB / 406.1 MB, free: 2.449 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00275/0.4732, allocations: 67.44 kB / 406.2 MB, free: 2.383 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003027/0.4763, allocations: 0.575 MB / 406.8 MB, free: 1.805 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007955/0.4843, allocations: 1.81 MB / 408.6 MB, free: 15.99 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01397/0.4983, allocations: 3.404 MB / 412 MB, free: 12.58 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.005769/0.5041, allocations: 1.937 MB / 413.9 MB, free: 10.64 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00246/0.5066, allocations: 0.9084 MB / 414.8 MB, free: 9.723 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003605/0.5103, allocations: 1.091 MB / 415.9 MB, free: 8.629 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003633/0.514, allocations: 1.122 MB / 417 MB, free: 7.504 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008828/0.5229, allocations: 2.481 MB / 419.5 MB, free: 5.02 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001721/0.5247, allocations: 180 kB / 419.7 MB, free: 4.844 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001436/0.5262, allocations: 0.522 MB / 420.2 MB, free: 4.32 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009575/0.5272, allocations: 176 kB / 420.4 MB, free: 4.148 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007974/0.5352, allocations: 2.966 MB / 423.3 MB, free: 1.176 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.5352, allocations: 0 / 423.3 MB, free: 1.176 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.116e-06/0.5353, allocations: 0 / 423.3 MB, free: 1.176 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001075/0.5354, allocations: 0 / 423.3 MB, free: 1.176 MB / 346.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.008433/0.5438, allocations: 1.942 MB / 425.3 MB, free: 15.18 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.296e-05/0.5439, allocations: 8.031 kB / 425.3 MB, free: 15.17 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001326/0.5452, allocations: 213.7 kB / 425.5 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003604/0.5489, allocations: 1.076 MB / 426.6 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002604/0.5492, allocations: 183.2 kB / 426.8 MB, free: 13.63 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003898/0.5496, allocations: 112 kB / 426.9 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005662/0.5553, allocations: 1.923 MB / 428.8 MB, free: 11.52 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.454e-05/0.5554, allocations: 7.859 kB / 428.8 MB, free: 11.52 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002693/0.5557, allocations: 47.97 kB / 428.8 MB, free: 11.47 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002878/0.556, allocations: 118.2 kB / 429 MB, free: 11.35 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005918/0.5619, allocations: 1.953 MB / 430.9 MB, free: 9.391 MB / 362.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.02233/0.5843, allocations: 7.396 MB / 438.3 MB, free: 1.625 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003902/0.5882, allocations: 1.401 MB / 439.7 MB, free: 228 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01145/0.5997, allocations: 4.592 MB / 444.3 MB, free: 11.21 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.75e-05/0.5999, allocations: 43.56 kB / 444.3 MB, free: 11.16 MB / 378.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001539/0.6014, allocations: 226.4 kB / 444.6 MB, free: 10.94 MB / 378.7 MB Notification: Performance of pre-optimization done (n=118): time 5.381e-06/0.6014, allocations: 3.938 kB / 444.6 MB, free: 10.94 MB / 378.7 MB Notification: Performance of matching and sorting (n=133): time 0.03547/0.6369, allocations: 6.54 MB / 451.1 MB, free: 4.336 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001511/0.6371, allocations: 222.9 kB / 451.3 MB, free: 4.066 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00278/0.6399, allocations: 1.204 MB / 452.5 MB, free: 2.855 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004748/0.6404, allocations: 53.7 kB / 452.6 MB, free: 2.797 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007844/0.6412, allocations: 0.6612 MB / 453.2 MB, free: 2.129 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007439/0.642, allocations: 461.3 kB / 453.7 MB, free: 1.672 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001947/0.6422, allocations: 32 kB / 453.7 MB, free: 1.641 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002031/0.6424, allocations: 373.9 kB / 454.1 MB, free: 1.27 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002579/0.645, allocations: 0.812 MB / 454.9 MB, free: 468 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003049/0.6481, allocations: 1.15 MB / 456.1 MB, free: 15.18 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002892/0.651, allocations: 0.9499 MB / 457 MB, free: 14.23 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.718e-06/0.6511, allocations: 0 / 457 MB, free: 14.23 MB / 394.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.008595/0.6597, allocations: 2.574 MB / 459.6 MB, free: 11.64 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001579/0.6613, allocations: 3.287 MB / 462.9 MB, free: 8.156 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.179e-05/0.6614, allocations: 12 kB / 462.9 MB, free: 8.145 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01735/0.6788, allocations: 1.672 MB / 464.5 MB, free: 6.469 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002859/0.6817, allocations: 343.5 kB / 464.9 MB, free: 6.133 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005179/0.6869, allocations: 1.774 MB / 466.7 MB, free: 4.332 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002814/0.6898, allocations: 103.8 kB / 466.8 MB, free: 4.23 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003768/0.6902, allocations: 79.95 kB / 466.8 MB, free: 4.152 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.6902, allocations: 4 kB / 466.8 MB, free: 4.148 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006899/0.6971, allocations: 2.164 MB / 469 MB, free: 1.984 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.071e-05/0.6972, allocations: 8 kB / 469 MB, free: 1.977 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009923/0.7072, allocations: 0.9724 MB / 470 MB, free: 1 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002959/0.7102, allocations: 351.5 kB / 470.3 MB, free: 0.6562 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003186/0.7134, allocations: 1.337 MB / 471.7 MB, free: 15.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002522/0.716, allocations: 99.78 kB / 471.8 MB, free: 15.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003392/0.7164, allocations: 71.97 kB / 471.8 MB, free: 15.12 MB / 410.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.0014/0.7178, allocations: 409.4 kB / 472.2 MB, free: 14.71 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006481/0.7185, allocations: 166 kB / 472.4 MB, free: 14.55 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00915/0.7276, allocations: 2.576 MB / 475 MB, free: 11.96 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.795e-05/0.7277, allocations: 19.95 kB / 475 MB, free: 11.94 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.205e-05/0.7277, allocations: 4 kB / 475 MB, free: 11.94 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.433e-05/0.7278, allocations: 7.969 kB / 475 MB, free: 11.93 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0125/0.7403, allocations: 4.207 MB / 479.2 MB, free: 7.656 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.529e-05/0.7404, allocations: 3.984 kB / 479.2 MB, free: 7.652 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002213/0.7426, allocations: 223.8 kB / 479.4 MB, free: 7.434 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009063/0.7517, allocations: 1.295 MB / 480.7 MB, free: 6.133 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003948/0.7521, allocations: 47.91 kB / 480.8 MB, free: 6.086 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00451/0.7567, allocations: 1.801 MB / 482.6 MB, free: 4.262 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.162e-06/0.7567, allocations: 3.984 kB / 482.6 MB, free: 4.258 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01016/0.7669, allocations: 3.47 MB / 486 MB, free: 0.7656 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00159/0.7685, allocations: 482.5 kB / 486.5 MB, free: 280 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005524/0.7691, allocations: 28 kB / 486.5 MB, free: 252 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002278/0.7714, allocations: 99.83 kB / 486.6 MB, free: 152 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00042/0.7719, allocations: 125.1 kB / 486.8 MB, free: 28 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002993/0.7722, allocations: 55.97 kB / 486.8 MB, free: 15.97 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002184/0.7744, allocations: 0.9148 MB / 487.7 MB, free: 15.06 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.91e-07/0.7744, allocations: 0 / 487.7 MB, free: 15.06 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005912/0.7803, allocations: 1.308 MB / 489 MB, free: 13.75 MB / 426.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.003684/0.7841, allocations: 0.9597 MB / 490 MB, free: 12.78 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0129/0.797, allocations: 3.258 MB / 493.3 MB, free: 9.512 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.249e-05/0.7971, allocations: 4.562 kB / 493.3 MB, free: 9.508 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004621/0.8017, allocations: 1.055 MB / 494.3 MB, free: 8.449 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006584/0.8083, allocations: 0.6978 MB / 495 MB, free: 7.758 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01225/0.8207, allocations: 4.143 MB / 499.2 MB, free: 3.594 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00148/0.8222, allocations: 1.421 MB / 0.4888 GB, free: 2.145 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.00497/0.8272, allocations: 0.7511 MB / 0.4896 GB, free: 1.387 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007215/0.828, allocations: 131.4 kB / 0.4897 GB, free: 1.258 MB / 426.7 MB Notification: Performance of SimCode: time 1.563e-06/0.828, allocations: 0 / 0.4897 GB, free: 1.258 MB / 426.7 MB Notification: Performance of Templates: time 0.4234/1.251, allocations: 48.43 MB / 0.537 GB, free: 86.77 MB / 426.7 MB