Running command: translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valve_linear.port_b.m_flow|valve_linear.port_b.p|valve_linear.port_b.h_outflow|valve_linear.minLimiter.y|sink1.ports.1..m_flow|sink1.ports.1..p|sink1.ports.1..h_outflow|opening.y|valve_constant.port_b.m_flow|valve_constant.port_b.p|valve_constant.port_b.h_outflow|valve_constant.minLimiter.y|valve_quadratic.port_b.m_flow|valve_quadratic.port_b.p|valve_quadratic.port_b.h_outflow|valve_quadratic.minLimiter.y|sink2.ports.1..m_flow|sink2.ports.1..p|sink2.ports.1..h_outflow|sink3.ports.1..m_flow|sink3.ports.1..p|sink3.ports.1..h_outflow|valve_equalPercentage.port_b.m_flow|valve_equalPercentage.port_b.p|valve_equalPercentage.port_b.h_outflow|valve_equalPercentage.minLimiter.y|sink4.ports.1..m_flow|sink4.ports.1..p|sink4.ports.1..h_outflow",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics") Notification: Performance of loadModel(ModelicaTest): time 2.281/2.281, allocations: 249.5 MB / 261.6 MB, free: 2.16 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 9.578e-05/9.609e-05, allocations: 4 kB / 323.4 MB, free: 4.305 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4256/0.4258, allocations: 58.83 MB / 382.2 MB, free: 10.32 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.252/6.677, allocations: 2.773 GB / 3.146 GB, free: 52.67 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002392/6.678, allocations: 84.66 kB / 3.146 GB, free: 52.59 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.771/9.449, allocations: 0.637 GB / 3.783 GB, free: 296 kB / 0.5105 GB Notification: Performance of FrontEnd: time 1.726e-06/9.449, allocations: 7.938 kB / 3.783 GB, free: 288 kB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001146/9.449, allocations: 39.91 kB / 3.783 GB, free: 252 kB / 0.5105 GB 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.009598/9.458, allocations: 2.443 MB / 3.785 GB, free: 13.78 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/9.458, allocations: 8.031 kB / 3.785 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01073/9.469, allocations: 0.9577 MB / 3.786 GB, free: 12.83 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003041/9.472, allocations: 0.9924 MB / 3.787 GB, free: 11.81 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001918/9.472, allocations: 106.4 kB / 3.787 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002967/9.473, allocations: 112 kB / 3.788 GB, free: 11.6 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00781/9.481, allocations: 2.251 MB / 3.79 GB, free: 9.199 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.447e-05/9.481, allocations: 11.88 kB / 3.79 GB, free: 9.188 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002672/9.481, allocations: 58.94 kB / 3.79 GB, free: 9.133 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.055e-05/9.481, allocations: 35.98 kB / 3.79 GB, free: 9.098 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008819/9.49, allocations: 1.954 MB / 3.792 GB, free: 7.145 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3743/9.864, allocations: 9.997 MB / 3.801 GB, free: 41.71 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005911/9.87, allocations: 1.568 MB / 3.803 GB, free: 41.68 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001081/9.871, allocations: 449.7 kB / 3.803 GB, free: 41.68 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05704/9.928, allocations: 26.08 MB / 3.829 GB, free: 26.49 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.118e-05/9.928, allocations: 44.22 kB / 3.829 GB, free: 26.45 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=88): time 5.228e-06/9.928, allocations: 0 / 3.829 GB, free: 26.45 MB / 0.5261 GB Notification: Performance of matching and sorting (n=88): time 0.01038/9.939, allocations: 2.356 MB / 3.831 GB, free: 26.34 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.703e-05/9.939, allocations: 271.6 kB / 3.832 GB, free: 26.03 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001528/9.941, allocations: 0.9122 MB / 3.832 GB, free: 25.87 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001619/9.941, allocations: 40.36 kB / 3.832 GB, free: 25.84 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004632/9.941, allocations: 0.6115 MB / 3.833 GB, free: 25.63 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002862/9.941, allocations: 296.8 kB / 3.833 GB, free: 25.48 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.095e-05/9.942, allocations: 24.81 kB / 3.833 GB, free: 25.48 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.221e-05/9.942, allocations: 351.5 kB / 3.834 GB, free: 25.18 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008597/9.943, allocations: 344 kB / 3.834 GB, free: 25.18 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001051/9.944, allocations: 0.7291 MB / 3.835 GB, free: 24.71 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009221/9.945, allocations: 433 kB / 3.835 GB, free: 24.7 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.025e-05/9.945, allocations: 4.203 kB / 3.835 GB, free: 24.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002843/9.947, allocations: 1.185 MB / 3.836 GB, free: 24.58 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008617/9.948, allocations: 4.471 MB / 3.841 GB, free: 19.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.141e-05/9.948, allocations: 8.781 kB / 3.841 GB, free: 19.96 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.6e-05/9.948, allocations: 20.38 kB / 3.841 GB, free: 19.96 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001766/9.95, allocations: 359.7 kB / 3.841 GB, free: 19.96 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.901e-05/9.95, allocations: 20.47 kB / 3.841 GB, free: 19.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002032/9.952, allocations: 248 kB / 3.841 GB, free: 19.91 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001582/9.952, allocations: 69.7 kB / 3.841 GB, free: 19.91 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/9.953, allocations: 6.438 kB / 3.841 GB, free: 19.91 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002291/9.955, allocations: 1.021 MB / 3.842 GB, free: 19.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.905e-05/9.955, allocations: 14.8 kB / 3.842 GB, free: 19.88 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.404e-05/9.955, allocations: 23.25 kB / 3.842 GB, free: 19.88 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001501/9.956, allocations: 351.9 kB / 3.843 GB, free: 19.88 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.524e-05/9.956, allocations: 22.58 kB / 3.843 GB, free: 19.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0018/9.958, allocations: 223.8 kB / 3.843 GB, free: 19.85 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001566/9.958, allocations: 75.36 kB / 3.843 GB, free: 19.85 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 16 (source2.medium.phase,sink2.medium.phase,source1.medium.phase,sink1.medium.phase,source3.medium.phase,sink3.medium.phase,source4.medium.phase,sink4.medium.phase,valve_equalPercentage.state_b.phase,valve_equalPercentage.state_a.phase,valve_quadratic.state_b.phase,valve_quadratic.state_a.phase,valve_constant.state_b.phase,valve_constant.state_a.phase,valve_linear.state_b.phase,valve_linear.state_a.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (141): * Single equations (assignments): 141 * 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.0003834/9.959, allocations: 183.6 kB / 3.843 GB, free: 19.74 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003227/9.959, allocations: 139.8 kB / 3.843 GB, free: 19.67 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007854/9.967, allocations: 6.471 MB / 3.85 GB, free: 18.95 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.787e-05/9.967, allocations: 86.27 kB / 3.85 GB, free: 18.95 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.93e-06/9.967, allocations: 0 / 3.85 GB, free: 18.95 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.029e-05/9.967, allocations: 10.08 kB / 3.85 GB, free: 18.95 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004498/9.972, allocations: 3.29 MB / 3.853 GB, free: 18.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-05/9.972, allocations: 0 / 3.853 GB, free: 18.48 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001518/9.973, allocations: 305.6 kB / 3.853 GB, free: 18.48 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-05/9.973, allocations: 7.062 kB / 3.853 GB, free: 18.48 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.699e-05/9.973, allocations: 29.88 kB / 3.853 GB, free: 18.48 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.352e-06/9.973, allocations: 7.703 kB / 3.853 GB, free: 18.48 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/9.973, allocations: 0 / 3.853 GB, free: 18.48 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004091/9.978, allocations: 2.783 MB / 3.856 GB, free: 18.02 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001535/9.979, allocations: 0.9088 MB / 3.857 GB, free: 17.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003981/9.98, allocations: 19.53 kB / 3.857 GB, free: 17.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001642/9.981, allocations: 144.2 kB / 3.857 GB, free: 17.62 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000241/9.981, allocations: 115.8 kB / 3.857 GB, free: 17.61 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001103/9.982, allocations: 43.7 kB / 3.857 GB, free: 17.61 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002671/9.984, allocations: 1.506 MB / 3.859 GB, free: 17.45 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9.27e-07/9.984, allocations: 3.969 kB / 3.859 GB, free: 17.45 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007126/9.991, allocations: 1.825 MB / 3.86 GB, free: 17.36 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: 56 ($cse3.phase,$cse3.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse13.phase,$cse13.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse22.phase,$cse22.region,$cse23.phase,$cse23.region,$cse25.phase,$cse25.region,$cse26.phase,$cse26.region,$cse29.phase,$cse29.region,$cse33.phase,$cse33.region,$cse37.phase,$cse37.region,$cse41.phase,$cse41.region,$cse44.phase,$cse44.region,$cse45.phase,$cse45.region,$cse47.phase,$cse47.region,$cse48.phase,$cse48.region,$cse51.phase,$cse51.region,$cse55.phase,$cse55.region,source1.medium.phase,sink1.medium.phase,source2.medium.phase,sink2.medium.phase,source3.medium.phase,sink3.medium.phase,source4.medium.phase,sink4.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (120): * Single equations (assignments): 96 * 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.008496/10, allocations: 1.974 MB / 3.862 GB, free: 17.15 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004205/10, allocations: 2.184 MB / 3.865 GB, free: 17.11 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.128e-06/10, allocations: 0 / 3.865 GB, free: 17.11 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002054/10.01, allocations: 1.367 MB / 3.866 GB, free: 17.11 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00556/10.01, allocations: 0.7807 MB / 3.867 GB, free: 17.08 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00763/10.02, allocations: 4.125 MB / 3.871 GB, free: 16.14 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002083/10.02, allocations: 1.873 MB / 3.872 GB, free: 31.39 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 0.00461/10.03, allocations: 2.176 MB / 3.875 GB, free: 31.32 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004904/10.03, allocations: 120 kB / 3.875 GB, free: 31.31 MB / 0.5418 GB Notification: Performance of SimCode: time 1.829e-06/10.03, allocations: 4 kB / 3.875 GB, free: 31.3 MB / 0.5418 GB Notification: Performance of Templates: time 0.1264/10.15, allocations: 66.52 MB / 3.94 GB, free: 26.93 MB / 0.5418 GB