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_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics") Notification: Performance of loadModel(ModelicaTest): time 2.45/2.45, allocations: 270.1 MB / 283.6 MB, free: 3.105 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.618e-05/4.638e-05, allocations: 0 / 348.4 MB, free: 10.82 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1116, allocations: 61.89 MB / 410.3 MB, free: 12.99 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.359/7.47, allocations: 2.778 GB / 3.178 GB, free: 154.1 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002144/7.471, allocations: 83.27 kB / 3.179 GB, free: 154 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.895/10.37, allocations: 0.6442 GB / 3.823 GB, free: 44.98 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.592e-06/10.37, allocations: 0 / 3.823 GB, free: 44.98 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001184/10.37, allocations: 42.5 kB / 3.823 GB, free: 44.97 MB / 0.5417 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.008948/10.37, allocations: 2.454 MB / 3.825 GB, free: 43.86 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/10.37, allocations: 14.36 kB / 3.825 GB, free: 43.86 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01055/10.39, allocations: 0.9562 MB / 3.826 GB, free: 43.77 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002726/10.39, allocations: 0.9935 MB / 3.827 GB, free: 43.45 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001638/10.39, allocations: 101.8 kB / 3.827 GB, free: 43.44 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003075/10.39, allocations: 112.5 kB / 3.827 GB, free: 43.44 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006837/10.4, allocations: 2.245 MB / 3.83 GB, free: 43.01 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.386e-05/10.4, allocations: 8.375 kB / 3.83 GB, free: 43.01 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002395/10.4, allocations: 58.94 kB / 3.83 GB, free: 43.01 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.677e-05/10.4, allocations: 33.75 kB / 3.83 GB, free: 43.01 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007109/10.4, allocations: 1.955 MB / 3.832 GB, free: 43 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01563/10.42, allocations: 10.01 MB / 3.841 GB, free: 36.42 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005952/10.42, allocations: 1.567 MB / 3.843 GB, free: 36.39 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009783/10.43, allocations: 444.2 kB / 3.843 GB, free: 36.38 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06386/10.49, allocations: 26.09 MB / 3.869 GB, free: 20.48 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.713e-05/10.49, allocations: 48.38 kB / 3.869 GB, free: 20.44 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=88): time 7.39e-06/10.49, allocations: 0 / 3.869 GB, free: 20.44 MB / 0.5417 GB Notification: Performance of matching and sorting (n=88): time 0.01617/10.51, allocations: 2.364 MB / 3.871 GB, free: 20.3 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.854e-05/10.51, allocations: 269.5 kB / 3.871 GB, free: 19.98 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002651/10.51, allocations: 0.906 MB / 3.872 GB, free: 19.82 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0002826/10.51, allocations: 43.08 kB / 3.872 GB, free: 19.79 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007006/10.51, allocations: 0.611 MB / 3.873 GB, free: 19.53 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005055/10.51, allocations: 301.1 kB / 3.873 GB, free: 19.34 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001491/10.51, allocations: 19.81 kB / 3.873 GB, free: 19.34 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001316/10.51, allocations: 345.5 kB / 3.873 GB, free: 19.04 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001475/10.51, allocations: 346.4 kB / 3.874 GB, free: 19.03 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001883/10.51, allocations: 0.7379 MB / 3.875 GB, free: 18.54 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001701/10.52, allocations: 433.2 kB / 3.875 GB, free: 18.51 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.666e-05/10.52, allocations: 3.281 kB / 3.875 GB, free: 18.51 MB / 0.5417 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.004843/10.52, allocations: 1.182 MB / 3.876 GB, free: 18.32 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.001679/10.52, allocations: 4.472 MB / 3.88 GB, free: 29.66 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.025e-05/10.52, allocations: 11 kB / 3.88 GB, free: 29.66 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.841e-05/10.52, allocations: 18.5 kB / 3.88 GB, free: 29.66 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002845/10.53, allocations: 355.2 kB / 3.881 GB, free: 29.64 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.896e-05/10.53, allocations: 26.62 kB / 3.881 GB, free: 29.63 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003376/10.53, allocations: 244.2 kB / 3.881 GB, free: 29.54 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003563/10.53, allocations: 71.86 kB / 3.881 GB, free: 29.54 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/10.53, allocations: 5.281 kB / 3.881 GB, free: 29.54 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004144/10.53, allocations: 1.02 MB / 3.882 GB, free: 29.46 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.037e-05/10.53, allocations: 15.81 kB / 3.882 GB, free: 29.45 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.169e-05/10.53, allocations: 18.77 kB / 3.882 GB, free: 29.45 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002699/10.54, allocations: 354.1 kB / 3.883 GB, free: 29.43 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.54e-05/10.54, allocations: 26.92 kB / 3.883 GB, free: 29.42 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003013/10.54, allocations: 228.9 kB / 3.883 GB, free: 29.35 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000314/10.54, allocations: 67.86 kB / 3.883 GB, free: 29.35 MB / 0.5573 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.0006067/10.54, allocations: 184.8 kB / 3.883 GB, free: 29.22 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004528/10.54, allocations: 141.9 kB / 3.883 GB, free: 29.14 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0116/10.55, allocations: 6.468 MB / 3.889 GB, free: 27.05 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001319/10.55, allocations: 82.56 kB / 3.89 GB, free: 27.03 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-05/10.55, allocations: 3.531 kB / 3.89 GB, free: 27.03 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.453e-05/10.55, allocations: 6.562 kB / 3.89 GB, free: 27.03 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006948/10.56, allocations: 3.29 MB / 3.893 GB, free: 25.47 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.61e-05/10.56, allocations: 0 / 3.893 GB, free: 25.47 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003394/10.56, allocations: 312.7 kB / 3.893 GB, free: 25.44 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-05/10.56, allocations: 7.672 kB / 3.893 GB, free: 25.44 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002138/10.56, allocations: 29.59 kB / 3.893 GB, free: 25.42 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.652e-05/10.56, allocations: 3.312 kB / 3.893 GB, free: 25.42 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/10.56, allocations: 0 / 3.893 GB, free: 25.42 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006972/10.57, allocations: 2.783 MB / 3.896 GB, free: 24.11 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001685/10.57, allocations: 0.9037 MB / 3.897 GB, free: 23.53 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000392/10.57, allocations: 23.73 kB / 3.897 GB, free: 23.51 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00158/10.57, allocations: 146.8 kB / 3.897 GB, free: 23.47 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002584/10.57, allocations: 108.4 kB / 3.897 GB, free: 23.46 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001221/10.57, allocations: 45.03 kB / 3.897 GB, free: 23.45 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002901/10.58, allocations: 1.508 MB / 3.898 GB, free: 22.85 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.247e-06/10.58, allocations: 0 / 3.898 GB, free: 22.85 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.007686/10.59, allocations: 1.829 MB / 3.9 GB, free: 22.52 MB / 0.5573 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.008909/10.59, allocations: 1.979 MB / 3.902 GB, free: 22 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.007245/10.6, allocations: 2.181 MB / 3.904 GB, free: 21.18 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.016e-05/10.6, allocations: 3.938 kB / 3.904 GB, free: 21.18 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.002112/10.6, allocations: 1.366 MB / 3.906 GB, free: 20.51 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005317/10.61, allocations: 0.7791 MB / 3.906 GB, free: 20.3 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007872/10.62, allocations: 4.125 MB / 3.91 GB, free: 17.62 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001594/10.62, allocations: 1.87 MB / 3.912 GB, free: 16.13 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.00454/10.62, allocations: 2.179 MB / 3.914 GB, free: 14.84 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004936/10.62, allocations: 122.8 kB / 3.915 GB, free: 14.73 MB / 0.5573 GB Notification: Performance of SimCode: time 1.741e-06/10.62, allocations: 0 / 3.915 GB, free: 14.73 MB / 0.5573 GB Notification: Performance of Templates: time 0.5295/11.15, allocations: 66.53 MB / 3.98 GB, free: 68.84 MB / 0.573 GB