Running command: translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients") Notification: Performance of loadModel(ModelicaTest): time 2.29/2.29, allocations: 270 MB / 282.7 MB, free: 1.793 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.009e-05/3.026e-05, allocations: 4 kB / 347 MB, free: 3.141 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3667/0.3668, allocations: 61.88 MB / 408.8 MB, free: 10.75 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.84/7.206, allocations: 2.777 GB / 3.176 GB, free: 130.6 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002235/7.207, allocations: 83.83 kB / 3.177 GB, free: 130.6 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.839/10.05, allocations: 0.6439 GB / 3.82 GB, free: 47.73 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.245e-06/10.05, allocations: 0 / 3.82 GB, free: 47.73 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.000125/10.05, allocations: 41.47 kB / 3.821 GB, free: 47.72 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.008494/10.05, allocations: 2.433 MB / 3.823 GB, free: 46.6 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/10.05, allocations: 14.28 kB / 3.823 GB, free: 46.6 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01207/10.07, allocations: 0.9582 MB / 3.824 GB, free: 46.52 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002581/10.07, allocations: 0.9942 MB / 3.825 GB, free: 46.19 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001517/10.07, allocations: 106.4 kB / 3.825 GB, free: 46.19 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002571/10.07, allocations: 115.2 kB / 3.825 GB, free: 46.19 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00718/10.08, allocations: 2.246 MB / 3.827 GB, free: 45.75 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.877e-05/10.08, allocations: 7.656 kB / 3.827 GB, free: 45.75 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002655/10.08, allocations: 60.06 kB / 3.827 GB, free: 45.75 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.812e-05/10.08, allocations: 30.72 kB / 3.827 GB, free: 45.75 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007133/10.08, allocations: 1.953 MB / 3.829 GB, free: 45.74 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01575/10.1, allocations: 10.34 MB / 3.839 GB, free: 38.76 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006292/10.11, allocations: 1.551 MB / 3.841 GB, free: 38.73 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009357/10.11, allocations: 427.3 kB / 3.841 GB, free: 38.71 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05438/10.16, allocations: 24.01 MB / 3.865 GB, free: 23.48 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.473e-05/10.16, allocations: 42.38 kB / 3.865 GB, free: 23.45 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=80): time 5.294e-06/10.16, allocations: 3.938 kB / 3.865 GB, free: 23.45 MB / 0.5417 GB Notification: Performance of matching and sorting (n=80): time 0.009546/10.17, allocations: 2.305 MB / 3.867 GB, free: 23.31 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.64e-05/10.17, allocations: 276.4 kB / 3.867 GB, free: 22.99 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00181/10.17, allocations: 0.982 MB / 3.868 GB, free: 22.82 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0002063/10.17, allocations: 44.92 kB / 3.868 GB, free: 22.79 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003966/10.17, allocations: 0.5928 MB / 3.869 GB, free: 22.46 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003142/10.17, allocations: 275.1 kB / 3.869 GB, free: 22.29 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.89e-05/10.17, allocations: 21.56 kB / 3.869 GB, free: 22.29 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.851e-05/10.17, allocations: 356.3 kB / 3.869 GB, free: 21.98 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008332/10.18, allocations: 342.5 kB / 3.87 GB, free: 21.98 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001047/10.18, allocations: 0.7682 MB / 3.871 GB, free: 21.45 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009604/10.18, allocations: 434.4 kB / 3.871 GB, free: 21.41 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.107e-05/10.18, allocations: 3.188 kB / 3.871 GB, free: 21.41 MB / 0.5417 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002887/10.18, allocations: 1.119 MB / 3.872 GB, free: 21.28 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.001954/10.18, allocations: 4.885 MB / 3.877 GB, free: 32.16 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.207e-05/10.18, allocations: 13.62 kB / 3.877 GB, free: 32.16 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.135e-05/10.18, allocations: 18.66 kB / 3.877 GB, free: 32.16 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001892/10.18, allocations: 363 kB / 3.877 GB, free: 32.13 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.356e-05/10.18, allocations: 24.53 kB / 3.877 GB, free: 32.12 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002316/10.19, allocations: 275.2 kB / 3.877 GB, free: 32.03 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002687/10.19, allocations: 74.72 kB / 3.878 GB, free: 32.03 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/10.19, allocations: 4.219 kB / 3.878 GB, free: 32.03 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002466/10.19, allocations: 1.036 MB / 3.879 GB, free: 31.94 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.003e-05/10.19, allocations: 15.84 kB / 3.879 GB, free: 31.94 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.872e-05/10.19, allocations: 23.73 kB / 3.879 GB, free: 31.93 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001834/10.19, allocations: 359.5 kB / 3.879 GB, free: 31.91 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.663e-05/10.19, allocations: 21.62 kB / 3.879 GB, free: 31.91 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001643/10.19, allocations: 200.2 kB / 3.879 GB, free: 31.86 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001897/10.19, allocations: 73.27 kB / 3.879 GB, free: 31.86 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * Number of states: 0 () * Number of discrete variables: 16 (SourceP1.medium.phase,SinkP1.medium.phase,SourceP2.medium.phase,SinkP2.medium.phase,SourceP3.medium.phase,SinkP3.medium.phase,SourceP4.medium.phase,SinkP4.medium.phase,V4.state_b.phase,V4.state_a.phase,V3.state_b.phase,V3.state_a.phase,V2.state_b.phase,V2.state_a.phase,V1.state_b.phase,V1.state_a.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (143): * Single equations (assignments): 143 * 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.0004245/10.19, allocations: 188.7 kB / 3.879 GB, free: 31.72 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004233/10.19, allocations: 136.8 kB / 3.88 GB, free: 31.65 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007762/10.2, allocations: 6.418 MB / 3.886 GB, free: 29.93 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.736e-05/10.2, allocations: 88.47 kB / 3.886 GB, free: 29.91 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.971e-06/10.2, allocations: 0 / 3.886 GB, free: 29.91 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.946e-05/10.2, allocations: 6.844 kB / 3.886 GB, free: 29.91 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004549/10.21, allocations: 3.252 MB / 3.889 GB, free: 28.36 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.696e-05/10.21, allocations: 0 / 3.889 GB, free: 28.36 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001331/10.21, allocations: 271.1 kB / 3.889 GB, free: 28.34 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.358e-05/10.21, allocations: 6.719 kB / 3.889 GB, free: 28.34 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.672e-05/10.21, allocations: 24.66 kB / 3.889 GB, free: 28.32 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.388e-06/10.21, allocations: 3.656 kB / 3.889 GB, free: 28.32 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.041e-06/10.21, allocations: 7.953 kB / 3.889 GB, free: 28.32 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004025/10.21, allocations: 2.734 MB / 3.892 GB, free: 27.02 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001647/10.21, allocations: 0.9061 MB / 3.893 GB, free: 26.43 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005107/10.21, allocations: 26.59 kB / 3.893 GB, free: 26.41 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001642/10.22, allocations: 129.6 kB / 3.893 GB, free: 26.38 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002435/10.22, allocations: 103.4 kB / 3.893 GB, free: 26.37 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00011/10.22, allocations: 42.27 kB / 3.893 GB, free: 26.36 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002842/10.22, allocations: 1.561 MB / 3.895 GB, free: 25.73 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.059e-06/10.22, allocations: 0 / 3.895 GB, free: 25.73 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.007571/10.23, allocations: 1.84 MB / 3.897 GB, free: 25.41 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 ($cse2.phase,$cse2.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse12.phase,$cse12.region,$cse16.phase,$cse16.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse22.phase,$cse22.region,$cse23.phase,$cse23.region,$cse26.phase,$cse26.region,$cse30.phase,$cse30.region,$cse33.phase,$cse33.region,$cse34.phase,$cse34.region,$cse36.phase,$cse36.region,$cse37.phase,$cse37.region,$cse40.phase,$cse40.region,$cse44.phase,$cse44.region,$cse47.phase,$cse47.region,$cse48.phase,$cse48.region,$cse50.phase,$cse50.region,$cse51.phase,$cse51.region,$cse54.phase,$cse54.region,SourceP1.medium.phase,SinkP1.medium.phase,SourceP2.medium.phase,SinkP2.medium.phase,SourceP3.medium.phase,SinkP3.medium.phase,SourceP4.medium.phase,SinkP4.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (112): * Single equations (assignments): 88 * 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.008899/10.24, allocations: 1.977 MB / 3.898 GB, free: 24.89 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.004216/10.24, allocations: 2.123 MB / 3.901 GB, free: 23.96 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 9.164e-06/10.24, allocations: 4 kB / 3.901 GB, free: 23.96 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0019/10.24, allocations: 1.341 MB / 3.902 GB, free: 22.68 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005603/10.25, allocations: 0.7931 MB / 3.903 GB, free: 22.1 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007382/10.26, allocations: 4.127 MB / 3.907 GB, free: 18.3 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001518/10.26, allocations: 1.857 MB / 3.908 GB, free: 16.82 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006004/10.26, allocations: 145.9 kB / 3.909 GB, free: 16.69 MB / 0.5573 GB Notification: Performance of SimCode: time 1.936e-06/10.26, allocations: 0 / 3.909 GB, free: 16.69 MB / 0.5573 GB Notification: Performance of Templates: time 0.4513/10.71, allocations: 50.94 MB / 3.958 GB, free: 72.88 MB / 0.573 GB