Running command: translateModel(ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve") Notification: Performance of loadModel(ModelicaTest): time 2.317/2.317, allocations: 270 MB / 282.7 MB, free: 1.762 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.23e-05/3.24e-05, allocations: 4 kB / 347 MB, free: 3.105 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3274/0.3274, allocations: 61.87 MB / 408.8 MB, free: 10.72 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.871/7.198, allocations: 2.829 GB / 3.228 GB, free: 163.7 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002253/7.199, allocations: 79.59 kB / 3.228 GB, free: 163.7 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.947/9.146, allocations: 471.2 MB / 3.689 GB, free: 60.12 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.627e-06/9.146, allocations: 0 / 3.689 GB, free: 60.12 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.82e-05/9.146, allocations: 29.62 kB / 3.689 GB, free: 60.11 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.007977/9.154, allocations: 2.149 MB / 3.691 GB, free: 58.97 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/9.154, allocations: 8.281 kB / 3.691 GB, free: 58.97 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003574/9.158, allocations: 380.2 kB / 3.691 GB, free: 58.88 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002747/9.16, allocations: 0.8783 MB / 3.692 GB, free: 58.39 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001002/9.161, allocations: 76.39 kB / 3.692 GB, free: 58.37 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000175/9.161, allocations: 76.34 kB / 3.692 GB, free: 58.34 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003932/9.165, allocations: 1.45 MB / 3.693 GB, free: 57.69 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.785e-05/9.165, allocations: 3.938 kB / 3.693 GB, free: 57.68 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001314/9.165, allocations: 30.31 kB / 3.694 GB, free: 57.66 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.533e-05/9.165, allocations: 53.7 kB / 3.694 GB, free: 57.66 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003809/9.169, allocations: 1.232 MB / 3.695 GB, free: 57.28 MB / 0.5261 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01002/9.179, allocations: 6.569 MB / 3.701 GB, free: 52.22 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002799/9.182, allocations: 0.9209 MB / 3.702 GB, free: 51.89 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007473/9.182, allocations: 392.3 kB / 3.702 GB, free: 51.72 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07333/9.256, allocations: 32.12 MB / 3.734 GB, free: 31.02 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.035e-05/9.256, allocations: 43.03 kB / 3.734 GB, free: 30.97 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=57): time 5.106e-06/9.256, allocations: 3.375 kB / 3.734 GB, free: 30.97 MB / 0.5261 GB Notification: Performance of matching and sorting (n=61): time 0.009234/9.265, allocations: 2.805 MB / 3.737 GB, free: 29.73 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.461e-05/9.265, allocations: 192.6 kB / 3.737 GB, free: 29.5 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001036/9.266, allocations: 0.6375 MB / 3.737 GB, free: 29.22 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 9.162e-05/9.266, allocations: 37.05 kB / 3.737 GB, free: 29.18 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002257/9.267, allocations: 428 kB / 3.738 GB, free: 28.82 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001894/9.267, allocations: 213.4 kB / 3.738 GB, free: 28.66 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.201e-05/9.267, allocations: 11.94 kB / 3.738 GB, free: 28.64 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.982e-05/9.267, allocations: 344.6 kB / 3.738 GB, free: 28.32 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007221/9.268, allocations: 349.1 kB / 3.739 GB, free: 28.19 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008083/9.269, allocations: 0.5327 MB / 3.739 GB, free: 27.82 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008191/9.269, allocations: 419.8 kB / 3.74 GB, free: 27.66 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.815e-06/9.269, allocations: 7.719 kB / 3.74 GB, free: 27.66 MB / 0.5261 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002494/9.272, allocations: 1.135 MB / 3.741 GB, free: 26.71 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004531/9.272, allocations: 2.269 MB / 3.743 GB, free: 24.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.364e-05/9.272, allocations: 8 kB / 3.743 GB, free: 24.26 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004278/9.277, allocations: 0.6539 MB / 3.744 GB, free: 23.78 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008363/9.278, allocations: 160.2 kB / 3.744 GB, free: 23.64 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001698/9.279, allocations: 1.254 MB / 3.745 GB, free: 22.49 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001294/9.281, allocations: 113.6 kB / 3.745 GB, free: 22.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001274/9.281, allocations: 39.47 kB / 3.745 GB, free: 22.36 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/9.281, allocations: 4 kB / 3.745 GB, free: 22.36 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002428/9.283, allocations: 1.051 MB / 3.746 GB, free: 21.44 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/9.283, allocations: 8 kB / 3.746 GB, free: 21.43 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001751/9.285, allocations: 380.5 kB / 3.747 GB, free: 21.14 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008719/9.286, allocations: 172.5 kB / 3.747 GB, free: 21 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001206/9.287, allocations: 1.046 MB / 3.748 GB, free: 20.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009676/9.288, allocations: 104.7 kB / 3.748 GB, free: 19.94 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001073/9.288, allocations: 39.75 kB / 3.748 GB, free: 19.9 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 9 (valve.state_b.phase,valve.state_a.phase,pipe.state_a.phase,source.medium.phase,pipe.statesFM[2].phase,sink.medium.phase,sink.state.phase,pipe.state_b.phase,source.state.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 67 * 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 {2 23} Notification: Performance of prepare postOptimizeDAE: time 0.0002767/9.289, allocations: 158.2 kB / 3.748 GB, free: 19.74 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003023/9.289, allocations: 86.62 kB / 3.748 GB, free: 19.66 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004299/9.293, allocations: 3.234 MB / 3.751 GB, free: 16.78 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.053e-05/9.293, allocations: 39.14 kB / 3.751 GB, free: 16.75 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.187e-06/9.293, allocations: 0 / 3.751 GB, free: 16.75 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003052/9.296, allocations: 2.692 MB / 3.754 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006315/9.303, allocations: 4.482 MB / 3.758 GB, free: 10.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.271e-05/9.303, allocations: 4 kB / 3.758 GB, free: 10.36 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009027/9.304, allocations: 176.9 kB / 3.758 GB, free: 10.21 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004453/9.304, allocations: 83.97 kB / 3.759 GB, free: 10.15 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.666e-05/9.304, allocations: 23.84 kB / 3.759 GB, free: 10.13 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004141/9.305, allocations: 0.6522 MB / 3.759 GB, free: 9.48 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/9.305, allocations: 0 / 3.759 GB, free: 9.48 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003748/9.309, allocations: 2.744 MB / 3.762 GB, free: 6.938 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008752/9.309, allocations: 461.6 kB / 3.762 GB, free: 6.539 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002362/9.31, allocations: 12 kB / 3.762 GB, free: 6.527 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001057/9.311, allocations: 88.34 kB / 3.762 GB, free: 6.465 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001747/9.311, allocations: 66.22 kB / 3.762 GB, free: 6.426 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.171e-05/9.311, allocations: 31.42 kB / 3.763 GB, free: 6.398 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001316/9.312, allocations: 0.7954 MB / 3.763 GB, free: 5.656 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.011e-06/9.312, allocations: 0 / 3.763 GB, free: 5.656 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006641/9.319, allocations: 1.74 MB / 3.765 GB, free: 3.957 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pipe.mediums[1].p,pipe.mediums[1].h) * Number of discrete variables: 21 ($cse5.phase,$cse5.region,$cse7.region3boundary,$cse8.region3boundary,$cse9.phase,$cse9.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse23.phase,$cse23.region,source.medium.phase,pipe.statesFM[2].phase,sink.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.009661/9.329, allocations: 1.987 MB / 3.767 GB, free: 2.402 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003275/9.332, allocations: 1.622 MB / 3.769 GB, free: 0.9297 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.708e-06/9.332, allocations: 0 / 3.769 GB, free: 0.9297 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001379/9.334, allocations: 0.8357 MB / 3.769 GB, free: 160 kB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00408/9.338, allocations: 0.5253 MB / 3.77 GB, free: 15.94 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005376/9.343, allocations: 2.416 MB / 3.772 GB, free: 13.74 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001276/9.344, allocations: 1.333 MB / 3.774 GB, free: 12.61 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004582/9.345, allocations: 82.86 kB / 3.774 GB, free: 12.53 MB / 0.5417 GB Notification: Performance of SimCode: time 1.927e-06/9.345, allocations: 0 / 3.774 GB, free: 12.53 MB / 0.5417 GB Notification: Performance of Templates: time 0.4195/9.764, allocations: 45.92 MB / 3.818 GB, free: 64.82 MB / 0.5417 GB