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_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve") Notification: Performance of loadModel(ModelicaTest): time 1.924/1.924, allocations: 209.3 MB / 224.4 MB, free: 0.5156 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.158e-05/3.154e-05, allocations: 4 kB / 276.2 MB, free: 15.86 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3486/0.3487, allocations: 48.7 MB / 324.9 MB, free: 2.898 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve): time 0.04456/0.3933, allocations: 27.34 MB / 352.2 MB, free: 40 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.03462/0.4279, allocations: 15.88 MB / 368.1 MB, free: 3.805 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00274/0.4307, allocations: 68.94 kB / 368.1 MB, free: 3.77 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00262/0.4334, allocations: 0.5844 MB / 368.7 MB, free: 3.234 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007787/0.4412, allocations: 1.82 MB / 370.6 MB, free: 1.547 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01383/0.4551, allocations: 3.408 MB / 374 MB, free: 14.39 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.005436/0.4605, allocations: 1.933 MB / 375.9 MB, free: 12.46 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001958/0.4625, allocations: 0.916 MB / 376.8 MB, free: 11.54 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00293/0.4655, allocations: 1.087 MB / 377.9 MB, free: 10.45 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003/0.4685, allocations: 1.126 MB / 379 MB, free: 9.32 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007871/0.4764, allocations: 2.473 MB / 381.5 MB, free: 6.844 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001474/0.478, allocations: 184 kB / 381.7 MB, free: 6.664 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001007/0.479, allocations: 0.522 MB / 382.2 MB, free: 6.141 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008129/0.4798, allocations: 176 kB / 382.4 MB, free: 5.969 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007598/0.4874, allocations: 2.962 MB / 385.3 MB, free: 3 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.4875, allocations: 0 / 385.3 MB, free: 3 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.885e-06/0.4875, allocations: 3.938 kB / 385.3 MB, free: 2.996 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.346e-05/0.4876, allocations: 0 / 385.3 MB, free: 2.996 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.007731/0.4953, allocations: 1.958 MB / 387.3 MB, free: 0.9844 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.239e-05/0.4954, allocations: 12.03 kB / 387.3 MB, free: 0.9727 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001067/0.4965, allocations: 201.8 kB / 387.5 MB, free: 0.7734 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003149/0.4997, allocations: 1.072 MB / 388.6 MB, free: 15.64 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002487/0.4999, allocations: 187 kB / 388.8 MB, free: 15.44 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000376/0.5003, allocations: 119.9 kB / 388.9 MB, free: 15.32 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005279/0.5056, allocations: 1.931 MB / 390.8 MB, free: 13.32 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.253e-05/0.5057, allocations: 0 / 390.8 MB, free: 13.32 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002485/0.506, allocations: 47.97 kB / 390.9 MB, free: 13.27 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002675/0.5063, allocations: 114.2 kB / 391 MB, free: 13.16 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005855/0.5121, allocations: 1.957 MB / 392.9 MB, free: 11.2 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.02159/0.5338, allocations: 7.393 MB / 400.3 MB, free: 3.438 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003902/0.5377, allocations: 1.408 MB / 401.7 MB, free: 2.02 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01087/0.5486, allocations: 4.581 MB / 406.3 MB, free: 13.02 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.582e-05/0.5487, allocations: 51.56 kB / 406.4 MB, free: 12.96 MB / 346.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001403/0.5501, allocations: 218.5 kB / 406.6 MB, free: 12.75 MB / 346.7 MB Notification: Performance of pre-optimization done (n=118): time 6.622e-06/0.5502, allocations: 0 / 406.6 MB, free: 12.75 MB / 346.7 MB Notification: Performance of matching and sorting (n=133): time 0.03453/0.5847, allocations: 6.544 MB / 413.1 MB, free: 6.141 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001524/0.5849, allocations: 222.9 kB / 413.3 MB, free: 5.875 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002731/0.5877, allocations: 1.204 MB / 414.5 MB, free: 4.664 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003423/0.588, allocations: 57.7 kB / 414.6 MB, free: 4.602 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006512/0.5887, allocations: 0.6193 MB / 415.2 MB, free: 3.977 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006856/0.5894, allocations: 461.4 kB / 415.7 MB, free: 3.52 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001793/0.5896, allocations: 32 kB / 415.7 MB, free: 3.488 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001997/0.5898, allocations: 370.8 kB / 416 MB, free: 3.117 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002488/0.5923, allocations: 0.8081 MB / 416.9 MB, free: 2.309 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002844/0.5952, allocations: 1.166 MB / 418 MB, free: 1.012 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002782/0.598, allocations: 0.9422 MB / 419 MB, free: 72 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.047e-06/0.598, allocations: 0 / 419 MB, free: 72 kB / 346.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.007548/0.6056, allocations: 2.482 MB / 421.4 MB, free: 13.58 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001314/0.6069, allocations: 3.222 MB / 424.7 MB, free: 10.1 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.502e-05/0.607, allocations: 11.95 kB / 424.7 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01712/0.6241, allocations: 1.68 MB / 426.4 MB, free: 8.406 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00279/0.627, allocations: 335.5 kB / 426.7 MB, free: 8.078 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005206/0.6322, allocations: 1.781 MB / 428.5 MB, free: 6.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002685/0.6349, allocations: 107.8 kB / 428.6 MB, free: 6.164 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003194/0.6353, allocations: 75.97 kB / 428.6 MB, free: 6.09 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.6353, allocations: 7.984 kB / 428.7 MB, free: 6.082 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006904/0.6423, allocations: 2.156 MB / 430.8 MB, free: 3.922 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.422e-05/0.6424, allocations: 11.95 kB / 430.8 MB, free: 3.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009763/0.6521, allocations: 0.9531 MB / 431.8 MB, free: 2.953 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002933/0.6551, allocations: 351.5 kB / 432.1 MB, free: 2.609 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0032/0.6583, allocations: 1.309 MB / 433.4 MB, free: 1.273 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001971/0.6604, allocations: 99.88 kB / 433.5 MB, free: 1.176 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000259/0.6606, allocations: 71.97 kB / 433.6 MB, free: 1.105 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.001399/0.6621, allocations: 417.2 kB / 434 MB, free: 0.6875 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005991/0.6627, allocations: 165.9 kB / 434.2 MB, free: 0.5234 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008763/0.6715, allocations: 2.57 MB / 436.7 MB, free: 13.93 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-05/0.6715, allocations: 19.98 kB / 436.8 MB, free: 13.91 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.437e-06/0.6716, allocations: 3.938 kB / 436.8 MB, free: 13.91 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-05/0.6716, allocations: 11.97 kB / 436.8 MB, free: 13.89 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01261/0.6842, allocations: 4.207 MB / 441 MB, free: 9.621 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-05/0.6843, allocations: 8 kB / 441 MB, free: 9.613 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002224/0.6865, allocations: 231.7 kB / 441.2 MB, free: 9.387 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009277/0.6959, allocations: 1.298 MB / 442.5 MB, free: 8.086 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003687/0.6963, allocations: 39.97 kB / 442.6 MB, free: 8.047 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004491/0.7008, allocations: 1.797 MB / 444.3 MB, free: 6.223 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.7008, allocations: 0 / 444.3 MB, free: 6.223 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01035/0.7112, allocations: 3.482 MB / 447.8 MB, free: 2.723 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001659/0.7129, allocations: 474.6 kB / 448.3 MB, free: 2.238 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005892/0.7135, allocations: 28 kB / 448.3 MB, free: 2.211 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002416/0.716, allocations: 103.9 kB / 448.4 MB, free: 2.109 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004584/0.7165, allocations: 121.1 kB / 448.5 MB, free: 1.988 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002587/0.7167, allocations: 59.97 kB / 448.6 MB, free: 1.93 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002099/0.7188, allocations: 0.9148 MB / 449.5 MB, free: 1.016 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.01e-07/0.7189, allocations: 0 / 449.5 MB, free: 1.016 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.005351/0.7242, allocations: 1.308 MB / 450.8 MB, free: 15.7 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.003545/0.7278, allocations: 0.951 MB / 451.8 MB, free: 14.75 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01222/0.7401, allocations: 3.201 MB / 455 MB, free: 11.54 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.687e-06/0.7401, allocations: 5.875 kB / 455 MB, free: 11.54 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004255/0.7444, allocations: 1.043 MB / 456 MB, free: 10.5 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005941/0.7504, allocations: 0.6936 MB / 456.7 MB, free: 9.816 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01156/0.762, allocations: 4.193 MB / 460.9 MB, free: 5.594 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001496/0.7635, allocations: 1.414 MB / 462.3 MB, free: 4.145 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001046/0.7646, allocations: 163.4 kB / 462.5 MB, free: 3.984 MB / 394.7 MB Notification: Performance of SimCode: time 1.563e-06/0.7646, allocations: 4 kB / 462.5 MB, free: 3.98 MB / 394.7 MB Notification: Performance of Templates: time 0.3528/1.117, allocations: 41.12 MB / 0.4918 GB, free: 124.4 MB / 410.7 MB