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_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear") Notification: Performance of loadModel(ModelicaTest): time 1.87/1.87, allocations: 209.3 MB / 221.9 MB, free: 7.738 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.296e-05/3.318e-05, allocations: 0 / 273.1 MB, free: 3.66 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08886/0.08893, allocations: 48.7 MB / 321.8 MB, free: 2.863 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.166/6.255, allocations: 2.477 GB / 2.791 GB, free: 85.41 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002413/6.255, allocations: 79.58 kB / 2.791 GB, free: 85.36 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9248/7.18, allocations: 211.6 MB / 2.998 GB, free: 40.81 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.908e-06/7.18, allocations: 0 / 2.998 GB, free: 40.81 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.789e-05/7.18, allocations: 10.97 kB / 2.998 GB, free: 40.8 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.004068/7.184, allocations: 1.161 MB / 2.999 GB, free: 39.61 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/7.184, allocations: 8.031 kB / 2.999 GB, free: 39.6 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002246/7.186, allocations: 210.6 kB / 2.999 GB, free: 39.39 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007231/7.187, allocations: 392.1 kB / 2.999 GB, free: 38.98 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.528e-05/7.187, allocations: 28.78 kB / 2.999 GB, free: 38.95 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.219e-05/7.187, allocations: 24 kB / 2.999 GB, free: 38.93 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001588/7.189, allocations: 0.5906 MB / 3 GB, free: 38.3 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.608e-05/7.189, allocations: 0 / 3 GB, free: 38.3 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.578e-05/7.189, allocations: 15.84 kB / 3 GB, free: 38.29 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.046e-05/7.189, allocations: 8 kB / 3 GB, free: 38.28 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001474/7.19, allocations: 492.7 kB / 3 GB, free: 37.8 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.002749/7.193, allocations: 2.534 MB / 3.003 GB, free: 35.05 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001439/7.194, allocations: 418 kB / 3.003 GB, free: 34.64 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002434/7.195, allocations: 132.8 kB / 3.003 GB, free: 34.51 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3661/7.561, allocations: 51.57 MB / 3.054 GB, free: 71.24 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.045e-05/7.561, allocations: 37.53 kB / 3.054 GB, free: 71.2 MB / 442.7 MB Notification: Performance of pre-optimization done (n=25): time 3.228e-06/7.561, allocations: 0 / 3.054 GB, free: 71.2 MB / 442.7 MB Notification: Performance of matching and sorting (n=25): time 0.002599/7.564, allocations: 0.6137 MB / 3.054 GB, free: 71.17 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.866e-05/7.564, allocations: 109.5 kB / 3.055 GB, free: 71.05 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000394/7.564, allocations: 254.6 kB / 3.055 GB, free: 70.95 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.634e-05/7.564, allocations: 30.7 kB / 3.055 GB, free: 70.92 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001462/7.564, allocations: 274.1 kB / 3.055 GB, free: 70.74 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.536e-05/7.564, allocations: 85.8 kB / 3.055 GB, free: 70.7 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.615e-05/7.564, allocations: 6.719 kB / 3.055 GB, free: 70.7 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.458e-05/7.564, allocations: 323 kB / 3.055 GB, free: 70.39 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002697/7.565, allocations: 95.77 kB / 3.056 GB, free: 70.38 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003108/7.565, allocations: 211.1 kB / 3.056 GB, free: 70.24 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002762/7.565, allocations: 122.8 kB / 3.056 GB, free: 70.24 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.882e-06/7.565, allocations: 1 kB / 3.056 GB, free: 70.24 MB / 442.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007465/7.566, allocations: 334 kB / 3.056 GB, free: 70.2 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/7.566, allocations: 6.594 kB / 3.056 GB, free: 70.2 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/7.566, allocations: 4.031 kB / 3.056 GB, free: 70.2 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.5e-05/7.566, allocations: 6.219 kB / 3.056 GB, free: 70.2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005264/7.567, allocations: 114.9 kB / 3.056 GB, free: 70.19 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.593e-05/7.567, allocations: 5.688 kB / 3.056 GB, free: 70.19 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005028/7.567, allocations: 70.34 kB / 3.056 GB, free: 70.18 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.886e-05/7.567, allocations: 18.16 kB / 3.056 GB, free: 70.18 MB / 442.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.0001132/7.568, allocations: 133 kB / 3.057 GB, free: 70.08 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.372e-05/7.568, allocations: 33.91 kB / 3.057 GB, free: 70.06 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00226/7.57, allocations: 1.843 MB / 3.058 GB, free: 69.86 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.089e-05/7.57, allocations: 28.61 kB / 3.058 GB, free: 69.86 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.646e-06/7.57, allocations: 3.953 kB / 3.058 GB, free: 69.86 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.008e-06/7.57, allocations: 0 / 3.058 GB, free: 69.86 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001274/7.571, allocations: 0.9774 MB / 3.059 GB, free: 69.63 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.497e-06/7.571, allocations: 1.812 kB / 3.059 GB, free: 69.63 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005333/7.572, allocations: 86.48 kB / 3.059 GB, free: 69.63 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-05/7.572, allocations: 5.953 kB / 3.059 GB, free: 69.63 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.031e-05/7.572, allocations: 6.984 kB / 3.059 GB, free: 69.63 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/7.572, allocations: 4.094 kB / 3.059 GB, free: 69.63 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.666e-06/7.572, allocations: 0.5156 kB / 3.059 GB, free: 69.63 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001454/7.573, allocations: 0.9738 MB / 3.06 GB, free: 69.41 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002437/7.574, allocations: 213.5 kB / 3.061 GB, free: 69.27 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.566e-05/7.574, allocations: 5.688 kB / 3.061 GB, free: 69.27 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004916/7.574, allocations: 53.7 kB / 3.061 GB, free: 69.27 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001143/7.574, allocations: 30.88 kB / 3.061 GB, free: 69.27 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.008e-05/7.574, allocations: 11.23 kB / 3.061 GB, free: 69.27 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004198/7.575, allocations: 265.7 kB / 3.061 GB, free: 69.19 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.98e-07/7.575, allocations: 2.625 kB / 3.061 GB, free: 69.19 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004396/7.579, allocations: 1.003 MB / 3.062 GB, free: 69.18 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,$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.007728/7.587, allocations: 1.38 MB / 3.063 GB, free: 69.03 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001037/7.588, allocations: 0.4931 MB / 3.064 GB, free: 69.02 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.69e-06/7.588, allocations: 1.375 kB / 3.064 GB, free: 69.02 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006135/7.589, allocations: 472.4 kB / 3.064 GB, free: 69.02 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0013/7.59, allocations: 180.8 kB / 3.064 GB, free: 69.02 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.184/7.774, allocations: 75.03 MB / 3.138 GB, free: 66.06 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004298/7.775, allocations: 0.9779 MB / 3.139 GB, free: 65.35 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001764/7.775, allocations: 43.08 kB / 3.139 GB, free: 65.31 MB / 442.7 MB Notification: Performance of SimCode: time 2.018e-06/7.775, allocations: 2.344 kB / 3.139 GB, free: 65.31 MB / 442.7 MB Notification: Performance of Templates: time 0.04028/7.815, allocations: 26.01 MB / 3.164 GB, free: 50.21 MB / 442.7 MB