Running command: translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve,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|downstreamPressure.y|const.y",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve") Notification: Performance of loadModel(ModelicaTest): time 1.982/1.982, allocations: 209.3 MB / 223.8 MB, free: 0.5117 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.061e-05/3.046e-05, allocations: 4 kB / 276.2 MB, free: 15.21 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3459/0.346, allocations: 48.71 MB / 324.9 MB, free: 3.371 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve): time 0.03996/0.386, allocations: 23.11 MB / 348 MB, free: 3.621 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.02774/0.4138, allocations: 13.75 MB / 361.7 MB, free: 9.152 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008652/0.4147, allocations: 18.56 kB / 361.8 MB, free: 9.145 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001209/0.416, allocations: 245.9 kB / 362 MB, free: 8.926 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01556/0.4315, allocations: 3.11 MB / 365.1 MB, free: 6.273 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009655/0.4412, allocations: 2.174 MB / 367.3 MB, free: 4.57 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001325/0.4426, allocations: 471.9 kB / 367.7 MB, free: 4.238 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004336/0.443, allocations: 188.2 kB / 367.9 MB, free: 4.117 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00129/0.4443, allocations: 397.8 kB / 368.3 MB, free: 3.867 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007246/0.4516, allocations: 2.896 MB / 371.2 MB, free: 1.082 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02054/0.4722, allocations: 6.684 MB / 377.9 MB, free: 10.39 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00281/0.4751, allocations: 404 kB / 378.3 MB, free: 9.996 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002627/0.4754, allocations: 83.72 kB / 378.4 MB, free: 9.914 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002757/0.4757, allocations: 48 kB / 378.4 MB, free: 9.867 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008547/0.4842, allocations: 2.877 MB / 381.3 MB, free: 6.98 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.4843, allocations: 0 / 381.3 MB, free: 6.98 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.076e-06/0.4843, allocations: 0 / 381.3 MB, free: 6.98 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.908e-05/0.4843, allocations: 3.938 kB / 381.3 MB, free: 6.977 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.004032/0.4884, allocations: 1.185 MB / 382.5 MB, free: 5.742 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.4884, allocations: 8.031 kB / 382.5 MB, free: 5.734 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002794/0.4912, allocations: 231.2 kB / 382.7 MB, free: 5.508 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009201/0.4922, allocations: 398.6 kB / 383.1 MB, free: 5.078 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.557e-05/0.4923, allocations: 32.61 kB / 383.1 MB, free: 5.047 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.069e-05/0.4924, allocations: 39.94 kB / 383.2 MB, free: 5.008 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002475/0.4948, allocations: 0.6157 MB / 383.8 MB, free: 4.352 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.838e-05/0.4949, allocations: 0 / 383.8 MB, free: 4.352 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.02e-05/0.495, allocations: 16 kB / 383.8 MB, free: 4.336 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.501e-05/0.495, allocations: 8 kB / 383.8 MB, free: 4.328 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002815/0.4978, allocations: 0.5953 MB / 384.4 MB, free: 3.734 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.004537/0.5024, allocations: 2.583 MB / 387 MB, free: 0.9023 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002441/0.5048, allocations: 482.1 kB / 387.5 MB, free: 432 kB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.199/0.7039, allocations: 51.94 MB / 439.4 MB, free: 7.023 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.285e-05/0.704, allocations: 38.56 kB / 439.4 MB, free: 6.977 MB / 378.7 MB Notification: Performance of pre-optimization done (n=25): time 2.474e-06/0.704, allocations: 0 / 439.4 MB, free: 6.977 MB / 378.7 MB Notification: Performance of matching and sorting (n=25): time 0.004439/0.7084, allocations: 0.8519 MB / 440.3 MB, free: 6.117 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.273e-05/0.7086, allocations: 110.8 kB / 440.4 MB, free: 5.984 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006203/0.7092, allocations: 308.8 kB / 440.7 MB, free: 5.676 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.896e-05/0.7093, allocations: 33.7 kB / 440.7 MB, free: 5.637 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002312/0.7095, allocations: 231.8 kB / 441 MB, free: 5.406 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001242/0.7097, allocations: 86.83 kB / 441 MB, free: 5.32 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.041e-05/0.7097, allocations: 4 kB / 441.1 MB, free: 5.316 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001739/0.7099, allocations: 346.8 kB / 441.4 MB, free: 4.969 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000765/0.7107, allocations: 175.9 kB / 441.6 MB, free: 4.797 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009142/0.7116, allocations: 300.1 kB / 441.9 MB, free: 4.445 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008261/0.7125, allocations: 191.9 kB / 442 MB, free: 4.258 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.68e-06/0.7125, allocations: 0 / 442 MB, free: 4.258 MB / 378.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00208/0.7146, allocations: 0.5242 MB / 442.6 MB, free: 3.727 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007807/0.7154, allocations: 1.493 MB / 444.1 MB, free: 2.117 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.702e-05/0.7154, allocations: 4 kB / 444.1 MB, free: 2.113 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.786e-05/0.7155, allocations: 11.98 kB / 444.1 MB, free: 2.102 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009299/0.7164, allocations: 115.9 kB / 444.2 MB, free: 1.988 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.595e-05/0.7164, allocations: 7.938 kB / 444.2 MB, free: 1.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000768/0.7172, allocations: 79.58 kB / 444.3 MB, free: 1.902 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.197e-05/0.7173, allocations: 19.98 kB / 444.3 MB, free: 1.883 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.7173, allocations: 7.938 kB / 444.3 MB, free: 1.875 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001895/0.7192, allocations: 463.6 kB / 444.8 MB, free: 1.422 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.093e-05/0.7193, allocations: 8 kB / 444.8 MB, free: 1.414 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.7193, allocations: 8 kB / 444.8 MB, free: 1.406 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008242/0.7201, allocations: 116.1 kB / 444.9 MB, free: 1.293 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.363e-05/0.7202, allocations: 7.938 kB / 444.9 MB, free: 1.285 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006572/0.7208, allocations: 67.64 kB / 445 MB, free: 1.219 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.347e-05/0.7209, allocations: 24 kB / 445 MB, free: 1.195 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 4 (V1.state_b.phase,V1.state_a.phase,SourceP1.medium.phase,SinkP1.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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.0003379/0.7213, allocations: 169.7 kB / 445.1 MB, free: 1.02 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001159/0.7214, allocations: 35.53 kB / 445.2 MB, free: 0.9844 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004303/0.7257, allocations: 1.987 MB / 447.2 MB, free: 14.99 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.796e-05/0.7258, allocations: 31.94 kB / 447.2 MB, free: 14.96 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.066e-06/0.7258, allocations: 0 / 447.2 MB, free: 14.96 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/0.7258, allocations: 0 / 447.2 MB, free: 14.96 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001688/0.7275, allocations: 1.028 MB / 448.2 MB, free: 13.88 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.274e-06/0.7276, allocations: 0 / 448.2 MB, free: 13.88 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006779/0.7283, allocations: 91.88 kB / 448.3 MB, free: 13.79 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.276e-06/0.7283, allocations: 0 / 448.3 MB, free: 13.79 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.649e-05/0.7283, allocations: 8 kB / 448.3 MB, free: 13.78 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.704e-06/0.7283, allocations: 4 kB / 448.3 MB, free: 13.77 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.7284, allocations: 0 / 448.3 MB, free: 13.77 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002481/0.7308, allocations: 1.138 MB / 449.5 MB, free: 12.62 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004435/0.7313, allocations: 259.3 kB / 449.7 MB, free: 12.34 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001188/0.7315, allocations: 4 kB / 449.7 MB, free: 12.34 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005841/0.732, allocations: 55.86 kB / 449.8 MB, free: 12.29 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001248/0.7322, allocations: 27.95 kB / 449.8 MB, free: 12.26 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.164e-05/0.7322, allocations: 12 kB / 449.8 MB, free: 12.25 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005804/0.7328, allocations: 314.8 kB / 450.1 MB, free: 11.94 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.7328, allocations: 0 / 450.1 MB, free: 11.94 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004006/0.7369, allocations: 1.093 MB / 451.2 MB, free: 10.84 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 ($cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse15.phase,$cse15.region,SourceP1.medium.phase,SinkP1.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 29 * 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.007056/0.744, allocations: 1.259 MB / 452.5 MB, free: 9.582 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003063/0.7471, allocations: 0.9229 MB / 453.4 MB, free: 8.664 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.7471, allocations: 0 / 453.4 MB, free: 8.664 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001244/0.7484, allocations: 0.5331 MB / 453.9 MB, free: 8.129 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001818/0.7502, allocations: 204.8 kB / 454.1 MB, free: 7.934 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004091/0.7543, allocations: 2.07 MB / 456.2 MB, free: 5.828 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007309/0.7551, allocations: 0.9997 MB / 457.2 MB, free: 4.805 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001718/0.7568, allocations: 0.5999 MB / 457.8 MB, free: 4.203 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001909/0.757, allocations: 43.36 kB / 457.8 MB, free: 4.16 MB / 394.7 MB Notification: Performance of SimCode: time 1.032e-06/0.7571, allocations: 0 / 457.8 MB, free: 4.16 MB / 394.7 MB Notification: Performance of Templates: time 0.3303/1.087, allocations: 30.97 MB / 488.8 MB, free: 135 MB / 410.7 MB