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_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible") Notification: Performance of loadModel(ModelicaTest): time 2.208/2.208, allocations: 235 MB / 247.2 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.518e-05/4.528e-05, allocations: 4 kB / 304.9 MB, free: 5.164 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3744/0.3745, allocations: 54.85 MB / 359.8 MB, free: 3.133 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.934/6.309, allocations: 2.607 GB / 2.958 GB, free: 72.14 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002128/6.309, allocations: 88.59 kB / 2.958 GB, free: 72.05 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9682/7.277, allocations: 235.6 MB / 3.189 GB, free: 35.21 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.542e-06/7.277, allocations: 0 / 3.189 GB, free: 35.21 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.924e-05/7.277, allocations: 15.98 kB / 3.189 GB, free: 35.2 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.004635/7.282, allocations: 1.27 MB / 3.19 GB, free: 33.88 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/7.282, allocations: 11.97 kB / 3.19 GB, free: 33.87 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002695/7.285, allocations: 259.2 kB / 3.19 GB, free: 33.61 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009222/7.286, allocations: 432.5 kB / 3.19 GB, free: 33.15 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.591e-05/7.286, allocations: 28.78 kB / 3.19 GB, free: 33.12 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.345e-05/7.286, allocations: 32 kB / 3.19 GB, free: 33.09 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001689/7.288, allocations: 0.611 MB / 3.191 GB, free: 32.43 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.03e-05/7.288, allocations: 7.938 kB / 3.191 GB, free: 32.43 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.01e-05/7.288, allocations: 20 kB / 3.191 GB, free: 32.41 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/7.288, allocations: 8 kB / 3.191 GB, free: 32.4 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001564/7.289, allocations: 0.5128 MB / 3.192 GB, free: 31.89 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.003086/7.293, allocations: 2.657 MB / 3.194 GB, free: 28.99 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001864/7.294, allocations: 495.9 kB / 3.195 GB, free: 28.5 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000269/7.295, allocations: 140.8 kB / 3.195 GB, free: 28.36 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.428/7.723, allocations: 55.13 MB / 3.249 GB, free: 57.94 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.847e-05/7.723, allocations: 40.78 kB / 3.249 GB, free: 57.9 MB / 490.7 MB Notification: Performance of pre-optimization done (n=28): time 3.025e-06/7.723, allocations: 0 / 3.249 GB, free: 57.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=28): time 0.00262/7.725, allocations: 0.6456 MB / 3.249 GB, free: 57.86 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.946e-05/7.725, allocations: 109.6 kB / 3.249 GB, free: 57.74 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004656/7.726, allocations: 315.2 kB / 3.25 GB, free: 57.63 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.446e-05/7.726, allocations: 33.52 kB / 3.25 GB, free: 57.6 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00015/7.726, allocations: 245.7 kB / 3.25 GB, free: 57.48 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.446e-05/7.726, allocations: 91.39 kB / 3.25 GB, free: 57.43 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.712e-05/7.726, allocations: 7.625 kB / 3.25 GB, free: 57.43 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.733e-05/7.726, allocations: 354.2 kB / 3.25 GB, free: 57.12 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002587/7.727, allocations: 104.6 kB / 3.251 GB, free: 57.12 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003097/7.727, allocations: 258.4 kB / 3.251 GB, free: 56.94 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002912/7.727, allocations: 145.1 kB / 3.251 GB, free: 56.94 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/7.727, allocations: 3.5 kB / 3.251 GB, free: 56.94 MB / 490.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.00089/7.728, allocations: 414.5 kB / 3.251 GB, free: 56.88 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003726/7.729, allocations: 1.837 MB / 3.253 GB, free: 54.98 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/7.729, allocations: 8.625 kB / 3.253 GB, free: 54.98 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.506e-05/7.729, allocations: 11.48 kB / 3.253 GB, free: 54.98 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000583/7.729, allocations: 114.7 kB / 3.253 GB, free: 54.98 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.49e-05/7.729, allocations: 9.875 kB / 3.253 GB, free: 54.98 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006084/7.73, allocations: 75.41 kB / 3.253 GB, free: 54.97 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.788e-05/7.73, allocations: 29.17 kB / 3.253 GB, free: 54.97 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/7.73, allocations: 3.5 kB / 3.253 GB, free: 54.97 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00078/7.731, allocations: 342.8 kB / 3.254 GB, free: 54.96 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.207e-06/7.731, allocations: 3.75 kB / 3.254 GB, free: 54.96 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/7.731, allocations: 7.656 kB / 3.254 GB, free: 54.96 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005105/7.731, allocations: 116.9 kB / 3.254 GB, free: 54.96 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.287e-05/7.731, allocations: 16.64 kB / 3.254 GB, free: 54.96 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005143/7.732, allocations: 64.83 kB / 3.254 GB, free: 54.95 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.158e-05/7.732, allocations: 25.12 kB / 3.254 GB, free: 54.95 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.0001419/7.732, allocations: 127.8 kB / 3.254 GB, free: 54.85 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001132/7.732, allocations: 45.83 kB / 3.254 GB, free: 54.83 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00246/7.735, allocations: 1.91 MB / 3.256 GB, free: 54.61 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.979e-05/7.735, allocations: 31.72 kB / 3.256 GB, free: 54.61 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.779e-06/7.735, allocations: 3.953 kB / 3.256 GB, free: 54.61 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/7.735, allocations: 5.234 kB / 3.256 GB, free: 54.61 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001253/7.736, allocations: 1.029 MB / 3.257 GB, free: 54.38 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.385e-06/7.736, allocations: 0 / 3.257 GB, free: 54.38 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000477/7.737, allocations: 86.28 kB / 3.257 GB, free: 54.38 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.398e-06/7.737, allocations: 0 / 3.257 GB, free: 54.38 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.892e-05/7.737, allocations: 9.625 kB / 3.257 GB, free: 54.38 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.319e-06/7.737, allocations: 3.812 kB / 3.257 GB, free: 54.38 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.698e-06/7.737, allocations: 0 / 3.257 GB, free: 54.38 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001353/7.738, allocations: 1.031 MB / 3.258 GB, free: 54.14 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003222/7.738, allocations: 253.8 kB / 3.258 GB, free: 53.99 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.529e-05/7.739, allocations: 12.55 kB / 3.258 GB, free: 53.99 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004756/7.739, allocations: 38 kB / 3.258 GB, free: 53.99 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.353e-05/7.739, allocations: 34.69 kB / 3.258 GB, free: 53.99 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.806e-05/7.739, allocations: 13.72 kB / 3.258 GB, free: 53.99 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0004329/7.74, allocations: 302.6 kB / 3.259 GB, free: 53.9 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.79e-07/7.74, allocations: 3.219 kB / 3.259 GB, free: 53.9 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004736/7.744, allocations: 1.169 MB / 3.26 GB, free: 53.89 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.008804/7.753, allocations: 1.438 MB / 3.261 GB, free: 53.77 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001451/7.755, allocations: 0.7404 MB / 3.262 GB, free: 53.76 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.318e-06/7.755, allocations: 0 / 3.262 GB, free: 53.76 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006145/7.755, allocations: 487.8 kB / 3.262 GB, free: 53.75 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001456/7.757, allocations: 196.1 kB / 3.263 GB, free: 53.75 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1931/7.95, allocations: 81.27 MB / 3.342 GB, free: 44.64 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004495/7.951, allocations: 1.009 MB / 3.343 GB, free: 43.73 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001203/7.952, allocations: 0.5367 MB / 3.344 GB, free: 43.42 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001362/7.952, allocations: 42.14 kB / 3.344 GB, free: 43.38 MB / 490.7 MB Notification: Performance of SimCode: time 2.038e-06/7.952, allocations: 0 / 3.344 GB, free: 43.38 MB / 490.7 MB Notification: Performance of Templates: time 0.07713/8.029, allocations: 33.95 MB / 3.377 GB, free: 23.6 MB / 490.7 MB