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.2_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve") Notification: Performance of loadModel(ModelicaTest): time 2.442/2.442, allocations: 234.9 MB / 249.4 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.297e-05/4.301e-05, allocations: 7.984 kB / 308 MB, free: 15.34 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4127/0.4127, allocations: 54.85 MB / 362.9 MB, free: 12.28 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve): time 0.03876/0.4515, allocations: 23.27 MB / 386.2 MB, free: 6.445 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02851/0.4801, allocations: 13.79 MB / 399.9 MB, free: 8.617 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008333/0.481, allocations: 23.81 kB / 400 MB, free: 8.594 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001083/0.4821, allocations: 246.9 kB / 400.2 MB, free: 8.352 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01308/0.4952, allocations: 3.143 MB / 403.4 MB, free: 5.199 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008694/0.504, allocations: 2.202 MB / 405.6 MB, free: 2.992 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001387/0.5054, allocations: 468.8 kB / 406 MB, free: 2.535 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000488/0.5059, allocations: 183.7 kB / 406.2 MB, free: 2.355 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001216/0.5071, allocations: 406.7 kB / 406.6 MB, free: 1.957 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00762/0.5148, allocations: 2.932 MB / 409.5 MB, free: 15.02 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02101/0.5358, allocations: 6.79 MB / 416.3 MB, free: 8.227 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00347/0.5394, allocations: 416 kB / 416.7 MB, free: 7.82 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003143/0.5397, allocations: 79.67 kB / 416.8 MB, free: 7.742 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002261/0.54, allocations: 48 kB / 416.8 MB, free: 7.695 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009056/0.5491, allocations: 2.916 MB / 419.8 MB, free: 4.773 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.5491, allocations: 0 / 419.8 MB, free: 4.773 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.336e-06/0.5491, allocations: 0 / 419.8 MB, free: 4.773 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.54e-05/0.5492, allocations: 0 / 419.8 MB, free: 4.773 MB / 346.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.004391/0.5536, allocations: 1.205 MB / 421 MB, free: 3.52 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.917e-05/0.5536, allocations: 8.031 kB / 421 MB, free: 3.512 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002966/0.5566, allocations: 251.1 kB / 421.2 MB, free: 3.266 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009679/0.5576, allocations: 394.6 kB / 421.6 MB, free: 2.836 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.762e-05/0.5577, allocations: 24.66 kB / 421.6 MB, free: 2.812 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.741e-05/0.5578, allocations: 32 kB / 421.7 MB, free: 2.781 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003444/0.5613, allocations: 0.6196 MB / 422.3 MB, free: 2.129 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.137e-05/0.5613, allocations: 0 / 422.3 MB, free: 2.129 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.607e-05/0.5614, allocations: 16 kB / 422.3 MB, free: 2.113 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.515e-05/0.5615, allocations: 8 kB / 422.3 MB, free: 2.105 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002955/0.5644, allocations: 0.607 MB / 422.9 MB, free: 1.496 MB / 346.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.005116/0.5696, allocations: 2.586 MB / 425.5 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002607/0.5722, allocations: 478.2 kB / 426 MB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2047/0.777, allocations: 52.02 MB / 478 MB, free: 4.715 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.28e-05/0.7771, allocations: 46.44 kB / 478 MB, free: 4.66 MB / 410.7 MB Notification: Performance of pre-optimization done (n=25): time 2.745e-06/0.7771, allocations: 0 / 478 MB, free: 4.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=25): time 0.004598/0.7817, allocations: 0.8371 MB / 478.9 MB, free: 3.816 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.841e-05/0.7819, allocations: 110.8 kB / 479 MB, free: 3.684 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006086/0.7825, allocations: 312.7 kB / 479.3 MB, free: 3.367 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.557e-05/0.7826, allocations: 33.64 kB / 479.3 MB, free: 3.328 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002287/0.7828, allocations: 231.8 kB / 479.5 MB, free: 3.094 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001229/0.783, allocations: 94.73 kB / 479.6 MB, free: 3 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.64e-05/0.783, allocations: 8 kB / 479.6 MB, free: 2.992 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.7832, allocations: 342.8 kB / 480 MB, free: 2.648 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000782/0.784, allocations: 171.9 kB / 480.1 MB, free: 2.48 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009256/0.7849, allocations: 300 kB / 480.4 MB, free: 2.129 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008526/0.7858, allocations: 203.9 kB / 480.6 MB, free: 1.93 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.017e-06/0.7858, allocations: 4 kB / 480.6 MB, free: 1.926 MB / 410.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.002098/0.7879, allocations: 0.5204 MB / 481.1 MB, free: 1.398 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007327/0.7887, allocations: 1.478 MB / 482.6 MB, free: 15.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.385e-05/0.7888, allocations: 4 kB / 482.6 MB, free: 15.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.116e-05/0.7888, allocations: 8 kB / 482.6 MB, free: 15.79 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009395/0.7897, allocations: 115.9 kB / 482.8 MB, free: 15.68 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.246e-05/0.7898, allocations: 7.938 kB / 482.8 MB, free: 15.67 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007686/0.7906, allocations: 87.42 kB / 482.8 MB, free: 15.58 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.788e-05/0.7907, allocations: 20 kB / 482.9 MB, free: 15.56 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.7907, allocations: 0 / 482.9 MB, free: 15.56 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001945/0.7926, allocations: 463.6 kB / 483.3 MB, free: 15.11 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.7927, allocations: 4 kB / 483.3 MB, free: 15.11 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/0.7927, allocations: 15.94 kB / 483.3 MB, free: 15.09 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008187/0.7936, allocations: 116.1 kB / 483.5 MB, free: 14.98 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.428e-05/0.7936, allocations: 7.984 kB / 483.5 MB, free: 14.97 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006703/0.7943, allocations: 67.72 kB / 483.5 MB, free: 14.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.495e-05/0.7944, allocations: 19.98 kB / 483.5 MB, free: 14.88 MB / 426.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.0003621/0.7947, allocations: 161.7 kB / 483.7 MB, free: 14.71 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001287/0.7949, allocations: 39.47 kB / 483.7 MB, free: 14.68 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004364/0.7992, allocations: 1.987 MB / 485.7 MB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.283e-05/0.7994, allocations: 31.91 kB / 485.8 MB, free: 12.65 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-05/0.7994, allocations: 0 / 485.8 MB, free: 12.65 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.867e-05/0.7994, allocations: 7.922 kB / 485.8 MB, free: 12.64 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002043/0.8015, allocations: 1.02 MB / 486.8 MB, free: 11.57 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-05/0.8016, allocations: 4 kB / 486.8 MB, free: 11.57 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007351/0.8023, allocations: 95.86 kB / 486.9 MB, free: 11.48 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-05/0.8023, allocations: 0 / 486.9 MB, free: 11.48 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.735e-05/0.8024, allocations: 8 kB / 486.9 MB, free: 11.47 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.576e-06/0.8024, allocations: 4 kB / 486.9 MB, free: 11.46 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/0.8024, allocations: 3.953 kB / 486.9 MB, free: 11.46 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002899/0.8054, allocations: 1.141 MB / 488 MB, free: 10.3 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005467/0.806, allocations: 259.3 kB / 488.3 MB, free: 10.02 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001245/0.8061, allocations: 4 kB / 488.3 MB, free: 10.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006296/0.8067, allocations: 47.88 kB / 488.3 MB, free: 9.973 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001314/0.8069, allocations: 27.95 kB / 488.4 MB, free: 9.945 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.062e-05/0.807, allocations: 23.94 kB / 488.4 MB, free: 9.922 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006417/0.8076, allocations: 306.9 kB / 488.7 MB, free: 9.621 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.8076, allocations: 4 kB / 488.7 MB, free: 9.617 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00481/0.8125, allocations: 1.101 MB / 489.8 MB, free: 8.516 MB / 426.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.008325/0.8208, allocations: 1.249 MB / 491 MB, free: 7.262 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003144/0.824, allocations: 0.9271 MB / 492 MB, free: 6.34 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.713e-06/0.8241, allocations: 0 / 492 MB, free: 6.34 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001244/0.8253, allocations: 0.5372 MB / 492.5 MB, free: 5.801 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001885/0.8273, allocations: 179.2 kB / 492.7 MB, free: 5.629 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004486/0.8318, allocations: 2.079 MB / 494.8 MB, free: 3.52 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007944/0.8327, allocations: 1.004 MB / 495.8 MB, free: 2.488 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001804/0.8345, allocations: 0.6047 MB / 496.4 MB, free: 1.887 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002092/0.8347, allocations: 47.42 kB / 496.4 MB, free: 1.844 MB / 426.7 MB Notification: Performance of SimCode: time 1.122e-06/0.8347, allocations: 0 / 496.4 MB, free: 1.844 MB / 426.7 MB Notification: Performance of Templates: time 0.3926/1.227, allocations: 31.13 MB / 0.5152 GB, free: 106.7 MB / 426.7 MB