Running command: translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients,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|SourceP2.ports.1..m_flow|SourceP2.ports.1..p|SourceP2.ports.1..h_outflow|V2.port_b.m_flow|V2.port_b.p|V2.port_b.h_outflow|V2.minLimiter.y|SinkP2.ports.1..m_flow|SinkP2.ports.1..p|SinkP2.ports.1..h_outflow|SourceP3.ports.1..m_flow|SourceP3.ports.1..p|SourceP3.ports.1..h_outflow|V3.port_b.m_flow|V3.port_b.p|V3.port_b.h_outflow|V3.minLimiter.y|SinkP3.ports.1..m_flow|SinkP3.ports.1..p|SinkP3.ports.1..h_outflow|SourceP4.ports.1..m_flow|SourceP4.ports.1..p|SourceP4.ports.1..h_outflow|V4.port_b.m_flow|V4.port_b.p|V4.port_b.h_outflow|V4.minLimiter.y|SinkP4.ports.1..m_flow|SinkP4.ports.1..p|SinkP4.ports.1..h_outflow",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients") Notification: Performance of loadModel(ModelicaTest): time 2.398/2.398, allocations: 269 MB / 284.1 MB, free: 3.562 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.616e-05/3.616e-05, allocations: 4 kB / 349 MB, free: 10.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1382, allocations: 61.89 MB / 410.9 MB, free: 12.86 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients): time 0.4918/0.63, allocations: 66.81 MB / 477.7 MB, free: 2.648 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.04817/0.6783, allocations: 23.06 MB / 0.4891 GB, free: 13.73 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002609/0.6809, allocations: 59.56 kB / 0.4891 GB, free: 13.67 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003997/0.685, allocations: 0.9176 MB / 0.49 GB, free: 12.75 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01485/0.6999, allocations: 3.68 MB / 0.4936 GB, free: 9.059 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02212/0.722, allocations: 5.572 MB / 0.499 GB, free: 3.484 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.005065/0.7271, allocations: 1.809 MB / 0.5008 GB, free: 1.672 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001588/0.7287, allocations: 0.6505 MB / 0.5015 GB, free: 1.023 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003667/0.7324, allocations: 1.103 MB / 0.5025 GB, free: 15.92 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001911/0.7344, allocations: 0.7205 MB / 0.5032 GB, free: 15.2 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0239/0.7583, allocations: 7.82 MB / 0.5109 GB, free: 7.367 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003625/0.762, allocations: 476 kB / 0.5113 GB, free: 6.902 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008814/0.763, allocations: 303 kB / 0.5116 GB, free: 6.605 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007458/0.7637, allocations: 176 kB / 0.5118 GB, free: 6.434 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01267/0.7764, allocations: 4.482 MB / 0.5162 GB, free: 1.941 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.984e-06/0.7765, allocations: 0 / 0.5162 GB, free: 1.941 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.775e-06/0.7765, allocations: 3.938 kB / 0.5162 GB, free: 1.938 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.982e-05/0.7766, allocations: 0 / 0.5162 GB, free: 1.938 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: 301 * Number of variables: 301 Notification: Performance of Generate backend data structure: time 0.008599/0.7852, allocations: 2.305 MB / 0.5184 GB, free: 15.58 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.232e-05/0.7852, allocations: 17.09 kB / 0.5184 GB, free: 15.56 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01049/0.7957, allocations: 0.8761 MB / 0.5193 GB, free: 14.68 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002473/0.7983, allocations: 0.8887 MB / 0.5202 GB, free: 13.75 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000183/0.7985, allocations: 110.3 kB / 0.5203 GB, free: 13.64 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002872/0.7988, allocations: 119.9 kB / 0.5204 GB, free: 13.52 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009827/0.8086, allocations: 2.271 MB / 0.5226 GB, free: 11.09 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.541e-05/0.8087, allocations: 7.938 kB / 0.5226 GB, free: 11.09 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002466/0.809, allocations: 56 kB / 0.5226 GB, free: 11.03 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.207e-05/0.8091, allocations: 36 kB / 0.5227 GB, free: 11 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01067/0.8197, allocations: 2.17 MB / 0.5248 GB, free: 8.816 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.022/0.8418, allocations: 10.37 MB / 0.5349 GB, free: 13.6 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008761/0.8506, allocations: 1.674 MB / 0.5366 GB, free: 11.92 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09011/0.9408, allocations: 24.27 MB / 0.5603 GB, free: 0.7812 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.897e-05/0.9409, allocations: 43.2 kB / 0.5603 GB, free: 0.7305 MB / 474.7 MB Notification: Performance of pre-optimization done (n=80): time 5.47e-06/0.9409, allocations: 0 / 0.5603 GB, free: 0.7305 MB / 474.7 MB Notification: Performance of matching and sorting (n=80): time 0.02293/0.9639, allocations: 2.736 MB / 0.563 GB, free: 13.98 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000221/0.9641, allocations: 265.7 kB / 0.5632 GB, free: 13.66 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003438/0.9676, allocations: 1.026 MB / 0.5642 GB, free: 12.63 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003128/0.968, allocations: 45.7 kB / 0.5643 GB, free: 12.58 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000848/0.9689, allocations: 0.5908 MB / 0.5649 GB, free: 11.98 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005607/0.9695, allocations: 284 kB / 0.5651 GB, free: 11.7 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001542/0.9696, allocations: 20 kB / 0.5651 GB, free: 11.68 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000213/0.9699, allocations: 354.8 kB / 0.5655 GB, free: 11.33 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003135/0.973, allocations: 494.3 kB / 0.566 GB, free: 10.85 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004065/0.9771, allocations: 0.92 MB / 0.5669 GB, free: 9.73 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003875/0.9811, allocations: 0.5737 MB / 0.5674 GB, free: 9.164 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.509e-05/0.9811, allocations: 7.953 kB / 0.5674 GB, free: 9.156 MB / 490.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.009534/0.9907, allocations: 1.445 MB / 0.5688 GB, free: 7.707 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002344/0.9931, allocations: 4.893 MB / 0.5736 GB, free: 2.434 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.441e-05/0.9932, allocations: 15.94 kB / 0.5736 GB, free: 2.418 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.914e-05/0.9932, allocations: 20 kB / 0.5736 GB, free: 2.398 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00265/0.9959, allocations: 363.5 kB / 0.574 GB, free: 2.043 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.412e-05/0.996, allocations: 23.88 kB / 0.574 GB, free: 2.02 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002572/0.9986, allocations: 274.1 kB / 0.5743 GB, free: 1.75 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002466/0.9988, allocations: 75.97 kB / 0.5743 GB, free: 1.676 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.9989, allocations: 4 kB / 0.5744 GB, free: 1.672 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006008/1.005, allocations: 1.367 MB / 0.5757 GB, free: 316 kB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.251e-05/1.005, allocations: 12 kB / 0.5757 GB, free: 304 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.234e-05/1.005, allocations: 20 kB / 0.5757 GB, free: 284 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002579/1.008, allocations: 352.2 kB / 0.5761 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.923e-05/1.008, allocations: 31.86 kB / 0.5761 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001952/1.01, allocations: 199.1 kB / 0.5763 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002498/1.01, allocations: 72.05 kB / 0.5763 GB, free: 15.64 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * Number of states: 0 () * Number of discrete variables: 16 (SourceP1.medium.phase,SinkP1.medium.phase,SourceP2.medium.phase,SinkP2.medium.phase,SourceP3.medium.phase,SinkP3.medium.phase,SourceP4.medium.phase,SinkP4.medium.phase,V4.state_b.phase,V4.state_a.phase,V3.state_b.phase,V3.state_a.phase,V2.state_b.phase,V2.state_a.phase,V1.state_b.phase,V1.state_a.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (143): * Single equations (assignments): 143 * 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.000955/1.011, allocations: 313.3 kB / 0.5766 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004578/1.011, allocations: 142.3 kB / 0.5768 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01417/1.026, allocations: 6.65 MB / 0.5833 GB, free: 8.492 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001257/1.026, allocations: 83.86 kB / 0.5834 GB, free: 8.41 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.669e-06/1.026, allocations: 0 / 0.5834 GB, free: 8.41 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.214e-05/1.026, allocations: 7.969 kB / 0.5834 GB, free: 8.402 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005711/1.032, allocations: 3.259 MB / 0.5865 GB, free: 5.086 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.537e-05/1.032, allocations: 3.984 kB / 0.5865 GB, free: 5.082 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002039/1.034, allocations: 275.7 kB / 0.5868 GB, free: 4.812 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.932e-05/1.034, allocations: 4 kB / 0.5868 GB, free: 4.809 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001228/1.034, allocations: 20 kB / 0.5868 GB, free: 4.789 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-05/1.034, allocations: 4 kB / 0.5868 GB, free: 4.785 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/1.034, allocations: 0 / 0.5868 GB, free: 4.785 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007428/1.041, allocations: 2.99 MB / 0.5898 GB, free: 1.77 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002006/1.043, allocations: 0.8966 MB / 0.5906 GB, free: 0.8477 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000687/1.044, allocations: 20 kB / 0.5906 GB, free: 0.8281 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002319/1.046, allocations: 131.7 kB / 0.5908 GB, free: 0.6992 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000399/1.047, allocations: 100.8 kB / 0.5909 GB, free: 0.5977 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001336/1.047, allocations: 47.92 kB / 0.5909 GB, free: 0.5508 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.004071/1.051, allocations: 1.617 MB / 0.5925 GB, free: 14.92 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.02e-07/1.051, allocations: 0 / 0.5925 GB, free: 14.92 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007377/1.059, allocations: 1.71 MB / 0.5942 GB, free: 13.21 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 56 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse14.phase,$cse14.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse21.phase,$cse21.region,$cse25.phase,$cse25.region,$cse28.phase,$cse28.region,$cse29.phase,$cse29.region,$cse32.phase,$cse32.region,$cse36.phase,$cse36.region,$cse39.phase,$cse39.region,$cse40.phase,$cse40.region,$cse43.phase,$cse43.region,$cse47.phase,$cse47.region,$cse50.phase,$cse50.region,$cse51.phase,$cse51.region,$cse54.phase,$cse54.region,SourceP1.medium.phase,SinkP1.medium.phase,SourceP2.medium.phase,SinkP2.medium.phase,SourceP3.medium.phase,SinkP3.medium.phase,SourceP4.medium.phase,SinkP4.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (112): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 24 * 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.007739/1.066, allocations: 1.384 MB / 0.5955 GB, free: 11.83 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.009258/1.076, allocations: 2.594 MB / 0.598 GB, free: 9.242 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.232e-05/1.076, allocations: 4 kB / 0.5981 GB, free: 9.238 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003497/1.079, allocations: 1.461 MB / 0.5995 GB, free: 7.773 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007561/1.087, allocations: 0.798 MB / 0.6003 GB, free: 6.977 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01422/1.101, allocations: 6.501 MB / 0.6066 GB, free: 440 kB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3358/1.437, allocations: 1.848 MB / 0.6084 GB, free: 170.4 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008091/1.438, allocations: 145.2 kB / 0.6086 GB, free: 170.4 MB / 0.5105 GB Notification: Performance of SimCode: time 9.92e-07/1.438, allocations: 3.594 kB / 0.6086 GB, free: 170.4 MB / 0.5105 GB Notification: Performance of Templates: time 0.1137/1.552, allocations: 48.2 MB / 0.6556 GB, free: 146.4 MB / 0.5105 GB