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_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear") Notification: Performance of loadModel(ModelicaTest): time 2.31/2.31, allocations: 270 MB / 283.6 MB, free: 3.121 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.266e-05/3.26e-05, allocations: 0 / 348.4 MB, free: 10.81 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1144, allocations: 61.89 MB / 410.3 MB, free: 12.99 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.065/7.179, allocations: 2.759 GB / 3.16 GB, free: 108.5 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002321/7.179, allocations: 80.27 kB / 3.16 GB, free: 108.5 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.057/8.236, allocations: 218.9 MB / 3.374 GB, free: 85.99 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.034e-06/8.236, allocations: 3.781 kB / 3.374 GB, free: 85.99 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.767e-05/8.236, allocations: 7.906 kB / 3.374 GB, free: 85.99 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.004365/8.24, allocations: 1.185 MB / 3.375 GB, free: 85.23 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/8.24, allocations: 11.53 kB / 3.375 GB, free: 85.23 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002329/8.243, allocations: 226 kB / 3.375 GB, free: 85.2 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007064/8.243, allocations: 369.4 kB / 3.376 GB, free: 84.91 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.557e-05/8.243, allocations: 31.47 kB / 3.376 GB, free: 84.89 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.62e-05/8.244, allocations: 30.97 kB / 3.376 GB, free: 84.88 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001638/8.245, allocations: 0.5713 MB / 3.376 GB, free: 84.61 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.912e-05/8.245, allocations: 7.719 kB / 3.376 GB, free: 84.61 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.543e-05/8.245, allocations: 19.5 kB / 3.376 GB, free: 84.59 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/8.245, allocations: 7.688 kB / 3.376 GB, free: 84.59 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001526/8.247, allocations: 486.4 kB / 3.377 GB, free: 84.46 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.003133/8.25, allocations: 2.603 MB / 3.379 GB, free: 82.28 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001526/8.252, allocations: 424 kB / 3.38 GB, free: 82.14 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002708/8.252, allocations: 130.1 kB / 3.38 GB, free: 82.09 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04888/8.301, allocations: 24.16 MB / 3.403 GB, free: 66.43 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.797e-05/8.301, allocations: 34.34 kB / 3.403 GB, free: 66.39 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=25): time 4.565e-06/8.301, allocations: 0 / 3.403 GB, free: 66.39 MB / 0.5261 GB Notification: Performance of matching and sorting (n=25): time 0.002506/8.303, allocations: 0.6293 MB / 3.404 GB, free: 66.21 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.748e-05/8.303, allocations: 114.6 kB / 3.404 GB, free: 66.07 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003614/8.304, allocations: 274.7 kB / 3.404 GB, free: 65.92 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.884e-05/8.304, allocations: 33.7 kB / 3.404 GB, free: 65.88 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001209/8.304, allocations: 210.1 kB / 3.405 GB, free: 65.71 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.238e-05/8.304, allocations: 81.59 kB / 3.405 GB, free: 65.65 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.251e-05/8.304, allocations: 4 kB / 3.405 GB, free: 65.64 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.922e-05/8.304, allocations: 342 kB / 3.405 GB, free: 65.32 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002079/8.304, allocations: 98.66 kB / 3.405 GB, free: 65.28 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002506/8.305, allocations: 178.5 kB / 3.405 GB, free: 65.13 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002331/8.305, allocations: 111.1 kB / 3.405 GB, free: 65.09 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.682e-06/8.305, allocations: 3.938 kB / 3.405 GB, free: 65.08 MB / 0.5261 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006996/8.306, allocations: 315.3 kB / 3.406 GB, free: 64.89 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/8.306, allocations: 12 kB / 3.406 GB, free: 64.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.935e-06/8.306, allocations: 3.938 kB / 3.406 GB, free: 64.88 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.178e-05/8.306, allocations: 4 kB / 3.406 GB, free: 64.88 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005099/8.306, allocations: 98.31 kB / 3.406 GB, free: 64.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.184e-05/8.306, allocations: 4 kB / 3.406 GB, free: 64.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004993/8.307, allocations: 74.81 kB / 3.406 GB, free: 64.73 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.5e-05/8.307, allocations: 16 kB / 3.406 GB, free: 64.71 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.0001195/8.307, allocations: 132.8 kB / 3.406 GB, free: 64.58 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.329e-05/8.307, allocations: 31.62 kB / 3.406 GB, free: 64.55 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002168/8.309, allocations: 1.852 MB / 3.408 GB, free: 62.88 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.422e-05/8.309, allocations: 27.25 kB / 3.408 GB, free: 62.86 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.539e-06/8.309, allocations: 0 / 3.408 GB, free: 62.86 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.874e-06/8.309, allocations: 3.938 kB / 3.408 GB, free: 62.86 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001189/8.311, allocations: 1.01 MB / 3.409 GB, free: 61.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/8.311, allocations: 0 / 3.409 GB, free: 61.96 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004705/8.311, allocations: 91.22 kB / 3.409 GB, free: 61.89 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.201e-06/8.311, allocations: 0 / 3.409 GB, free: 61.89 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.838e-05/8.311, allocations: 11.94 kB / 3.409 GB, free: 61.88 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5e-06/8.311, allocations: 4 kB / 3.409 GB, free: 61.87 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.207e-06/8.311, allocations: 0 / 3.409 GB, free: 61.87 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001259/8.312, allocations: 0.9867 MB / 3.41 GB, free: 60.95 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002162/8.313, allocations: 218.4 kB / 3.41 GB, free: 60.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.445e-05/8.313, allocations: 8 kB / 3.41 GB, free: 60.72 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004734/8.313, allocations: 55.45 kB / 3.41 GB, free: 60.68 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001268/8.313, allocations: 35.14 kB / 3.41 GB, free: 60.66 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.592e-05/8.314, allocations: 12 kB / 3.41 GB, free: 60.65 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004513/8.314, allocations: 316.9 kB / 3.41 GB, free: 60.36 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.18e-06/8.314, allocations: 0 / 3.41 GB, free: 60.36 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004104/8.318, allocations: 1.017 MB / 3.411 GB, free: 59.37 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.007776/8.326, allocations: 1.384 MB / 3.413 GB, free: 58.24 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0009657/8.327, allocations: 0.4898 MB / 3.413 GB, free: 57.78 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.636e-06/8.327, allocations: 4 kB / 3.413 GB, free: 57.77 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0005443/8.328, allocations: 468.3 kB / 3.414 GB, free: 57.34 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001317/8.329, allocations: 208.3 kB / 3.414 GB, free: 57.19 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001896/8.331, allocations: 1.112 MB / 3.415 GB, free: 56.16 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004153/8.331, allocations: 0.985 MB / 3.416 GB, free: 55.25 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0006084/8.332, allocations: 241.5 kB / 3.416 GB, free: 55.11 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000137/8.332, allocations: 47.28 kB / 3.416 GB, free: 55.06 MB / 0.5261 GB Notification: Performance of SimCode: time 1.778e-06/8.332, allocations: 0 / 3.416 GB, free: 55.06 MB / 0.5261 GB Notification: Performance of Templates: time 0.05563/8.388, allocations: 32.62 MB / 3.448 GB, free: 23.51 MB / 0.5261 GB