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.2_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible") Notification: Performance of loadModel(ModelicaTest): time 2.108/2.108, allocations: 235 MB / 247.6 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.661e-05/2.67e-05, allocations: 4 kB / 304.9 MB, free: 5.652 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3135/0.3135, allocations: 54.85 MB / 359.8 MB, free: 2.648 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.241/6.554, allocations: 2.607 GB / 2.958 GB, free: 100.2 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002505/6.555, allocations: 86.81 kB / 2.958 GB, free: 100.2 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9788/7.534, allocations: 235.6 MB / 3.188 GB, free: 78.16 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.322e-06/7.534, allocations: 0 / 3.188 GB, free: 78.16 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.525e-05/7.534, allocations: 15.38 kB / 3.188 GB, free: 78.16 MB / 490.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.004435/7.538, allocations: 1.276 MB / 3.19 GB, free: 77.41 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/7.538, allocations: 7.469 kB / 3.19 GB, free: 77.41 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002641/7.541, allocations: 254.3 kB / 3.19 GB, free: 77.37 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009392/7.542, allocations: 439.6 kB / 3.19 GB, free: 77.05 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.159e-05/7.542, allocations: 27.38 kB / 3.19 GB, free: 77.04 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.903e-05/7.542, allocations: 33.69 kB / 3.19 GB, free: 77.03 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001729/7.544, allocations: 0.6141 MB / 3.191 GB, free: 76.74 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.023e-05/7.544, allocations: 3.75 kB / 3.191 GB, free: 76.74 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.405e-05/7.544, allocations: 19.09 kB / 3.191 GB, free: 76.73 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.132e-05/7.544, allocations: 7.844 kB / 3.191 GB, free: 76.73 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001578/7.545, allocations: 0.5196 MB / 3.192 GB, free: 76.58 MB / 490.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.003056/7.549, allocations: 2.654 MB / 3.194 GB, free: 74.35 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001838/7.55, allocations: 0.4904 MB / 3.195 GB, free: 74.21 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002594/7.551, allocations: 147.6 kB / 3.195 GB, free: 74.15 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1433/7.694, allocations: 55.14 MB / 3.249 GB, free: 42.04 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.032e-05/7.694, allocations: 39.16 kB / 3.249 GB, free: 41.99 MB / 490.7 MB Notification: Performance of pre-optimization done (n=28): time 3.861e-06/7.694, allocations: 0 / 3.249 GB, free: 41.99 MB / 490.7 MB Notification: Performance of matching and sorting (n=28): time 0.002694/7.697, allocations: 0.6477 MB / 3.249 GB, free: 41.8 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.842e-05/7.697, allocations: 106.3 kB / 3.249 GB, free: 41.67 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000417/7.697, allocations: 321.4 kB / 3.25 GB, free: 41.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.883e-05/7.697, allocations: 29.7 kB / 3.25 GB, free: 41.46 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001267/7.697, allocations: 297.4 kB / 3.25 GB, free: 41.2 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.904e-05/7.698, allocations: 92.16 kB / 3.25 GB, free: 41.13 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.784e-05/7.698, allocations: 11.84 kB / 3.25 GB, free: 41.12 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.307e-05/7.698, allocations: 325.6 kB / 3.25 GB, free: 40.81 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002359/7.698, allocations: 102.8 kB / 3.251 GB, free: 40.77 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002992/7.698, allocations: 262.3 kB / 3.251 GB, free: 40.53 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003127/7.699, allocations: 148.5 kB / 3.251 GB, free: 40.47 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/7.699, allocations: 0 / 3.251 GB, free: 40.47 MB / 490.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.000914/7.7, allocations: 400.7 kB / 3.251 GB, free: 40.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003605/7.7, allocations: 1.826 MB / 3.253 GB, free: 38.35 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/7.7, allocations: 3.219 kB / 3.253 GB, free: 38.35 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.997e-05/7.7, allocations: 6.75 kB / 3.253 GB, free: 38.35 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005607/7.701, allocations: 120.5 kB / 3.253 GB, free: 38.34 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.68e-05/7.701, allocations: 9.344 kB / 3.253 GB, free: 38.33 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005729/7.701, allocations: 85.08 kB / 3.253 GB, free: 38.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.724e-05/7.701, allocations: 19.59 kB / 3.253 GB, free: 38.29 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.652e-06/7.701, allocations: 3.938 kB / 3.253 GB, free: 38.29 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007808/7.702, allocations: 342.6 kB / 3.254 GB, free: 38.17 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.786e-06/7.702, allocations: 7.656 kB / 3.254 GB, free: 38.17 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/7.702, allocations: 8.156 kB / 3.254 GB, free: 38.17 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005522/7.703, allocations: 120 kB / 3.254 GB, free: 38.15 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.154e-05/7.703, allocations: 7.906 kB / 3.254 GB, free: 38.15 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004276/7.703, allocations: 58.78 kB / 3.254 GB, free: 38.13 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.051e-05/7.703, allocations: 26.02 kB / 3.254 GB, free: 38.12 MB / 490.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.0001392/7.703, allocations: 136.8 kB / 3.254 GB, free: 37.99 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001189/7.703, allocations: 42.39 kB / 3.254 GB, free: 37.97 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002407/7.706, allocations: 1.909 MB / 3.256 GB, free: 37.05 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.28e-05/7.706, allocations: 29.8 kB / 3.256 GB, free: 37.04 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.927e-06/7.706, allocations: 3.844 kB / 3.256 GB, free: 37.04 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.673e-06/7.706, allocations: 3.812 kB / 3.256 GB, free: 37.04 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001249/7.707, allocations: 1.029 MB / 3.257 GB, free: 36.45 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.122e-06/7.707, allocations: 0 / 3.257 GB, free: 36.45 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004868/7.708, allocations: 88.33 kB / 3.257 GB, free: 36.44 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.658e-06/7.708, allocations: 0 / 3.257 GB, free: 36.44 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.127e-05/7.708, allocations: 11.34 kB / 3.257 GB, free: 36.43 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.363e-06/7.708, allocations: 2.188 kB / 3.257 GB, free: 36.43 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.241e-06/7.708, allocations: 0 / 3.257 GB, free: 36.43 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001348/7.709, allocations: 1.034 MB / 3.258 GB, free: 35.89 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003232/7.71, allocations: 254.4 kB / 3.258 GB, free: 35.69 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.374e-05/7.71, allocations: 4 kB / 3.258 GB, free: 35.68 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004885/7.71, allocations: 42.09 kB / 3.258 GB, free: 35.68 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.836e-05/7.71, allocations: 35.83 kB / 3.258 GB, free: 35.67 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.922e-05/7.71, allocations: 10.47 kB / 3.258 GB, free: 35.66 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0004391/7.711, allocations: 310.2 kB / 3.259 GB, free: 35.51 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.72e-07/7.711, allocations: 0 / 3.259 GB, free: 35.51 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004748/7.716, allocations: 1.164 MB / 3.26 GB, free: 35.27 MB / 490.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.007841/7.723, allocations: 1.442 MB / 3.261 GB, free: 34.9 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001396/7.725, allocations: 0.7263 MB / 3.262 GB, free: 34.62 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.535e-06/7.725, allocations: 0 / 3.262 GB, free: 34.62 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005945/7.726, allocations: 489.3 kB / 3.262 GB, free: 34.39 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001411/7.727, allocations: 194 kB / 3.263 GB, free: 34.34 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4698/8.197, allocations: 81.3 MB / 3.342 GB, free: 73.04 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004599/8.197, allocations: 1.007 MB / 3.343 GB, free: 72.33 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002042/8.198, allocations: 48.86 kB / 3.343 GB, free: 72.33 MB / 490.7 MB Notification: Performance of SimCode: time 1.732e-06/8.198, allocations: 0 / 3.343 GB, free: 72.33 MB / 490.7 MB Notification: Performance of Templates: time 0.04535/8.243, allocations: 27.47 MB / 3.37 GB, free: 70.94 MB / 490.7 MB