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_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear") Notification: Performance of loadModel(ModelicaTest): time 2.452/2.452, allocations: 270 MB / 283.6 MB, free: 1.848 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.424e-05/3.434e-05, allocations: 8 kB / 348.4 MB, free: 2.723 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3292/0.3293, allocations: 61.88 MB / 410.3 MB, free: 10.71 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.109/7.438, allocations: 2.759 GB / 3.16 GB, free: 130 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002464/7.439, allocations: 81.28 kB / 3.16 GB, free: 130 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.9663/8.405, allocations: 219 MB / 3.374 GB, free: 96.17 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.554e-06/8.405, allocations: 3.969 kB / 3.374 GB, free: 96.17 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.036e-05/8.405, allocations: 3.906 kB / 3.374 GB, free: 96.17 MB / 0.5261 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.006778/8.412, allocations: 1.177 MB / 3.375 GB, free: 95.56 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.409e-05/8.412, allocations: 11.38 kB / 3.375 GB, free: 95.56 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004908/8.417, allocations: 224.6 kB / 3.375 GB, free: 95.54 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001336/8.418, allocations: 375.2 kB / 3.376 GB, free: 95.31 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.994e-05/8.418, allocations: 22.19 kB / 3.376 GB, free: 95.3 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001123/8.418, allocations: 33.91 kB / 3.376 GB, free: 95.3 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003029/8.421, allocations: 0.5751 MB / 3.376 GB, free: 95.17 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.223e-05/8.422, allocations: 0 / 3.376 GB, free: 95.17 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001088/8.422, allocations: 18.75 kB / 3.376 GB, free: 95.16 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.797e-05/8.422, allocations: 7.594 kB / 3.376 GB, free: 95.16 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003055/8.425, allocations: 489.4 kB / 3.377 GB, free: 95.16 MB / 0.5261 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.005737/8.431, allocations: 2.611 MB / 3.379 GB, free: 93.26 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002976/8.434, allocations: 418.6 kB / 3.38 GB, free: 93.24 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005712/8.434, allocations: 139 kB / 3.38 GB, free: 93.23 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0836/8.518, allocations: 24.15 MB / 3.403 GB, free: 78.18 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.471e-05/8.518, allocations: 38.5 kB / 3.403 GB, free: 78.14 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=25): time 4.471e-06/8.518, allocations: 0 / 3.403 GB, free: 78.14 MB / 0.5261 GB Notification: Performance of matching and sorting (n=25): time 0.004167/8.522, allocations: 0.6259 MB / 3.404 GB, free: 77.96 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.12e-05/8.522, allocations: 118.2 kB / 3.404 GB, free: 77.82 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005336/8.523, allocations: 267 kB / 3.404 GB, free: 77.67 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.99e-05/8.523, allocations: 33.64 kB / 3.404 GB, free: 77.63 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001362/8.523, allocations: 209.1 kB / 3.405 GB, free: 77.47 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.914e-05/8.523, allocations: 80.47 kB / 3.405 GB, free: 77.41 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.308e-05/8.523, allocations: 11.11 kB / 3.405 GB, free: 77.4 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.296e-05/8.523, allocations: 349.2 kB / 3.405 GB, free: 77.07 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002216/8.523, allocations: 89.97 kB / 3.405 GB, free: 77.04 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000277/8.524, allocations: 174 kB / 3.405 GB, free: 76.89 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002558/8.524, allocations: 117.5 kB / 3.405 GB, free: 76.85 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.395e-06/8.524, allocations: 0 / 3.405 GB, free: 76.85 MB / 0.5261 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006972/8.525, allocations: 320 kB / 3.406 GB, free: 76.71 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/8.525, allocations: 12.22 kB / 3.406 GB, free: 76.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.63e-06/8.525, allocations: 3.875 kB / 3.406 GB, free: 76.71 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/8.525, allocations: 3.906 kB / 3.406 GB, free: 76.71 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004709/8.525, allocations: 98.58 kB / 3.406 GB, free: 76.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/8.525, allocations: 7.281 kB / 3.406 GB, free: 76.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004787/8.526, allocations: 75.28 kB / 3.406 GB, free: 76.68 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.546e-05/8.526, allocations: 23.23 kB / 3.406 GB, free: 76.67 MB / 0.5261 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.0001229/8.526, allocations: 119.5 kB / 3.406 GB, free: 76.55 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.615e-05/8.526, allocations: 33.06 kB / 3.406 GB, free: 76.54 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002252/8.528, allocations: 1.851 MB / 3.408 GB, free: 75.65 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.188e-05/8.528, allocations: 34.84 kB / 3.408 GB, free: 75.64 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.565e-06/8.529, allocations: 0 / 3.408 GB, free: 75.64 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.539e-06/8.529, allocations: 0 / 3.408 GB, free: 75.64 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001156/8.53, allocations: 1.006 MB / 3.409 GB, free: 75.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.705e-06/8.53, allocations: 3.281 kB / 3.409 GB, free: 75.07 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004505/8.53, allocations: 96.3 kB / 3.409 GB, free: 75.06 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.332e-06/8.53, allocations: 3.688 kB / 3.409 GB, free: 75.06 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.631e-05/8.53, allocations: 4 kB / 3.409 GB, free: 75.05 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.517e-06/8.53, allocations: 3.688 kB / 3.409 GB, free: 75.05 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.126e-06/8.53, allocations: 2.312 kB / 3.409 GB, free: 75.05 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001271/8.532, allocations: 0.9827 MB / 3.41 GB, free: 74.54 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002321/8.532, allocations: 220.6 kB / 3.41 GB, free: 74.35 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.95e-05/8.532, allocations: 10.75 kB / 3.41 GB, free: 74.35 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004973/8.532, allocations: 53.72 kB / 3.41 GB, free: 74.34 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/8.533, allocations: 32.92 kB / 3.41 GB, free: 74.34 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.524e-05/8.533, allocations: 7.812 kB / 3.41 GB, free: 74.34 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004382/8.533, allocations: 317.2 kB / 3.411 GB, free: 74.18 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.14e-07/8.533, allocations: 0 / 3.411 GB, free: 74.18 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004132/8.537, allocations: 1.011 MB / 3.411 GB, free: 73.98 MB / 0.5261 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.007688/8.545, allocations: 1.387 MB / 3.413 GB, free: 73.69 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0009217/8.546, allocations: 0.4956 MB / 3.413 GB, free: 73.5 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.093e-06/8.546, allocations: 0 / 3.413 GB, free: 73.5 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0005548/8.546, allocations: 470.4 kB / 3.414 GB, free: 73.27 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001439/8.548, allocations: 204.2 kB / 3.414 GB, free: 73.22 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001922/8.55, allocations: 1.133 MB / 3.415 GB, free: 72.7 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004259/8.55, allocations: 0.9796 MB / 3.416 GB, free: 71.98 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0006574/8.551, allocations: 240.7 kB / 3.416 GB, free: 71.98 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001392/8.551, allocations: 44.02 kB / 3.416 GB, free: 71.96 MB / 0.5261 GB Notification: Performance of SimCode: time 1.487e-06/8.551, allocations: 3.531 kB / 3.416 GB, free: 71.96 MB / 0.5261 GB Notification: Performance of Templates: time 0.05757/8.609, allocations: 32.62 MB / 3.448 GB, free: 70.14 MB / 0.5261 GB