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_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve") Notification: Performance of loadModel(ModelicaTest): time 2.713/2.713, allocations: 234.9 MB / 250.1 MB, free: 9.93 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.281e-05/3.29e-05, allocations: 4 kB / 308 MB, free: 15.91 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4566/0.4566, allocations: 54.85 MB / 362.9 MB, free: 12.06 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve): time 0.04886/0.5055, allocations: 27.36 MB / 390.2 MB, free: 2.414 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.03537/0.541, allocations: 15.87 MB / 406.1 MB, free: 2.52 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002701/0.5437, allocations: 71.38 kB / 406.2 MB, free: 2.449 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002821/0.5466, allocations: 0.579 MB / 406.7 MB, free: 1.867 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00783/0.5545, allocations: 1.806 MB / 408.5 MB, free: 56 kB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01346/0.568, allocations: 3.406 MB / 411.9 MB, free: 12.65 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.005435/0.5734, allocations: 1.941 MB / 413.9 MB, free: 10.7 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001941/0.5754, allocations: 0.9045 MB / 414.8 MB, free: 9.789 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003107/0.5785, allocations: 1.083 MB / 415.9 MB, free: 8.703 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003038/0.5816, allocations: 1.126 MB / 417 MB, free: 7.574 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01101/0.5927, allocations: 2.477 MB / 419.5 MB, free: 5.094 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001802/0.5945, allocations: 184 kB / 419.7 MB, free: 4.914 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001193/0.5958, allocations: 0.5181 MB / 420.2 MB, free: 4.395 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007842/0.5966, allocations: 180 kB / 420.3 MB, free: 4.219 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007827/0.6044, allocations: 2.962 MB / 423.3 MB, free: 1.25 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.6045, allocations: 0 / 423.3 MB, free: 1.25 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.875e-06/0.6045, allocations: 0 / 423.3 MB, free: 1.25 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.066e-05/0.6045, allocations: 0 / 423.3 MB, free: 1.25 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.008252/0.6128, allocations: 1.954 MB / 425.3 MB, free: 15.24 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.47e-05/0.6129, allocations: 12.03 kB / 425.3 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001178/0.6141, allocations: 201.7 kB / 425.5 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003302/0.6174, allocations: 1.076 MB / 426.5 MB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002577/0.6177, allocations: 183.2 kB / 426.7 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003904/0.6181, allocations: 112 kB / 426.8 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005849/0.624, allocations: 1.919 MB / 428.8 MB, free: 11.6 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.839e-05/0.6241, allocations: 7.859 kB / 428.8 MB, free: 11.59 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002622/0.6243, allocations: 51.97 kB / 428.8 MB, free: 11.54 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002848/0.6246, allocations: 118.2 kB / 428.9 MB, free: 11.42 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006325/0.631, allocations: 1.953 MB / 430.9 MB, free: 9.461 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.02223/0.6533, allocations: 7.392 MB / 438.3 MB, free: 1.699 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003837/0.6571, allocations: 1.397 MB / 439.7 MB, free: 308 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01135/0.6685, allocations: 4.592 MB / 444.3 MB, free: 11.29 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.052e-05/0.6686, allocations: 43.56 kB / 444.3 MB, free: 11.24 MB / 378.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001411/0.6701, allocations: 230.4 kB / 444.5 MB, free: 11.02 MB / 378.7 MB Notification: Performance of pre-optimization done (n=118): time 4.859e-06/0.6701, allocations: 4 kB / 444.5 MB, free: 11.01 MB / 378.7 MB Notification: Performance of matching and sorting (n=133): time 0.0352/0.7053, allocations: 6.551 MB / 451.1 MB, free: 4.398 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001639/0.7055, allocations: 222.9 kB / 451.3 MB, free: 4.129 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002796/0.7083, allocations: 1.204 MB / 452.5 MB, free: 2.918 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004022/0.7088, allocations: 49.69 kB / 452.6 MB, free: 2.863 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006749/0.7094, allocations: 0.6232 MB / 453.2 MB, free: 2.234 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007013/0.7102, allocations: 469.3 kB / 453.6 MB, free: 1.77 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000183/0.7104, allocations: 36 kB / 453.7 MB, free: 1.734 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002231/0.7106, allocations: 370.8 kB / 454 MB, free: 1.363 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00267/0.7133, allocations: 0.812 MB / 454.8 MB, free: 0.5508 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002967/0.7163, allocations: 1.15 MB / 456 MB, free: 15.27 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002854/0.7191, allocations: 0.9539 MB / 457 MB, free: 14.32 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.776e-06/0.7192, allocations: 0 / 457 MB, free: 14.32 MB / 394.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.007704/0.7269, allocations: 2.474 MB / 459.4 MB, free: 11.83 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001564/0.7285, allocations: 3.234 MB / 462.7 MB, free: 8.344 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.721e-05/0.7286, allocations: 11.98 kB / 462.7 MB, free: 8.332 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01695/0.7455, allocations: 1.679 MB / 464.4 MB, free: 6.648 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002797/0.7484, allocations: 331.5 kB / 464.7 MB, free: 6.324 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005138/0.7536, allocations: 1.781 MB / 466.5 MB, free: 4.516 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002762/0.7564, allocations: 107.8 kB / 466.6 MB, free: 4.41 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003109/0.7567, allocations: 75.95 kB / 466.6 MB, free: 4.336 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.7567, allocations: 4 kB / 466.6 MB, free: 4.332 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006985/0.7637, allocations: 2.16 MB / 468.8 MB, free: 2.172 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.411e-05/0.7638, allocations: 8 kB / 468.8 MB, free: 2.164 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009857/0.7737, allocations: 0.9451 MB / 469.8 MB, free: 1.215 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002999/0.7767, allocations: 359.4 kB / 470.1 MB, free: 0.8633 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003283/0.7801, allocations: 1.309 MB / 471.4 MB, free: 15.53 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00204/0.7821, allocations: 95.8 kB / 471.5 MB, free: 15.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002725/0.7824, allocations: 83.84 kB / 471.6 MB, free: 15.36 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.00132/0.7838, allocations: 409.3 kB / 472 MB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005579/0.7843, allocations: 165.9 kB / 472.2 MB, free: 14.78 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008452/0.7928, allocations: 2.58 MB / 474.7 MB, free: 12.19 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.25e-05/0.7929, allocations: 19.95 kB / 474.7 MB, free: 12.17 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.697e-06/0.7929, allocations: 0 / 474.7 MB, free: 12.17 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.209e-05/0.7929, allocations: 7.969 kB / 474.8 MB, free: 12.16 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01179/0.8047, allocations: 4.203 MB / 479 MB, free: 7.891 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.265e-05/0.8048, allocations: 0 / 479 MB, free: 7.891 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002306/0.8071, allocations: 235.7 kB / 479.2 MB, free: 7.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009298/0.8164, allocations: 1.295 MB / 480.5 MB, free: 6.359 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004032/0.8169, allocations: 39.97 kB / 480.5 MB, free: 6.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004452/0.8213, allocations: 1.8 MB / 482.3 MB, free: 4.496 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.8214, allocations: 0 / 482.3 MB, free: 4.496 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009924/0.8313, allocations: 3.47 MB / 485.8 MB, free: 1.004 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001502/0.8329, allocations: 486.5 kB / 486.3 MB, free: 0.5078 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004588/0.8333, allocations: 28 kB / 486.3 MB, free: 492 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00211/0.8355, allocations: 99.83 kB / 486.4 MB, free: 392 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003934/0.8359, allocations: 113.1 kB / 486.5 MB, free: 280 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002285/0.8361, allocations: 59.95 kB / 486.6 MB, free: 220 kB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002068/0.8382, allocations: 0.9148 MB / 487.5 MB, free: 15.3 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.8382, allocations: 0 / 487.5 MB, free: 15.3 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004926/0.8432, allocations: 1.316 MB / 488.8 MB, free: 13.98 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.003366/0.8466, allocations: 0.9643 MB / 489.8 MB, free: 13 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01267/0.8593, allocations: 3.202 MB / 493 MB, free: 9.793 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.26e-05/0.8593, allocations: 4 kB / 493 MB, free: 9.789 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004272/0.8636, allocations: 1.044 MB / 494 MB, free: 8.742 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005739/0.8694, allocations: 0.7028 MB / 494.7 MB, free: 8.047 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01088/0.8803, allocations: 4.184 MB / 498.9 MB, free: 3.832 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001351/0.8817, allocations: 1.41 MB / 0.4886 GB, free: 2.391 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001022/0.8827, allocations: 159.4 kB / 0.4887 GB, free: 2.234 MB / 426.7 MB Notification: Performance of SimCode: time 1.212e-06/0.8828, allocations: 4 kB / 0.4887 GB, free: 2.23 MB / 426.7 MB Notification: Performance of Templates: time 0.3926/1.275, allocations: 41.13 MB / 0.5289 GB, free: 94.8 MB / 426.7 MB