Running command: translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics") Notification: Performance of loadModel(ModelicaTest): time 2.31/2.31, allocations: 270 MB / 282.7 MB, free: 1.953 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.319e-05/3.333e-05, allocations: 4 kB / 347 MB, free: 3.324 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3303/0.3304, allocations: 61.87 MB / 408.8 MB, free: 10.86 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.905/7.236, allocations: 2.778 GB / 3.177 GB, free: 130.7 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002418/7.236, allocations: 89.67 kB / 3.177 GB, free: 130.7 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.831/10.07, allocations: 0.6442 GB / 3.821 GB, free: 47.44 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.24e-06/10.07, allocations: 0 / 3.821 GB, free: 47.44 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001282/10.07, allocations: 42 kB / 3.821 GB, free: 47.43 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.00878/10.08, allocations: 2.452 MB / 3.824 GB, free: 46.29 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/10.08, allocations: 9.844 kB / 3.824 GB, free: 46.29 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0106/10.09, allocations: 0.9534 MB / 3.825 GB, free: 46.21 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002603/10.09, allocations: 0.9994 MB / 3.826 GB, free: 45.88 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001527/10.09, allocations: 103.5 kB / 3.826 GB, free: 45.88 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002665/10.09, allocations: 113.5 kB / 3.826 GB, free: 45.88 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007731/10.1, allocations: 2.26 MB / 3.828 GB, free: 45.43 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.276e-05/10.1, allocations: 2.906 kB / 3.828 GB, free: 45.43 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002077/10.1, allocations: 61.03 kB / 3.828 GB, free: 45.43 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.013e-05/10.1, allocations: 34.78 kB / 3.828 GB, free: 45.43 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007149/10.11, allocations: 1.954 MB / 3.83 GB, free: 45.42 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01485/10.12, allocations: 10 MB / 3.84 GB, free: 38.82 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005964/10.13, allocations: 1.563 MB / 3.841 GB, free: 38.8 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000927/10.13, allocations: 444.8 kB / 3.842 GB, free: 38.79 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05484/10.18, allocations: 26.08 MB / 3.867 GB, free: 22.83 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/10.18, allocations: 49.69 kB / 3.867 GB, free: 22.79 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=88): time 4.583e-06/10.18, allocations: 0 / 3.867 GB, free: 22.79 MB / 0.5417 GB Notification: Performance of matching and sorting (n=88): time 0.01009/10.19, allocations: 2.357 MB / 3.87 GB, free: 22.65 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.021e-05/10.19, allocations: 272.6 kB / 3.87 GB, free: 22.34 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001466/10.19, allocations: 0.9079 MB / 3.871 GB, free: 22.17 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0001215/10.19, allocations: 41.64 kB / 3.871 GB, free: 22.14 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003596/10.19, allocations: 0.5915 MB / 3.871 GB, free: 21.82 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002595/10.19, allocations: 301.4 kB / 3.872 GB, free: 21.62 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.144e-05/10.19, allocations: 26.31 kB / 3.872 GB, free: 21.62 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.133e-05/10.19, allocations: 351 kB / 3.872 GB, free: 21.31 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008361/10.2, allocations: 341.8 kB / 3.872 GB, free: 21.3 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00103/10.2, allocations: 0.7379 MB / 3.873 GB, free: 20.81 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008733/10.2, allocations: 426.9 kB / 3.874 GB, free: 20.77 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.549e-06/10.2, allocations: 3.812 kB / 3.874 GB, free: 20.77 MB / 0.5417 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002597/10.2, allocations: 1.1 MB / 3.875 GB, free: 20.64 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.001494/10.2, allocations: 4.452 MB / 3.879 GB, free: 31.97 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.353e-05/10.2, allocations: 10.25 kB / 3.879 GB, free: 31.97 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.934e-05/10.2, allocations: 20.75 kB / 3.879 GB, free: 31.97 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001621/10.2, allocations: 352.3 kB / 3.879 GB, free: 31.95 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.105e-05/10.2, allocations: 27.36 kB / 3.879 GB, free: 31.95 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001856/10.21, allocations: 253.7 kB / 3.88 GB, free: 31.85 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000158/10.21, allocations: 69.64 kB / 3.88 GB, free: 31.85 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/10.21, allocations: 3.344 kB / 3.88 GB, free: 31.85 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002276/10.21, allocations: 1.03 MB / 3.881 GB, free: 31.76 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.715e-05/10.21, allocations: 16.44 kB / 3.881 GB, free: 31.75 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.621e-05/10.21, allocations: 19.31 kB / 3.881 GB, free: 31.75 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0017/10.21, allocations: 345.5 kB / 3.881 GB, free: 31.73 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.549e-05/10.21, allocations: 25.41 kB / 3.881 GB, free: 31.73 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001386/10.21, allocations: 199.5 kB / 3.881 GB, free: 31.68 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001535/10.21, allocations: 66.31 kB / 3.881 GB, free: 31.68 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.0003857/10.21, allocations: 187.7 kB / 3.881 GB, free: 31.54 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003751/10.21, allocations: 138.5 kB / 3.882 GB, free: 31.47 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007837/10.22, allocations: 6.47 MB / 3.888 GB, free: 29.11 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.593e-05/10.22, allocations: 86.59 kB / 3.888 GB, free: 29.08 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.721e-06/10.22, allocations: 7.75 kB / 3.888 GB, free: 29.08 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.775e-05/10.22, allocations: 7.078 kB / 3.888 GB, free: 29.08 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004299/10.22, allocations: 3.276 MB / 3.891 GB, free: 27.52 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.084e-05/10.22, allocations: 0 / 3.891 GB, free: 27.52 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001537/10.23, allocations: 314.3 kB / 3.892 GB, free: 27.49 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-05/10.23, allocations: 11.17 kB / 3.892 GB, free: 27.49 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.331e-05/10.23, allocations: 23.38 kB / 3.892 GB, free: 27.47 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.1e-05/10.23, allocations: 7.625 kB / 3.892 GB, free: 27.47 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.297e-06/10.23, allocations: 7.562 kB / 3.892 GB, free: 27.47 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003961/10.23, allocations: 2.781 MB / 3.894 GB, free: 26.16 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001407/10.23, allocations: 0.9033 MB / 3.895 GB, free: 25.58 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004149/10.23, allocations: 23.8 kB / 3.895 GB, free: 25.56 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001638/10.23, allocations: 147 kB / 3.895 GB, free: 25.52 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002418/10.23, allocations: 114.5 kB / 3.895 GB, free: 25.5 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000112/10.23, allocations: 42.14 kB / 3.895 GB, free: 25.5 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002626/10.24, allocations: 1.506 MB / 3.897 GB, free: 24.89 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.75e-06/10.24, allocations: 0 / 3.897 GB, free: 24.89 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.007084/10.24, allocations: 1.831 MB / 3.899 GB, free: 24.57 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.007758/10.25, allocations: 1.972 MB / 3.901 GB, free: 24.05 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.003968/10.26, allocations: 2.14 MB / 3.903 GB, free: 22.62 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.14e-06/10.26, allocations: 4.25 kB / 3.903 GB, free: 22.61 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.00168/10.26, allocations: 1.366 MB / 3.904 GB, free: 21.32 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004539/10.26, allocations: 0.7923 MB / 3.905 GB, free: 20.73 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006698/10.27, allocations: 4.169 MB / 3.909 GB, free: 16.89 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001525/10.27, allocations: 1.866 MB / 3.911 GB, free: 15.41 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000572/10.27, allocations: 141.8 kB / 3.911 GB, free: 15.28 MB / 0.5573 GB Notification: Performance of SimCode: time 1.731e-06/10.27, allocations: 0 / 3.911 GB, free: 15.28 MB / 0.5573 GB Notification: Performance of Templates: time 0.4944/10.77, allocations: 50.78 MB / 3.96 GB, free: 74.63 MB / 0.573 GB