Running command: translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible,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.TestValveCompressible") Notification: Performance of loadModel(ModelicaTest): time 1.907/1.907, allocations: 209.3 MB / 221.9 MB, free: 7.734 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.056e-05/3.075e-05, allocations: 0 / 273.1 MB, free: 3.645 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08699/0.08705, allocations: 48.7 MB / 321.8 MB, free: 2.852 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.092/6.179, allocations: 2.496 GB / 2.811 GB, free: 122.8 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002686/6.18, allocations: 80.56 kB / 2.811 GB, free: 122.8 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9393/7.119, allocations: 231.2 MB / 3.036 GB, free: 51.55 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.04e-06/7.119, allocations: 0 / 3.036 GB, free: 51.55 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.992e-05/7.119, allocations: 14.44 kB / 3.036 GB, free: 51.55 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.004771/7.124, allocations: 1.26 MB / 3.038 GB, free: 50.73 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/7.124, allocations: 7.812 kB / 3.038 GB, free: 50.73 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002716/7.127, allocations: 239.2 kB / 3.038 GB, free: 50.69 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009731/7.128, allocations: 434.4 kB / 3.038 GB, free: 50.38 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.054e-05/7.128, allocations: 28.06 kB / 3.038 GB, free: 50.37 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.772e-05/7.128, allocations: 31.56 kB / 3.038 GB, free: 50.36 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001756/7.13, allocations: 0.6217 MB / 3.039 GB, free: 50.07 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.074e-05/7.13, allocations: 0 / 3.039 GB, free: 50.07 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.562e-05/7.13, allocations: 15.5 kB / 3.039 GB, free: 50.06 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.221e-05/7.13, allocations: 10.14 kB / 3.039 GB, free: 50.05 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001796/7.132, allocations: 0.5259 MB / 3.04 GB, free: 49.91 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.00336/7.135, allocations: 2.641 MB / 3.042 GB, free: 47.68 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00184/7.137, allocations: 0.4917 MB / 3.043 GB, free: 47.53 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002726/7.137, allocations: 136.8 kB / 3.043 GB, free: 47.47 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.132/7.269, allocations: 55.11 MB / 3.097 GB, free: 11.23 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.667e-05/7.269, allocations: 42.55 kB / 3.097 GB, free: 11.18 MB / 442.7 MB Notification: Performance of pre-optimization done (n=28): time 6.828e-06/7.269, allocations: 0 / 3.097 GB, free: 11.18 MB / 442.7 MB Notification: Performance of matching and sorting (n=28): time 0.002812/7.272, allocations: 0.6451 MB / 3.097 GB, free: 10.53 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.623e-05/7.272, allocations: 106.8 kB / 3.097 GB, free: 10.4 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005745/7.273, allocations: 326.7 kB / 3.098 GB, free: 10.07 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.164e-05/7.273, allocations: 29.7 kB / 3.098 GB, free: 10.04 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002385/7.273, allocations: 290.2 kB / 3.098 GB, free: 9.75 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001276/7.273, allocations: 93.31 kB / 3.098 GB, free: 9.66 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.449e-05/7.273, allocations: 12 kB / 3.098 GB, free: 9.648 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001741/7.274, allocations: 326.8 kB / 3.098 GB, free: 9.32 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002952/7.274, allocations: 108.8 kB / 3.098 GB, free: 9.211 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004313/7.274, allocations: 263 kB / 3.099 GB, free: 8.887 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003582/7.275, allocations: 139.9 kB / 3.099 GB, free: 8.75 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/7.275, allocations: 0 / 3.099 GB, free: 8.75 MB / 442.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001031/7.276, allocations: 397 kB / 3.099 GB, free: 8.355 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001055/7.277, allocations: 1.83 MB / 3.101 GB, free: 6.383 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.755e-05/7.277, allocations: 4 kB / 3.101 GB, free: 6.379 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.803e-05/7.277, allocations: 12 kB / 3.101 GB, free: 6.367 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006724/7.278, allocations: 115.8 kB / 3.101 GB, free: 6.254 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.267e-05/7.278, allocations: 11.98 kB / 3.101 GB, free: 6.242 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006744/7.278, allocations: 79.44 kB / 3.101 GB, free: 6.164 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.864e-05/7.278, allocations: 20 kB / 3.101 GB, free: 6.145 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/7.279, allocations: 4 kB / 3.101 GB, free: 6.141 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009094/7.279, allocations: 347.7 kB / 3.102 GB, free: 5.801 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/7.279, allocations: 4 kB / 3.102 GB, free: 5.797 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/7.279, allocations: 8 kB / 3.102 GB, free: 5.789 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005624/7.28, allocations: 120.4 kB / 3.102 GB, free: 5.672 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.905e-05/7.28, allocations: 15.92 kB / 3.102 GB, free: 5.656 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004581/7.281, allocations: 59.67 kB / 3.102 GB, free: 5.598 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.875e-05/7.281, allocations: 24 kB / 3.102 GB, free: 5.574 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (49): * Single equations (assignments): 49 * 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.0002014/7.281, allocations: 132.8 kB / 3.102 GB, free: 5.438 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001607/7.281, allocations: 39.53 kB / 3.102 GB, free: 5.398 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003103/7.284, allocations: 1.911 MB / 3.104 GB, free: 3.484 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-05/7.284, allocations: 31.94 kB / 3.104 GB, free: 3.453 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.172e-06/7.284, allocations: 0 / 3.104 GB, free: 3.453 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.125e-05/7.284, allocations: 3.953 kB / 3.104 GB, free: 3.449 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001662/7.286, allocations: 1.025 MB / 3.105 GB, free: 2.379 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.466e-06/7.286, allocations: 4 kB / 3.105 GB, free: 2.375 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004907/7.286, allocations: 87.88 kB / 3.105 GB, free: 2.289 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.644e-06/7.287, allocations: 0 / 3.105 GB, free: 2.289 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.018e-05/7.287, allocations: 15.98 kB / 3.105 GB, free: 2.273 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.769e-06/7.287, allocations: 0 / 3.105 GB, free: 2.273 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.082e-06/7.287, allocations: 0 / 3.105 GB, free: 2.273 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001733/7.288, allocations: 1.03 MB / 3.106 GB, free: 1.227 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004593/7.289, allocations: 259.3 kB / 3.106 GB, free: 0.9531 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.351e-05/7.289, allocations: 8 kB / 3.106 GB, free: 0.9453 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004904/7.289, allocations: 43.91 kB / 3.106 GB, free: 0.9023 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001075/7.29, allocations: 35.89 kB / 3.106 GB, free: 0.8672 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.902e-05/7.29, allocations: 8 kB / 3.106 GB, free: 0.8594 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005563/7.29, allocations: 313.6 kB / 3.107 GB, free: 0.5547 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.365e-06/7.29, allocations: 0 / 3.107 GB, free: 0.5547 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.2616/7.552, allocations: 1.147 MB / 3.108 GB, free: 76.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,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse14.phase,$cse14.region,SourceP1.medium.phase,SinkP1.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 31 * 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.008492/7.56, allocations: 1.431 MB / 3.109 GB, free: 76.51 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001454/7.562, allocations: 0.7246 MB / 3.11 GB, free: 76.5 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.166e-06/7.562, allocations: 0 / 3.11 GB, free: 76.5 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006793/7.563, allocations: 489.5 kB / 3.11 GB, free: 76.5 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001403/7.564, allocations: 212 kB / 3.11 GB, free: 76.49 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2386/7.803, allocations: 80.01 MB / 3.189 GB, free: 73.86 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004577/7.803, allocations: 1.003 MB / 3.19 GB, free: 73 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002112/7.803, allocations: 51.36 kB / 3.19 GB, free: 72.96 MB / 442.7 MB Notification: Performance of SimCode: time 1.757e-06/7.803, allocations: 4 kB / 3.19 GB, free: 72.95 MB / 442.7 MB Notification: Performance of Templates: time 0.04466/7.848, allocations: 27.3 MB / 3.216 GB, free: 56.14 MB / 442.7 MB