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 1.843/1.843, allocations: 209.3 MB / 221.9 MB, free: 7.723 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.191e-05/3.212e-05, allocations: 4 kB / 273.1 MB, free: 3.645 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08973/0.08979, allocations: 48.69 MB / 321.8 MB, free: 2.859 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.286/6.375, allocations: 2.524 GB / 2.838 GB, free: 36.26 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002291/6.376, allocations: 82.2 kB / 2.838 GB, free: 36.22 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.145/7.521, allocations: 231.2 MB / 3.064 GB, free: 49.97 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.925e-06/7.521, allocations: 3.562 kB / 3.064 GB, free: 49.97 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.785e-05/7.521, allocations: 10.02 kB / 3.064 GB, free: 49.97 MB / 426.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.004779/7.526, allocations: 1.277 MB / 3.065 GB, free: 49.34 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/7.526, allocations: 7.562 kB / 3.065 GB, free: 49.34 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00272/7.529, allocations: 251.4 kB / 3.066 GB, free: 49.32 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009236/7.53, allocations: 427.7 kB / 3.066 GB, free: 49.1 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.886e-05/7.53, allocations: 30.84 kB / 3.066 GB, free: 49.1 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.832e-05/7.53, allocations: 35.62 kB / 3.066 GB, free: 49.1 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001839/7.532, allocations: 0.6228 MB / 3.067 GB, free: 48.96 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.922e-05/7.532, allocations: 3 kB / 3.067 GB, free: 48.96 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.985e-05/7.532, allocations: 12.47 kB / 3.067 GB, free: 48.96 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.041e-05/7.532, allocations: 7.875 kB / 3.067 GB, free: 48.96 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001553/7.533, allocations: 0.5358 MB / 3.067 GB, free: 48.96 MB / 426.7 MB Warning: The model contains alias variables with conflicting start and/or 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.003446/7.537, allocations: 2.765 MB / 3.07 GB, free: 46.97 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001711/7.538, allocations: 438.5 kB / 3.07 GB, free: 46.95 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002792/7.539, allocations: 139.4 kB / 3.071 GB, free: 46.94 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1275/7.666, allocations: 51.72 MB / 3.121 GB, free: 34.7 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.457e-05/7.666, allocations: 41.88 kB / 3.121 GB, free: 34.66 MB / 442.7 MB Notification: Performance of pre-optimization done (n=27): time 3.707e-06/7.666, allocations: 0 / 3.121 GB, free: 34.66 MB / 442.7 MB Notification: Performance of matching and sorting (n=27): time 0.002687/7.669, allocations: 0.6338 MB / 3.122 GB, free: 34.61 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.195e-05/7.669, allocations: 114.2 kB / 3.122 GB, free: 34.48 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004266/7.67, allocations: 299.5 kB / 3.122 GB, free: 34.37 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.816e-05/7.67, allocations: 29.39 kB / 3.122 GB, free: 34.34 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001806/7.67, allocations: 289.2 kB / 3.122 GB, free: 34.14 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.944e-05/7.67, allocations: 89.52 kB / 3.122 GB, free: 34.1 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.561e-05/7.67, allocations: 7.375 kB / 3.122 GB, free: 34.1 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000168/7.67, allocations: 330.4 kB / 3.123 GB, free: 33.79 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002293/7.67, allocations: 104.1 kB / 3.123 GB, free: 33.79 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002956/7.671, allocations: 230.5 kB / 3.123 GB, free: 33.62 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002607/7.671, allocations: 132.4 kB / 3.123 GB, free: 33.61 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.53e-06/7.671, allocations: 6.281 kB / 3.123 GB, free: 33.61 MB / 442.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0008075/7.672, allocations: 370.7 kB / 3.124 GB, free: 33.56 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007161/7.673, allocations: 1.481 MB / 3.125 GB, free: 32 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/7.673, allocations: 3 kB / 3.125 GB, free: 32 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.39e-05/7.673, allocations: 6 kB / 3.125 GB, free: 32 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006236/7.673, allocations: 118.7 kB / 3.125 GB, free: 32 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.571e-05/7.673, allocations: 16.42 kB / 3.125 GB, free: 32 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006264/7.674, allocations: 94.52 kB / 3.125 GB, free: 31.98 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.925e-05/7.674, allocations: 18.94 kB / 3.125 GB, free: 31.98 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.366e-06/7.674, allocations: 3.031 kB / 3.125 GB, free: 31.98 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006758/7.675, allocations: 316.6 kB / 3.126 GB, free: 31.97 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.637e-06/7.675, allocations: 3.969 kB / 3.126 GB, free: 31.97 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/7.675, allocations: 7.656 kB / 3.126 GB, free: 31.97 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006269/7.675, allocations: 117.5 kB / 3.126 GB, free: 31.97 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/7.675, allocations: 11.47 kB / 3.126 GB, free: 31.97 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005213/7.676, allocations: 77.31 kB / 3.126 GB, free: 31.96 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.927e-05/7.676, allocations: 18.84 kB / 3.126 GB, free: 31.96 MB / 442.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.0001668/7.676, allocations: 135 kB / 3.126 GB, free: 31.85 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000118/7.676, allocations: 41.56 kB / 3.126 GB, free: 31.83 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002395/7.679, allocations: 1.894 MB / 3.128 GB, free: 31.57 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-05/7.679, allocations: 27.7 kB / 3.128 GB, free: 31.57 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/7.679, allocations: 0 / 3.128 GB, free: 31.57 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.98e-06/7.679, allocations: 3.469 kB / 3.128 GB, free: 31.57 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001258/7.68, allocations: 1.027 MB / 3.129 GB, free: 31.31 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.289e-06/7.68, allocations: 3.953 kB / 3.129 GB, free: 31.3 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005786/7.681, allocations: 102.6 kB / 3.129 GB, free: 31.3 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.69e-06/7.681, allocations: 0 / 3.129 GB, free: 31.3 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.977e-05/7.681, allocations: 7.594 kB / 3.129 GB, free: 31.3 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.402e-06/7.681, allocations: 0 / 3.129 GB, free: 31.3 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/7.681, allocations: 0 / 3.129 GB, free: 31.3 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001359/7.682, allocations: 1.018 MB / 3.13 GB, free: 31.05 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003259/7.683, allocations: 254.8 kB / 3.13 GB, free: 30.88 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.452e-05/7.683, allocations: 7.125 kB / 3.13 GB, free: 30.88 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005229/7.683, allocations: 60.75 kB / 3.13 GB, free: 30.88 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.404e-05/7.683, allocations: 26.66 kB / 3.13 GB, free: 30.88 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.835e-05/7.683, allocations: 17.48 kB / 3.13 GB, free: 30.88 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004167/7.684, allocations: 293.3 kB / 3.131 GB, free: 30.79 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.693e-06/7.684, allocations: 0 / 3.131 GB, free: 30.79 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004415/7.688, allocations: 1.162 MB / 3.132 GB, free: 30.61 MB / 442.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,$cse3.region3boundary,$cse4.region3boundary,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.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.007375/7.696, allocations: 1.43 MB / 3.133 GB, free: 30.29 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001321/7.697, allocations: 0.7012 MB / 3.134 GB, free: 30.27 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.672e-06/7.697, allocations: 2.531 kB / 3.134 GB, free: 30.27 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00059/7.698, allocations: 493.8 kB / 3.134 GB, free: 30.26 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001392/7.699, allocations: 200 kB / 3.134 GB, free: 30.24 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4217/8.121, allocations: 75.09 MB / 3.208 GB, free: 62.01 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005971/8.121, allocations: 1 MB / 3.209 GB, free: 61.31 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002098/8.122, allocations: 49.14 kB / 3.209 GB, free: 61.31 MB / 442.7 MB Notification: Performance of SimCode: time 1.988e-06/8.122, allocations: 0 / 3.209 GB, free: 61.31 MB / 442.7 MB Notification: Performance of Templates: time 0.04722/8.169, allocations: 27.32 MB / 3.236 GB, free: 60.16 MB / 442.7 MB