Running command: translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible") Notification: Performance of loadModel(ModelicaTest): time 2.305/2.305, allocations: 270 MB / 282.7 MB, free: 1.91 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.012e-05/3.039e-05, allocations: 4 kB / 347 MB, free: 3.285 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3296/0.3297, allocations: 61.88 MB / 408.8 MB, free: 10.82 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.345/6.675, allocations: 2.777 GB / 3.176 GB, free: 24.13 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002297/6.675, allocations: 87.94 kB / 3.177 GB, free: 24.04 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.435/9.11, allocations: 0.5072 GB / 3.684 GB, free: 60.31 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.954e-06/9.11, allocations: 0 / 3.684 GB, free: 60.31 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.469e-05/9.11, allocations: 35.75 kB / 3.684 GB, free: 60.3 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.006536/9.117, allocations: 2.057 MB / 3.686 GB, free: 59.4 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/9.117, allocations: 14.75 kB / 3.686 GB, free: 59.4 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007899/9.125, allocations: 0.7085 MB / 3.687 GB, free: 59.34 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001684/9.126, allocations: 0.8159 MB / 3.687 GB, free: 59.04 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.835e-05/9.126, allocations: 74.78 kB / 3.687 GB, free: 59.04 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001602/9.127, allocations: 90.16 kB / 3.687 GB, free: 59.04 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005282/9.132, allocations: 1.706 MB / 3.689 GB, free: 58.71 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.266e-05/9.132, allocations: 1.875 kB / 3.689 GB, free: 58.71 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001469/9.132, allocations: 44.91 kB / 3.689 GB, free: 58.71 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.113e-05/9.132, allocations: 22.28 kB / 3.689 GB, free: 58.71 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004387/9.137, allocations: 1.471 MB / 3.691 GB, free: 58.71 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01038/9.147, allocations: 7.553 MB / 3.698 GB, free: 53.72 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004507/9.152, allocations: 1.166 MB / 3.699 GB, free: 53.7 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007011/9.152, allocations: 339.5 kB / 3.699 GB, free: 53.69 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05627/9.209, allocations: 24.26 MB / 3.723 GB, free: 38.84 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.18e-05/9.209, allocations: 48.88 kB / 3.723 GB, free: 38.8 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=67): time 3.882e-06/9.209, allocations: 0 / 3.723 GB, free: 38.8 MB / 0.5417 GB Notification: Performance of matching and sorting (n=67): time 0.007711/9.216, allocations: 1.772 MB / 3.725 GB, free: 38.71 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.648e-05/9.216, allocations: 221.1 kB / 3.725 GB, free: 38.46 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001113/9.218, allocations: 0.7211 MB / 3.726 GB, free: 38.3 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 8.328e-05/9.218, allocations: 40.55 kB / 3.726 GB, free: 38.27 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002737/9.218, allocations: 486.9 kB / 3.726 GB, free: 37.99 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001774/9.218, allocations: 226 kB / 3.727 GB, free: 37.85 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.816e-05/9.218, allocations: 20.66 kB / 3.727 GB, free: 37.85 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 8.273e-05/9.218, allocations: 343.1 kB / 3.727 GB, free: 37.54 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006141/9.219, allocations: 264.1 kB / 3.727 GB, free: 37.53 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007783/9.22, allocations: 0.5564 MB / 3.728 GB, free: 37.19 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006918/9.22, allocations: 323.9 kB / 3.728 GB, free: 37.17 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.26e-06/9.22, allocations: 6.781 kB / 3.728 GB, free: 37.17 MB / 0.5417 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.001952/9.222, allocations: 0.8534 MB / 3.729 GB, free: 37.11 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005931/9.223, allocations: 3.223 MB / 3.732 GB, free: 33.75 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.469e-05/9.223, allocations: 10.78 kB / 3.732 GB, free: 33.75 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.744e-05/9.223, allocations: 14.88 kB / 3.732 GB, free: 33.75 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00123/9.224, allocations: 276.6 kB / 3.732 GB, free: 33.75 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.146e-05/9.224, allocations: 14.38 kB / 3.732 GB, free: 33.75 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001315/9.226, allocations: 188.3 kB / 3.732 GB, free: 33.69 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001182/9.226, allocations: 54.22 kB / 3.733 GB, free: 33.69 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.025e-05/9.226, allocations: 8.562 kB / 3.733 GB, free: 33.69 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001694/9.228, allocations: 0.779 MB / 3.733 GB, free: 33.67 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/9.228, allocations: 12.62 kB / 3.733 GB, free: 33.67 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.786e-05/9.228, allocations: 16.41 kB / 3.733 GB, free: 33.67 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001301/9.229, allocations: 267.6 kB / 3.734 GB, free: 33.67 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.921e-05/9.229, allocations: 19.16 kB / 3.734 GB, free: 33.67 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009991/9.23, allocations: 152.9 kB / 3.734 GB, free: 33.64 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001123/9.23, allocations: 48.41 kB / 3.734 GB, free: 33.64 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 12 (SourceP1.medium.phase,SinkP1.medium.phase,SourceP2.medium.phase,SinkP2.medium.phase,SourceP3.medium.phase,SinkP3.medium.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 (109): * Single equations (assignments): 109 * 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.0002435/9.23, allocations: 172.6 kB / 3.734 GB, free: 33.52 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002387/9.231, allocations: 103.8 kB / 3.734 GB, free: 33.47 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01077/9.241, allocations: 4.873 MB / 3.739 GB, free: 32.82 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001251/9.242, allocations: 63.44 kB / 3.739 GB, free: 32.82 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.548e-05/9.242, allocations: 3.938 kB / 3.739 GB, free: 32.82 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.83e-05/9.242, allocations: 11.83 kB / 3.739 GB, free: 32.81 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006466/9.248, allocations: 2.502 MB / 3.741 GB, free: 32.41 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.545e-05/9.248, allocations: 4.781 kB / 3.741 GB, free: 32.41 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002387/9.251, allocations: 234.1 kB / 3.742 GB, free: 32.4 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.376e-05/9.251, allocations: 3.75 kB / 3.742 GB, free: 32.4 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001215/9.251, allocations: 18.59 kB / 3.742 GB, free: 32.4 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.505e-05/9.251, allocations: 3.938 kB / 3.742 GB, free: 32.4 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.517e-06/9.251, allocations: 3.562 kB / 3.742 GB, free: 32.4 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006285/9.257, allocations: 2.124 MB / 3.744 GB, free: 31.98 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002136/9.259, allocations: 0.6995 MB / 3.744 GB, free: 31.67 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006422/9.26, allocations: 16.78 kB / 3.744 GB, free: 31.67 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002754/9.263, allocations: 113 kB / 3.744 GB, free: 31.66 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003831/9.263, allocations: 84.11 kB / 3.745 GB, free: 31.66 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001793/9.263, allocations: 28.89 kB / 3.745 GB, free: 31.66 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.004118/9.268, allocations: 1.164 MB / 3.746 GB, free: 31.5 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.389e-06/9.268, allocations: 0 / 3.746 GB, free: 31.5 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01201/9.281, allocations: 1.628 MB / 3.747 GB, free: 31.3 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 42 ($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,SourceP1.medium.phase,SinkP1.medium.phase,SourceP2.medium.phase,SinkP2.medium.phase,SourceP3.medium.phase,SinkP3.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 18 * 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.02922/9.31, allocations: 1.806 MB / 3.749 GB, free: 30.88 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.006338/9.316, allocations: 1.629 MB / 3.751 GB, free: 30.84 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.316e-06/9.316, allocations: 2.25 kB / 3.751 GB, free: 30.84 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001286/9.318, allocations: 1.027 MB / 3.752 GB, free: 30.72 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003936/9.321, allocations: 0.5916 MB / 3.752 GB, free: 30.56 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004919/9.326, allocations: 3.12 MB / 3.755 GB, free: 29.21 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009778/9.327, allocations: 1.567 MB / 3.757 GB, free: 28.44 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004102/9.328, allocations: 117.2 kB / 3.757 GB, free: 28.41 MB / 0.5417 GB Notification: Performance of SimCode: time 1.599e-06/9.328, allocations: 0 / 3.757 GB, free: 28.41 MB / 0.5417 GB Notification: Performance of Templates: time 0.06633/9.394, allocations: 43.1 MB / 3.799 GB, free: 15.21 MB / 0.5417 GB