Running command: translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear,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|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.TestValveLinear") Notification: Performance of loadModel(ModelicaTest): time 1.868/1.868, allocations: 209.3 MB / 221.5 MB, free: 7.738 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.84e-05/2.862e-05, allocations: 4 kB / 273.1 MB, free: 3.16 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08751/0.08756, allocations: 48.69 MB / 321.8 MB, free: 2.379 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.117/6.204, allocations: 2.477 GB / 2.791 GB, free: 116.1 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002811/6.205, allocations: 82.22 kB / 2.791 GB, free: 116.1 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.098/7.303, allocations: 211.6 MB / 2.998 GB, free: 63.12 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.917e-06/7.303, allocations: 0 / 2.998 GB, free: 63.12 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.831e-05/7.303, allocations: 11.94 kB / 2.998 GB, free: 63.12 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.004274/7.307, allocations: 1.156 MB / 2.999 GB, free: 62.48 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/7.307, allocations: 11.88 kB / 2.999 GB, free: 62.48 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00268/7.31, allocations: 212.8 kB / 2.999 GB, free: 62.44 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007926/7.311, allocations: 383.8 kB / 2.999 GB, free: 62.16 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.406e-05/7.311, allocations: 31.72 kB / 2.999 GB, free: 62.15 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.884e-05/7.311, allocations: 27.44 kB / 2.999 GB, free: 62.14 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001675/7.313, allocations: 0.5734 MB / 3 GB, free: 61.86 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.773e-05/7.313, allocations: 0 / 3 GB, free: 61.86 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.868e-05/7.313, allocations: 20.28 kB / 3 GB, free: 61.86 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/7.313, allocations: 7.25 kB / 3 GB, free: 61.86 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001585/7.314, allocations: 486.8 kB / 3 GB, free: 61.72 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.002819/7.317, allocations: 2.545 MB / 3.003 GB, free: 59.55 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001542/7.319, allocations: 408.3 kB / 3.003 GB, free: 59.43 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002586/7.319, allocations: 127.8 kB / 3.003 GB, free: 59.38 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1255/7.445, allocations: 51.59 MB / 3.054 GB, free: 29.75 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.942e-05/7.445, allocations: 41.86 kB / 3.054 GB, free: 29.7 MB / 426.7 MB Notification: Performance of pre-optimization done (n=25): time 3.102e-06/7.445, allocations: 0 / 3.054 GB, free: 29.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=25): time 0.00258/7.447, allocations: 0.6197 MB / 3.054 GB, free: 29.52 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.932e-05/7.447, allocations: 106.8 kB / 3.055 GB, free: 29.39 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003309/7.448, allocations: 252.4 kB / 3.055 GB, free: 29.25 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.508e-05/7.448, allocations: 29.7 kB / 3.055 GB, free: 29.21 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/7.448, allocations: 220 kB / 3.055 GB, free: 29.03 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.032e-05/7.448, allocations: 89.25 kB / 3.055 GB, free: 28.96 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.178e-05/7.448, allocations: 7.781 kB / 3.055 GB, free: 28.96 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.343e-05/7.448, allocations: 338 kB / 3.055 GB, free: 28.63 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002019/7.448, allocations: 98.2 kB / 3.056 GB, free: 28.59 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002476/7.449, allocations: 206.7 kB / 3.056 GB, free: 28.4 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002387/7.449, allocations: 124 kB / 3.056 GB, free: 28.35 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/7.449, allocations: 0 / 3.056 GB, free: 28.35 MB / 426.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007381/7.45, allocations: 343.1 kB / 3.056 GB, free: 28.2 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/7.45, allocations: 7.625 kB / 3.056 GB, free: 28.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/7.45, allocations: 10.33 kB / 3.056 GB, free: 28.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.278e-05/7.45, allocations: 11.34 kB / 3.056 GB, free: 28.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00051/7.45, allocations: 108 kB / 3.056 GB, free: 28.19 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.465e-05/7.45, allocations: 11.69 kB / 3.056 GB, free: 28.18 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004514/7.451, allocations: 69.08 kB / 3.056 GB, free: 28.16 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.258e-05/7.451, allocations: 19.75 kB / 3.056 GB, free: 28.15 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (40): * Single equations (assignments): 40 * 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.0001068/7.451, allocations: 124.8 kB / 3.057 GB, free: 28.03 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.399e-05/7.451, allocations: 31.47 kB / 3.057 GB, free: 28.02 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002271/7.453, allocations: 1.854 MB / 3.058 GB, free: 27.11 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.294e-05/7.453, allocations: 31.72 kB / 3.058 GB, free: 27.1 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.278e-06/7.453, allocations: 0 / 3.058 GB, free: 27.1 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.792e-06/7.453, allocations: 3.891 kB / 3.058 GB, free: 27.1 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00108/7.454, allocations: 0.9758 MB / 3.059 GB, free: 26.53 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.327e-06/7.454, allocations: 0 / 3.059 GB, free: 26.53 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004399/7.455, allocations: 96.19 kB / 3.059 GB, free: 26.52 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.556e-06/7.455, allocations: 0 / 3.059 GB, free: 26.52 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.751e-05/7.455, allocations: 11.19 kB / 3.059 GB, free: 26.51 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.309e-06/7.455, allocations: 0 / 3.059 GB, free: 26.51 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.356e-06/7.455, allocations: 3.953 kB / 3.059 GB, free: 26.51 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001264/7.456, allocations: 0.9664 MB / 3.06 GB, free: 26 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001878/7.456, allocations: 209.7 kB / 3.061 GB, free: 25.82 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.097e-05/7.457, allocations: 11.78 kB / 3.061 GB, free: 25.82 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000472/7.457, allocations: 44.84 kB / 3.061 GB, free: 25.81 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.37e-05/7.457, allocations: 38.91 kB / 3.061 GB, free: 25.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.621e-05/7.457, allocations: 15.69 kB / 3.061 GB, free: 25.79 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003268/7.458, allocations: 256.7 kB / 3.061 GB, free: 25.66 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.88e-07/7.458, allocations: 0 / 3.061 GB, free: 25.66 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003972/7.462, allocations: 1.007 MB / 3.062 GB, free: 25.46 MB / 426.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,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,SourceP1.medium.phase,SinkP1.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 26 * 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.007256/7.469, allocations: 1.38 MB / 3.063 GB, free: 25.1 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008889/7.47, allocations: 0.4942 MB / 3.064 GB, free: 24.91 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.305e-06/7.47, allocations: 0 / 3.064 GB, free: 24.91 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005245/7.47, allocations: 474.4 kB / 3.064 GB, free: 24.68 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001143/7.471, allocations: 182 kB / 3.064 GB, free: 24.62 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4352/7.907, allocations: 74.98 MB / 3.138 GB, free: 71.89 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004234/7.907, allocations: 0.9775 MB / 3.139 GB, free: 71.2 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0006332/7.908, allocations: 239.8 kB / 3.139 GB, free: 71.2 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001286/7.908, allocations: 41.28 kB / 3.139 GB, free: 71.19 MB / 442.7 MB Notification: Performance of SimCode: time 1.877e-06/7.908, allocations: 3.875 kB / 3.139 GB, free: 71.19 MB / 442.7 MB Notification: Performance of Templates: time 0.05663/7.965, allocations: 31.81 MB / 3.17 GB, free: 70.46 MB / 442.7 MB