Running command: translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|SourceP1.ports.1..m_flow|SourceP1.ports.1..p|SourceP1.ports.1..h_outflow|V1.port_b.m_flow|V1.port_b.p|V1.port_b.h_outflow|V1.minLimiter.y|SinkP1.ports.1..m_flow|SinkP1.ports.1..p|SinkP1.ports.1..h_outflow|Opening.y|downstreamPressure.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing") Notification: Performance of loadModel(ModelicaTest): time 2.016/2.016, allocations: 209.3 MB / 224.4 MB, free: 0.5117 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.208e-05/3.218e-05, allocations: 7.984 kB / 276.2 MB, free: 15.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3613/0.3614, allocations: 48.69 MB / 324.9 MB, free: 2.902 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing): time 0.04243/0.4039, allocations: 23.22 MB / 348.1 MB, free: 3.289 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.02919/0.4331, allocations: 13.76 MB / 361.8 MB, free: 8.805 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008557/0.434, allocations: 18.47 kB / 361.9 MB, free: 8.797 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001181/0.4352, allocations: 246.1 kB / 362.1 MB, free: 8.578 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01222/0.4475, allocations: 2.612 MB / 364.7 MB, free: 6.348 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01232/0.4598, allocations: 2.71 MB / 367.4 MB, free: 4.18 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001543/0.4614, allocations: 0.4909 MB / 367.9 MB, free: 3.828 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005161/0.462, allocations: 186.7 kB / 368.1 MB, free: 3.711 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001336/0.4633, allocations: 388.7 kB / 368.5 MB, free: 3.473 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005994/0.464, allocations: 206.4 kB / 368.7 MB, free: 3.367 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02006/0.484, allocations: 6.587 MB / 375.3 MB, free: 13.09 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003006/0.4871, allocations: 400 kB / 375.6 MB, free: 12.7 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002929/0.4874, allocations: 79.73 kB / 375.7 MB, free: 12.62 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003196/0.4878, allocations: 51.94 kB / 375.8 MB, free: 12.57 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008694/0.4965, allocations: 2.841 MB / 378.6 MB, free: 9.723 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.187e-06/0.4966, allocations: 0 / 378.6 MB, free: 9.723 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.685e-06/0.4966, allocations: 7.938 kB / 378.6 MB, free: 9.715 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.813e-05/0.4966, allocations: 0 / 378.6 MB, free: 9.715 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.004571/0.5012, allocations: 1.197 MB / 379.8 MB, free: 8.465 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/0.5012, allocations: 8.031 kB / 379.8 MB, free: 8.457 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002788/0.504, allocations: 227.2 kB / 380.1 MB, free: 8.234 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009792/0.5051, allocations: 398.5 kB / 380.4 MB, free: 7.805 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.731e-05/0.5052, allocations: 32.95 kB / 380.5 MB, free: 7.773 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.538e-05/0.5053, allocations: 32 kB / 380.5 MB, free: 7.742 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003053/0.5083, allocations: 0.6688 MB / 381.2 MB, free: 7.027 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.16e-05/0.5084, allocations: 0 / 381.2 MB, free: 7.027 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001005/0.5085, allocations: 19.98 kB / 381.2 MB, free: 7.008 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.576e-05/0.5086, allocations: 12 kB / 381.2 MB, free: 6.996 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003602/0.5122, allocations: 0.6542 MB / 381.9 MB, free: 6.344 MB / 314.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.005268/0.5175, allocations: 2.771 MB / 384.6 MB, free: 3.312 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002905/0.5204, allocations: 0.5102 MB / 385.1 MB, free: 2.793 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2037/0.7242, allocations: 52.06 MB / 437.2 MB, free: 9.254 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.877e-05/0.7243, allocations: 34.56 kB / 437.2 MB, free: 9.211 MB / 378.7 MB Notification: Performance of pre-optimization done (n=27): time 2.515e-06/0.7243, allocations: 4 kB / 437.2 MB, free: 9.207 MB / 378.7 MB Notification: Performance of matching and sorting (n=27): time 0.005448/0.7297, allocations: 0.8603 MB / 438.1 MB, free: 8.34 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.688e-05/0.7299, allocations: 110.8 kB / 438.2 MB, free: 8.207 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006286/0.7305, allocations: 312.8 kB / 438.5 MB, free: 7.895 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.634e-05/0.7306, allocations: 29.7 kB / 438.5 MB, free: 7.859 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002413/0.7309, allocations: 282.2 kB / 438.8 MB, free: 7.582 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001408/0.731, allocations: 94.59 kB / 438.9 MB, free: 7.488 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.913e-05/0.7311, allocations: 12 kB / 438.9 MB, free: 7.477 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001664/0.7313, allocations: 326.8 kB / 439.2 MB, free: 7.148 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001055/0.7323, allocations: 179.9 kB / 439.4 MB, free: 6.973 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001202/0.7336, allocations: 308 kB / 439.7 MB, free: 6.613 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001072/0.7347, allocations: 204.8 kB / 439.9 MB, free: 6.414 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.125e-06/0.7347, allocations: 3.953 kB / 439.9 MB, free: 6.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.002478/0.7372, allocations: 0.5127 MB / 440.4 MB, free: 5.891 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007895/0.738, allocations: 1.482 MB / 441.9 MB, free: 4.293 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.918e-05/0.7381, allocations: 4 kB / 441.9 MB, free: 4.289 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.284e-05/0.7381, allocations: 12 kB / 441.9 MB, free: 4.277 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001073/0.7392, allocations: 115.8 kB / 442 MB, free: 4.164 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.393e-05/0.7393, allocations: 11.94 kB / 442.1 MB, free: 4.152 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000891/0.7402, allocations: 95.56 kB / 442.2 MB, free: 4.059 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-05/0.7402, allocations: 20 kB / 442.2 MB, free: 4.039 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.7403, allocations: 4 kB / 442.2 MB, free: 4.035 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002313/0.7426, allocations: 471.5 kB / 442.6 MB, free: 3.574 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.7426, allocations: 4.344 kB / 442.6 MB, free: 3.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.7426, allocations: 12 kB / 442.7 MB, free: 3.559 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00087/0.7435, allocations: 115.8 kB / 442.8 MB, free: 3.445 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.34e-05/0.7436, allocations: 7.953 kB / 442.8 MB, free: 3.438 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006561/0.7442, allocations: 79.7 kB / 442.8 MB, free: 3.359 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-05/0.7443, allocations: 19.98 kB / 442.9 MB, free: 3.34 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 4 (SourceP1.medium.phase,SinkP1.medium.phase,V1.state_b.phase,V1.state_a.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000332/0.7446, allocations: 173.7 kB / 443 MB, free: 3.16 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000127/0.7448, allocations: 35.53 kB / 443.1 MB, free: 3.125 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004719/0.7495, allocations: 1.98 MB / 445.1 MB, free: 1.133 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.74e-05/0.7496, allocations: 27.95 kB / 445.1 MB, free: 1.105 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.074e-06/0.7496, allocations: 0 / 445.1 MB, free: 1.105 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.493e-05/0.7496, allocations: 11.94 kB / 445.1 MB, free: 1.094 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001726/0.7514, allocations: 1.012 MB / 446.1 MB, free: 28 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.762e-06/0.7514, allocations: 0 / 446.1 MB, free: 28 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008038/0.7522, allocations: 99.86 kB / 446.2 MB, free: 15.93 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.155e-06/0.7522, allocations: 0 / 446.2 MB, free: 15.93 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.427e-05/0.7523, allocations: 11.98 kB / 446.2 MB, free: 15.92 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.424e-06/0.7523, allocations: 4 kB / 446.2 MB, free: 15.91 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.7523, allocations: 0 / 446.2 MB, free: 15.91 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003077/0.7554, allocations: 1.165 MB / 447.4 MB, free: 14.73 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004161/0.7558, allocations: 251.3 kB / 447.6 MB, free: 14.47 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001158/0.756, allocations: 8 kB / 447.6 MB, free: 14.46 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006818/0.7567, allocations: 55.95 kB / 447.7 MB, free: 14.41 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001164/0.7568, allocations: 27.95 kB / 447.7 MB, free: 14.38 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.808e-05/0.7569, allocations: 15.98 kB / 447.7 MB, free: 14.36 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006226/0.7575, allocations: 310.8 kB / 448 MB, free: 14.06 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.7575, allocations: 0 / 448 MB, free: 14.06 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004018/0.7615, allocations: 1.077 MB / 449.1 MB, free: 12.98 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 18 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse13.phase,$cse13.region,SourceP1.medium.phase,SinkP1.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006557/0.7681, allocations: 1.223 MB / 450.3 MB, free: 11.75 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003818/0.772, allocations: 0.922 MB / 451.3 MB, free: 10.83 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/0.772, allocations: 0 / 451.3 MB, free: 10.83 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001476/0.7735, allocations: 0.5486 MB / 451.8 MB, free: 10.28 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001829/0.7754, allocations: 191.6 kB / 452 MB, free: 10.1 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004503/0.7799, allocations: 2.111 MB / 454.1 MB, free: 7.953 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007834/0.7807, allocations: 0.9992 MB / 455.1 MB, free: 6.926 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002692/0.781, allocations: 51.42 kB / 455.2 MB, free: 6.875 MB / 394.7 MB Notification: Performance of SimCode: time 1.152e-06/0.781, allocations: 0 / 455.2 MB, free: 6.875 MB / 394.7 MB Notification: Performance of Templates: time 0.3344/1.115, allocations: 26.55 MB / 481.7 MB, free: 123.4 MB / 410.7 MB