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.1_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve") Notification: Performance of loadModel(ModelicaTest): time 1.876/1.876, allocations: 209.3 MB / 223.8 MB, free: 0.5195 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.661e-05/3.697e-05, allocations: 4 kB / 276.2 MB, free: 15.2 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4/0.4, allocations: 48.69 MB / 324.9 MB, free: 3.379 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve): time 0.04339/0.4435, allocations: 27.34 MB / 352.2 MB, free: 288 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.03496/0.4785, allocations: 15.89 MB / 368.1 MB, free: 4.035 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002667/0.4812, allocations: 68.44 kB / 368.2 MB, free: 4 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00272/0.484, allocations: 0.5888 MB / 368.8 MB, free: 3.461 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008068/0.4921, allocations: 1.813 MB / 370.6 MB, free: 1.727 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01414/0.5062, allocations: 3.41 MB / 374 MB, free: 14.32 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.005488/0.5117, allocations: 1.937 MB / 375.9 MB, free: 12.38 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002119/0.5139, allocations: 0.9122 MB / 376.8 MB, free: 11.46 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003294/0.5172, allocations: 1.087 MB / 377.9 MB, free: 10.37 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003089/0.5204, allocations: 1.118 MB / 379 MB, free: 9.25 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008204/0.5286, allocations: 2.485 MB / 381.5 MB, free: 6.762 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001472/0.5301, allocations: 180 kB / 381.7 MB, free: 6.586 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001034/0.5312, allocations: 0.522 MB / 382.2 MB, free: 6.059 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008352/0.532, allocations: 176 kB / 382.4 MB, free: 5.887 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007626/0.5397, allocations: 2.962 MB / 385.4 MB, free: 2.918 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.5397, allocations: 0 / 385.4 MB, free: 2.918 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.565e-06/0.5397, allocations: 0 / 385.4 MB, free: 2.918 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.624e-05/0.5398, allocations: 4 kB / 385.4 MB, free: 2.914 MB / 314.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.00781/0.5476, allocations: 1.946 MB / 387.3 MB, free: 0.9141 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.128e-05/0.5477, allocations: 12.03 kB / 387.3 MB, free: 0.9023 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001003/0.5487, allocations: 197.8 kB / 387.5 MB, free: 0.707 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003028/0.5517, allocations: 1.076 MB / 388.6 MB, free: 15.57 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002441/0.552, allocations: 203 kB / 388.8 MB, free: 15.36 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003639/0.5524, allocations: 115.9 kB / 388.9 MB, free: 15.24 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005435/0.5578, allocations: 1.923 MB / 390.8 MB, free: 13.25 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.135e-05/0.5579, allocations: 0 / 390.8 MB, free: 13.25 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002482/0.5582, allocations: 47.97 kB / 390.9 MB, free: 13.2 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000279/0.5585, allocations: 118.2 kB / 391 MB, free: 13.08 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005768/0.5643, allocations: 1.957 MB / 392.9 MB, free: 11.12 MB / 330.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.02167/0.586, allocations: 7.385 MB / 400.3 MB, free: 3.367 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003923/0.5899, allocations: 1.416 MB / 401.7 MB, free: 1.941 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01098/0.6009, allocations: 4.577 MB / 406.3 MB, free: 12.95 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.322e-05/0.601, allocations: 51.56 kB / 406.4 MB, free: 12.89 MB / 346.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001479/0.6025, allocations: 222.5 kB / 406.6 MB, free: 12.67 MB / 346.7 MB Notification: Performance of pre-optimization done (n=118): time 4.639e-06/0.6026, allocations: 0 / 406.6 MB, free: 12.67 MB / 346.7 MB Notification: Performance of matching and sorting (n=133): time 0.03457/0.6371, allocations: 6.548 MB / 413.1 MB, free: 6.059 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001434/0.6373, allocations: 222.9 kB / 413.4 MB, free: 5.793 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00266/0.64, allocations: 1.204 MB / 414.6 MB, free: 4.582 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003534/0.6404, allocations: 49.7 kB / 414.6 MB, free: 4.527 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007631/0.6412, allocations: 0.6612 MB / 415.3 MB, free: 3.859 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006706/0.6418, allocations: 465.4 kB / 415.7 MB, free: 3.398 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001743/0.642, allocations: 28 kB / 415.7 MB, free: 3.371 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000204/0.6422, allocations: 365.9 kB / 416.1 MB, free: 3.008 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002545/0.6448, allocations: 0.8159 MB / 416.9 MB, free: 2.191 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002848/0.6477, allocations: 1.154 MB / 418.1 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002783/0.6505, allocations: 0.9383 MB / 419 MB, free: 15.96 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-05/0.6505, allocations: 4 kB / 419 MB, free: 15.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.007926/0.6585, allocations: 2.582 MB / 421.6 MB, free: 13.38 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001657/0.6602, allocations: 3.282 MB / 424.9 MB, free: 9.891 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.028e-05/0.6602, allocations: 11.95 kB / 424.9 MB, free: 9.879 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01713/0.6774, allocations: 1.673 MB / 426.6 MB, free: 8.203 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002771/0.6802, allocations: 335.5 kB / 426.9 MB, free: 7.875 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005094/0.6853, allocations: 1.781 MB / 428.7 MB, free: 6.066 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002709/0.6881, allocations: 99.78 kB / 428.8 MB, free: 5.969 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002971/0.6884, allocations: 79.95 kB / 428.9 MB, free: 5.891 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.6884, allocations: 0 / 428.9 MB, free: 5.891 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006626/0.695, allocations: 2.168 MB / 431 MB, free: 3.719 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.44e-05/0.6951, allocations: 20.11 kB / 431 MB, free: 3.699 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01/0.7051, allocations: 0.9645 MB / 432 MB, free: 2.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002988/0.7082, allocations: 351.4 kB / 432.3 MB, free: 2.387 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00318/0.7114, allocations: 1.329 MB / 433.7 MB, free: 1.031 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002531/0.7139, allocations: 100.2 kB / 433.8 MB, free: 0.9336 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002663/0.7142, allocations: 72.05 kB / 433.8 MB, free: 0.8633 MB / 362.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.001199/0.7154, allocations: 421.3 kB / 434.3 MB, free: 452 kB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004862/0.7159, allocations: 165.9 kB / 434.4 MB, free: 284 kB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008104/0.7241, allocations: 2.574 MB / 437 MB, free: 13.68 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-05/0.7241, allocations: 16 kB / 437 MB, free: 13.66 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/0.7241, allocations: 0 / 437 MB, free: 13.66 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-05/0.7242, allocations: 7.969 kB / 437 MB, free: 13.66 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01165/0.7358, allocations: 4.219 MB / 441.2 MB, free: 9.371 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.201e-05/0.7359, allocations: 0 / 441.2 MB, free: 9.371 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00212/0.738, allocations: 231.7 kB / 441.5 MB, free: 9.145 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009123/0.7472, allocations: 1.302 MB / 442.8 MB, free: 7.84 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003466/0.7476, allocations: 39.97 kB / 442.8 MB, free: 7.801 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00449/0.7521, allocations: 1.804 MB / 444.6 MB, free: 5.969 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.7521, allocations: 0 / 444.6 MB, free: 5.969 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01003/0.7621, allocations: 3.478 MB / 448.1 MB, free: 2.473 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00149/0.7637, allocations: 470.7 kB / 448.5 MB, free: 1.992 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004609/0.7642, allocations: 32 kB / 448.6 MB, free: 1.961 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002191/0.7664, allocations: 103.8 kB / 448.7 MB, free: 1.859 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000357/0.7667, allocations: 117.1 kB / 448.8 MB, free: 1.742 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002333/0.767, allocations: 59.95 kB / 448.8 MB, free: 1.684 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001972/0.769, allocations: 0.9148 MB / 449.8 MB, free: 0.7695 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.769, allocations: 0 / 449.8 MB, free: 0.7695 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004686/0.7737, allocations: 1.316 MB / 451.1 MB, free: 15.45 MB / 394.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.003232/0.7769, allocations: 0.9547 MB / 452 MB, free: 14.49 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01176/0.7887, allocations: 3.257 MB / 455.3 MB, free: 11.22 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.584e-06/0.7888, allocations: 1.875 kB / 455.3 MB, free: 11.22 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004092/0.7929, allocations: 1.051 MB / 456.3 MB, free: 10.18 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005747/0.7986, allocations: 0.6911 MB / 457 MB, free: 9.492 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01073/0.8094, allocations: 4.138 MB / 461.2 MB, free: 5.328 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001398/0.8109, allocations: 1.417 MB / 462.6 MB, free: 3.879 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.004635/0.8155, allocations: 0.7628 MB / 463.4 MB, free: 3.109 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005943/0.8161, allocations: 123.4 kB / 463.5 MB, free: 2.988 MB / 394.7 MB Notification: Performance of SimCode: time 1.443e-06/0.8161, allocations: 0 / 463.5 MB, free: 2.988 MB / 394.7 MB Notification: Performance of Templates: time 0.4264/1.243, allocations: 48.44 MB / 0.4999 GB, free: 119.8 MB / 410.7 MB