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_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible") Notification: Performance of loadModel(ModelicaTest): time 1.93/1.93, allocations: 209.3 MB / 221.5 MB, free: 7.73 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.64e-05/3.676e-05, allocations: 7.984 kB / 273.1 MB, free: 3.168 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08866/0.08872, allocations: 48.7 MB / 321.8 MB, free: 2.375 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.243/6.332, allocations: 2.496 GB / 2.811 GB, free: 123.1 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002385/6.332, allocations: 82.05 kB / 2.811 GB, free: 123.1 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9787/7.311, allocations: 231.2 MB / 3.036 GB, free: 51.25 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.168e-06/7.311, allocations: 3.938 kB / 3.036 GB, free: 51.24 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.941e-05/7.311, allocations: 10.91 kB / 3.036 GB, free: 51.24 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.004529/7.316, allocations: 1.261 MB / 3.038 GB, free: 50.42 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/7.316, allocations: 18.48 kB / 3.038 GB, free: 50.42 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002982/7.319, allocations: 237.4 kB / 3.038 GB, free: 50.38 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009365/7.32, allocations: 431.8 kB / 3.038 GB, free: 50.07 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.867e-05/7.32, allocations: 29.97 kB / 3.038 GB, free: 50.05 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.003e-05/7.32, allocations: 33.03 kB / 3.038 GB, free: 50.04 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001721/7.322, allocations: 0.6143 MB / 3.039 GB, free: 49.75 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.933e-05/7.322, allocations: 3.812 kB / 3.039 GB, free: 49.75 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.194e-05/7.322, allocations: 12.12 kB / 3.039 GB, free: 49.75 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.19e-05/7.322, allocations: 12.17 kB / 3.039 GB, free: 49.74 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001603/7.323, allocations: 0.5214 MB / 3.04 GB, free: 49.59 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.0032/7.327, allocations: 2.664 MB / 3.042 GB, free: 47.36 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00183/7.328, allocations: 496.3 kB / 3.043 GB, free: 47.21 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002641/7.329, allocations: 136.2 kB / 3.043 GB, free: 47.16 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.132/7.461, allocations: 55.09 MB / 3.097 GB, free: 10.54 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.332e-05/7.461, allocations: 38.55 kB / 3.097 GB, free: 10.5 MB / 442.7 MB Notification: Performance of pre-optimization done (n=28): time 2.952e-06/7.461, allocations: 0 / 3.097 GB, free: 10.5 MB / 442.7 MB Notification: Performance of matching and sorting (n=28): time 0.002809/7.464, allocations: 0.6452 MB / 3.097 GB, free: 9.844 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.576e-05/7.464, allocations: 106.8 kB / 3.097 GB, free: 9.715 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005778/7.464, allocations: 318.8 kB / 3.098 GB, free: 9.398 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.536e-05/7.464, allocations: 29.7 kB / 3.098 GB, free: 9.363 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002302/7.465, allocations: 239.8 kB / 3.098 GB, free: 9.121 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001249/7.465, allocations: 98.5 kB / 3.098 GB, free: 9.027 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.028e-05/7.465, allocations: 8 kB / 3.098 GB, free: 9.02 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002089/7.465, allocations: 354.8 kB / 3.098 GB, free: 8.664 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002912/7.465, allocations: 108.9 kB / 3.098 GB, free: 8.555 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004218/7.466, allocations: 263 kB / 3.099 GB, free: 8.23 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003501/7.466, allocations: 144.5 kB / 3.099 GB, free: 8.09 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.735e-06/7.466, allocations: 0 / 3.099 GB, free: 8.09 MB / 442.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.00106/7.467, allocations: 413.2 kB / 3.099 GB, free: 7.68 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001068/7.468, allocations: 1.833 MB / 3.101 GB, free: 5.703 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.469e-05/7.468, allocations: 8 kB / 3.101 GB, free: 5.695 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.517e-05/7.468, allocations: 8 kB / 3.101 GB, free: 5.688 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000656/7.469, allocations: 115.8 kB / 3.101 GB, free: 5.574 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.86e-05/7.469, allocations: 8 kB / 3.101 GB, free: 5.566 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000626/7.47, allocations: 75.5 kB / 3.101 GB, free: 5.492 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.049e-05/7.47, allocations: 27.98 kB / 3.101 GB, free: 5.465 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.064e-05/7.47, allocations: 7.938 kB / 3.101 GB, free: 5.457 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008921/7.471, allocations: 344.2 kB / 3.102 GB, free: 5.121 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.407e-05/7.471, allocations: 8.125 kB / 3.102 GB, free: 5.113 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/7.471, allocations: 11.98 kB / 3.102 GB, free: 5.102 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005769/7.471, allocations: 111.8 kB / 3.102 GB, free: 4.992 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.476e-05/7.472, allocations: 7.938 kB / 3.102 GB, free: 4.984 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005857/7.472, allocations: 75.52 kB / 3.102 GB, free: 4.91 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.206e-05/7.472, allocations: 27.98 kB / 3.102 GB, free: 4.883 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.0001955/7.472, allocations: 132.8 kB / 3.102 GB, free: 4.746 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000126/7.473, allocations: 39.53 kB / 3.102 GB, free: 4.707 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003113/7.476, allocations: 1.908 MB / 3.104 GB, free: 2.797 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.183e-05/7.476, allocations: 27.95 kB / 3.104 GB, free: 2.77 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.538e-06/7.476, allocations: 0 / 3.104 GB, free: 2.77 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.187e-05/7.476, allocations: 7.938 kB / 3.104 GB, free: 2.762 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001633/7.477, allocations: 1.02 MB / 3.105 GB, free: 1.695 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.029e-06/7.477, allocations: 4 kB / 3.105 GB, free: 1.691 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004894/7.478, allocations: 83.88 kB / 3.105 GB, free: 1.609 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.137e-05/7.478, allocations: 4 kB / 3.105 GB, free: 1.605 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.251e-05/7.478, allocations: 8 kB / 3.105 GB, free: 1.598 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/7.478, allocations: 0 / 3.105 GB, free: 1.598 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.906e-06/7.478, allocations: 7.984 kB / 3.105 GB, free: 1.59 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001726/7.48, allocations: 1.042 MB / 3.106 GB, free: 0.5312 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004554/7.48, allocations: 259.4 kB / 3.106 GB, free: 264 kB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.089e-05/7.48, allocations: 4 kB / 3.106 GB, free: 260 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004692/7.481, allocations: 43.88 kB / 3.106 GB, free: 216 kB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001046/7.481, allocations: 35.89 kB / 3.106 GB, free: 180 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.713e-05/7.481, allocations: 19.92 kB / 3.106 GB, free: 160 kB / 442.7 MB Notification: Performance of sorting global known variables: time 0.265/7.746, allocations: 300.3 kB / 3.107 GB, free: 76.21 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.309e-06/7.746, allocations: 0 / 3.107 GB, free: 76.21 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005125/7.751, allocations: 1.147 MB / 3.108 GB, free: 76.21 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.008129/7.759, allocations: 1.432 MB / 3.109 GB, free: 76.11 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001614/7.761, allocations: 0.7325 MB / 3.11 GB, free: 76.09 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.308e-06/7.761, allocations: 5.156 kB / 3.11 GB, free: 76.09 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006927/7.762, allocations: 488.3 kB / 3.11 GB, free: 76.09 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001408/7.763, allocations: 207.1 kB / 3.111 GB, free: 76.09 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2606/8.024, allocations: 79.99 MB / 3.189 GB, free: 73.27 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004373/8.024, allocations: 1.008 MB / 3.19 GB, free: 72.36 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001166/8.026, allocations: 0.5425 MB / 3.19 GB, free: 72.04 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001329/8.026, allocations: 48.45 kB / 3.19 GB, free: 72.01 MB / 442.7 MB Notification: Performance of SimCode: time 1.679e-06/8.026, allocations: 0 / 3.19 GB, free: 72.01 MB / 442.7 MB Notification: Performance of Templates: time 0.0557/8.081, allocations: 33.79 MB / 3.223 GB, free: 48.38 MB / 442.7 MB