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_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible") Notification: Performance of loadModel(ModelicaTest): time 2.143/2.143, allocations: 209.3 MB / 224.4 MB, free: 0.5117 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.129e-05/3.152e-05, allocations: 4 kB / 276.2 MB, free: 15.85 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3611/0.3612, allocations: 48.69 MB / 324.9 MB, free: 2.906 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible): time 0.0554/0.4167, allocations: 23.2 MB / 348.1 MB, free: 3.336 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.03261/0.4494, allocations: 13.73 MB / 361.8 MB, free: 8.879 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009078/0.4503, allocations: 18.47 kB / 361.8 MB, free: 8.871 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001078/0.4514, allocations: 251 kB / 362 MB, free: 8.648 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01221/0.4636, allocations: 2.611 MB / 364.7 MB, free: 6.418 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01202/0.4757, allocations: 2.638 MB / 367.3 MB, free: 4.32 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001603/0.4773, allocations: 0.4973 MB / 367.8 MB, free: 3.961 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00047/0.4778, allocations: 182.8 kB / 368 MB, free: 3.848 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001187/0.479, allocations: 385.1 kB / 368.3 MB, free: 3.609 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000425/0.4795, allocations: 208.9 kB / 368.6 MB, free: 3.5 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01985/0.4993, allocations: 6.578 MB / 375.1 MB, free: 13.23 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002876/0.5023, allocations: 400 kB / 375.5 MB, free: 12.84 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000284/0.5026, allocations: 87.66 kB / 375.6 MB, free: 12.75 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003217/0.5029, allocations: 56 kB / 375.7 MB, free: 12.7 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00883/0.5118, allocations: 2.833 MB / 378.5 MB, free: 9.863 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.5119, allocations: 0 / 378.5 MB, free: 9.863 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.896e-06/0.5119, allocations: 0 / 378.5 MB, free: 9.863 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.686e-05/0.5119, allocations: 0 / 378.5 MB, free: 9.863 MB / 314.7 MB 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.003943/0.5158, allocations: 1.177 MB / 379.7 MB, free: 8.637 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.5159, allocations: 8.031 kB / 379.7 MB, free: 8.629 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002513/0.5184, allocations: 223.2 kB / 379.9 MB, free: 8.41 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007929/0.5192, allocations: 402.5 kB / 380.3 MB, free: 7.977 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.718e-05/0.5193, allocations: 32.61 kB / 380.3 MB, free: 7.945 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.661e-05/0.5194, allocations: 32 kB / 380.4 MB, free: 7.914 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002411/0.5218, allocations: 0.6332 MB / 381 MB, free: 7.238 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.632e-05/0.5219, allocations: 0 / 381 MB, free: 7.238 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.682e-05/0.5219, allocations: 12 kB / 381 MB, free: 7.227 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.933e-05/0.522, allocations: 15.98 kB / 381 MB, free: 7.211 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002625/0.5246, allocations: 0.5878 MB / 381.6 MB, free: 6.625 MB / 314.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.004339/0.529, allocations: 2.688 MB / 384.3 MB, free: 3.695 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002936/0.5319, allocations: 0.5609 MB / 384.9 MB, free: 3.125 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2242/0.7561, allocations: 55.39 MB / 440.2 MB, free: 5.816 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.367e-05/0.7562, allocations: 42.45 kB / 440.3 MB, free: 5.766 MB / 378.7 MB Notification: Performance of pre-optimization done (n=28): time 3.487e-06/0.7563, allocations: 0 / 440.3 MB, free: 5.766 MB / 378.7 MB Notification: Performance of matching and sorting (n=28): time 0.004429/0.7607, allocations: 0.8252 MB / 441.1 MB, free: 4.934 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.221e-05/0.7608, allocations: 106.8 kB / 441.2 MB, free: 4.805 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006843/0.7615, allocations: 328.7 kB / 441.5 MB, free: 4.477 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.253e-05/0.7617, allocations: 33.7 kB / 441.6 MB, free: 4.438 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002668/0.7619, allocations: 286.2 kB / 441.8 MB, free: 4.156 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001371/0.7621, allocations: 94.64 kB / 441.9 MB, free: 4.062 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.572e-05/0.7621, allocations: 12 kB / 441.9 MB, free: 4.051 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000168/0.7623, allocations: 322.8 kB / 442.3 MB, free: 3.727 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007245/0.763, allocations: 160.8 kB / 442.4 MB, free: 3.57 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000851/0.7639, allocations: 319.9 kB / 442.7 MB, free: 3.191 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007736/0.7648, allocations: 187.9 kB / 442.9 MB, free: 3.008 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.456e-06/0.7648, allocations: 4 kB / 442.9 MB, free: 3.004 MB / 378.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001827/0.7666, allocations: 0.5053 MB / 443.4 MB, free: 2.492 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007694/0.7674, allocations: 1.829 MB / 445.3 MB, free: 0.5195 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.419e-05/0.7675, allocations: 4 kB / 445.3 MB, free: 0.5156 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.884e-05/0.7675, allocations: 8 kB / 445.3 MB, free: 0.5078 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008355/0.7683, allocations: 115.9 kB / 445.4 MB, free: 404 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.053e-05/0.7684, allocations: 15.94 kB / 445.4 MB, free: 388 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006858/0.7691, allocations: 71.5 kB / 445.5 MB, free: 316 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.174e-05/0.7692, allocations: 27.94 kB / 445.5 MB, free: 288 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.7692, allocations: 8 kB / 445.5 MB, free: 280 kB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001693/0.7709, allocations: 476 kB / 446 MB, free: 15.81 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.7709, allocations: 4 kB / 446 MB, free: 15.8 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.771, allocations: 12 kB / 446 MB, free: 15.79 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007597/0.7717, allocations: 111.8 kB / 446.1 MB, free: 15.68 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.556e-05/0.7718, allocations: 11.94 kB / 446.1 MB, free: 15.67 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005394/0.7723, allocations: 67.84 kB / 446.2 MB, free: 15.61 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.476e-05/0.7724, allocations: 20 kB / 446.2 MB, free: 15.59 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (49): * Single equations (assignments): 49 * 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.0003637/0.7728, allocations: 173.6 kB / 446.4 MB, free: 15.41 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001402/0.7729, allocations: 43.48 kB / 446.4 MB, free: 15.36 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003991/0.7769, allocations: 1.97 MB / 448.4 MB, free: 13.39 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.605e-05/0.777, allocations: 27.95 kB / 448.4 MB, free: 13.36 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/0.777, allocations: 0 / 448.4 MB, free: 13.36 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.174e-05/0.7771, allocations: 3.984 kB / 448.4 MB, free: 13.36 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001707/0.7788, allocations: 1.039 MB / 449.4 MB, free: 12.26 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/0.7788, allocations: 0 / 449.4 MB, free: 12.26 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006312/0.7795, allocations: 87.88 kB / 449.5 MB, free: 12.18 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.027e-05/0.7795, allocations: 3.984 kB / 449.5 MB, free: 12.17 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.851e-05/0.7795, allocations: 15.95 kB / 449.5 MB, free: 12.16 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.304e-06/0.7795, allocations: 4 kB / 449.5 MB, free: 12.15 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.7796, allocations: 0 / 449.5 MB, free: 12.15 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002287/0.7818, allocations: 1.116 MB / 450.7 MB, free: 11.02 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003988/0.7823, allocations: 259.3 kB / 450.9 MB, free: 10.75 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001232/0.7824, allocations: 12 kB / 450.9 MB, free: 10.73 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005376/0.783, allocations: 47.86 kB / 451 MB, free: 10.69 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001283/0.7831, allocations: 31.95 kB / 451 MB, free: 10.66 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.051e-05/0.7832, allocations: 11.98 kB / 451 MB, free: 10.64 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005924/0.7838, allocations: 322.9 kB / 451.3 MB, free: 10.33 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.7838, allocations: 0 / 451.3 MB, free: 10.33 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003978/0.7878, allocations: 1.077 MB / 452.4 MB, free: 9.25 MB / 394.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,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse9.phase,$cse9.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.006782/0.7946, allocations: 1.219 MB / 453.6 MB, free: 8.027 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002812/0.7974, allocations: 0.8828 MB / 454.5 MB, free: 7.148 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.581e-06/0.7975, allocations: 8.25 kB / 454.5 MB, free: 7.141 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001081/0.7986, allocations: 0.525 MB / 455 MB, free: 6.613 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001836/0.8004, allocations: 196.9 kB / 455.2 MB, free: 6.426 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004101/0.8046, allocations: 2.154 MB / 457.4 MB, free: 4.23 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007473/0.8054, allocations: 1.007 MB / 458.4 MB, free: 3.199 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002555/0.8056, allocations: 51.42 kB / 458.4 MB, free: 3.148 MB / 394.7 MB Notification: Performance of SimCode: time 1.523e-06/0.8056, allocations: 0 / 458.4 MB, free: 3.148 MB / 394.7 MB Notification: Performance of Templates: time 0.3559/1.162, allocations: 26.62 MB / 485.1 MB, free: 126.2 MB / 410.7 MB