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.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear") Notification: Performance of loadModel(ModelicaTest): time 2.294/2.294, allocations: 235 MB / 247.2 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.481e-05/3.527e-05, allocations: 4 kB / 304.9 MB, free: 5.164 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3274/0.3275, allocations: 54.85 MB / 359.8 MB, free: 3.141 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.924/6.251, allocations: 2.587 GB / 2.939 GB, free: 97.15 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002133/6.252, allocations: 79.95 kB / 2.939 GB, free: 97.07 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9199/7.171, allocations: 215.5 MB / 3.149 GB, free: 69.85 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.964e-06/7.171, allocations: 0 / 3.149 GB, free: 69.85 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.735e-05/7.172, allocations: 7.469 kB / 3.149 GB, free: 69.85 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.004412/7.176, allocations: 1.181 MB / 3.15 GB, free: 69.09 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/7.176, allocations: 7.938 kB / 3.15 GB, free: 69.09 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002515/7.179, allocations: 223.2 kB / 3.151 GB, free: 69.06 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007596/7.179, allocations: 382.9 kB / 3.151 GB, free: 68.77 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.613e-05/7.179, allocations: 28.61 kB / 3.151 GB, free: 68.76 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.605e-05/7.179, allocations: 27.19 kB / 3.151 GB, free: 68.75 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001797/7.181, allocations: 0.5879 MB / 3.152 GB, free: 68.46 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.882e-05/7.181, allocations: 0 / 3.152 GB, free: 68.46 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.561e-05/7.181, allocations: 11.91 kB / 3.152 GB, free: 68.46 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/7.181, allocations: 7.812 kB / 3.152 GB, free: 68.46 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001495/7.183, allocations: 488.6 kB / 3.152 GB, free: 68.32 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.002803/7.186, allocations: 2.544 MB / 3.155 GB, free: 66.13 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001461/7.187, allocations: 419.8 kB / 3.155 GB, free: 66 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002469/7.188, allocations: 124.8 kB / 3.155 GB, free: 65.95 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1188/7.306, allocations: 51.64 MB / 3.206 GB, free: 12.18 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/7.306, allocations: 38.56 kB / 3.206 GB, free: 12.14 MB / 490.7 MB Notification: Performance of pre-optimization done (n=25): time 3.425e-06/7.306, allocations: 0 / 3.206 GB, free: 12.14 MB / 490.7 MB Notification: Performance of matching and sorting (n=25): time 0.00242/7.309, allocations: 0.614 MB / 3.206 GB, free: 11.52 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.752e-05/7.309, allocations: 110.8 kB / 3.206 GB, free: 11.38 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000344/7.309, allocations: 254.5 kB / 3.206 GB, free: 11.13 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.69e-05/7.309, allocations: 37.7 kB / 3.207 GB, free: 11.09 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001222/7.309, allocations: 211.7 kB / 3.207 GB, free: 10.88 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.844e-05/7.31, allocations: 86.69 kB / 3.207 GB, free: 10.79 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.379e-05/7.31, allocations: 8 kB / 3.207 GB, free: 10.78 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.768e-05/7.31, allocations: 346.8 kB / 3.207 GB, free: 10.43 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002041/7.31, allocations: 88.64 kB / 3.207 GB, free: 10.34 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002557/7.31, allocations: 213.8 kB / 3.207 GB, free: 10.08 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002371/7.31, allocations: 115.9 kB / 3.208 GB, free: 9.969 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/7.31, allocations: 4 kB / 3.208 GB, free: 9.965 MB / 490.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007232/7.311, allocations: 345.1 kB / 3.208 GB, free: 9.621 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/7.311, allocations: 4.469 kB / 3.208 GB, free: 9.617 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1e-05/7.311, allocations: 8 kB / 3.208 GB, free: 9.609 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.178e-05/7.311, allocations: 8 kB / 3.208 GB, free: 9.602 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004875/7.312, allocations: 103.8 kB / 3.208 GB, free: 9.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.527e-05/7.312, allocations: 7.984 kB / 3.208 GB, free: 9.492 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004662/7.312, allocations: 67.66 kB / 3.208 GB, free: 9.426 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.53e-05/7.312, allocations: 27.94 kB / 3.208 GB, free: 9.398 MB / 490.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.0001135/7.312, allocations: 124.9 kB / 3.208 GB, free: 9.27 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.824e-05/7.313, allocations: 35.62 kB / 3.208 GB, free: 9.234 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002176/7.315, allocations: 1.843 MB / 3.21 GB, free: 7.379 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.374e-05/7.315, allocations: 31.94 kB / 3.21 GB, free: 7.348 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.803e-06/7.315, allocations: 8 kB / 3.21 GB, free: 7.34 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.974e-06/7.315, allocations: 0 / 3.21 GB, free: 7.34 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001121/7.316, allocations: 0.9799 MB / 3.211 GB, free: 6.324 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.137e-06/7.316, allocations: 7.984 kB / 3.211 GB, free: 6.316 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000438/7.316, allocations: 83.88 kB / 3.211 GB, free: 6.234 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.756e-06/7.316, allocations: 4 kB / 3.211 GB, free: 6.23 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.674e-05/7.316, allocations: 8 kB / 3.211 GB, free: 6.223 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.842e-06/7.317, allocations: 7.938 kB / 3.211 GB, free: 6.215 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.045e-06/7.317, allocations: 0 / 3.211 GB, free: 6.215 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001239/7.318, allocations: 0.9792 MB / 3.212 GB, free: 5.215 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002126/7.318, allocations: 207.6 kB / 3.212 GB, free: 4.992 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.937e-05/7.318, allocations: 4 kB / 3.212 GB, free: 4.988 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004425/7.319, allocations: 59.8 kB / 3.212 GB, free: 4.93 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.972e-05/7.319, allocations: 27.95 kB / 3.212 GB, free: 4.902 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.485e-05/7.319, allocations: 12 kB / 3.212 GB, free: 4.891 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003408/7.319, allocations: 261.1 kB / 3.213 GB, free: 4.633 MB / 490.7 MB Notification: Performance of sort global known variables: time 9.11e-07/7.319, allocations: 4 kB / 3.213 GB, free: 4.629 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004273/7.323, allocations: 1.003 MB / 3.214 GB, free: 3.625 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,$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.007621/7.331, allocations: 1.376 MB / 3.215 GB, free: 2.383 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0009297/7.332, allocations: 0.497 MB / 3.215 GB, free: 1.883 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.859e-06/7.332, allocations: 0 / 3.215 GB, free: 1.883 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005593/7.333, allocations: 477 kB / 3.216 GB, free: 1.418 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001215/7.334, allocations: 177.4 kB / 3.216 GB, free: 1.242 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4902/7.824, allocations: 76.26 MB / 3.291 GB, free: 81.96 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000432/7.825, allocations: 0.9847 MB / 3.292 GB, free: 81.25 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0006521/7.825, allocations: 240 kB / 3.292 GB, free: 81.24 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001297/7.825, allocations: 38.44 kB / 3.292 GB, free: 81.24 MB / 490.7 MB Notification: Performance of SimCode: time 1.918e-06/7.825, allocations: 0 / 3.292 GB, free: 81.24 MB / 490.7 MB Notification: Performance of Templates: time 0.05515/7.881, allocations: 31.97 MB / 3.323 GB, free: 74.11 MB / 490.7 MB