Running command: translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible,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|V1.minLimiter.y|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.TestValveCompressible") Notification: Performance of loadModel(ModelicaTest): time 2.314/2.314, allocations: 270 MB / 283.6 MB, free: 3.031 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.601e-05/3.605e-05, allocations: 4 kB / 348.4 MB, free: 10.79 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1097, allocations: 61.89 MB / 410.3 MB, free: 12.98 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.016/7.126, allocations: 2.777 GB / 3.177 GB, free: 155 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002374/7.126, allocations: 82.58 kB / 3.178 GB, free: 155 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.01/8.136, allocations: 239.3 MB / 3.411 GB, free: 80.06 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.128e-06/8.136, allocations: 0 / 3.411 GB, free: 80.06 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.818e-05/8.136, allocations: 7.75 kB / 3.411 GB, free: 80.06 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.004604/8.141, allocations: 1.287 MB / 3.413 GB, free: 79.24 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/8.141, allocations: 11.09 kB / 3.413 GB, free: 79.24 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002675/8.144, allocations: 247.7 kB / 3.413 GB, free: 79.2 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008977/8.145, allocations: 425.9 kB / 3.413 GB, free: 78.89 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.594e-05/8.145, allocations: 28.12 kB / 3.413 GB, free: 78.88 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.271e-05/8.145, allocations: 34.47 kB / 3.413 GB, free: 78.87 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001712/8.147, allocations: 0.6214 MB / 3.414 GB, free: 78.57 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.807e-05/8.147, allocations: 0 / 3.414 GB, free: 78.57 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.196e-05/8.147, allocations: 15.59 kB / 3.414 GB, free: 78.56 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.256e-05/8.147, allocations: 14.78 kB / 3.414 GB, free: 78.55 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001697/8.148, allocations: 0.5283 MB / 3.414 GB, free: 78.41 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.003723/8.152, allocations: 2.714 MB / 3.417 GB, free: 76.17 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001895/8.154, allocations: 0.5083 MB / 3.418 GB, free: 76.02 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003181/8.154, allocations: 139.4 kB / 3.418 GB, free: 75.96 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0553/8.21, allocations: 24.16 MB / 3.441 GB, free: 60.84 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.916e-05/8.21, allocations: 37.95 kB / 3.441 GB, free: 60.8 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=28): time 3.819e-06/8.21, allocations: 0 / 3.441 GB, free: 60.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=28): time 0.002756/8.213, allocations: 0.6666 MB / 3.442 GB, free: 60.6 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.058e-05/8.213, allocations: 106.8 kB / 3.442 GB, free: 60.47 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004966/8.213, allocations: 338.9 kB / 3.442 GB, free: 60.3 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.251e-05/8.213, allocations: 33.2 kB / 3.442 GB, free: 60.26 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001385/8.213, allocations: 229.2 kB / 3.443 GB, free: 60.07 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 8.462e-05/8.214, allocations: 95.52 kB / 3.443 GB, free: 60 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.655e-05/8.214, allocations: 10.81 kB / 3.443 GB, free: 59.99 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.866e-05/8.214, allocations: 346 kB / 3.443 GB, free: 59.66 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002475/8.214, allocations: 112 kB / 3.443 GB, free: 59.62 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003008/8.214, allocations: 230.3 kB / 3.443 GB, free: 59.43 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002902/8.215, allocations: 131.7 kB / 3.443 GB, free: 59.38 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.761e-06/8.215, allocations: 0 / 3.443 GB, free: 59.38 MB / 0.5261 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.00086/8.215, allocations: 397.4 kB / 3.444 GB, free: 59.22 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002875/8.216, allocations: 1.404 MB / 3.445 GB, free: 57.74 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/8.216, allocations: 7.922 kB / 3.445 GB, free: 57.73 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.223e-05/8.216, allocations: 3.938 kB / 3.445 GB, free: 57.73 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005753/8.216, allocations: 101.8 kB / 3.445 GB, free: 57.73 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.428e-05/8.216, allocations: 7.812 kB / 3.445 GB, free: 57.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006223/8.217, allocations: 87.84 kB / 3.445 GB, free: 57.69 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.564e-05/8.217, allocations: 23.53 kB / 3.445 GB, free: 57.69 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.011e-05/8.217, allocations: 3.812 kB / 3.445 GB, free: 57.69 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007515/8.218, allocations: 318 kB / 3.446 GB, free: 57.58 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.982e-06/8.218, allocations: 3.844 kB / 3.446 GB, free: 57.58 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.877e-06/8.218, allocations: 4.906 kB / 3.446 GB, free: 57.58 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005445/8.219, allocations: 112.8 kB / 3.446 GB, free: 57.57 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.911e-06/8.219, allocations: 3.281 kB / 3.446 GB, free: 57.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005506/8.219, allocations: 70.75 kB / 3.446 GB, free: 57.54 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.945e-05/8.219, allocations: 15.81 kB / 3.446 GB, free: 57.54 MB / 0.5261 GB 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 (44): * Single equations (assignments): 44 * 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.000149/8.219, allocations: 134.8 kB / 3.446 GB, free: 57.41 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001182/8.219, allocations: 47.27 kB / 3.446 GB, free: 57.39 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002456/8.222, allocations: 1.906 MB / 3.448 GB, free: 56.48 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-05/8.222, allocations: 34.62 kB / 3.448 GB, free: 56.47 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.027e-06/8.222, allocations: 7.906 kB / 3.448 GB, free: 56.46 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.221e-06/8.222, allocations: 0 / 3.448 GB, free: 56.46 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001308/8.223, allocations: 1.045 MB / 3.449 GB, free: 55.87 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.068e-06/8.223, allocations: 5.812 kB / 3.449 GB, free: 55.87 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005018/8.224, allocations: 86.92 kB / 3.449 GB, free: 55.86 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.31e-06/8.224, allocations: 0 / 3.449 GB, free: 55.86 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.095e-05/8.224, allocations: 11.94 kB / 3.449 GB, free: 55.86 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.864e-06/8.224, allocations: 0 / 3.449 GB, free: 55.86 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.19e-06/8.224, allocations: 3.969 kB / 3.449 GB, free: 55.86 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001421/8.225, allocations: 1.04 MB / 3.45 GB, free: 55.32 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000358/8.226, allocations: 271.6 kB / 3.45 GB, free: 55.11 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001072/8.226, allocations: 11.47 kB / 3.45 GB, free: 55.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005249/8.226, allocations: 36.53 kB / 3.45 GB, free: 55.09 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/8.227, allocations: 39.64 kB / 3.451 GB, free: 55.09 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-05/8.227, allocations: 15.34 kB / 3.451 GB, free: 55.08 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0005341/8.227, allocations: 363.1 kB / 3.451 GB, free: 54.91 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.58e-07/8.227, allocations: 0 / 3.451 GB, free: 54.91 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005478/8.233, allocations: 1.169 MB / 3.452 GB, free: 54.67 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,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse14.phase,$cse14.region,SourceP1.medium.phase,SinkP1.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 31 * 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.01327/8.246, allocations: 1.446 MB / 3.453 GB, free: 54.3 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002588/8.249, allocations: 0.7202 MB / 3.454 GB, free: 54.02 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.898e-06/8.249, allocations: 4.125 kB / 3.454 GB, free: 54.01 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001154/8.25, allocations: 488.4 kB / 3.455 GB, free: 53.77 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002751/8.253, allocations: 228.6 kB / 3.455 GB, free: 53.71 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003788/8.257, allocations: 1.205 MB / 3.456 GB, free: 53.15 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008246/8.257, allocations: 1.016 MB / 3.457 GB, free: 52.43 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002168/8.26, allocations: 0.5563 MB / 3.458 GB, free: 52.39 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002544/8.26, allocations: 50.2 kB / 3.458 GB, free: 52.38 MB / 0.5261 GB Notification: Performance of SimCode: time 2.721e-06/8.26, allocations: 0 / 3.458 GB, free: 52.38 MB / 0.5261 GB Notification: Performance of Templates: time 0.0855/8.345, allocations: 34.64 MB / 3.491 GB, free: 32.34 MB / 0.5261 GB