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.2_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing") Notification: Performance of loadModel(ModelicaTest): time 2.432/2.432, allocations: 234.9 MB / 250.1 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.349e-05/3.357e-05, allocations: 4 kB / 308 MB, free: 15.99 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3877/0.3877, allocations: 54.86 MB / 362.9 MB, free: 12.09 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing): time 0.05778/0.4456, allocations: 23.38 MB / 386.2 MB, free: 6.449 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.03925/0.4849, allocations: 13.83 MB / 400.1 MB, free: 8.59 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007594/0.4857, allocations: 19.88 kB / 400.1 MB, free: 8.57 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001026/0.4868, allocations: 246.8 kB / 400.3 MB, free: 8.328 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0107/0.4975, allocations: 2.633 MB / 402.9 MB, free: 5.688 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01148/0.509, allocations: 2.729 MB / 405.7 MB, free: 2.953 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001419/0.5105, allocations: 0.5009 MB / 406.2 MB, free: 2.453 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004678/0.5109, allocations: 187.6 kB / 406.4 MB, free: 2.27 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001174/0.5121, allocations: 394.8 kB / 406.7 MB, free: 1.883 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004432/0.5126, allocations: 215.3 kB / 407 MB, free: 1.672 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02011/0.5327, allocations: 6.684 MB / 413.6 MB, free: 10.98 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002932/0.5357, allocations: 412 kB / 414 MB, free: 10.58 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002848/0.536, allocations: 87.67 kB / 414.1 MB, free: 10.49 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002344/0.5363, allocations: 48 kB / 414.2 MB, free: 10.45 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009257/0.5456, allocations: 2.873 MB / 417 MB, free: 7.566 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.5456, allocations: 4 kB / 417 MB, free: 7.562 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.507e-06/0.5457, allocations: 0 / 417 MB, free: 7.562 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.745e-05/0.5457, allocations: 0 / 417 MB, free: 7.562 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.004847/0.5505, allocations: 1.221 MB / 418.3 MB, free: 6.293 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/0.5506, allocations: 8.031 kB / 418.3 MB, free: 6.285 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002735/0.5534, allocations: 243.2 kB / 418.5 MB, free: 6.047 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008825/0.5543, allocations: 394.6 kB / 418.9 MB, free: 5.617 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.28e-05/0.5544, allocations: 29 kB / 418.9 MB, free: 5.59 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.542e-05/0.5544, allocations: 32 kB / 419 MB, free: 5.559 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002973/0.5574, allocations: 0.6648 MB / 419.6 MB, free: 4.852 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.394e-05/0.5575, allocations: 4 kB / 419.6 MB, free: 4.848 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001014/0.5576, allocations: 19.98 kB / 419.6 MB, free: 4.828 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.994e-05/0.5577, allocations: 8 kB / 419.7 MB, free: 4.82 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00462/0.5623, allocations: 0.6581 MB / 420.3 MB, free: 4.16 MB / 346.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.006584/0.5689, allocations: 2.775 MB / 423.1 MB, free: 1.129 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004609/0.5736, allocations: 0.513 MB / 423.6 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2193/0.7929, allocations: 52.14 MB / 475.7 MB, free: 6.992 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.263e-05/0.793, allocations: 38.56 kB / 475.8 MB, free: 6.945 MB / 410.7 MB Notification: Performance of pre-optimization done (n=27): time 2.655e-06/0.793, allocations: 3.938 kB / 475.8 MB, free: 6.941 MB / 410.7 MB Notification: Performance of matching and sorting (n=27): time 0.005314/0.7984, allocations: 0.8687 MB / 476.7 MB, free: 6.066 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.958e-05/0.7985, allocations: 110.8 kB / 476.8 MB, free: 5.934 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006054/0.7991, allocations: 308.8 kB / 477.1 MB, free: 5.625 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.282e-05/0.7992, allocations: 37.7 kB / 477.1 MB, free: 5.582 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002935/0.7995, allocations: 282.2 kB / 477.4 MB, free: 5.305 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001352/0.7997, allocations: 98.58 kB / 477.5 MB, free: 5.207 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.572e-05/0.7997, allocations: 8 kB / 477.5 MB, free: 5.199 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001712/0.7999, allocations: 326.8 kB / 477.8 MB, free: 4.871 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001001/0.8009, allocations: 175.9 kB / 478 MB, free: 4.699 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001133/0.802, allocations: 304.1 kB / 478.3 MB, free: 4.344 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001053/0.8031, allocations: 207.9 kB / 478.5 MB, free: 4.141 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.8031, allocations: 0 / 478.5 MB, free: 4.141 MB / 410.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.002476/0.8056, allocations: 0.5013 MB / 479 MB, free: 3.633 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007915/0.8064, allocations: 1.483 MB / 480.5 MB, free: 2.035 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.49e-05/0.8065, allocations: 4 kB / 480.5 MB, free: 2.031 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.954e-05/0.8065, allocations: 8 kB / 480.5 MB, free: 2.023 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009824/0.8075, allocations: 115.9 kB / 480.6 MB, free: 1.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.866e-05/0.8075, allocations: 11.94 kB / 480.6 MB, free: 1.898 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008822/0.8084, allocations: 99.42 kB / 480.7 MB, free: 1.801 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.183e-05/0.8085, allocations: 20 kB / 480.7 MB, free: 1.781 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.8086, allocations: 4 kB / 480.7 MB, free: 1.777 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002311/0.8109, allocations: 475.9 kB / 481.2 MB, free: 1.312 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.799e-06/0.8109, allocations: 4 kB / 481.2 MB, free: 1.309 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.8109, allocations: 8 kB / 481.2 MB, free: 1.301 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009041/0.8119, allocations: 120.2 kB / 481.3 MB, free: 1.184 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.675e-05/0.8119, allocations: 11.94 kB / 481.3 MB, free: 1.172 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006803/0.8126, allocations: 71.7 kB / 481.4 MB, free: 1.102 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.989e-05/0.8126, allocations: 23.98 kB / 481.4 MB, free: 1.078 MB / 410.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.0003536/0.813, allocations: 161.7 kB / 481.6 MB, free: 0.9102 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001393/0.8132, allocations: 43.48 kB / 481.6 MB, free: 0.8672 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004665/0.8178, allocations: 1.988 MB / 483.6 MB, free: 14.87 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.933e-05/0.8179, allocations: 27.95 kB / 483.6 MB, free: 14.84 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/0.818, allocations: 0 / 483.6 MB, free: 14.84 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.111e-05/0.818, allocations: 3.984 kB / 483.6 MB, free: 14.84 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001744/0.8197, allocations: 1.024 MB / 484.7 MB, free: 13.77 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.745e-06/0.8198, allocations: 0 / 484.7 MB, free: 13.77 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008068/0.8206, allocations: 95.88 kB / 484.7 MB, free: 13.67 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-05/0.8206, allocations: 11.94 kB / 484.8 MB, free: 13.66 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.389e-05/0.8207, allocations: 8 kB / 484.8 MB, free: 13.65 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.64e-06/0.8207, allocations: 0 / 484.8 MB, free: 13.65 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.8207, allocations: 0 / 484.8 MB, free: 13.65 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003051/0.8238, allocations: 1.145 MB / 485.9 MB, free: 12.49 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004437/0.8243, allocations: 259.4 kB / 486.2 MB, free: 12.21 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001261/0.8244, allocations: 11.95 kB / 486.2 MB, free: 12.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007262/0.8251, allocations: 59.8 kB / 486.2 MB, free: 12.14 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001258/0.8253, allocations: 35.94 kB / 486.3 MB, free: 12.11 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.011e-05/0.8253, allocations: 12 kB / 486.3 MB, free: 12.1 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005953/0.8259, allocations: 302.9 kB / 486.6 MB, free: 11.8 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.826, allocations: 0 / 486.6 MB, free: 11.8 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004107/0.8301, allocations: 1.081 MB / 487.7 MB, free: 10.72 MB / 426.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.007148/0.8373, allocations: 1.218 MB / 488.9 MB, free: 9.496 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003855/0.8412, allocations: 0.9166 MB / 489.8 MB, free: 8.582 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.522e-06/0.8412, allocations: 0 / 489.8 MB, free: 8.582 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001505/0.8428, allocations: 0.5455 MB / 490.3 MB, free: 8.035 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001882/0.8447, allocations: 195 kB / 490.5 MB, free: 7.844 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004503/0.8492, allocations: 2.116 MB / 492.6 MB, free: 5.695 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007566/0.85, allocations: 0.9992 MB / 493.6 MB, free: 4.668 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002609/0.8503, allocations: 47.42 kB / 493.7 MB, free: 4.621 MB / 426.7 MB Notification: Performance of SimCode: time 1.382e-06/0.8503, allocations: 4 kB / 493.7 MB, free: 4.617 MB / 426.7 MB Notification: Performance of Templates: time 0.373/1.223, allocations: 26.72 MB / 0.5082 GB, free: 113.6 MB / 426.7 MB