Running command: translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValvesCompressibleReverse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValvesCompressibleReverse") Notification: Performance of loadModel(ModelicaTest): time 2.323/2.323, allocations: 270 MB / 282.7 MB, free: 1.758 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.373e-05/3.377e-05, allocations: 4 kB / 347 MB, free: 3.117 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3297/0.3297, allocations: 61.87 MB / 408.8 MB, free: 10.75 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.403/6.733, allocations: 2.777 GB / 3.177 GB, free: 23.54 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002328/6.733, allocations: 91.88 kB / 3.177 GB, free: 23.45 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.813/9.546, allocations: 0.5839 GB / 3.761 GB, free: 43.37 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.067e-06/9.546, allocations: 0 / 3.761 GB, free: 43.37 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001042/9.546, allocations: 35.55 kB / 3.761 GB, free: 43.37 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: 284 * Number of variables: 284 Notification: Performance of Generate backend data structure: time 0.01054/9.556, allocations: 2.557 MB / 3.763 GB, free: 42.06 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/9.556, allocations: 7.281 kB / 3.763 GB, free: 42.06 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01075/9.567, allocations: 0.8741 MB / 3.764 GB, free: 41.91 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002704/9.57, allocations: 1.032 MB / 3.765 GB, free: 41.32 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001146/9.57, allocations: 99.02 kB / 3.765 GB, free: 41.27 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002772/9.57, allocations: 113 kB / 3.765 GB, free: 41.23 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006775/9.577, allocations: 2.154 MB / 3.767 GB, free: 40.31 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.974e-05/9.577, allocations: 7.875 kB / 3.767 GB, free: 40.3 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002177/9.577, allocations: 52.47 kB / 3.767 GB, free: 40.27 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.701e-05/9.577, allocations: 30.22 kB / 3.767 GB, free: 40.27 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006721/9.584, allocations: 1.952 MB / 3.769 GB, free: 39.68 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01429/9.599, allocations: 8.719 MB / 3.778 GB, free: 33.27 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007266/9.606, allocations: 1.877 MB / 3.78 GB, free: 32.74 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001192/9.607, allocations: 0.5297 MB / 3.78 GB, free: 32.52 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04912/9.656, allocations: 24.02 MB / 3.804 GB, free: 8.66 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.843e-05/9.656, allocations: 59.45 kB / 3.804 GB, free: 8.594 MB / 0.5417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001122/9.657, allocations: 162.5 kB / 3.804 GB, free: 8.434 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=108): time 4.857e-06/9.657, allocations: 0 / 3.804 GB, free: 8.434 MB / 0.5417 GB Notification: Performance of matching and sorting (n=108): time 0.008848/9.666, allocations: 2.46 MB / 3.806 GB, free: 5.961 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.283e-05/9.666, allocations: 192.9 kB / 3.806 GB, free: 5.727 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001409/9.668, allocations: 0.8991 MB / 3.807 GB, free: 4.816 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0001606/9.668, allocations: 49.7 kB / 3.807 GB, free: 4.762 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003305/9.668, allocations: 0.5467 MB / 3.808 GB, free: 4.215 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.000302/9.669, allocations: 370.7 kB / 3.808 GB, free: 3.855 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001067/9.669, allocations: 31.94 kB / 3.808 GB, free: 3.824 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.575e-05/9.669, allocations: 358.8 kB / 3.809 GB, free: 3.465 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001019/9.67, allocations: 463.9 kB / 3.809 GB, free: 3.016 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001175/9.671, allocations: 0.7581 MB / 3.81 GB, free: 2.129 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001147/9.672, allocations: 0.5202 MB / 3.81 GB, free: 1.605 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.857e-06/9.672, allocations: 4 kB / 3.81 GB, free: 1.602 MB / 0.5417 GB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003426/9.676, allocations: 1.478 MB / 3.812 GB, free: 116 kB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.001714/9.677, allocations: 3.145 MB / 3.815 GB, free: 12.73 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.164e-05/9.677, allocations: 8 kB / 3.815 GB, free: 12.72 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009184/9.687, allocations: 1.17 MB / 3.816 GB, free: 11.55 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002422/9.689, allocations: 419.4 kB / 3.816 GB, free: 11.14 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00167/9.691, allocations: 0.9351 MB / 3.817 GB, free: 10.19 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002241/9.693, allocations: 175.8 kB / 3.818 GB, free: 10.02 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002527/9.693, allocations: 79.95 kB / 3.818 GB, free: 9.938 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/9.693, allocations: 4 kB / 3.818 GB, free: 9.934 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003752/9.697, allocations: 1.316 MB / 3.819 GB, free: 8.613 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.762e-05/9.697, allocations: 8 kB / 3.819 GB, free: 8.605 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003686/9.698, allocations: 84.8 kB / 3.819 GB, free: 8.52 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002403/9.7, allocations: 455.8 kB / 3.819 GB, free: 8.074 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002806/9.703, allocations: 1.735 MB / 3.821 GB, free: 6.207 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001757/9.705, allocations: 179.7 kB / 3.821 GB, free: 6.031 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002218/9.705, allocations: 79.95 kB / 3.821 GB, free: 5.953 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 15 (SourceP1.medium.phase,SourceP2.medium.phase,SinkP1.medium.phase,SinkP2.medium.phase,SinkP3.medium.phase,V5.state_b.phase,V5.state_a.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 (148): * Single equations (assignments): 147 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 22} Notification: Performance of prepare postOptimizeDAE: time 0.0004774/9.705, allocations: 187.8 kB / 3.822 GB, free: 5.766 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004478/9.706, allocations: 138.3 kB / 3.822 GB, free: 5.629 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3639/10.07, allocations: 6.684 MB / 3.828 GB, free: 66.63 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001163/10.07, allocations: 85.73 kB / 3.828 GB, free: 66.63 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.47e-06/10.07, allocations: 2.766 kB / 3.828 GB, free: 66.63 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.845e-05/10.07, allocations: 7.781 kB / 3.828 GB, free: 66.63 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01331/10.08, allocations: 8.562 MB / 3.837 GB, free: 66.14 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.496e-05/10.08, allocations: 3.75 kB / 3.837 GB, free: 66.14 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001598/10.09, allocations: 297.1 kB / 3.837 GB, free: 66.14 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009066/10.09, allocations: 2.296 MB / 3.839 GB, free: 66.11 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002566/10.09, allocations: 41.75 kB / 3.839 GB, free: 66.11 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00211/10.1, allocations: 1.612 MB / 3.841 GB, free: 65.57 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.434e-06/10.1, allocations: 0 / 3.841 GB, free: 65.57 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005697/10.1, allocations: 3.517 MB / 3.844 GB, free: 65.18 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001491/10.1, allocations: 0.7419 MB / 3.845 GB, free: 64.93 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003497/10.1, allocations: 28 kB / 3.845 GB, free: 64.93 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001516/10.11, allocations: 149.3 kB / 3.845 GB, free: 64.92 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002671/10.11, allocations: 126.7 kB / 3.845 GB, free: 64.92 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001349/10.11, allocations: 52.94 kB / 3.845 GB, free: 64.92 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002017/10.11, allocations: 1.182 MB / 3.846 GB, free: 64.76 MB / 0.5573 GB Notification: Performance of sort global known variables: time 9.89e-07/10.11, allocations: 0 / 3.846 GB, free: 64.76 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.007717/10.12, allocations: 1.843 MB / 3.848 GB, free: 64.74 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 51 ($cse5.phase,$cse5.region,$cse9.phase,$cse9.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse20.phase,$cse20.region,$cse21.phase,$cse21.region,$cse23.phase,$cse23.region,$cse24.phase,$cse24.region,$cse29.phase,$cse29.region,$cse30.phase,$cse30.region,$cse32.phase,$cse32.region,$cse38.phase,$cse38.region,$cse39.phase,$cse39.region,$cse41.phase,$cse41.region,$cse42.phase,$cse42.region,$cse47.phase,$cse47.region,$cse48.phase,$cse48.region,$cse50.phase,$cse50.region,$cse55.phase,$cse55.region,$cse56.phase,$cse56.region,$cse59.phase,$cse59.region,$cse63.phase,$cse63.region,$cse67.phase,$cse67.region,SourceP1.medium.phase,SourceP2.medium.phase,SinkP1.medium.phase,SinkP2.medium.phase,SinkP3.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (123): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 20 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 34} Notification: Performance of Backend phase and start with SimCode phase: time 0.008824/10.12, allocations: 1.9 MB / 3.85 GB, free: 64.58 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.005591/10.13, allocations: 2.676 MB / 3.853 GB, free: 64.44 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.021e-06/10.13, allocations: 3.75 kB / 3.853 GB, free: 64.44 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.002498/10.13, allocations: 1.532 MB / 3.854 GB, free: 64.43 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004795/10.14, allocations: 0.734 MB / 3.855 GB, free: 64.4 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00737/10.15, allocations: 3.981 MB / 3.859 GB, free: 63.49 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001209/10.15, allocations: 1.77 MB / 3.861 GB, free: 62.75 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006691/10.15, allocations: 154.3 kB / 3.861 GB, free: 62.75 MB / 0.5573 GB Notification: Performance of SimCode: time 1.828e-06/10.15, allocations: 0 / 3.861 GB, free: 62.75 MB / 0.5573 GB Notification: Performance of Templates: time 0.09044/10.24, allocations: 58.18 MB / 3.917 GB, free: 59.67 MB / 0.5573 GB