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.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear") Notification: Performance of loadModel(ModelicaTest): time 2.25/2.25, allocations: 249.5 MB / 261.6 MB, free: 2.156 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.304e-05/3.315e-05, allocations: 0 / 323.4 MB, free: 4.297 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3198/0.3199, allocations: 58.82 MB / 382.2 MB, free: 10.2 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.602/6.922, allocations: 2.754 GB / 3.127 GB, free: 115.3 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002703/6.922, allocations: 82.48 kB / 3.127 GB, free: 115.3 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.9545/7.876, allocations: 216.7 MB / 3.339 GB, free: 94.04 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.122e-06/7.876, allocations: 0 / 3.339 GB, free: 94.04 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.748e-05/7.877, allocations: 8.188 kB / 3.339 GB, free: 94.04 MB / 0.5105 GB 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.004465/7.881, allocations: 1.18 MB / 3.34 GB, free: 93.48 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/7.881, allocations: 11.12 kB / 3.34 GB, free: 93.48 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002334/7.883, allocations: 220.8 kB / 3.34 GB, free: 93.46 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000691/7.884, allocations: 369.7 kB / 3.341 GB, free: 93.25 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.174e-05/7.884, allocations: 25.41 kB / 3.341 GB, free: 93.25 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.458e-05/7.884, allocations: 28.09 kB / 3.341 GB, free: 93.25 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001762/7.886, allocations: 0.5896 MB / 3.341 GB, free: 93.11 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.741e-05/7.886, allocations: 0 / 3.341 GB, free: 93.11 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.896e-05/7.886, allocations: 14.2 kB / 3.341 GB, free: 93.11 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.232e-05/7.886, allocations: 14.7 kB / 3.341 GB, free: 93.11 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001506/7.888, allocations: 497.1 kB / 3.342 GB, free: 93.1 MB / 0.5105 GB 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.003247/7.891, allocations: 2.597 MB / 3.344 GB, free: 91.23 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001502/7.893, allocations: 420.4 kB / 3.345 GB, free: 91.2 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000265/7.893, allocations: 136.5 kB / 3.345 GB, free: 91.2 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05451/7.947, allocations: 24.16 MB / 3.368 GB, free: 76.54 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.609e-05/7.947, allocations: 38.09 kB / 3.368 GB, free: 76.5 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=25): time 3.567e-06/7.947, allocations: 0 / 3.368 GB, free: 76.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=25): time 0.002669/7.95, allocations: 0.6274 MB / 3.369 GB, free: 76.45 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.626e-05/7.95, allocations: 112.1 kB / 3.369 GB, free: 76.32 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003537/7.951, allocations: 270 kB / 3.369 GB, free: 76.22 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.593e-05/7.951, allocations: 29.27 kB / 3.369 GB, free: 76.19 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001202/7.951, allocations: 204.4 kB / 3.37 GB, free: 76.07 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 7.654e-05/7.951, allocations: 89.53 kB / 3.37 GB, free: 76.04 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.293e-05/7.951, allocations: 7.25 kB / 3.37 GB, free: 76.04 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.716e-05/7.951, allocations: 346.3 kB / 3.37 GB, free: 75.72 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002034/7.951, allocations: 86.47 kB / 3.37 GB, free: 75.72 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000258/7.951, allocations: 182.2 kB / 3.37 GB, free: 75.62 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002531/7.952, allocations: 109.5 kB / 3.37 GB, free: 75.62 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.21e-06/7.952, allocations: 0 / 3.37 GB, free: 75.62 MB / 0.5105 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0007199/7.952, allocations: 321.2 kB / 3.371 GB, free: 75.57 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/7.952, allocations: 13.17 kB / 3.371 GB, free: 75.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.886e-06/7.952, allocations: 3.969 kB / 3.371 GB, free: 75.57 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/7.953, allocations: 3.906 kB / 3.371 GB, free: 75.57 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004999/7.953, allocations: 100.6 kB / 3.371 GB, free: 75.57 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.25e-05/7.953, allocations: 9.406 kB / 3.371 GB, free: 75.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004711/7.954, allocations: 72.56 kB / 3.371 GB, free: 75.55 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.109e-05/7.954, allocations: 15.47 kB / 3.371 GB, free: 75.55 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (35): * Single equations (assignments): 35 * 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.0001094/7.954, allocations: 131.9 kB / 3.371 GB, free: 75.45 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.01e-05/7.954, allocations: 30.56 kB / 3.371 GB, free: 75.43 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002213/7.956, allocations: 1.853 MB / 3.373 GB, free: 75.23 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.194e-05/7.956, allocations: 28.39 kB / 3.373 GB, free: 75.23 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.542e-06/7.956, allocations: 0 / 3.373 GB, free: 75.23 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.897e-06/7.956, allocations: 3.75 kB / 3.373 GB, free: 75.23 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001162/7.957, allocations: 1.006 MB / 3.374 GB, free: 75 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.981e-06/7.957, allocations: 0 / 3.374 GB, free: 75 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005171/7.958, allocations: 95.48 kB / 3.374 GB, free: 75 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.303e-06/7.958, allocations: 3.406 kB / 3.374 GB, free: 75 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.722e-05/7.958, allocations: 11.58 kB / 3.374 GB, free: 75 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.942e-06/7.958, allocations: 3.953 kB / 3.374 GB, free: 74.99 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/7.958, allocations: 0 / 3.374 GB, free: 74.99 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001272/7.959, allocations: 0.9853 MB / 3.375 GB, free: 74.77 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002153/7.959, allocations: 221.8 kB / 3.375 GB, free: 74.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.07e-05/7.96, allocations: 11.72 kB / 3.375 GB, free: 74.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005109/7.96, allocations: 46.16 kB / 3.375 GB, free: 74.61 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.8e-05/7.96, allocations: 41.03 kB / 3.375 GB, free: 74.61 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.373e-05/7.96, allocations: 7.344 kB / 3.375 GB, free: 74.61 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004202/7.961, allocations: 324.9 kB / 3.376 GB, free: 74.52 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.02e-07/7.961, allocations: 0 / 3.376 GB, free: 74.52 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004006/7.965, allocations: 1.009 MB / 3.377 GB, free: 74.37 MB / 0.5105 GB 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.007375/7.972, allocations: 1.378 MB / 3.378 GB, free: 74.12 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0009911/7.973, allocations: 0.4934 MB / 3.378 GB, free: 74.11 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.373e-06/7.973, allocations: 0 / 3.378 GB, free: 74.11 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0005873/7.974, allocations: 466.1 kB / 3.379 GB, free: 74.11 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001412/7.975, allocations: 207.8 kB / 3.379 GB, free: 74.1 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002008/7.977, allocations: 1.125 MB / 3.38 GB, free: 73.82 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004343/7.978, allocations: 0.9821 MB / 3.381 GB, free: 73.12 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0006521/7.978, allocations: 240.9 kB / 3.381 GB, free: 73.11 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000138/7.979, allocations: 41.61 kB / 3.381 GB, free: 73.1 MB / 0.5105 GB Notification: Performance of SimCode: time 2.682e-06/7.979, allocations: 0 / 3.381 GB, free: 73.1 MB / 0.5105 GB Notification: Performance of Templates: time 0.05651/8.035, allocations: 32.61 MB / 3.413 GB, free: 71.86 MB / 0.5105 GB